release v3.3.0
[m6w6/ext-http] / config9.m4
index ef7d33eabedef510e0d9c1f692f2af7869bfc73a..89d7b28d6c507b78d1b1f82d89a6c52db4921d6c 100644 (file)
@@ -24,6 +24,8 @@ if test "$PHP_HTTP" != "no"; then
                AC_CHECK_LIB(nsl, getdomainname)
        ])
        AC_CHECK_FUNCS(mbrtowc mbtowc iswalnum inet_pton)
+       
+       CFLAGS="$CFLAGS -Wno-strict-prototypes"
 
        dnl ZLIB
        PHP_ARG_WITH([http-zlib-dir], [whether/where to check for zlib],
@@ -167,6 +169,12 @@ if test "$PHP_HTTP" != "no"; then
        ], [
                AC_MSG_ERROR([please install and enable pecl/raphf])
        ])
+       PECL_HAVE_PHP_EXT([propro], [
+               PECL_HAVE_PHP_EXT_HEADER([propro])
+       ], [
+               AC_MSG_ERROR([please install and enable pecl/propro])
+       ])
+       PECL_HAVE_PHP_EXT([hash])
        PECL_HAVE_PHP_EXT([iconv])
 
        dnl DONE
@@ -196,6 +204,7 @@ if test "$PHP_HTTP" != "no"; then
                fi
        fi
        PHP_ADD_EXTENSION_DEP([http], [raphf], true)
+       PHP_ADD_EXTENSION_DEP([http], [propro], true)
 
        PHP_SUBST(PECL_VAR([HEADERS]))
        PHP_SUBST(PECL_VAR([SOURCES]))