X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config.w32;h=c07e9d25116c9f12484413a8a2ce228d8471c073;hp=1966723d89c4b7a6dfc9ab0e9c1ae180b288073c;hb=ebf03950ffaea849b931adf83b6c20ac9fb7ef33;hpb=e6b35fbe072a13b0e792952852fcd1499bd8e610 diff --git a/config.w32 b/config.w32 index 1966723..c07e9d2 100644 --- a/config.w32 +++ b/config.w32 @@ -56,7 +56,7 @@ if (PHP_HTTP != "no") { "http_info_api.c http_request_method_api.c http_encoding_api.c "+ "http_filter_api.c http_request_body_api.c http_querystring_object.c "+ "http_deflatestream_object.c http_inflatestream_object.c "+ - "http_cookie_api.c", + "http_cookie_api.c http_querystring_api.c", null, "/I\"" + configure_module_dirname + "/phpstr\""); ADD_SOURCES(configure_module_dirname + "/phpstr", "phpstr.c", "http"); @@ -86,7 +86,11 @@ if (PHP_HTTP != "no") { if (PHP_SESSION != "no") { ADD_EXTENSION_DEP("http", "session", true); } - + + if (PHP_ICONV != "no") { + ADD_EXTENSION_DEP("http", "iconv", true); + } + CURL_LIB = PHP_DEBUG != "no" ? "libcurld.lib":"libcurl.lib"; if (CHECK_HEADER_ADD_INCLUDE("curl/curl.h", "CFLAGS_HTTP") && CHECK_HEADER_ADD_INCLUDE("openssl/crypto.h", "CFLAGS_HTTP") && @@ -100,6 +104,7 @@ if (PHP_HTTP != "no") { AC_DEFINE("HAVE_CURL_MULTI_STRERROR", 1, ""); AC_DEFINE("HAVE_CURL_EASY_STRERROR", 1, ""); AC_DEFINE("HAVE_CURL_EASY_RESET", 1, ""); + AC_DEFINE("HAVE_CURL_GETFORMDATA", 1, ""); } else { WARNING("curl convenience functions not enabled; libraries and headers not found"); }