From: Andrei Zmievski Date: Tue, 15 Feb 2000 14:24:59 +0000 (+0000) Subject: Test for --enable-xml. X-Git-Tag: BEFORE_SAPI_POST_PATCH_17_FEB_2000~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4661030b38bd00cc17e8ede8b661eac17db62952;p=php Test for --enable-xml. --- 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)