wez             Wed Nov  6 05:24:49 2002 EDT

  Modified files:              
    /php4/ext/curl      config.m4 
  Log:
  Disable --with-curlwrappers.
  (Pending support from libcurl itself)
  
  
Index: php4/ext/curl/config.m4
diff -u php4/ext/curl/config.m4:1.16 php4/ext/curl/config.m4:1.17
--- php4/ext/curl/config.m4:1.16        Wed Sep  4 14:47:22 2002
+++ php4/ext/curl/config.m4     Wed Nov  6 05:24:48 2002
@@ -1,13 +1,13 @@
 dnl
-dnl $Id: config.m4,v 1.16 2002/09/04 18:47:22 sniper Exp $
+dnl $Id: config.m4,v 1.17 2002/11/06 10:24:48 wez Exp $
 dnl
 
 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
@@ -58,6 +58,13 @@
   ],[
     AC_MSG_ERROR(There is something wrong. Please check config.log for more 
information.)
   ],[
+    $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
   ])
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to