mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
require libxml 2.6.0 or higher
This commit is contained in:
parent
8462621bd7
commit
e6034763ca
@ -2304,7 +2304,7 @@ AC_DEFUN([PHP_SETUP_LIBXML], [
|
||||
set $libxml_full_version
|
||||
IFS=$ac_IFS
|
||||
LIBXML_VERSION=`expr [$]1 \* 1000000 + [$]2 \* 1000 + [$]3`
|
||||
if test "$LIBXML_VERSION" -ge "2005010"; then
|
||||
if test "$LIBXML_VERSION" -ge "2006000"; then
|
||||
LIBXML_LIBS=`$XML2_CONFIG --libs`
|
||||
LIBXML_INCS=`$XML2_CONFIG --cflags`
|
||||
PHP_EVAL_LIBLINE($LIBXML_LIBS, $1)
|
||||
@ -2327,7 +2327,7 @@ AC_DEFUN([PHP_SETUP_LIBXML], [
|
||||
fi
|
||||
$2
|
||||
else
|
||||
AC_MSG_ERROR([libxml2 version 2.5.10 or greater required.])
|
||||
AC_MSG_ERROR([libxml2 version 2.6.0 or greater required.])
|
||||
fi
|
||||
ifelse([$3],[],,[else $3])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user