#! /bin/sh
-# From configure.in Revision: 1.298 .
+# From configure.in Revision: 1.299 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
fi;
if test "$with_pthreads" = "yes"; then
echo "With pthreads"
- CFLAGS="$CFLAGS -D_REENTRANT"
case "$host" in
i386-unknown-freebsd*)
if test "$GCC" = "yes" ; then
*-solaris2.*)
if test "$GCC" = "yes" ; then
CFLAGS="$CFLAGS -pthreads"
+ CXXFLAGS="$CXXFLAGS -pthreads"
else
CFLAGS="$CFLAGS -mt"
+ CXXFLAGS="$CXXFLAGS -mt"
fi
;;
esac
+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
if test "$enableval" = "yes" ; then
echo "Large file support enabled"
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
+ CXXFLAGS="$CXXFLAGS -D_FILE_OFFSET_BITS=64"
fi
fi;
;;
*m88k*)
CFLAGS="$CFLAGS -D_SQUID_MOTOROLA_"
+ CXXFLAGS="$CXXFLAGS -D_SQUID_MOTOROLA_"
cat >>confdefs.h <<\_ACEOF
#define GETTIMEOFDAY_NO_TZP 1