Return to config.w32 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / fileinfo |
1.1 ! misho 1: // $Id: config.w32 277279 2009-03-16 15:03:06Z pajoye $ ! 2: // vim:ft=javascript ! 3: ! 4: ARG_ENABLE("fileinfo", "fileinfo support", "no"); ! 5: ! 6: if (PHP_FILEINFO != 'no') { ! 7: if (CHECK_HEADER_ADD_INCLUDE("dirent.h", "CFLAGS_FILEINFO") && ! 8: CHECK_LIB("dirent_a.lib", "fileinfo", PHP_FILEINFO)) { ! 9: LIBMAGIC_SOURCES=" apprentice.c apptype.c ascmagic.c \ ! 10: cdf.c cdf_time.c compress.c \ ! 11: encoding.c fsmagic.c funcs.c \ ! 12: is_tar.c magic.c print.c \ ! 13: readcdf.c readelf.c softmagic.c"; ! 14: ! 15: if (VCVERS < 1500) { ! 16: ADD_FLAG('CFLAGS', '/Zm1000'); ! 17: } ! 18: ! 19: EXTENSION('fileinfo', 'fileinfo.c', true, "/I" + configure_module_dirname + "/libmagic /I" + configure_module_dirname); ! 20: ADD_SOURCES(configure_module_dirname + '\\libmagic', LIBMAGIC_SOURCES, "fileinfo"); ! 21: } else { ! 22: WARNING("fileinfo not enabled; libraries and headers not found"); ! 23: PHP_FILEINFO = "no"; ! 24: } ! 25: }