Possible null pointer dereference in php_http_url_mod() fixed.
[m6w6/ext-http] / config9.m4
index c95f007ed2e64414b51af0351e7dd95e56c183fe..5c697d050ff0dac88f882f195244da2086d3fa3b 100644 (file)
@@ -602,4 +602,7 @@ dnl ----
        PHP_ADD_MAKEFILE_FRAGMENT
 
        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