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 c02884e7f9..2a0b907230 100644
--- a/ext/wddx/config.m4
+++ b/ext/wddx/config.m4
@@ -5,8 +5,8 @@ AC_MSG_CHECKING(whether to include WDDX support)
AC_ARG_WITH(wddx,
[ --with-wddx Include WDDX support],[
if test "$withval" = "yes"; then
- if test "${with_xml+set}" != "set" -o "$with_xml" = "no"; then
- AC_MSG_ERROR(WDDX requires --with-xml)
+ if test "${enable_xml+set}" != "set" -o "$enable_xml" = "no"; then
+ AC_MSG_ERROR(WDDX requires --enable-xml)
else
AC_DEFINE(HAVE_WDDX, 1, [ ])
AC_MSG_RESULT(yes)