summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-05-07 08:22:34 +0000
committerSascha Schumann <sas@php.net>2001-05-07 08:22:34 +0000
commit21eee58f6f7f78686b24d72fca58c403cad94dc3 (patch)
tree1f8224be0b768f60387ee1a108f75115b988132a
parent935d6287fd3a8e7ede76330db07e9ac3df3f35ad (diff)
downloadphp-git-21eee58f6f7f78686b24d72fca58c403cad94dc3.tar.gz
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.
-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