- add pipelining support to HttpRequestPool (libcurl >= 7.16.0)
[m6w6/ext-http] / config9.m4
index 7bbb2c2b587184b49719f4f20300ed6b24091fe4..1fcb91d3971e70d26d3d921057212046b862a032 100644 (file)
@@ -54,7 +54,7 @@ if test "$PHP_HTTP" != "no"; then
                elif test "$haveext"; then
                        AC_MSG_RESULT([yes])
                        ifdef([PHP_ADD_EXTENSION_DEP], [
-                               PHP_ADD_EXTENSION_DEP([http], $1, 0)
+                               PHP_ADD_EXTENSION_DEP([http], $1, true)
                        ])
                        $2
                else
@@ -238,6 +238,10 @@ dnl ----
                        [AC_DEFINE([HAVE_CURL_FORMGET], [1], [ ])], [ ],
                        [$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
                )
+               PHP_CHECK_LIBRARY(curl, curl_multi_setopt, 
+                       [AC_DEFINE([HAVE_CURL_MULTI_SETOPT], [1], [ ])], [ ], 
+                       [$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
+               )
        fi
 
 dnl ----