From: Wez Furlong Date: Mon, 18 Nov 2002 12:00:21 +0000 (+0000) Subject: Re-enable the curlwrappers configure option. X-Git-Tag: RELEASE_1_0b2~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bceb56b2ba77ac7de8a768e8fe27ada4e8f232d5;p=php 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. --- 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)