]> granicus.if.org Git - php/commitdiff
Re-enable the curlwrappers configure option.
authorWez Furlong <wez@php.net>
Mon, 18 Nov 2002 12:00:21 +0000 (12:00 +0000)
committerWez Furlong <wez@php.net>
Mon, 18 Nov 2002 12:00:21 +0000 (12:00 +0000)
I still don't recommend it's use unless you are hacking both curl and PHP
to make it work.

ext/curl/config.m4

index 505f7b0104ab4b7268850e03581d3ced1ffa9bab..180b03efb652b1d180486e9544c27c556ee6d7d9 100644 (file)
@@ -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)