Commit d106a163 authored by Jim Jagielski's avatar Jim Jagielski
Browse files

unused variable error could mistakenly note that brotli isn't available.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1779077 13f79535-47bb-0310-9956-ffa450edef68
parent 4e854327
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -155,7 +155,8 @@ APACHE_MODULE(brotli, Brotli compression support, , , most, [
    AC_MSG_CHECKING([for Brotli library >= 1.0.0 via prefix])
    AC_TRY_COMPILE(
      [#include <brotli/encode.h>],[
const uint8_t *o = BrotliEncoderTakeOutput((BrotliEncoderState*)0, (size_t*)0);],
const uint8_t *o = BrotliEncoderTakeOutput((BrotliEncoderState*)0, (size_t*)0);
if (o) return *o;],
      [AC_MSG_RESULT(yes)
       ap_brotli_found=yes
       ap_brotli_cflags="-I${ap_brotli_base}/include"