summaryrefslogtreecommitdiff
path: root/ext/curl/config.m4
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-11-18 12:00:21 +0000
committerWez Furlong <wez@php.net>2002-11-18 12:00:21 +0000
commitbceb56b2ba77ac7de8a768e8fe27ada4e8f232d5 (patch)
tree31afb094454f8b156e85207e1073887956a4aa7d /ext/curl/config.m4
parent110fd64bbdd0323bbd9ef92e19bef31a8afef18f (diff)
downloadphp-git-bceb56b2ba77ac7de8a768e8fe27ada4e8f232d5.tar.gz
Re-enable the curlwrappers configure option.
I still don't recommend it's use unless you are hacking both curl and PHP to make it work.
Diffstat (limited to 'ext/curl/config.m4')
-rw-r--r--ext/curl/config.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/curl/config.m4 b/ext/curl/config.m4
index 505f7b0104..180b03efb6 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
-dnl PHP_ARG_WITH(curlwrappers, if we should use CURL for url streams,
-dnl [ --with-curlwrappers Use CURL for url streams], no, no)
+PHP_ARG_WITH(curlwrappers, if we should use CURL for url streams,
+[ --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
@@ -68,9 +68,9 @@ if test "$PHP_CURL" != "no"; then
$CURL_LIBS -L$CURL_DIR/lib
])
-dnl if test "$PHP_CURLWRAPPERS" != "no" ; then
-dnl AC_DEFINE(PHP_CURL_URL_WRAPPERS,1,[ ])
-dnl fi
+ if test "$PHP_CURLWRAPPERS" != "no" ; then
+ AC_DEFINE(PHP_CURL_URL_WRAPPERS,1,[ ])
+ fi
PHP_NEW_EXTENSION(curl, interface.c multi.c streams.c, $ext_shared)
PHP_SUBST(CURL_SHARED_LIBADD)