From: Michael Wallner Date: Sun, 20 Mar 2005 17:35:15 +0000 (+0000) Subject: *build files X-Git-Tag: RELEASE_0_7_0~22 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=42d4e27ed27128b25212f6bf18bab917f7a89902;p=m6w6%2Fext-http *build files --- diff --git a/config.m4 b/config.m4 index f57308b..3598743 100644 --- a/config.m4 +++ b/config.m4 @@ -71,7 +71,7 @@ dnl ---- dnl ---- dnl DONE dnl ---- - PHP_NEW_EXTENSION([http], [http.c http_api.c http_curl_api.c http_functions.c http_methods.c], [$ext_shared]) + PHP_NEW_EXTENSION([http], [http.c http_api.c http_curl_api.c http_functions.c http_methods.c phpstr/phpstr.c], [$ext_shared]) PHP_SUBST([HTTP_SHARED_LIBADD]) AC_DEFINE([HAVE_HTTP], [1], [Have extended HTTP support]) fi diff --git a/config.w32 b/config.w32 index 6d1db0f..7867a90 100644 --- a/config.w32 +++ b/config.w32 @@ -4,7 +4,8 @@ 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") + EXTENSION("http", "http.c http_functions.c http_methods.c http_api.c http_curl_api.c"); + ADD_SOURCES("ext/http/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") && diff --git a/http.dsp b/http.dsp index afd7942..b9e4c76 100644 --- a/http.dsp +++ b/http.dsp @@ -112,6 +112,10 @@ SOURCE=.\http_functions.c SOURCE=.\http_methods.c # End Source File +# Begin Source File + +SOURCE=.\phpstr\phpstr.c +# End Source File # End Group # Begin Group "Header Files" @@ -132,6 +136,10 @@ SOURCE=.\php_http_curl_api.h SOURCE=.\php_http_std_defs.h # End Source File +# Begin Source File + +SOURCE=.\phpstr\phpstr.h +# End Source File # End Group # Begin Group "Resource Files"