5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 4
4
- Added new functions:
5
5
. dba_key_split() to split inifile keys in an array. (Marcus)
6
6
. nanosleep() signal safe sleep (Magnus, Ilia)
7
+ - Fixed bug #26072 (--disable-libxml does not work). (Jani)
7
8
- Fixed bug #26083 (Non-working write support in ext/dom). (Ilia)
8
9
- Fixed bug #24394 (Serializing cross-referenced objects causes segfault).
9
10
(Moriyoshi)
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ if test -z "$PHP_LIBXML_DIR"; then
10
10
[ --with-libxml-dir[ =DIR] DOM: libxml2 install prefix.] , no, no)
11
11
fi
12
12
13
- if test "$PHP_DOM" != "no"; then
13
+ if test "$PHP_DOM" != "no" && test "$PHP_LIBXML" != "no" ; then
14
14
15
15
PHP_SETUP_LIBXML(DOM_SHARED_LIBADD, [
16
16
AC_DEFINE ( HAVE_DOM ,1 ,[ ] )
@@ -22,7 +22,7 @@ if test "$PHP_DOM" != "no"; then
22
22
documenttype.c domimplementationlist.c entity.c \
23
23
nodelist.c text.c comment.c domconfiguration.c \
24
24
domimplementationsource.c entityreference.c \
25
- notation.c xpath.c \
25
+ notation.c xpath.c \
26
26
typeinfo.c domerror.c domlocator.c namednodemap.c userdatahandler.c] ,
27
27
$ext_shared)
28
28
PHP_SUBST(DOM_SHARED_LIBADD)
Original file line number Diff line number Diff line change 12
12
13
13
if test "$PHP_LIBXML" != "no"; then
14
14
15
+ dnl This extension can not be build as shared
16
+ ext_shared=no
17
+
15
18
PHP_SETUP_LIBXML(LIBXML_SHARED_LIBADD, [
16
19
AC_DEFINE ( HAVE_LIBXML ,1 ,[ ] )
17
- PHP_NEW_EXTENSION(libxml, [ libxml.c] ,
18
- $ext_shared)
19
- PHP_SUBST(LIBXML_SHARED_LIBADD)
20
+ PHP_NEW_EXTENSION(libxml, [ libxml.c] , $ext_shared)
20
21
] , [
21
22
AC_MSG_ERROR ( [ xml2-config not found. Please check your libxml2 installation.] )
22
23
] )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if test -z "$PHP_LIBXML_DIR"; then
9
9
[ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix] , no, no)
10
10
fi
11
11
12
- if test "$PHP_SIMPLEXML" != "no"; then
12
+ if test "$PHP_SIMPLEXML" != "no" && test "$PHP_LIBXML" != "no" ; then
13
13
14
14
PHP_SETUP_LIBXML(SIMPLEXML_SHARED_LIBADD, [
15
15
AC_DEFINE ( HAVE_SIMPLEXML ,1 ,[ ] )
Original file line number Diff line number Diff line change 13
13
PHP_ARG_WITH(libexpat-dir, libexpat install dir,
14
14
[ --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)] , no, no)
15
15
16
- if test "$PHP_XML" != "no"; then
16
+ if test "$PHP_XML" != "no" && test "$PHP_LIBXML" != "no" -o "$PHP_LIBEXPAT_DIR" != "no" ; then
17
17
dnl
18
18
dnl Default to libxml2.
19
19
dnl
@@ -24,7 +24,7 @@ if test "$PHP_XML" != "no"; then
24
24
AC_MSG_ERROR ( [ xml2-config not found. Use --with-libxml-dir=<DIR>] )
25
25
fi
26
26
] )
27
-
27
+
28
28
dnl
29
29
dnl Check for expat only if --with-libexpat-dir is used.
30
30
dnl
0 commit comments