AC_MSG_CHECKING(for libxml version)
AC_EGREP_CPP(yes,[
#include <libxml/xmlversion.h>
- #if LIBXML_VERSION >= 20207
+ #if LIBXML_VERSION >= 20402
yes
#endif
],[
- AC_MSG_RESULT(>= 2.2.7)
+ AC_MSG_RESULT(>= 2.4.2)
],[
- AC_MSG_ERROR(libxml version 2.2.7 or greater required.)
+ AC_MSG_ERROR(libxml version 2.4.2 or greater required.)
])
CPPFLAGS=$old_CPPFLAGS
])
PHP_ARG_WITH(dom, for DOM support,
-[ --with-dom[=DIR] Include DOM support (requires libxml >= 2.2.7).
+[ --with-dom[=DIR] Include DOM support (requires libxml >= 2.4.2).
DIR is the libxml install directory,
defaults to /usr.])
if test -z "$DOMXML_DIR"; then
AC_MSG_RESULT(not found)
- AC_MSG_ERROR(Please reinstall the libxml >= 2.2.7 distribution)
+ AC_MSG_ERROR(Please reinstall the libxml >= 2.4.2 distribution)
fi
PHP_DOM_CHECK_VERSION