]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bootstrapped
authorhno <>
Tue, 22 Oct 2002 14:29:05 +0000 (14:29 +0000)
committerhno <>
Tue, 22 Oct 2002 14:29:05 +0000 (14:29 +0000)
configure

index be688cb7a2e51194fb531f7f530aaceda2aad23a..2f01e092d50bc85eccc7eace1053e79509f858ad 100755 (executable)
--- 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"
 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