summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2001-04-20 19:33:22 +0000
committerAndrei Zmievski <andrei@php.net>2001-04-20 19:33:22 +0000
commitf52831bc8488ef21454ae6be0c623cbceee44fec (patch)
tree6a6c4ecc50154b4b4b8a2833ac42a6852e470766
parent787e4cc0fef012132c38762b1124dc13e0cf55d7 (diff)
downloadphp-git-f52831bc8488ef21454ae6be0c623cbceee44fec.tar.gz
Enabling WDDX by default.
-rw-r--r--ext/wddx/config.m48
-rw-r--r--ext/wddx/setup.stub6
2 files changed, 4 insertions, 10 deletions
diff --git a/ext/wddx/config.m4 b/ext/wddx/config.m4
index 2dbd479ab5..1530895b33 100644
--- a/ext/wddx/config.m4
+++ b/ext/wddx/config.m4
@@ -1,14 +1,14 @@
dnl $Id$
dnl config.m4 for extension wddx
-PHP_ARG_ENABLE(wddx,whether to enable WDDX support,
-[ --enable-wddx Enable WDDX support])
+PHP_ARG_ENABLE(wddx,for WDDX support,
+[ --disable-wddx Disable WDDX support], yes)
-if test "$PHP_WDDX" = "yes"; then
+if test "$PHP_WDDX" != "no"; then
if test "$enable_xml" = "no"; then
AC_MSG_WARN(Activating XML)
enable_xml=yes
fi
AC_DEFINE(HAVE_WDDX, 1, [ ])
- PHP_EXTENSION(wddx)
+ PHP_EXTENSION(wddx, $ext_shared)
fi
diff --git a/ext/wddx/setup.stub b/ext/wddx/setup.stub
deleted file mode 100644
index 30500bf406..0000000000
--- a/ext/wddx/setup.stub
+++ /dev/null
@@ -1,6 +0,0 @@
-# $Source$
-# $Id$
-
-define_option with-wddx 'wddx support?' yesnodir no \
-' Whether to build the wddx extension.'
-