require libxml 2.6.0 or higher

This commit is contained in:
Rob Richards 2005-03-10 22:35:18 +00:00
parent 8462621bd7
commit e6034763ca

View File

@ -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