mirror of
https://github.com/php/php-src.git
synced 2026-04-01 21:22:13 +02:00
- PHP_SETUP_LIBXML arguments quoted - Help texts updated for HAVE_LIBXML, HAVE_DOM, HAVE_XMLREADER, HAVE_XMLWRITER, HAVE_SOAP, HAVE_SIMPLEXML, and HAVE_XML CPP macros - Duplicate HAVE_LIBXML symbol definition in PHP_SETUP_LIBXML M4 macro removed (the HAVE_LIBXML marks that PHP libxml extension is available and not only that libxml2 library is available)
17 lines
548 B
Plaintext
17 lines
548 B
Plaintext
PHP_ARG_ENABLE([xmlreader],
|
|
[whether to enable XMLReader support],
|
|
[AS_HELP_STRING([--disable-xmlreader],
|
|
[Disable XMLReader support])],
|
|
[yes])
|
|
|
|
if test "$PHP_XMLREADER" != "no"; then
|
|
PHP_SETUP_LIBXML([XMLREADER_SHARED_LIBADD], [
|
|
AC_DEFINE([HAVE_XMLREADER], [1],
|
|
[Define to 1 if xmlreader extension is available.])
|
|
PHP_NEW_EXTENSION([xmlreader], [php_xmlreader.c], [$ext_shared])
|
|
PHP_ADD_EXTENSION_DEP(xmlreader, dom, true)
|
|
PHP_ADD_EXTENSION_DEP(xmlreader, libxml)
|
|
PHP_SUBST([XMLREADER_SHARED_LIBADD])
|
|
])
|
|
fi
|