summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-05-30 20:26:30 +0000
committerSterling Hughes <sterling@php.net>2001-05-30 20:26:30 +0000
commitf3a02d9a6b93c278f6bf0d7f2f140981b1d383c4 (patch)
tree2c269324bbdd35400cd6c2605eae0bdb7fd5708e
parent9226793642e63e8cc4b6379f25f4ae655beca329 (diff)
downloadphp-git-f3a02d9a6b93c278f6bf0d7f2f140981b1d383c4.tar.gz
Fix message, and make sure silly stderr messages don't get outputted.
-rw-r--r--ext/curl/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index d677363b24..0a526b14e8 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -31,12 +31,12 @@ if test "$PHP_CURL" != "no"; then
fi
curl_version_full=`$CURL_CONFIG --version`
- curl_version=`$CURL_CONFIG --vernum`
+ curl_version=`$CURL_CONFIG --vernum 2>/dev/null`
if test "$curl_version" -ge 70800; 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 or later is required to compile php with cURL support)
fi
PHP_ADD_INCLUDE($CURL_DIR/include)