X-Git-Url: http://www.privoxy.org/gitweb/03andreas_t.jpg?a=blobdiff_plain;f=configure.in;h=c70eed464e5c15b8023c5df403c635ea9125ebd4;hb=5366a33590156d114c6a509c23fd4424cacc6261;hp=8026f7cf8a3761a8da379033b7e42e2b3352f69d;hpb=665621c888fb22e8c0ee70fc85d3a633a1144c64;p=privoxy.git diff --git a/configure.in b/configure.in index 8026f7cf..c70eed46 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 @@ -80,12 +80,12 @@ dnl release and no new release is near. VERSION_MAJOR=3 VERSION_MINOR=0 -VERSION_POINT=32 +VERSION_POINT=33 CODE_STATUS="UNRELEASED" 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 ================================================================= @@ -756,8 +761,6 @@ AC_CHECK_HEADERS([ \ ]) dnl Checks for library functions. -dnl bcopy is for PCRE -AC_CHECK_FUNCS([bcopy]) AC_PROG_GCC_TRADITIONAL AC_TYPE_SIGNAL AC_CHECK_FUNCS([ \ @@ -1098,13 +1101,7 @@ if test $have_pcre = "yes"; then AC_DEFINE(FEATURE_DYNAMIC_PCRE,1,[Define to dynamically link to pcre.]) fi 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/]) - pcre_dyn=no - # STATIC_PCRE is a name pcre needs to statically link on Windows. - # Privoxy itself no longer uses it. - AC_DEFINE(STATIC_PCRE,1,[Define to statically link to internal outdated pcre on Windows.]) - STATIC_PCRE_ONLY= + AC_MSG_ERROR(pcre library not detected.) fi AC_DEFINE(FEATURE_CONNECTION_KEEP_ALIVE) @@ -1232,6 +1229,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)