]> granicus.if.org Git - php/commitdiff
Enabling WDDX by default.
authorAndrei Zmievski <andrei@php.net>
Fri, 20 Apr 2001 19:33:22 +0000 (19:33 +0000)
committerAndrei Zmievski <andrei@php.net>
Fri, 20 Apr 2001 19:33:22 +0000 (19:33 +0000)
ext/wddx/config.m4
ext/wddx/setup.stub [deleted file]

index 2dbd479ab55f07494a1abde6fb397458d6d6cd69..1530895b33fc653b284b6a5db5ee906207095d78 100644 (file)
@@ -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 (file)
index 30500bf..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# $Source$
-# $Id$
-
-define_option with-wddx 'wddx support?' yesnodir no \
-'    Whether to build the wddx extension.'
-