Merge branch 'master' into phpng
[m6w6/ext-http] / config9.m4
index af3d55fd25531df5b77f6a1f8ecc07cf759f06d8..8a1011818c9fd9a00c0f8ae9b60abce5604fe743 100644 (file)
@@ -606,4 +606,7 @@ dnl ----
        PHP_INSTALL_HEADERS(ext/http, $PHP_HTTP_HEADERS)
 
        AC_DEFINE([HAVE_HTTP], [1], [Have extended HTTP support])
+       if $HTTP_HAVE_A_REQUEST_LIB; then
+               AC_DEFINE([PHP_HTTP_HAVE_CLIENT], [1], [Have HTTP client support])
+       fi
 fi