From: Michael Wallner Date: Tue, 27 Feb 2018 14:19:59 +0000 (+0100) Subject: set AHVE_LIBBROTLI to false if checks fail X-Git-Tag: RELEASE_3_2_0_RC1~19 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=73db3e63222df58171d7ee1269944e30a5ded23b;p=m6w6%2Fext-http set AHVE_LIBBROTLI to false if checks fail --- diff --git a/autoconf/pecl/libbrotli.m4 b/autoconf/pecl/libbrotli.m4 index 6d9a80e..f8916e2 100644 --- a/autoconf/pecl/libbrotli.m4 +++ b/autoconf/pecl/libbrotli.m4 @@ -11,6 +11,8 @@ AC_DEFUN([PECL_CHECK_LIBBROTLI], [ && $PECL_VAR([HAVE_LIBBROTLI_DEC]) \ && $PECL_VAR([HAVE_LIBBROTLI_ENC]); then PECL_VAR([HAVE_LIBBROTLI])=true + else + PECL_VAR([HAVE_LIBBROTLI])=false fi ]) @@ -20,7 +22,6 @@ AC_DEFUN([PECL_CHECK_LIBBROTLI_COMMON], [ PECL_HAVE_VERSION(libbrotlicommon, ifelse($2,,1.0,$2), [ PECL_VAR([HAVE_LIBBROTLI_COMMON])=true ], [ - AC_MSG_WARN([skipping libbrotli]) PECL_VAR([HAVE_LIBBROTLI_COMMON])=false ]) ]) @@ -31,7 +32,6 @@ AC_DEFUN([PECL_CHECK_LIBBROTLI_DEC], [ PECL_HAVE_VERSION(libbrotlidec, ifelse($2,,1.0,$2), [ PECL_VAR([HAVE_LIBBROTLI_DEC])=true ], [ - AC_MSG_WARN([skipping libbrotli]) PECL_VAR([HAVE_LIBBROTLI_DEC])=false ]) ]) @@ -42,7 +42,6 @@ AC_DEFUN([PECL_CHECK_LIBBROTLI_ENC], [ PECL_HAVE_VERSION(libbrotlienc, ifelse($2,,1.0,$2), [ PECL_VAR([HAVE_LIBBROTLI_ENC])=true ], [ - AC_MSG_WARN([skipping libbrotli]) PECL_VAR([HAVE_LIBBROTLI_ENC])=false ]) ])