1999-07-19 20:24:03 +00:00
|
|
|
dnl $Id$
|
|
|
|
dnl config.m4 for extension wddx
|
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether to include WDDX support)
|
2000-02-15 22:55:45 +00:00
|
|
|
AC_ARG_ENABLE(wddx,
|
2000-02-15 14:43:32 +00:00
|
|
|
[ --enable-wddx Include WDDX support],[
|
|
|
|
if test "$enableval" = "yes"; then
|
2000-02-15 14:24:59 +00:00
|
|
|
if test "${enable_xml+set}" != "set" -o "$enable_xml" = "no"; then
|
2000-02-15 22:55:45 +00:00
|
|
|
AC_MSG_ERROR(WDDX requires --enable-xml)
|
1999-07-19 20:24:03 +00:00
|
|
|
else
|
1999-12-30 04:07:46 +00:00
|
|
|
AC_DEFINE(HAVE_WDDX, 1, [ ])
|
1999-07-19 20:24:03 +00:00
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
PHP_EXTENSION(wddx)
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
fi
|
|
|
|
],[
|
|
|
|
AC_MSG_RESULT(no)
|
|
|
|
])
|