X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=configure.in;h=fe09ca19c93bcdb4a429b67e7568e8dd4a735ea6;hp=5ce2331691c69243fdc8ecdc505b6a18957bf315;hb=df2406dbb38aaf0210665014dde3b1cfc429d687;hpb=98866cd0de8f4d4400beec7069b415904550e019 diff --git a/configure.in b/configure.in index 5ce23316..fe09ca19 100644 --- a/configure.in +++ b/configure.in @@ -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.121 2008/08/30 12:03:07 fabiankeil Exp $ dnl dnl Written by and Copyright (C) 2001-2008 the SourceForge dnl Privoxy team. http://www.privoxy.org/ @@ -28,6 +28,22 @@ 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.121 2008/08/30 12:03:07 fabiankeil +dnl Remove FEATURE_COOKIE_JAR. +dnl +dnl Revision 1.120 2008/08/21 17:19:50 fabiankeil +dnl Change version to 3.0.11 UNRELEASED. +dnl +dnl Revision 1.119 2008/08/13 16:53:50 fabiankeil +dnl Change version to 3.0.10 stable. +dnl +dnl Revision 1.118 2008/06/27 12:50:44 fabiankeil +dnl Here's looking at you, Gentoo Linux: Show a warning if +dnl --disable-pthread is used even though pthreads are available. +dnl +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 +550,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.116 $) +AC_REVISION($Revision: 1.121 $) AC_INIT(jcc.c) if test ! -f config.h.in; then @@ -580,8 +596,8 @@ dnl ================================================================= VERSION_MAJOR=3 VERSION_MINOR=0 -VERSION_POINT=9 -CODE_STATUS="beta" +VERSION_POINT=11 +CODE_STATUS="UNRELEASED" dnl CODE_STATUS can be "alpha", "beta", or "stable", and will be dnl used for CGI output. Set version to 0.0.0 and status to "UNRELEASED" @@ -922,6 +938,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]) @@ -1201,7 +1221,7 @@ AC_FUNC_SETPGRP AC_TYPE_SIGNAL dnl uncommenting does not work for swa. suse linux dnl AC_FUNC_STAT -AC_CHECK_FUNCS([access atexit getcwd gethostbyaddr gethostbyaddr_r gethostbyname gethostbyname_r gettimeofday inet_ntoa localtime_r memchr memmove memset putenv random regcomp select setlocale snprintf socket strchr strdup strerror strftime strlcat strlcpy strptime strstr strtoul timegm tzset]) +AC_CHECK_FUNCS([access atexit getcwd gethostbyaddr gethostbyaddr_r gethostbyname gethostbyname_r gettimeofday inet_ntoa localtime_r memchr memmove memset poll putenv random regcomp select setlocale snprintf socket strchr strdup strerror strftime strlcat strlcpy strptime strstr strtoul timegm tzset]) dnl ================================================================= @@ -1305,13 +1325,6 @@ AC_ARG_ENABLE(trust-files, fi], AC_DEFINE(FEATURE_TRUST)) -AC_ARG_ENABLE(jar-files, -[ --disable-jar-files Prevents the use of jar files to capture cookies.], -[if test $enableval = yes; then - AC_DEFINE(FEATURE_COOKIE_JAR) -fi], -AC_DEFINE(FEATURE_COOKIE_JAR)) - AC_ARG_ENABLE(editor, [ --disable-editor Prevents the use of the web-based actions file editor and web-based temporary disable setting.], @@ -1339,6 +1352,12 @@ AC_ARG_ENABLE(extended-host-patterns, AC_DEFINE(FEATURE_EXTENDED_HOST_PATTERNS) fi]) +AC_ARG_ENABLE(connection-keep-alive, +[ --enable-connection-keep-alive Keep outgoing connections alive if possible. Experimental.], +[if test $enableval = yes; then + AC_DEFINE(FEATURE_CONNECTION_KEEP_ALIVE) +fi]) + dnl pcre/pcrs is needed for CGI anyway, so dnl the choice is only between static and dnl dynamic: