From: Amos Jeffries Date: Sun, 23 Sep 2012 07:20:45 +0000 (-0600) Subject: Bug 3615: configure check for default max number of FDs is broken X-Git-Tag: SQUID_3_1_21~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d8d7fc78cdaeeff15fc0efa612e4aff59999ed;p=thirdparty%2Fsquid.git Bug 3615: configure check for default max number of FDs is broken --- diff --git a/configure.ac b/configure.ac index cc0f8f9768..e1ac06e5ff 100644 --- a/configure.ac +++ b/configure.ac @@ -3094,7 +3094,6 @@ AC_CHECK_FUNCS(\ seteuid \ setgroups \ setpgrp \ - setrlimit \ setsid \ sigaction \ snprintf \ @@ -3486,6 +3485,7 @@ AC_DEFINE_UNQUOTED(DEFAULT_FD_SETSIZE, $DEFAULT_FD_SETSIZE, [Default FD_SETSIZE dnl Not cached since people are likely to tune this AC_MSG_CHECKING(Maximum number of filedescriptors we can open) +AC_CHECK_FUNCS(setrlimit) dnl damn! FreeBSD's pthreads breaks dup2(). TLDFLAGS="$LDFLAGS" if test -n "$squid_filedescriptors_num" ; then