dnl dnl $Id$ dnl PHP_ARG_WITH(xml,whether to enable XML support, [ --without-xml Disable XML support. Requires libxml2.], yes) PHP_ARG_WITH(libxml-dir, libxml install dir, [ --with-libxml-dir=DIR XML: libxml install prefix], no, no) PHP_ARG_WITH(expat-dir, libexpat install dir, [ --with-expat-dir=DIR XML: libexpat install prefix (deprecated)], no, no) if test "$PHP_XML" != "no"; then if test "$PHP_XML" != "yes" && test -n "$PHP_LIBXML_DIR"; then PHP_LIBXML_DIR=$PHP_XML fi PHP_SETUP_LIBXML(XML_SHARED_LIBADD, [ xml_sources="xml.c compat.c" ], [ AC_MSG_ERROR(xml2-config not found. Use --with-libxml-dir=