ilia points out this is ok

This commit is contained in:
Sterling Hughes 2003-06-28 06:32:02 +00:00
parent 67400949f2
commit f783d06d65

View File

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