dnl Process this file with autoconf to produce a configure script.
dnl
-dnl $Id: configure.in,v 1.210 2017/05/04 14:34:28 fabiankeil Exp $
-dnl
-dnl Written by and Copyright (C) 2001-2017 the
+dnl Written by and Copyright (C) 2001-2018 the
dnl Privoxy team. https://www.privoxy.org/
dnl
dnl Based on the Internet Junkbuster originally written
dnl AutoConf Initialization
dnl =================================================================
-AC_REVISION($Revision: 1.210 $)
+AC_REVISION($Revision: 1.213 $)
AC_INIT(jcc.c)
if test ! -f config.h.in; then
dnl approximately FD_SETSIZE/2 client connections.
dnl On some platforms the value can be changed at compile time,
dnl on others it's hardcoded and requires recompilation of the OS.
+dnl Only relevant if select() is actually being used.
dnl =================================================================
AC_ARG_WITH(fdsetsize,
- [ --with-fdsetsize=n Optimistically redefine FD_SETSIZE with the intend to change the number of connections Privoxy can handle. Dangerous if the platform doesn't support this.],
+ [ --with-fdsetsize=n Optimistically redefine FD_SETSIZE with the intend to change the number of connections Privoxy can handle. Dangerous if the platform doesn't support this. Pointless if Privoxy can use poll() instead of select().],
[
if test "x$withval" != "xyes"; then
AC_DEFINE_UNQUOTED(FD_SETSIZE,$with_fdsetsize,[Relevant for select(). Not honoured by all OS.])
access \
arc4random \
atexit \
+ calloc \
getcwd \
gethostbyaddr \
gethostbyaddr_r \
fi
AC_SUBST(FEATURE_CLIENT_TAGS_ONLY)
+FUZZ_ONLY="#"
AC_ARG_ENABLE(fuzz,
[ --enable-fuzz Enable code that makes fuzzing more convenient],
[if test $enableval = yes; then
FUZZ_ONLY=""
AC_DEFINE(FUZZ,1,[Define to make fuzzing more convenient.])
- else
- FUZZ_ONLY="#"
fi])
AC_SUBST(FUZZ_ONLY)