config0.m4 481 B

1234567891011121314151617
  1. PHP_ARG_WITH([libxml],
  2. [whether to build with LIBXML support],
  3. [AS_HELP_STRING([--without-libxml],
  4. [Build without LIBXML support])],
  5. [yes])
  6. if test "$PHP_LIBXML" != "no"; then
  7. dnl This extension can not be build as shared
  8. ext_shared=no
  9. PHP_SETUP_LIBXML(LIBXML_SHARED_LIBADD, [
  10. AC_DEFINE(HAVE_LIBXML,1,[ ])
  11. PHP_NEW_EXTENSION(libxml, [libxml.c], $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
  12. PHP_INSTALL_HEADERS([ext/libxml/php_libxml.h])
  13. ])
  14. fi