httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kot...@apache.org
Subject svn commit: r1790852 - /httpd/httpd/trunk/modules/filters/config.m4
Date Mon, 10 Apr 2017 15:17:07 GMT
Author: kotkov
Date: Mon Apr 10 15:17:07 2017
New Revision: 1790852

URL: http://svn.apache.org/viewvc?rev=1790852&view=rev
Log:
mod_brotli: Update makefile to allow using Brotli library >= 0.6.0.

The 0.6.0 version has just been released [1], and it contains the
necessary API required for mod_brotli.

[1] https://github.com/google/brotli/releases/tag/v0.6.0

Modified:
    httpd/httpd/trunk/modules/filters/config.m4

Modified: httpd/httpd/trunk/modules/filters/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/config.m4?rev=1790852&r1=1790851&r2=1790852&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/config.m4 (original)
+++ httpd/httpd/trunk/modules/filters/config.m4 Mon Apr 10 15:17:07 2017
@@ -151,7 +151,7 @@ APACHE_MODULE(brotli, Brotli compression
   if test -n "$ap_brotli_base"; then
     ap_save_cppflags=$CPPFLAGS
     APR_ADDTO(CPPFLAGS, [-I${ap_brotli_base}/include])
-    AC_MSG_CHECKING([for Brotli library >= 1.0.0 via prefix])
+    AC_MSG_CHECKING([for Brotli library >= 0.6.0 via prefix])
     AC_TRY_COMPILE(
       [#include <brotli/encode.h>],[
 const uint8_t *o = BrotliEncoderTakeOutput((BrotliEncoderState*)0, (size_t*)0);
@@ -165,8 +165,8 @@ if (o) return *o;],
     CPPFLAGS=$ap_save_cppflags
   else
     if test -n "$PKGCONFIG"; then
-      AC_MSG_CHECKING([for Brotli library >= 1.0.0 via pkg-config])
-      if $PKGCONFIG --exists "libbrotlienc >= 1.0.0"; then
+      AC_MSG_CHECKING([for Brotli library >= 0.6.0 via pkg-config])
+      if $PKGCONFIG --exists "libbrotlienc >= 0.6.0"; then
         AC_MSG_RESULT(yes)
         ap_brotli_found=yes
         ap_brotli_cflags=`$PKGCONFIG libbrotlienc --cflags`



Mime
View raw message