- AC_DEFINE("HTTP_HAVE_CURL", 1, "Have CURL library");
- AC_DEFINE("HAVE_CURL_MULTI_STRERROR", 1, "");
- AC_DEFINE("HAVE_CURL_EASY_STRERROR", 1, "")
- } else {
- WARNING("curl convenience functions not enabled; libraries and headers not found");
- }
+ AC_DEFINE("PHP_HTTP_HAVE_CURL", 1, "Have CURL library");
+ AC_DEFINE("PHP_HTTP_HAVE_SSL", 1, "Have SSL");
+ AC_DEFINE("PHP_HAVE_CURL_MULTI_STRERROR", 1, "");
+ AC_DEFINE("PHP_HAVE_CURL_SHARE_STRERROR", 1, "");
+ AC_DEFINE("PHP_HAVE_CURL_EASY_STRERROR", 1, "");
+ AC_DEFINE("PHP_HAVE_CURL_EASY_RESET", 1, "");
+ AC_DEFINE("PHP_HAVE_CURL_GETFORMDATA", 1, "");
+ AC_DEFINE("PHP_HAVE_CURL_FORMGET", 1, "");
+ AC_DEFINE("PHP_HAVE_CURL_MULTI_SETOPT", 1, "");
+ AC_DEFINE("PHP_HAVE_CURL_MULTI_TIMEOUT", 1, "");
+ AC_DEFINE("PHP_HTTP_HAVE_CLIENT", 1, "Have HTTP client support");
+ ADD_FLAG("CFLAGS_HTTP", "/I" + configure_module_dirname + " ");