mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
ilia points out this is ok
This commit is contained in:
parent
67400949f2
commit
f783d06d65
@ -1736,7 +1736,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 "2005007"; then
|
||||
if test "$LIBXML_VERSION" -ge "2005001"; then
|
||||
LIBXML_LIBS=`$XML2_CONFIG --libs`
|
||||
LIBXML_INCS=`$XML2_CONFIG --cflags`
|
||||
PHP_EVAL_LIBLINE($LIBXML_LIBS, $1)
|
||||
@ -1744,7 +1744,7 @@ AC_DEFUN([PHP_SETUP_LIBXML], [
|
||||
AC_DEFINE(HAVE_LIBXML, 1, [ ])
|
||||
$2
|
||||
else
|
||||
AC_MSG_ERROR([libxml2 version 2.5.7 or greater required.])
|
||||
AC_MSG_ERROR([libxml2 version 2.5.1 or greater required.])
|
||||
fi
|
||||
ifelse([$3],[],,[else $3])
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user