X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config.m4;h=7582cd9d76d1b446d2f15e3579335834d4fa83d7;hp=81818fb465e42ca1af6d15a4a25a26f24f0f6208;hb=562c9941215d5080452fd8686dba6c408cb8ddda;hpb=03848def2b38db9a52ab905405d9ea9ffd130e85 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])