From: foobar <sniper@php.net>
Date: Wed, 21 Dec 2005 14:22:02 +0000 (+0000)
Subject: - Fix possible compile failure if configuring with --disable-all
X-Git-Tag: RELEASE_1_0_4~284
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88a1a3cecc073c9a020c2693665be49b822a7f2a;p=php

- Fix possible compile failure if configuring 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