]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3615: configure check for default max number of FDs is broken
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 23 Sep 2012 07:20:45 +0000 (01:20 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 23 Sep 2012 07:20:45 +0000 (01:20 -0600)
configure.ac

index cc0f8f97683547ada9d9ecd0247b01c0f4a11034..e1ac06e5fff3fbff1c22b832a3fec40316498969 100644 (file)
@@ -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