- add first version of package2.xml
[m6w6/ext-http] / config.m4
index 62dcb4f04b1a116be03684e41424d43a920444db..cb340f52f45f41654a6e2193c785c714c0065921 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -62,7 +62,7 @@ dnl ----
                fi
                
                CURL_SSL=`$CURL_CONFIG --features | $EGREP SSL`
-               if test CURL_SSL == "SSL"; then
+               if test "$CURL_SSL" == "SSL"; then
                        AC_DEFINE([HTTP_HAVE_SSL], [1], [ ])
                fi
                AC_CHECK_HEADERS([openssl/crypto.h])
@@ -82,6 +82,10 @@ dnl ----
                        [AC_DEFINE([HAVE_CURL_EASY_STRERROR], [1], [ ])], [ ],
                        [$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
                )
+               PHP_CHECK_LIBRARY(curl, curl_easy_reset,
+                       [AC_DEFINE([HAVE_CURL_EASY_RESET], [1], [ ])], [ ],
+                       [$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
+               )
        fi
 
 dnl ----