X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=configure.in;h=80736d27a3554332d24ae1553b523c68b7b25aeb;hb=552f3da986fe6e4d6f099e3bda832b20a7ac19f7;hp=8026f7cf8a3761a8da379033b7e42e2b3352f69d;hpb=665621c888fb22e8c0ee70fc85d3a633a1144c64;p=privoxy.git diff --git a/configure.in b/configure.in index 8026f7cf..80736d27 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl Written by and Copyright (C) 2001-2020 the +dnl Written by and Copyright (C) 2001-2021 the dnl Privoxy team. https://www.privoxy.org/ dnl dnl Based on the Internet Junkbuster originally written @@ -81,11 +81,11 @@ dnl release and no new release is near. VERSION_MAJOR=3 VERSION_MINOR=0 VERSION_POINT=32 -CODE_STATUS="UNRELEASED" +CODE_STATUS="stable" dnl Timestamp (date +%s) used by the mtree-spec target. dnl Should be updated before releases but forgetting it isn't critical. -SOURCE_DATE_EPOCH=1605695571 +SOURCE_DATE_EPOCH=1613992573 dnl ================================================================= dnl Substitute the version numbers @@ -157,6 +157,11 @@ AC_ARG_WITH(debug, ] ) +AC_ARG_WITH(assertions, [ --with-assertions Enable assertions]) +if test "x$with_assertions" != "xyes"; then + CFLAGS="$CFLAGS -DNDEBUG" +fi + dnl ================================================================= dnl Check for user and group validity dnl ================================================================= @@ -1100,6 +1105,7 @@ if test $have_pcre = "yes"; then else AC_MSG_WARN([You are using the static PCRE code which is out of date and scheduled for removal, for details see: https://sourceforge.net/p/ijbswa/mailman/ijbswa-developers/thread/20080511195555.2dc6cfdc@fabiankeil.de/]) + AC_MSG_WARN([The removal will likely occur before the 3.0.33 release.]) pcre_dyn=no # STATIC_PCRE is a name pcre needs to statically link on Windows. # Privoxy itself no longer uses it. @@ -1232,6 +1238,10 @@ AC_HELP_STRING([--without-brotli], [Disable Brotli detection]), if test X"$WITH_BROTLI" != Xno; then LIBS="$LIBS -lbrotlidec" + if test $target_type = mingw; then + # XXX: why does just the mingw build need this??? + LIBS="$LIBS -lbrotlicommon -lbrotlienc" + fi AC_CHECK_LIB(brotlidec, BrotliDecoderDecompress)