* that should do the trick
authorMichael Wallner <mike@php.net>
Tue, 22 Mar 2005 12:14:06 +0000 (12:14 +0000)
committerMichael Wallner <mike@php.net>
Tue, 22 Mar 2005 12:14:06 +0000 (12:14 +0000)
config.w32

index b9dd901498a5056dc40cf99833fbcab97663fefd..9206ef524e7b143b0526a5d360d8e6b95ecd2ddb 100644 (file)
@@ -4,9 +4,9 @@
 ARG_ENABLE("http", "whether to enable extended HTTP support", "no");
 
 if (PHP_HTTP != "no") {
 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") &&
        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") &&