- fix shared build witin the php src tree
authorMichael Wallner <mike@php.net>
Mon, 24 Oct 2005 19:15:55 +0000 (19:15 +0000)
committerMichael Wallner <mike@php.net>
Mon, 24 Oct 2005 19:15:55 +0000 (19:15 +0000)
config.m4

index 81818fb465e42ca1af6d15a4a25a26f24f0f6208..7582cd9d76d1b446d2f15e3579335834d4fa83d7 100644 (file)
--- 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])