Merge branch 'master' into phpng
[m6w6/ext-http] / config9.m4
index 20e7d6c9317dac3d9417ec31a678ea9df9aac068..46f70f9f4d2c501a518b75c6bd5026562a904bb7 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