summaryrefslogtreecommitdiff
path: root/ext/simplexml/config.m4
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-11-12 23:42:38 (GMT)
committerfoobar <sniper@php.net>2003-11-12 23:42:38 (GMT)
commit32b5a41941b0e43d96dc0b2f6ea39a7404b35a76 (patch)
tree6615d0d165c71b3d3b65e91359568b1a5c9f22f5 /ext/simplexml/config.m4
parent81d1a19d0b81fc7143aed7af387b921256f1ee31 (diff)
downloadphp-32b5a41941b0e43d96dc0b2f6ea39a7404b35a76.tar.gz
- Fixed bug #26072 (--disable-libxml does not work).
Diffstat (limited to 'ext/simplexml/config.m4')
-rw-r--r--ext/simplexml/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/config.m4 b/ext/simplexml/config.m4
index c12ab76..9fa9c45 100644
--- a/ext/simplexml/config.m4
+++ b/ext/simplexml/config.m4
@@ -9,7 +9,7 @@ if test -z "$PHP_LIBXML_DIR"; then
[ --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,[ ])