diff options
author | foobar <sniper@php.net> | 2003-11-12 23:42:38 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-11-12 23:42:38 +0000 |
commit | 32b5a41941b0e43d96dc0b2f6ea39a7404b35a76 (patch) | |
tree | 6615d0d165c71b3d3b65e91359568b1a5c9f22f5 /ext/xml | |
parent | 81d1a19d0b81fc7143aed7af387b921256f1ee31 (diff) | |
download | php-git-32b5a41941b0e43d96dc0b2f6ea39a7404b35a76.tar.gz |
- Fixed bug #26072 (--disable-libxml does not work).
Diffstat (limited to 'ext/xml')
-rw-r--r-- | ext/xml/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/xml/config.m4 b/ext/xml/config.m4 index 4836373c33..72c98ed814 100644 --- a/ext/xml/config.m4 +++ b/ext/xml/config.m4 @@ -13,7 +13,7 @@ fi 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 @@ -24,7 +24,7 @@ if test "$PHP_XML" != "no"; then 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 |