From: hno <> Date: Tue, 22 Oct 2002 14:29:05 +0000 (+0000) Subject: Bootstrapped X-Git-Tag: SQUID_3_0_PRE1~584 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fab2ebab556a1669ed46e8d5d6b79967d569cd1;p=thirdparty%2Fsquid.git Bootstrapped --- diff --git a/configure b/configure index be688cb7a2..2f01e092d5 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.299 . +# From configure.in Revision: 1.301 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53. # @@ -4088,12 +4088,14 @@ if test "${enable_async_io+set}" = set; then enableval="$enable_async_io" case $enableval in yes) + with_pthreads="yes" STORE_MODULES="ufs aufs" ;; no) ;; *) aufs_io_threads=$enableval + with_pthreads="yes" STORE_MODULES="ufs aufs" ;; esac @@ -4123,24 +4125,6 @@ if test "${with_pthreads+set}" = set; then fi; if test "$with_pthreads" = "yes"; then echo "With pthreads" - case "$host" in - i386-unknown-freebsd*) - if test "$GCC" = "yes" ; then - if test -z "$PRESET_LDFLAGS"; then - LDFLAGS="$LDFLAGS -pthread" - fi - fi - ;; - *-solaris2.*) - if test "$GCC" = "yes" ; then - CFLAGS="$CFLAGS -pthreads" - CXXFLAGS="$CXXFLAGS -pthreads" - else - CFLAGS="$CFLAGS -mt" - CXXFLAGS="$CXXFLAGS -mt" - fi - ;; - esac fi @@ -4214,11 +4198,6 @@ done -if test "$with_pthreads"; then - CFLAGS="$CFLAGS -D_REENTRANT" - CXXFLAGS="$CXXFLAGS -D_REENTRANT" -fi - # Check whether --enable-heap-replacement or --disable-heap-replacement was given. if test "${enable_heap_replacement+set}" = set; then enableval="$enable_heap_replacement" @@ -14141,6 +14120,26 @@ fi fi if test "$with_pthreads" = "yes"; then + CFLAGS="$CFLAGS -D_REENTRANT" + CXXFLAGS="$CXXFLAGS -D_REENTRANT" + case "$host" in + i386-unknown-freebsd*) + if test "$GCC" = "yes" ; then + if test -z "$PRESET_LDFLAGS"; then + LDFLAGS="$LDFLAGS -pthread" + fi + fi + ;; + *-solaris2.*) + if test "$GCC" = "yes" ; then + CFLAGS="$CFLAGS -pthreads" + CXXFLAGS="$CXXFLAGS -pthreads" + else + CFLAGS="$CFLAGS -mt" + CXXFLAGS="$CXXFLAGS -mt" + fi + ;; + esac echo "$as_me:$LINENO: checking for main in -lpthread" >&5 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6