From 5132a9eb69fa47b57b0036a5e9d0d7ed914a98f4 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 18 Mar 2008 23:58:16 +1200 Subject: [PATCH] Bug #2203: configure {--with-maxfd,--with-filedescriptors} unsets LDFLAGS Moves LDFLAGS save point to a position which covers all FD test code --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index d3e602b1d1..6df159b07e 100644 --- a/configure.in +++ b/configure.in @@ -2967,11 +2967,11 @@ 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) dnl damn! FreeBSD's pthreads breaks dup2(). +TLDFLAGS="$LDFLAGS" if test -n "$squid_filedescriptors_num" ; then SQUID_MAXFD=$squid_filedescriptors_num AC_MSG_RESULT($SQUID_MAXFD (user-forced)) else - TLDFLAGS="$LDFLAGS" case $host in i386-unknown-freebsd*) if echo "$LDFLAGS" | grep -q pthread; then -- 2.47.3