]> granicus.if.org Git - php/commitdiff
libxml 2.4.2 is required now.
authorfoobar <sniper@php.net>
Sat, 18 Aug 2001 21:08:52 +0000 (21:08 +0000)
committerfoobar <sniper@php.net>
Sat, 18 Aug 2001 21:08:52 +0000 (21:08 +0000)
ext/domxml/config.m4

index 55d81b5c611395305e712fd7e5342dbfe47f6284..4a490e77a154eec5a59ae2a9a0946a9aa2a8f266 100644 (file)
@@ -7,19 +7,19 @@ AC_DEFUN(PHP_DOM_CHECK_VERSION,[
   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.])
 
@@ -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