From: Fabian Keil <fk@fabiankeil.de>
Date: Thu, 18 Mar 2021 17:25:15 +0000 (+0100)
Subject: configure: Add another warning in case --disable-pthread is used
X-Git-Tag: v_3_0_33~104^2~2
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/user-manual/developer-manual/@default-cgi@send-stylesheet?a=commitdiff_plain;h=bf54b0927201c92a2e44998824cef998eea67cb8;p=privoxy.git

configure: Add another warning in case --disable-pthread is used

... while POSIX threads are available.

Various features don't even compile when not using threads.
---

diff --git a/configure.in b/configure.in
index 07f2fd9c..3ec78e00 100644
--- a/configure.in
+++ b/configure.in
@@ -462,6 +462,7 @@ AC_ARG_ENABLE(pthread,
   if test $have_pthread = yes; 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])