php-src/ext/xml/config.m4

17 lines
437 B
Plaintext
Raw Normal View History

2001-12-01 03:00:13 +08:00
dnl
dnl $Id$
dnl
2002-05-05 00:48:01 +08:00
PHP_ARG_ENABLE(xml,whether to enable XML support,
[ --disable-xml Disable XML support using bundled expat lib], yes)
2001-06-03 21:59:21 +08:00
if test "$PHP_XML" = "yes"; then
AC_DEFINE(HAVE_XML, 1, [ ])
if test "$PHP_BUNDLE_EXPAT" = "no" && test "$PHP_BUNDLE_LIBXML" = "no"; then
AC_MSG_ERROR(xml support is enabled, however both xml libraries have been disabled.)
fi
2003-05-02 12:02:27 +08:00
PHP_NEW_EXTENSION(xml, compat.c xml.c, $ext_shared)
2001-06-03 21:59:21 +08:00
fi