File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / fileinfo / config.m4
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:39 2012 UTC (12 years, 7 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, HEAD
php 5.4.3+patches

    1: dnl $Id: config.m4,v 1.1.1.2 2012/05/29 12:34:39 misho Exp $
    2: dnl config.m4 for extension fileinfo
    3: 
    4: PHP_ARG_ENABLE(fileinfo, for fileinfo support,
    5: [  --disable-fileinfo      Disable fileinfo support], yes)
    6: 
    7: if test "$PHP_FILEINFO" != "no"; then
    8: 
    9:   libmagic_sources=" \
   10:     libmagic/apprentice.c libmagic/apptype.c libmagic/ascmagic.c \
   11:     libmagic/cdf.c libmagic/cdf_time.c libmagic/compress.c \
   12:     libmagic/encoding.c libmagic/fsmagic.c libmagic/funcs.c \
   13:     libmagic/is_tar.c libmagic/magic.c libmagic/print.c \
   14:     libmagic/readcdf.c libmagic/readelf.c libmagic/softmagic.c"
   15: 
   16:   PHP_NEW_EXTENSION(fileinfo, fileinfo.c $libmagic_sources, $ext_shared,,-I@ext_srcdir@/libmagic)
   17:   PHP_ADD_BUILD_DIR($ext_builddir/libmagic)
   18: 
   19:   AC_CHECK_FUNCS([utimes strndup])
   20: 
   21:   PHP_ADD_MAKEFILE_FRAGMENT
   22: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>