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