X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config9.m4;h=897b92ff94ef016e551a45fe8dabe1e2ec283500;hp=dda5b015fe8bc0138a2ba0f3781628be373dd500;hb=6c1356cbe7363bf41f770b1dce59abef93dcc021;hpb=02db4df1bc8a7a6fef41297c082ecfe5d259ca96 diff --git a/config9.m4 b/config9.m4 index dda5b01..897b92f 100644 --- a/config9.m4 +++ b/config9.m4 @@ -2,6 +2,7 @@ m4_foreach(dir, [., ext/http], [ sinclude(dir/autoconf/pecl/pecl.m4) sinclude(dir/autoconf/pecl/zlib.m4) + sinclude(dir/autoconf/pecl/libbrotli.m4) sinclude(dir/autoconf/pecl/libcurl.m4) sinclude(dir/autoconf/pecl/libevent.m4) ]) @@ -29,6 +30,12 @@ if test "$PHP_HTTP" != "no"; then [ --with-http-zlib-dir[=DIR] HTTP: where to find zlib], $PHP_HTTP, no) PECL_CHECK_ZLIB([$PHP_HTTP_ZLIB_DIR], [1.2.0.4]) PECL_CHECK_DONE(zlib, $PECL_VAR([HAVE_ZLIB])) + + dnl BROTLI + PHP_ARG_WITH([http-libbrotli-dir], [whether/where to check for libbrotli], + [ --with-http-libbrotli-dir[=DIR] HTTP: where to find libbrotli], $PHP_HTTP, no) + PECL_CHECK_LIBBROTLI([$PHP_HTTP_LIBBROTLI_DIR], [1.0]) + PECL_CHECK_DONE(libbrotli, $PECL_VAR([HAVE_LIBBROTLI])) dnl CURL PHP_ARG_WITH([http-libcurl-dir], [whether/where to check for libcurl],