projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add flush() to encoding stream (filters)
[m6w6/ext-http]
/
config.m4
diff --git
a/config.m4
b/config.m4
index 6b79648958715b54271ddb79bdf7bd77ac5e8753..bf19c2418424870dc919c62d4d8e3748c14fa40b 100644
(file)
--- a/
config.m4
+++ b/
config.m4
@@
-16,6
+16,21
@@
PHP_ARG_WITH([http-zlib-compression], [whether to enable support for gzencoded/d
if test "$PHP_HTTP" != "no"; then
if test "$PHP_HTTP" != "no"; then
+ ifdef([AC_PROG_EGREP], [
+ AC_PROG_EGREP
+ ], [
+ AC_CHECK_PROG(EGREP, egrep, egrep)
+ ])
+ ifdef([AC_PROG_SED], [
+ AC_PROG_SED
+ ], [
+ ifdef([LT_AC_PROG_SED], [
+ LT_AC_PROG_SED
+ ], [
+ AC_CHECK_PROG(SED, sed, sed)
+ ])
+ ])
+
dnl -------
dnl NETDB.H
dnl -------
dnl -------
dnl NETDB.H
dnl -------
@@
-87,11
+102,6
@@
dnl ----
CURL_LIBS=`$CURL_CONFIG --libs`
CURL_LIBS=`$CURL_CONFIG --libs`
- CURL_ZLIB=`$CURL_CONFIG --features | $EGREP libz`
- if test "$CURL_ZLIB" = "libz"; then
- AC_DEFINE([HTTP_HAVE_CURL_ZLIB], [1], [ ])
- fi
-
AC_MSG_CHECKING([for SSL support in libcurl])
CURL_SSL=`$CURL_CONFIG --features | $EGREP SSL`
if test "$CURL_SSL" = "SSL"; then
AC_MSG_CHECKING([for SSL support in libcurl])
CURL_SSL=`$CURL_CONFIG --features | $EGREP SSL`
if test "$CURL_SSL" = "SSL"; then
@@
-223,8
+233,9
@@
dnl ----
PHP_HTTP_HEADERS="php_http_std_defs.h php_http.h php_http_api.h php_http_cache_api.h \
php_http_date_api.h php_http_headers_api.h php_http_info_api.h php_http_message_api.h \
php_http_request_api.h php_http_request_method_api.h php_http_send_api.h php_http_url_api.h \
PHP_HTTP_HEADERS="php_http_std_defs.h php_http.h php_http_api.h php_http_cache_api.h \
php_http_date_api.h php_http_headers_api.h php_http_info_api.h php_http_message_api.h \
php_http_request_api.h php_http_request_method_api.h php_http_send_api.h php_http_url_api.h \
- php_http_encoding_api.h phpstr/phpstr.h missing.h php_http_request_body_api.h"
-
+ php_http_encoding_api.h phpstr/phpstr.h missing.h php_http_request_body_api.h \
+ php_http_exception_object.h php_http_message_object.h php_http_request_object.h \
+ php_http_requestpool_object.h php_http_response_object.h php_http_util_object.h"
ifdef([PHP_INSTALL_HEADERS], [
PHP_INSTALL_HEADERS(ext/http, $PHP_HTTP_HEADERS)
], [
ifdef([PHP_INSTALL_HEADERS], [
PHP_INSTALL_HEADERS(ext/http, $PHP_HTTP_HEADERS)
], [