- Added new functions:
. dba_key_split() to split inifile keys in an array. (Marcus)
. nanosleep() signal safe sleep (Magnus, Ilia)
+- Fixed bug #26072 (--disable-libxml does not work). (Jani)
- Fixed bug #26083 (Non-working write support in ext/dom). (Ilia)
- Fixed bug #24394 (Serializing cross-referenced objects causes segfault).
(Moriyoshi)
[ --with-libxml-dir[=DIR] DOM: libxml2 install prefix.], no, no)
fi
-if test "$PHP_DOM" != "no"; then
+if test "$PHP_DOM" != "no" && test "$PHP_LIBXML" != "no"; then
PHP_SETUP_LIBXML(DOM_SHARED_LIBADD, [
AC_DEFINE(HAVE_DOM,1,[ ])
documenttype.c domimplementationlist.c entity.c \
nodelist.c text.c comment.c domconfiguration.c \
domimplementationsource.c entityreference.c \
- notation.c xpath.c \
+ notation.c xpath.c \
typeinfo.c domerror.c domlocator.c namednodemap.c userdatahandler.c],
$ext_shared)
PHP_SUBST(DOM_SHARED_LIBADD)
if test "$PHP_LIBXML" != "no"; then
+ dnl This extension can not be build as shared
+ ext_shared=no
+
PHP_SETUP_LIBXML(LIBXML_SHARED_LIBADD, [
AC_DEFINE(HAVE_LIBXML,1,[ ])
- PHP_NEW_EXTENSION(libxml, [libxml.c],
- $ext_shared)
- PHP_SUBST(LIBXML_SHARED_LIBADD)
+ PHP_NEW_EXTENSION(libxml, [libxml.c], $ext_shared)
], [
AC_MSG_ERROR([xml2-config not found. Please check your libxml2 installation.])
])
[ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no)
fi
-if test "$PHP_SIMPLEXML" != "no"; then
+if test "$PHP_SIMPLEXML" != "no" && test "$PHP_LIBXML" != "no"; then
PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [
AC_DEFINE(HAVE_SIMPLEXML,1,[ ])
PHP_ARG_WITH(libexpat-dir, libexpat install dir,
[ --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)], no, no)
-if test "$PHP_XML" != "no"; then
+if test "$PHP_XML" != "no" && test "$PHP_LIBXML" != "no" -o "$PHP_LIBEXPAT_DIR" != "no"; then
dnl
dnl Default to libxml2.
dnl
AC_MSG_ERROR([xml2-config not found. Use --with-libxml-dir=<DIR>])
fi
])
-
+
dnl
dnl Check for expat only if --with-libexpat-dir is used.
dnl