From a204116283ffb975e7d47e5e4de904242f5aa311 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 25 May 2017 11:17:11 +0000 Subject: [PATCH] Make it more obvious that the --with-fdsetsize configure switch is pointless if poll() is available --- configure.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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.]) -- 2.39.2