X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=configure.in;h=10cf70487f20a1fec1d6b521018f4080beb6128b;hb=652b4b7c;hp=7d5c89a3cafd4a0e7532dbb079db8d380db3a07e;hpb=361d3471e8ee2799213178b854b3b13935b89be9;p=privoxy.git diff --git a/configure.in b/configure.in index 7d5c89a3..10cf7048 100644 --- a/configure.in +++ b/configure.in @@ -81,11 +81,11 @@ dnl release and no new release is near. VERSION_MAJOR=3 VERSION_MINOR=0 VERSION_POINT=33 -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=1613992573 +SOURCE_DATE_EPOCH=1636218132 dnl ================================================================= dnl Substitute the version numbers @@ -168,6 +168,18 @@ if test "x$with_asan" = "xyes"; then LDFLAGS="$LDFLAGS -fsanitize=address" fi +AC_ARG_WITH(asan, [ --with-msan Enable MemorySanitizer. Requires compiler support.]) +if test "x$with_msan" = "xyes"; then + CFLAGS="$CFLAGS -fsanitize=memory" + LDFLAGS="$LDFLAGS -fsanitize=memory" +fi + +AC_ARG_WITH(usan, [ --with-usan Enable UndefinedBehaviorSanitizer. Requires compiler support.]) +if test "x$with_usan" = "xyes"; then + CFLAGS="$CFLAGS -fsanitize=undefined" + LDFLAGS="$LDFLAGS -fsanitize=undefined" +fi + dnl ================================================================= dnl Check for user and group validity dnl ================================================================= @@ -447,9 +459,10 @@ AC_ARG_ENABLE(pthread, [ --disable-pthread Don't use POSIX threads (pthreads)], [if test $enableval = no; then # Disable pthreads - if test $have_pthread = yes; then + if test $have_pthread = yes -a $target_type != mingw; then AC_MSG_WARN([pthreads seem to be available but you are using --disable-pthread.]) AC_MSG_WARN([This is almost always a mistake and can render Privoxy unacceptable slow.]) + AC_MSG_WARN([Also various Privoxy features only work when using threads and won't even compile without them.]) fi have_pthread=no fi])