From 21eee58f6f7f78686b24d72fca58c403cad94dc3 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Mon, 7 May 2001 08:22:34 +0000 Subject: [PATCH] As the WDDX extension can now be built as shared extension without functional loss with regard to the session serializer, it is safe to default to disable. We enable XML automatically only, if the user is building WDDX as a static extension. --- ext/wddx/config.m4 | 4 ++-- 1 file 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 -- 2.50.1