2001-11-30 19:00:13 +00:00
|
|
|
dnl
|
|
|
|
dnl $Id$
|
|
|
|
dnl
|
1999-04-22 02:48:28 +00:00
|
|
|
|
2002-05-04 16:48:01 +00:00
|
|
|
PHP_ARG_ENABLE(xml,whether to enable XML support,
|
|
|
|
[ --disable-xml Disable XML support using bundled expat lib], yes)
|
|
|
|
|
2001-06-03 13:59:21 +00:00
|
|
|
if test "$PHP_XML" = "yes"; then
|
2003-05-06 19:38:49 +00:00
|
|
|
AC_DEFINE(HAVE_XML, 1, [ ])
|
2001-01-05 06:36:51 +00:00
|
|
|
|
2003-05-06 19:38:49 +00:00
|
|
|
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 04:02:27 +00:00
|
|
|
|
2003-05-06 19:38:49 +00:00
|
|
|
PHP_NEW_EXTENSION(xml, compat.c xml.c, $ext_shared)
|
2001-06-03 13:59:21 +00:00
|
|
|
fi
|