Return to config.w32 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / libxml |
1.1 ! misho 1: // $Id: config.w32 306344 2010-12-13 18:43:10Z pajoye $ ! 2: // vim:ft=javascript ! 3: ! 4: ARG_WITH("libxml", "LibXML support", "yes"); ! 5: ! 6: if (PHP_LIBXML == "yes") { ! 7: if (CHECK_LIB("libxml2_a_dll.lib;libxml2_a.lib", "libxml") && ! 8: CHECK_LIB("libiconv_a.lib;iconv_a.lib;libiconv.lib;iconv.lib", "libxml") && ! 9: CHECK_HEADER_ADD_INCLUDE("libxml/parser.h", "CFLAGS_LIBXML") && ! 10: ADD_EXTENSION_DEP('libxml', 'iconv')) { ! 11: ! 12: EXTENSION("libxml", "libxml.c", false /* never shared */); ! 13: AC_DEFINE("HAVE_LIBXML", 1, "LibXML support"); ! 14: ADD_FLAG("CFLAGS_LIBXML", "/D LIBXML_STATIC /D LIBXML_STATIC_FOR_DLL /D HAVE_WIN32_THREADS "); ! 15: if (!PHP_LIBXML_SHARED) { ! 16: ADD_DEF_FILE("ext\\libxml\\php_libxml2.def"); ! 17: } ! 18: PHP_INSTALL_HEADERS("ext/libxml/", "php_libxml.h"); ! 19: } else { ! 20: WARNING("libxml support can't be enabled, iconv or libxml are missing") ! 21: PHP_LIBXML = "no" ! 22: } ! 23: }