summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/wddx/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wddx/config.m4 b/ext/wddx/config.m4
index 1530895b33..347ad117e9 100644
--- a/ext/wddx/config.m4
+++ b/ext/wddx/config.m4
@@ -2,10 +2,10 @@ dnl $Id$
dnl config.m4 for extension wddx
PHP_ARG_ENABLE(wddx,for WDDX support,
-[ --disable-wddx Disable WDDX support], yes)
+[ --enable-wddx Enable WDDX support])
if test "$PHP_WDDX" != "no"; then
- if test "$enable_xml" = "no"; then
+ if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then
AC_MSG_WARN(Activating XML)
enable_xml=yes
fi