- ditch http_split_response()
[m6w6/ext-http] / config.w32
1 // config.w32 for pecl/http
2 // $Id$
3
4 ARG_ENABLE("http", "whether to enable extended HTTP support", "no");
5
6 if (PHP_HTTP != "no") {
7 EXTENSION("http",
8 "missing.c http.c http_functions.c http_exception_object.c "+
9 "http_util_object.c http_message_object.c http_requestpool_object.c "+
10 "http_request_object.c http_response_object.c "+
11 "http_api.c http_auth_api.c http_cache_api.c http_request_pool_api.c "+
12 "http_request_api.c http_date_api.c http_headers_api.c "+
13 "http_message_api.c http_send_api.c http_url_api.c "+
14 "http_info_api.c",
15 null,
16 "/I\"" + configure_module_dirname + "/phpstr\"");
17 ADD_SOURCES(configure_module_dirname + "/phpstr", "phpstr.c", "http");
18 AC_DEFINE("HAVE_HTTP", 1, "Have extended HTTP support")
19 if (CHECK_LIB("libcurl.lib", "http", PHP_HTTP) &&
20 CHECK_HEADER_ADD_INCLUDE("curl/easy.h", "CFLAGS_HTTP") &&
21 CHECK_LIB("ssleay32.lib", "http", PHP_HTTP) &&
22 CHECK_LIB("libeay32.lib", "http", PHP_HTTP) &&
23 CHECK_LIB("zlib.lib", "http", PHP_HTTP) &&
24 CHECK_LIB("winmm.lib", "http", PHP_HTTP)) {
25 AC_DEFINE("HTTP_HAVE_CURL", 1, "Have CURL library");
26 } else {
27 WARNING("curl convenience functions not enabled; libraries and headers not found");
28 }
29 }