mirror of
https://github.com/php/php-src.git
synced 2024-12-01 22:03:36 +08:00
libxml 2.4.2 is required now.
This commit is contained in:
parent
de7d47c3fd
commit
a000bdd93e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user