summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-09-25 07:07:22 +0000
committerSterling Hughes <sterling@php.net>2001-09-25 07:07:22 +0000
commitbb2d4e3126c8796aced6477fbfb432bb36309467 (patch)
treed33732595c4603766f2c670d18f12030db76f9bd
parentd05661abd2516bfd991f15d5d996e54db01b552a (diff)
downloadphp-git-bb2d4e3126c8796aced6477fbfb432bb36309467.tar.gz
add a 7.9 version check
-rw-r--r--ext/curl/config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index 17aa4d1e84..ac7e3c640c 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -24,7 +24,7 @@ if test "$PHP_CURL" != "no"; then
fi
CURL_CONFIG="curl-config"
- AC_MSG_CHECKING(for cURL greater than 7.7.3)
+ AC_MSG_CHECKING(for cURL 7.9 or greater)
if ${CURL_DIR}/bin/curl-config --libs print > /dev/null 2>&1; then
CURL_CONFIG=${CURL_DIR}/bin/curl-config
@@ -36,11 +36,11 @@ if test "$PHP_CURL" != "no"; then
curl_version_full=`$CURL_CONFIG --version`
curl_version=`echo ${curl_version_full} | sed -e 's/libcurl //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
- if test "$curl_version" -ge 7007003; then
+ if test "$curl_version" -ge 7009000; then
AC_MSG_RESULT($curl_version_full)
CURL_LIBS=`$CURL_CONFIG --libs`
else
- AC_MSG_ERROR(cURL version 7.7.3 or later is required to compile php with cURL support)
+ AC_MSG_ERROR(cURL version 7.9 or later is required to compile php with cURL support)
fi
PHP_ADD_INCLUDE($CURL_DIR/include)