From bceb56b2ba77ac7de8a768e8fe27ada4e8f232d5 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 18 Nov 2002 12:00:21 +0000 Subject: [PATCH] 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. --- ext/curl/config.m4 | 10 +++++----- 1 file 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) -- 2.50.1