- Fix possible compile failure if configuring with --disable-all

This commit is contained in:
foobar 2005-12-21 14:22:02 +00:00
parent f91b2c66a8
commit 88a1a3cecc

View File

@ -6,7 +6,7 @@ PHP_ARG_ENABLE(wddx,whether to enable WDDX support,
[ --enable-wddx Enable WDDX support])
if test "$PHP_WDDX" != "no"; then
if test "$ext_shared" != "yes" && test "$enable_xml" = "no"; then
if test "$ext_shared" != "yes" && (test "$enable_xml" = "no" || test "${enable_xml+set}" != "set"); then
AC_MSG_WARN(Activating XML)
enable_xml=yes
fi