From: Fabian Keil Date: Thu, 25 May 2017 11:17:11 +0000 (+0000) Subject: Make it more obvious that the --with-fdsetsize configure switch is pointless if poll... X-Git-Tag: v_3_0_27~154 X-Git-Url: http://www.privoxy.org/gitweb/user-manual/quickstart.html?a=commitdiff_plain;h=a204116283ffb975e7d47e5e4de904242f5aa311;p=privoxy.git Make it more obvious that the --with-fdsetsize configure switch is pointless if poll() is available --- diff --git a/configure.in b/configure.in index 2adba9d3..f905bcf1 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.211 2017/05/25 11:14:27 fabiankeil Exp $ +dnl $Id: configure.in,v 1.212 2017/05/25 11:14:53 fabiankeil Exp $ dnl dnl Written by and Copyright (C) 2001-2017 the dnl Privoxy team. https://www.privoxy.org/ @@ -32,7 +32,7 @@ dnl ================================================================= dnl AutoConf Initialization dnl ================================================================= -AC_REVISION($Revision: 1.211 $) +AC_REVISION($Revision: 1.212 $) AC_INIT(jcc.c) if test ! -f config.h.in; then @@ -480,9 +480,10 @@ dnl FD_SETSIZE, as a result Privoxy can't handle more than 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.])