mirror of
https://github.com/php/php-src.git
synced 2024-10-05 08:46:11 +00:00
399095e7a5
various xml extensions. currently the only implemented support is the addition of the streams support for libxml. One new function, libxml_set_streams_context, which allows a streams context to bet set prior to loading or writing documents. This works transparently with any extension that uses libxml. All ini settings that effect streams will also now effect the loading and writing of xml documents. TODO: linux support, not sure if config.m4 will work right.
24 lines
621 B
Plaintext
24 lines
621 B
Plaintext
dnl
|
|
dnl $Id$
|
|
dnl
|
|
|
|
PHP_ARG_ENABLE(libxml, whether to enable LIBXML support,
|
|
[ --disable-libxml Disable new LIBXML support.], yes)
|
|
|
|
if test -z "$PHP_LIBXML_DIR"; then
|
|
PHP_ARG_WITH(libxml-dir, libxml2 install dir,
|
|
[ --with-libxml-dir[=DIR] libxml2 install prefix.], no, no)
|
|
fi
|
|
|
|
if test "$PHP_LIBXML" != "no"; then
|
|
|
|
PHP_SETUP_LIBXML(LIBXML_SHARED_LIBADD, [
|
|
AC_DEFINE(HAVE_LIBXML,1,[ ])
|
|
PHP_NEW_EXTENSION(libxml, [libxml.c],
|
|
$ext_shared)
|
|
PHP_SUBST(LIBXML_SHARED_LIBADD)
|
|
], [
|
|
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
|
|
])
|
|
fi
|