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