From: foobar Date: Sat, 18 Aug 2001 21:08:52 +0000 (+0000) Subject: libxml 2.4.2 is required now. X-Git-Tag: PRE_SUBST_Z_MACROS~452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a000bdd93ef14730b19db9d09d515d612e7ca8fb;p=php libxml 2.4.2 is required now. --- diff --git a/ext/domxml/config.m4 b/ext/domxml/config.m4 index 55d81b5c61..4a490e77a1 100644 --- a/ext/domxml/config.m4 +++ b/ext/domxml/config.m4 @@ -7,19 +7,19 @@ AC_DEFUN(PHP_DOM_CHECK_VERSION,[ AC_MSG_CHECKING(for libxml version) AC_EGREP_CPP(yes,[ #include - #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.]) @@ -35,7 +35,7 @@ if test "$PHP_DOM" != "no"; then 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