From: foobar Date: Wed, 21 Dec 2005 14:22:26 +0000 (+0000) Subject: MFH: prevent compile failure with --disable-all X-Git-Tag: php-5.1.2RC1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d09ad216a01264b6c63427c76077c0b4f286365b;p=php MFH: prevent compile failure with --disable-all --- diff --git a/ext/wddx/config.m4 b/ext/wddx/config.m4 index 25f366e958..86b19e62ef 100644 --- a/ext/wddx/config.m4 +++ b/ext/wddx/config.m4 @@ -6,7 +6,7 @@ PHP_ARG_ENABLE(wddx,whether to enable WDDX support, [ --enable-wddx Enable WDDX support]) if test "$PHP_WDDX" != "no"; then - if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then + if test "$ext_shared" != "yes" && (test "$enable_xml" = "no" || test "${enable_xml+set}" != "set"); then AC_MSG_WARN(Activating XML) enable_xml=yes fi