X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=config9.m4;h=89d7b28d6c507b78d1b1f82d89a6c52db4921d6c;hb=e3976774f27b4129cbfd7d227aaa7e177f1b735c;hp=ef7d33eabedef510e0d9c1f692f2af7869bfc73a;hpb=701840587c7b8ddb35259ac3de5c988e0eefa805;p=m6w6%2Fext-http diff --git a/config9.m4 b/config9.m4 index ef7d33e..89d7b28 100644 --- a/config9.m4 +++ b/config9.m4 @@ -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]))