cvs: php4(PHP_4_0_7) /ext/curl config.m4
| From: | Derick Rethans | Date: | Tue, 13 Nov 2001 11:53:02 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /ext/curl config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8182@lists.php.net to get a copy of this message | ||
derick Tue Nov 13 06:53:02 2001 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/ext/curl config.m4
Log:
- Check for cURL >= 7.8.1
Index: php4/ext/curl/config.m4
diff -u php4/ext/curl/config.m4:1.8 php4/ext/curl/config.m4:1.8.2.1
--- php4/ext/curl/config.m4:1.8 Mon Aug 6 11:40:47 2001
+++ php4/ext/curl/config.m4 Tue Nov 13 06:53:01 2001
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.8 2001/08/06 15:40:47 sniper Exp $
+dnl $Id: config.m4,v 1.8.2.1 2001/11/13 11:53:01 derick Exp $
dnl config.m4 for extension CURL
PHP_ARG_WITH(curl, for CURL support,
@@ -24,7 +24,7 @@
fi
CURL_CONFIG="curl-config"
- AC_MSG_CHECKING(for cURL greater than 7.7.3)
+ AC_MSG_CHECKING(for cURL greater than 7.8.1)
if ${CURL_DIR}/bin/curl-config --libs print > /dev/null 2>&1; then
CURL_CONFIG=${CURL_DIR}/bin/curl-config
@@ -32,11 +32,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 7007003; then
+ if test "$curl_version" -ge 7008001; 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.8.1 or later is required to compile php with cURL support)
fi
PHP_ADD_INCLUDE($CURL_DIR/include)