From: Lee <ler762@users.sourceforge.net>
Date: Sun, 21 Feb 2021 13:43:03 +0000 (-0500)
Subject: windows build: default build now uses  --with-brotli
X-Git-Tag: v_3_0_32~82
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/man-page/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=246bfbcf2423a23d16d86e0518512302f07dbf04;p=privoxy.git

windows build: default build now uses  --with-brotli
---

diff --git a/windows/MYconfigure b/windows/MYconfigure
index acbc8e56..49273e18 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -139,6 +139,15 @@ MITMOPT="--with-mbedtls"
 CPPFLAGS="${CPPFLAGS} -I${inc}"
 LDFLAGS="${LDFLAGS} -L${lib}"
 
+# brotli
+# Get the brotli library from  https://github.com/google/brotli/releases
+inc="/source/brotli-1.0.9/c/include"
+lib="/source/brotli-1.0.9/.libs"
+BROTLIOPT="--with-brotli"
+CPPFLAGS="${CPPFLAGS} -I${inc}"
+LDFLAGS="${LDFLAGS} -L${lib}"
+
+###
 echo "CFLAGS=${CFLAGS}"
 echo "CPPFLAGS=${CPPFLAGS}"
 echo "LDFLAGS=${LDFLAGS}"
@@ -154,6 +163,8 @@ echo "LDFLAGS=${LDFLAGS}"
              --disable-pthread  \
              --enable-extended-statistics \
              --enable-pcre-host-patterns \
+             --with-brotli  \
+             --with-mbedtls \
              --with-docbook=yes
 
 #  -- done --