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_curl_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") &&