*build files
authorMichael Wallner <mike@php.net>
Sun, 20 Mar 2005 17:35:15 +0000 (17:35 +0000)
committerMichael Wallner <mike@php.net>
Sun, 20 Mar 2005 17:35:15 +0000 (17:35 +0000)
config.m4
config.w32
http.dsp

index f57308b27a460e333f4d7f30e02bd68b63b61c48..35987439142607e572c09adcb1fae87e5caf3009 100644 (file)
--- a/config.m4
+++ b/config.m4
@@ -71,7 +71,7 @@ dnl ----
 dnl ----
 dnl DONE
 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
        PHP_SUBST([HTTP_SHARED_LIBADD])
        AC_DEFINE([HAVE_HTTP], [1], [Have extended HTTP support])
 fi
index 6d1db0fb33d00f5fe7261f81f86a76d671175488..7867a90a8802c8e478eea004330fb453edebdb45 100644 (file)
@@ -4,7 +4,8 @@
 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")
+       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") &&
        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") &&
index afd7942b8893c10c3c83a0259eaad3fea4d0c3a4..b9e4c7609f5fdeafe730f66ffeb29485325e1e29 100644 (file)
--- a/http.dsp
+++ b/http.dsp
@@ -112,6 +112,10 @@ SOURCE=.\http_functions.c
 \r
 SOURCE=.\http_methods.c\r
 # End Source File\r
 \r
 SOURCE=.\http_methods.c\r
 # End Source File\r
+# Begin Source File\r
+\r
+SOURCE=.\phpstr\phpstr.c\r
+# End Source File\r
 # End Group\r
 # Begin Group "Header Files"\r
 \r
 # End Group\r
 # Begin Group "Header Files"\r
 \r
@@ -132,6 +136,10 @@ SOURCE=.\php_http_curl_api.h
 \r
 SOURCE=.\php_http_std_defs.h\r
 # End Source File\r
 \r
 SOURCE=.\php_http_std_defs.h\r
 # End Source File\r
+# Begin Source File\r
+\r
+SOURCE=.\phpstr\phpstr.h\r
+# End Source File\r
 # End Group\r
 # Begin Group "Resource Files"\r
 \r
 # End Group\r
 # Begin Group "Resource Files"\r
 \r