diff options
author | Antony Dovgal <tony2001@php.net> | 2006-09-15 13:43:55 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-09-15 13:43:55 +0000 |
commit | b6596bebc79706362d835fe08b866060869effc7 (patch) | |
tree | 4779984d85657e0041a9d7fc3971d37393931b84 /ext/curl/config.m4 | |
parent | a072c661842311798d03568df4e9e422b75c8586 (diff) | |
download | php-git-b6596bebc79706362d835fe08b866060869effc7.tar.gz |
fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0)
Diffstat (limited to 'ext/curl/config.m4')
-rw-r--r-- | ext/curl/config.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4 index 941df3c970..33f0742fff 100644 --- a/ext/curl/config.m4 +++ b/ext/curl/config.m4 @@ -101,6 +101,14 @@ if test "$PHP_CURL" != "no"; then $CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR ]) + PHP_CHECK_LIBRARY(curl,curl_easy_strerror, + [ + AC_DEFINE(HAVE_CURL_EASY_STRERROR,1,[ ]) + ],[],[ + $CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR + ]) + + if test "$PHP_CURLWRAPPERS" != "no" ; then AC_DEFINE(PHP_CURL_URL_WRAPPERS,1,[ ]) fi |