From: Michael Wallner Date: Mon, 24 Oct 2005 19:15:55 +0000 (+0000) Subject: - fix shared build witin the php src tree X-Git-Tag: RELEASE_0_17_0~21 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=656d8e1b62f2fd578b2b0943e6a09ac13bab4f70;p=m6w6%2Fext-http - fix shared build witin the php src tree --- diff --git a/config.m4 b/config.m4 index 81818fb..7582cd9 100644 --- a/config.m4 +++ b/config.m4 @@ -29,7 +29,7 @@ dnl ---- AC_MSG_CHECKING([for zlib.h]) ZLIB_DIR= for i in "$PHP_HTTP_ZLIB_COMPRESSION" "$PHP_ZLIB_DIR" "$PHP_ZLIB" /user/local /usr /opt; do - if test -r "$i/include/zlib.h"; then + if test -f "$i/include/zlib.h"; then ZLIB_DIR=$i break; fi @@ -52,7 +52,7 @@ dnl ---- AC_MSG_CHECKING([for curl/curl.h]) CURL_DIR= for i in "$PHP_HTTP_CURL_REQUESTS" /usr/local /usr /opt; do - if test -r "$i/include/curl/curl.h"; then + if test -f "$i/include/curl/curl.h"; then CURL_DIR=$i break fi @@ -191,7 +191,7 @@ dnl ---- http_api.c http_cache_api.c http_request_api.c http_date_api.c \ http_headers_api.c http_message_api.c http_send_api.c http_url_api.c \ http_info_api.c http_request_method_api.c http_encoding_api.c" - PHP_NEW_EXTENSION([http], $PHP_HTTP_SOURCES, [$ext_shared]) + PHP_NEW_EXTENSION([http], $PHP_HTTP_SOURCES, $ext_shared) PHP_ADD_BUILD_DIR($ext_builddir/phpstr, 1) PHP_SUBST([HTTP_SHARED_LIBADD])