diff options
Diffstat (limited to 'ext/xml/config.m4')
-rw-r--r-- | ext/xml/config.m4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/xml/config.m4 b/ext/xml/config.m4 index 62ba8766e9..e2f82155f5 100644 --- a/ext/xml/config.m4 +++ b/ext/xml/config.m4 @@ -18,7 +18,8 @@ PHP_ARG_ENABLE(xml,for XML support, PHP_ARG_WITH(expat-dir, external libexpat install dir, [ --with-expat-dir=DIR XML: external libexpat install dir]) -if test "$PHP_XML" = "yes" -a "$PHP_EXPAT_DIR" = "no"; then +if test "$PHP_XML" = "yes"; then +if test "$PHP_EXPAT_DIR" = "no"; then AC_DEFINE(HAVE_LIBEXPAT, 1, [ ]) AC_DEFINE(HAVE_LIBEXPAT_BUNDLED, 1, [ ]) @@ -53,3 +54,4 @@ else PHP_ADD_INCLUDE($EXPAT_DIR/include) PHP_ADD_LIBRARY_WITH_PATH(expat, $EXPAT_DIR/lib, EXPAT_SHARED_LIBADD) fi +fi |