]> 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>
Thu, 30 Aug 2012 16:32:59 +0000 (10:32 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 30 Aug 2012 16:32:59 +0000 (10:32 -0600)
acinclude/os-deps.m4
configure.ac

index 2e6b80632c0135eda4d4408dda44e91c2e7ad304..8fb597e2c932060eec4df494203da38e64294209 100644 (file)
@@ -262,6 +262,7 @@ dnl checks the maximum number of filedescriptor we can open
 dnl sets shell var squid_filedescriptors_num
 
 AC_DEFUN([SQUID_CHECK_MAXFD],[
+AC_CHECK_FUNCS(setrlimit)
 AC_MSG_CHECKING(Maximum number of filedescriptors we can open)
 dnl damn! FreeBSD pthreads break dup2().
 SQUID_STATE_SAVE(maxfd)
index 033c3776e2cf039b57a572ce106d1b45c2f81a81..30c02d04b1b59f29acee349168e193a1e165196a 100644 (file)
@@ -3177,7 +3177,6 @@ AC_CHECK_FUNCS(\
        seteuid \
        setgroups \
        setpgrp \
-       setrlimit \
        setsid \
        sigaction \
        snprintf \