]> granicus.if.org Git - php/commitdiff
- Fix possible compile failure if configuring with --disable-all
authorfoobar <sniper@php.net>
Wed, 21 Dec 2005 14:22:02 +0000 (14:22 +0000)
committerfoobar <sniper@php.net>
Wed, 21 Dec 2005 14:22:02 +0000 (14:22 +0000)
ext/wddx/config.m4

index 25f366e9581f33f74a18a6d85eaf2826d0a72f47..86b19e62ef0e7be42809ebcdd3420e95606c3bba 100644 (file)
@@ -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