X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=configure.in;h=8c9660ff8435e3537169b3cdf5d5ab250d7de956;hp=99db9dadcf711358c9592b09edb912c6338710c5;hb=2da7c5e4fb2bd663ff7118bbabd2f0f4b3ea98dc;hpb=bb43148fcbd4f851311ac1c3ae4ea295e7a7eaa5 diff --git a/configure.in b/configure.in index 99db9dad..8c9660ff 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,8 @@ dnl Process this file with autoconf to produce a configure script. dnl -dnl $Id: configure.in,v 1.118 2008/06/27 12:50:44 fabiankeil Exp $ +dnl $Id: configure.in,v 1.129 2009/04/17 11:45:19 fabiankeil Exp $ dnl -dnl Written by and Copyright (C) 2001-2008 the SourceForge +dnl Written by and Copyright (C) 2001-2009 the dnl Privoxy team. http://www.privoxy.org/ dnl dnl Based on the Internet Junkbuster originally written @@ -28,6 +28,41 @@ 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.129 2009/04/17 11:45:19 fabiankeil +dnl Replace HAVE_GETADDRINFO and HAVE_GETNAMEINFO macros +dnl with HAVE_RFC2553 macro. Original patch by Petr Pisar. +dnl +dnl Revision 1.128 2009/04/17 11:27:49 fabiankeil +dnl Petr Pisar's privoxy-3.0.12-ipv6-3.diff. +dnl +dnl Revision 1.127 2009/03/25 17:26:31 fabiankeil +dnl And they are running again. Bump version to 3.0.13 UNRELEASED. +dnl +dnl Revision 1.126 2009/03/21 10:45:06 fabiankeil +dnl Declare the code stable. +dnl +dnl Revision 1.125 2009/02/25 16:58:03 fabiankeil +dnl And the journey continues. Bump version to 3.0.12 UNRELEASED. +dnl +dnl Revision 1.124 2009/02/12 15:42:00 fabiankeil +dnl Declare the code stable. +dnl +dnl Revision 1.123 2009/02/06 18:17:32 fabiankeil +dnl Boldly enable keep-alive support where possible. +dnl +dnl Revision 1.122 2008/10/18 11:17:52 fabiankeil +dnl Connection keep-alive support is ready for testing, +dnl allow enabling it through the configure script. +dnl +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. @@ -541,7 +576,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.118 $) +AC_REVISION($Revision: 1.129 $) AC_INIT(jcc.c) if test ! -f config.h.in; then @@ -587,8 +622,8 @@ dnl ================================================================= VERSION_MAJOR=3 VERSION_MINOR=0 -VERSION_POINT=10 -CODE_STATUS="stable" +VERSION_POINT=13 +CODE_STATUS="beta" 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" @@ -1212,8 +1247,16 @@ 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 Checks for RFC 2553 resolver and socket functions +AC_CHECK_FUNC([getaddrinfo], + [AC_CHECK_FUNC([getnameinfo], + [AC_DEFINE([HAVE_RFC2553], [1], + [Define if RFC 2553 resolver functions like getaddrinfo(3) and + getnameinfo(3) present]) + ]) +]) dnl ================================================================= dnl Checks for libraries. @@ -1316,13 +1359,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.], @@ -1405,6 +1441,11 @@ else STATIC_PCRE_ONLY= fi +if test $have_pthread = "yes" -o $target_type = "mingw"; then + echo Enabling keep-alive support for outgoing connections. + AC_DEFINE(FEATURE_CONNECTION_KEEP_ALIVE) +fi + dnl ================================================= dnl libpcrs is temporarily disabled, dnl see comment above for the reason.