X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config.w32;h=6d1d0df0353924c0229f8671c762cd2c004a31dd;hp=b9dd901498a5056dc40cf99833fbcab97663fefd;hb=bec583518dd611eb52d0969b4cf07abfc30eae97;hpb=7e24f6e712d8234d1d825acee157c22fbe581478 diff --git a/config.w32 b/config.w32 index b9dd901..6d1d0df 100644 --- a/config.w32 +++ b/config.w32 @@ -4,9 +4,14 @@ ARG_ENABLE("http", "whether to enable extended HTTP support", "no"); if (PHP_HTTP != "no") { - EXTENSION("http", "http.c http_functions.c http_methods.c http_api.c http_curl_api.c"); - ADD_SOURCES("../pecl/http/phpstr", "phpstr.c", "http"); - //ADD_SOURCES("ext/http/phpstr", "phpstr.c", "http"); + EXTENSION("http", + "http.c http_functions.c http_methods.c "+ + "http_api.c http_auth_api.c http_cache_api.c "+ + "http_curl_api.c http_date_api.c http_headers_api.c "+ + "http_message_api.c http_send_api.c http_url_api.c ", + null, + "/I\"" + configure_module_dirname + "/phpstr\""); + ADD_SOURCES(configure_module_dirname + "/phpstr", "phpstr.c", "http"); AC_DEFINE("HAVE_HTTP", 1, "Have extended HTTP support") if (CHECK_LIB("libcurl.lib", "http", PHP_HTTP) && CHECK_HEADER_ADD_INCLUDE("curl/easy.h", "CFLAGS_HTTP") && @@ -18,4 +23,4 @@ if (PHP_HTTP != "no") { } else { WARNING("curl convenience functions not enabled; libraries and headers not found"); } -} +} \ No newline at end of file