X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=configure.in;h=3194fe60d45cef35170821a5a0ae44a87359abb1;hb=58f31eb229a0146f31dd82356a4f1936c2220c84;hp=c00b2bbeffa6ea368cfd3a7ca0e8a20b4f639bc5;hpb=71cc9c2b0fcc58292c43fed7969f692f5e2491f6;p=privoxy.git diff --git a/configure.in b/configure.in index c00b2bbe..3194fe60 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.171 2012/10/12 11:11:42 fabiankeil Exp $ +dnl $Id: configure.in,v 1.174 2012/10/12 11:17:48 fabiankeil Exp $ dnl dnl Written by and Copyright (C) 2001-2010 the dnl Privoxy team. http://www.privoxy.org/ @@ -32,7 +32,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.171 $) +AC_REVISION($Revision: 1.174 $) AC_INIT(jcc.c) if test ! -f config.h.in; then @@ -761,6 +761,7 @@ AC_CHECK_FUNCS([ \ regcomp \ select \ setlocale \ + shutdown \ snprintf \ socket \ strchr \ @@ -770,7 +771,6 @@ AC_CHECK_FUNCS([ \ strlcat \ strlcpy \ strptime \ - strstr \ strtoul \ timegm \ tzset \ @@ -968,6 +968,14 @@ AC_ARG_ENABLE(accept-filter, AC_DEFINE(FEATURE_ACCEPT_FILTER) fi]) +AC_ARG_ENABLE(strptime-sanity-checks, +[ --enable-strptime-sanity-checks Only trust strptime() results if an additional strftime()/strptime() + conversion doesn't change the result. Can be useful if strptime() is + known or suspected to be broken.], +[if test $enableval = yes; then + AC_DEFINE(FEATURE_STRPTIME_SANITY_CHECKS) +fi]) + dnl pcre/pcrs is needed for CGI anyway, so dnl the choice is only between static and dnl dynamic: