cvs: php4 /ext/curl config.m4
| From: | Sterling Hughes | Date: | Sat, 09 Nov 2002 13:08:49 +0000 |
| Subject: | cvs: php4 /ext/curl config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15922@lists.php.net to get a copy of this message | ||
sterling Sat Nov 9 08:08:49 2002 EDT
Modified files:
/php4/ext/curl config.m4
Log:
add check for curl 7.10.2
Index: php4/ext/curl/config.m4
diff -u php4/ext/curl/config.m4:1.18 php4/ext/curl/config.m4:1.19
--- php4/ext/curl/config.m4:1.18 Thu Nov 7 13:07:03 2002
+++ php4/ext/curl/config.m4 Sat Nov 9 08:08:49 2002
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.18 2002/11/07 18:07:03 wez Exp $
+dnl $Id: config.m4,v 1.19 2002/11/09 13:08:49 sterling Exp $
dnl
PHP_ARG_WITH(curl, for CURL support,
@@ -29,7 +29,7 @@
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 @@
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)