dnl dnl $Id$ dnl PHP_ARG_ENABLE(wddx,whether to enable WDDX support, [ --enable-wddx Enable WDDX support]) if test -z "$PHP_LIBXML_DIR"; then PHP_ARG_WITH(libxml-dir, libxml2 install dir, [ --with-libxml-dir=DIR WDDX: libxml2 install prefix], no, no) fi PHP_ARG_WITH(libexpat-dir, libexpat dir for WDDX, [ --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)],no,no) if test "$PHP_WDDX" != "no"; then dnl dnl Default to libxml2 if --with-libexpat-dir is not used dnl if test "$PHP_LIBEXPAT_DIR" = "no"; then if test "$PHP_LIBXML" = "no"; then AC_MSG_ERROR([WDDX extension requires LIBXML extension, add --enable-libxml]) fi PHP_SETUP_LIBXML(WDDX_SHARED_LIBADD, [ if test "$PHP_XML" = "no"; then PHP_ADD_SOURCES(ext/xml, compat.c) PHP_ADD_BUILD_DIR(ext/xml) fi ], [ AC_MSG_ERROR([xml2-config not found. Use --with-libxml-dir=