From: Amos Jeffries Date: Sat, 29 Mar 2008 05:59:02 +0000 (+1200) Subject: Bug #2203: configure {--with-maxfd,--with-filedescriptors} unsets LDFLAGS X-Git-Tag: SQUID_3_0_STABLE3~4^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a01bbdde3ba1add0800eefc3744cc781ac83cd23;p=thirdparty%2Fsquid.git Bug #2203: configure {--with-maxfd,--with-filedescriptors} unsets LDFLAGS Moves LDFLAGS save point to a position which covers all FD test code --- diff --git a/configure.in b/configure.in index d6f551f1df..b881028a53 100644 --- a/configure.in +++ b/configure.in @@ -2893,11 +2893,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