summaryrefslogtreecommitdiff
path: root/ext/curl/config.m4
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-11-06 10:24:48 +0000
committerWez Furlong <wez@php.net>2002-11-06 10:24:48 +0000
commitec955b07bbf23edfb53ab89a2dcf16da958494de (patch)
treee7040e0fa63b9f0db8814128b6ea762e74036c23 /ext/curl/config.m4
parent678829add6b45abbba3aea698a4c77cc50f45b04 (diff)
downloadphp-git-ec955b07bbf23edfb53ab89a2dcf16da958494de.tar.gz
Disable --with-curlwrappers.
(Pending support from libcurl itself)
Diffstat (limited to 'ext/curl/config.m4')
-rw-r--r--ext/curl/config.m411
1 files changed, 9 insertions, 2 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index 9570d39e34..2d3a7d425c 100644
--- a/ext/curl/config.m4
+++ b/ext/curl/config.m4
@@ -6,8 +6,8 @@ PHP_ARG_WITH(curl, for CURL support,
[ --with-curl[=DIR] Include CURL support])
dnl Temporary option while we develop this aspect of the extension
-PHP_ARG_WITH(curlwrappers, if we should use CURL for url streams,
-[ --with-curlwrappers Use CURL for url streams], no, no)
+dnl PHP_ARG_WITH(curlwrappers, if we should use CURL for url streams,
+dnl [ --with-curlwrappers Use CURL for url streams], no, no)
if test "$PHP_CURL" != "no"; then
if test -r $PHP_CURL/include/curl/easy.h; then
@@ -61,6 +61,13 @@ if test "$PHP_CURL" != "no"; then
$CURL_LIBS -L$CURL_DIR/lib
])
+ PHP_CHECK_LIBRARY(curl,curl_version_info,
+ [
+ AC_DEFINE(HAVE_CURL_VERSION_INFO,1,[ ])
+ ],[],[
+ $CURL_LIBS -L$CURL_DIR/lib
+ ])
+
if test "$PHP_CURLWRAPPERS" != "no" ; then
AC_DEFINE(PHP_CURL_URL_WRAPPERS,1,[ ])
fi