php-src/ext/wddx/config.m4
Sascha Schumann 2c99bef442 Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e.

AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00

21 lines
473 B
Plaintext

dnl $Id$
dnl config.m4 for extension wddx
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)
else
AC_DEFINE(HAVE_WDDX, 1, [ ])
AC_MSG_RESULT(yes)
PHP_EXTENSION(wddx)
fi
else
AC_MSG_RESULT(no)
fi
],[
AC_MSG_RESULT(no)
])