Here's looking at you, Gentoo Linux: Show a warning if
authorFabian Keil <fk@fabiankeil.de>
Fri, 27 Jun 2008 12:50:44 +0000 (12:50 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 27 Jun 2008 12:50:44 +0000 (12:50 +0000)
--disable-pthread is used even though pthreads are available.

configure.in

index 5ce2331..50066f7 100644 (file)
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl 
-dnl $Id: configure.in,v 1.116 2008/06/08 11:55:09 fabiankeil Exp $
+dnl $Id: configure.in,v 1.117 2008/06/14 12:47:30 fabiankeil Exp $
 dnl 
 dnl Written by and Copyright (C) 2001-2008 the SourceForge
 dnl Privoxy team. http://www.privoxy.org/
@@ -28,6 +28,9 @@ dnl or write to the Free Software Foundation, Inc., 59
 dnl Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 dnl 
 dnl $Log: configure.in,v $
+dnl Revision 1.117  2008/06/14 12:47:30  fabiankeil
+dnl Set CODE_STATUS to beta.
+dnl
 dnl Revision 1.116  2008/06/08 11:55:09  fabiankeil
 dnl - Show a warning if the soon-to-be-removed static PCRE code is used.
 dnl - Hide the "using built-in static pcrs" message. With dynamic linking
@@ -534,7 +537,7 @@ dnl =================================================================
 dnl AutoConf Initialization
 dnl =================================================================
 
-AC_REVISION($Revision: 1.116 $)
+AC_REVISION($Revision: 1.117 $)
 AC_INIT(jcc.c)
 
 if test ! -f config.h.in; then
@@ -922,6 +925,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
+     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.])
+  fi
   have_pthread=no
 fi])