diff options
author | Sterling Hughes <sterling@php.net> | 2002-11-09 13:08:49 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2002-11-09 13:08:49 +0000 |
commit | 767c02af511832d3e53720e4668f8c33ae8bc7b7 (patch) | |
tree | 4c4cd09d1fe3f42edd9d6dc0326cc5639f6df808 /ext/curl/config.m4 | |
parent | a60968287c8be552d4ed52f3b2884f14a033cf71 (diff) | |
download | php-git-767c02af511832d3e53720e4668f8c33ae8bc7b7.tar.gz |
add check for curl 7.10.2
Diffstat (limited to 'ext/curl/config.m4')
-rw-r--r-- | ext/curl/config.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index 5841c173df..1d37840a55 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -29,7 +29,7 @@ if test "$PHP_CURL" != "no"; then fi CURL_CONFIG="curl-config" - AC_MSG_CHECKING(for cURL 7.9.8 or greater) + AC_MSG_CHECKING(for cURL 7.10.2 or greater) if ${CURL_DIR}/bin/curl-config --libs print > /dev/null 2>&1; then CURL_CONFIG=${CURL_DIR}/bin/curl-config @@ -41,11 +41,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 7009008; then + if test "$curl_version" -ge 7010002; then AC_MSG_RESULT($curl_version_full) CURL_LIBS=`$CURL_CONFIG --libs` else - AC_MSG_ERROR(cURL version 7.9.8 or later is required to compile php with cURL support) + AC_MSG_ERROR(cURL version 7.10.2 or later is required to compile php with cURL support) fi PHP_ADD_INCLUDE($CURL_DIR/include) |