]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix headers to allow inclusion into C++ source
authorrobertc <>
Sun, 15 Sep 2002 12:40:27 +0000 (12:40 +0000)
committerrobertc <>
Sun, 15 Sep 2002 12:40:27 +0000 (12:40 +0000)
72 files changed:
Makefile.in
configure
configure.in
contrib/Makefile.in
doc/Makefile.in
errors/Makefile.in
helpers/Makefile.in
helpers/basic_auth/LDAP/Makefile.in
helpers/basic_auth/MSNT/Makefile.in
helpers/basic_auth/Makefile.in
helpers/basic_auth/NCSA/Makefile.in
helpers/basic_auth/PAM/Makefile.in
helpers/basic_auth/SASL/Makefile.in
helpers/basic_auth/SMB/Makefile.in
helpers/basic_auth/YP/Makefile.in
helpers/basic_auth/getpwnam/Makefile.in
helpers/basic_auth/multi-domain-NTLM/Makefile.in
helpers/basic_auth/winbind/Makefile.in
helpers/digest_auth/Makefile.in
helpers/digest_auth/password/Makefile.in
helpers/external_acl/Makefile.in
helpers/external_acl/ip_user/Makefile.in
helpers/external_acl/ldap_group/Makefile.in
helpers/external_acl/unix_group/Makefile.in
helpers/external_acl/wbinfo_group/Makefile.in
helpers/external_acl/winbind_group/Makefile.in
helpers/ntlm_auth/Makefile.in
helpers/ntlm_auth/SMB/Makefile.in
helpers/ntlm_auth/SMB/smbval/Makefile.in
helpers/ntlm_auth/fakeauth/Makefile.in
helpers/ntlm_auth/no_check/Makefile.in
helpers/ntlm_auth/winbind/Makefile.in
icons/Makefile.in
include/rfc1035.h
lib/Makefile.in
lib/rfc1035.c
scripts/Makefile.in
snmplib/Makefile.in
src/Makefile.am
src/Makefile.in
src/access_log.cc
src/acl.cc
src/auth/Makefile.in
src/auth/basic/Makefile.in
src/auth/digest/Makefile.in
src/auth/ntlm/Makefile.in
src/cache_cf.cc
src/client_side.cc
src/client_side_reply.cc
src/client_side_request.cc
src/comm.cc
src/comm_poll.cc
src/errorpage.cc
src/forward.cc
src/fqdncache.cc
src/fs/Makefile.in
src/fs/aufs/Makefile.in
src/fs/coss/Makefile.in
src/fs/diskd/Makefile.in
src/fs/null/Makefile.in
src/fs/ufs/Makefile.in
src/http.cc
src/ipcache.cc
src/peer_select.cc
src/repl/Makefile.in
src/repl/heap/Makefile.in
src/repl/lru/Makefile.in
src/ssl.cc
src/stat.cc
src/structs.h
src/tunnel.cc
src/typedefs.h

index f27edd252a3a033661e602cea40cc86b6ac0aaa9..bf3087f4e3ff88b4b00478a2fad07dba6b86174b 100644 (file)
@@ -14,7 +14,7 @@
 @SET_MAKE@
 
 #
-# $Id: Makefile.in,v 1.25 2002/09/15 05:41:26 robertc Exp $
+# $Id: Makefile.in,v 1.26 2002/09/15 06:40:27 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -73,6 +73,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 5af7f8643187aaa94d95a865578f87f721bf64a8..5ca6e146569f453485724bc13bd591dff39078e3 100755 (executable)
--- a/configure
+++ b/configure
@@ -1398,12 +1398,231 @@ echo "$ac_t""$am_cv_CC_dependencies_compiler_type" 1>&6
 CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
 
 
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
+do
+# Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:1414: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  if test -n "$CXX"; then
+  ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
+  ac_dummy="$PATH"
+  for ac_dir in $ac_dummy; do
+    test -z "$ac_dir" && ac_dir=.
+    if test -f $ac_dir/$ac_word; then
+      ac_cv_prog_CXX="$ac_prog"
+      break
+    fi
+  done
+  IFS="$ac_save_ifs"
+fi
+fi
+CXX="$ac_cv_prog_CXX"
+if test -n "$CXX"; then
+  echo "$ac_t""$CXX" 1>&6
+else
+  echo "$ac_t""no" 1>&6
+fi
+
+test -n "$CXX" && break
+done
+test -n "$CXX" || CXX="gcc"
+
+
+echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
+echo "configure:1446: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+cat > conftest.$ac_ext << EOF
+
+#line 1457 "configure"
+#include "confdefs.h"
+
+int main(){return(0);}
+EOF
+if { (eval echo configure:1462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+  ac_cv_prog_cxx_works=yes
+  # If we can't run a trivial program, we are probably using a cross compiler.
+  if (./conftest; exit) 2>/dev/null; then
+    ac_cv_prog_cxx_cross=no
+  else
+    ac_cv_prog_cxx_cross=yes
+  fi
+else
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  ac_cv_prog_cxx_works=no
+fi
+rm -fr conftest*
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
+if test $ac_cv_prog_cxx_works = no; then
+  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
+fi
+echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
+echo "configure:1488: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
+cross_compiling=$ac_cv_prog_cxx_cross
+
+echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
+echo "configure:1493: checking whether we are using GNU C++" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  cat > conftest.C <<EOF
+#ifdef __GNUC__
+  yes;
+#endif
+EOF
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+  ac_cv_prog_gxx=yes
+else
+  ac_cv_prog_gxx=no
+fi
+fi
+
+echo "$ac_t""$ac_cv_prog_gxx" 1>&6
+
+if test $ac_cv_prog_gxx = yes; then
+  GXX=yes
+else
+  GXX=
+fi
+
+ac_test_CXXFLAGS="${CXXFLAGS+set}"
+ac_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS=
+echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
+echo "configure:1521: checking whether ${CXX-g++} accepts -g" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  echo 'void f(){}' > conftest.cc
+if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
+  ac_cv_prog_cxx_g=yes
+else
+  ac_cv_prog_cxx_g=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
+if test "$ac_test_CXXFLAGS" = set; then
+  CXXFLAGS="$ac_save_CXXFLAGS"
+elif test $ac_cv_prog_cxx_g = yes; then
+  if test "$GXX" = yes; then
+    CXXFLAGS="-g -O2"
+  else
+    CXXFLAGS="-g"
+  fi
+else
+  if test "$GXX" = yes; then
+    CXXFLAGS="-O2"
+  else
+    CXXFLAGS=
+  fi
+fi
+
+depcc="$CXX"  am_compiler_list=
+
+echo $ac_n "checking dependency style of $depcc""... $ac_c" 1>&6
+echo "configure:1555: checking dependency style of $depcc" >&5
+if eval "test \"`echo '$''{'am_cv_CXX_dependencies_compiler_type'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+  # We make a subdir and do the tests there.  Otherwise we can end up
+  # making bogus files that we don't know about and never remove.  For
+  # instance it was reported that on HP-UX the gcc test will end up
+  # making a dummy file named `D' -- because `-MD' means `put the output
+  # in D'.
+  mkdir conftest.dir
+  # Copy depcomp to subdir because otherwise we won't find it if we're
+  # using a relative directory.
+  cp "$am_depcomp" conftest.dir
+  cd conftest.dir
+
+  am_cv_CXX_dependencies_compiler_type=none
+  if test "$am_compiler_list" = ""; then
+     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+  fi
+  for depmode in $am_compiler_list; do
+    # We need to recreate these files for each test, as the compiler may
+    # overwrite some of them when testing with obscure command lines.
+    # This happens at least with the AIX C compiler.
+    echo '#include "conftest.h"' > conftest.c
+    echo 'int i;' > conftest.h
+    echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
+
+    case $depmode in
+    nosideeffect)
+      # after this tag, mechanisms are not by side-effect, so they'll
+      # only be used when explicitly requested
+      if test "x$enable_dependency_tracking" = xyes; then
+       continue
+      else
+       break
+      fi
+      ;;
+    none) break ;;
+    esac
+    # We check with `-c' and `-o' for the sake of the "dashmstdout"
+    # mode.  It turns out that the SunPro C++ compiler does not properly
+    # handle `-M -o', and we need to detect this.
+    if depmode=$depmode \
+       source=conftest.c object=conftest.o \
+       depfile=conftest.Po tmpdepfile=conftest.TPo \
+       $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
+       grep conftest.h conftest.Po > /dev/null 2>&1 &&
+       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+      am_cv_CXX_dependencies_compiler_type=$depmode
+      break
+    fi
+  done
+
+  cd ..
+  rm -rf conftest.dir
+else
+  am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+
+echo "$ac_t""$am_cv_CXX_dependencies_compiler_type" 1>&6
+CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
+
+
 if test "x$CC" != xcc; then
   echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
-echo "configure:1404: checking whether $CC and cc understand -c and -o together" >&5
+echo "configure:1623: checking whether $CC and cc understand -c and -o together" >&5
 else
   echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
-echo "configure:1407: checking whether cc understands -c and -o together" >&5
+echo "configure:1626: checking whether cc understands -c and -o together" >&5
 fi
 set dummy $CC; ac_cc="`echo $2 |
                       sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
@@ -1415,16 +1634,16 @@ else
 # We do the test twice because some compilers refuse to overwrite an
 # existing .o file with -o, though they will create one.
 ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
-if { (eval echo configure:1419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
-   test -f conftest.o && { (eval echo configure:1420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
+if { (eval echo configure:1638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
+   test -f conftest.o && { (eval echo configure:1639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
 then
   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   if test "x$CC" != xcc; then
     # Test first that cc exists at all.
-    if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+    if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
       ac_try='cc -c conftest.c -o conftest.o 1>&5'
-      if { (eval echo configure:1427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
-        test -f conftest.o && { (eval echo configure:1428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
+      if { (eval echo configure:1646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
+        test -f conftest.o && { (eval echo configure:1647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
       then
         # cc works too.
         :
@@ -1470,7 +1689,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
 fi
 
 echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:1474: checking host system type" >&5
+echo "configure:1693: checking host system type" >&5
 
 host_alias=$host
 case "$host_alias" in
@@ -1497,12 +1716,12 @@ REGEXLIB=''     # -lregex
 LIBREGEX=''    # libregex.a
 
 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
-echo "configure:1501: checking for Cygwin environment" >&5
+echo "configure:1720: checking for Cygwin environment" >&5
 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1506 "configure"
+#line 1725 "configure"
 #include "confdefs.h"
 
 int main() {
@@ -1513,7 +1732,7 @@ int main() {
 return __CYGWIN__;
 ; return 0; }
 EOF
-if { (eval echo configure:1517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_cygwin=yes
 else
@@ -1530,19 +1749,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6
 CYGWIN=
 test "$ac_cv_cygwin" = yes && CYGWIN=yes
 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
-echo "configure:1534: checking for mingw32 environment" >&5
+echo "configure:1753: checking for mingw32 environment" >&5
 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 1539 "configure"
+#line 1758 "configure"
 #include "confdefs.h"
 
 int main() {
 return __MINGW32__;
 ; return 0; }
 EOF
-if { (eval echo configure:1546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_mingw32=yes
 else
@@ -1561,7 +1780,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes
 
 
 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
-echo "configure:1565: checking for executable suffix" >&5
+echo "configure:1784: checking for executable suffix" >&5
 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1571,7 +1790,7 @@ else
   rm -f conftest*
   echo 'int main () { return 0; }' > conftest.$ac_ext
   ac_cv_exeext=
-  if { (eval echo configure:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+  if { (eval echo configure:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     for file in conftest.*; do
       case $file in
       *.c | *.o | *.obj) ;;
@@ -1592,13 +1811,13 @@ echo "$ac_t""${ac_cv_exeext}" 1>&6
 ac_exeext=$EXEEXT
 
 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
-echo "configure:1596: checking for object suffix" >&5
+echo "configure:1815: checking for object suffix" >&5
 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   rm -f conftest*
 echo 'int i = 1;' > conftest.$ac_ext
-if { (eval echo configure:1602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   for ac_file in conftest.*; do
     case $ac_file in
     *.c) ;;
@@ -1678,7 +1897,7 @@ EOF
 # Extract the first word of "gcc", so it can be a program name with args.
 set dummy gcc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1682: checking for $ac_word" >&5
+echo "configure:1901: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1708,7 +1927,7 @@ if test -z "$CC"; then
   # Extract the first word of "cc", so it can be a program name with args.
 set dummy cc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1712: checking for $ac_word" >&5
+echo "configure:1931: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1759,7 +1978,7 @@ fi
       # Extract the first word of "cl", so it can be a program name with args.
 set dummy cl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1763: checking for $ac_word" >&5
+echo "configure:1982: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1791,7 +2010,7 @@ fi
 fi
 
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:2014: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
 ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
@@ -1802,12 +2021,12 @@ cross_compiling=$ac_cv_prog_cc_cross
 
 cat > conftest.$ac_ext << EOF
 
-#line 1806 "configure"
+#line 2025 "configure"
 #include "confdefs.h"
 
 main(){return(0);}
 EOF
-if { (eval echo configure:1811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then
@@ -1821,24 +2040,24 @@ else
   ac_cv_prog_cc_works=no
 fi
 rm -fr conftest*
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
 
 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
 if test $ac_cv_prog_cc_works = no; then
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 fi
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1837: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:2056: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
 cross_compiling=$ac_cv_prog_cc_cross
 
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:1842: checking whether we are using GNU C" >&5
+echo "configure:2061: checking whether we are using GNU C" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1847,7 +2066,7 @@ else
   yes;
 #endif
 EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes
 else
   ac_cv_prog_gcc=no
@@ -1866,7 +2085,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
 ac_save_CFLAGS="$CFLAGS"
 CFLAGS=
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:1870: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:2089: checking whether ${CC-cc} accepts -g" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -1900,7 +2119,7 @@ fi
 depcc="$CC"   am_compiler_list=
 
 echo $ac_n "checking dependency style of $depcc""... $ac_c" 1>&6
-echo "configure:1904: checking dependency style of $depcc" >&5
+echo "configure:2123: checking dependency style of $depcc" >&5
 if eval "test \"`echo '$''{'am_cv_CC_dependencies_compiler_type'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3335,7 +3554,7 @@ case "$host" in
 esac
 
 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:3339: checking how to run the C preprocessor" >&5
+echo "configure:3558: checking how to run the C preprocessor" >&5
 # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then
   CPP=
@@ -3350,13 +3569,13 @@ else
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp.
   cat > conftest.$ac_ext <<EOF
-#line 3354 "configure"
+#line 3573 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   :
@@ -3367,13 +3586,13 @@ else
   rm -rf conftest*
   CPP="${CC-cc} -E -traditional-cpp"
   cat > conftest.$ac_ext <<EOF
-#line 3371 "configure"
+#line 3590 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   :
@@ -3383,14 +3602,58 @@ else
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   CPP="${CC-cc} -nologo -E"
+  echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
+echo "configure:3607: checking how to run the C++ preprocessor" >&5
+if test -z "$CXXCPP"; then
+if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
+  echo $ac_n "(cached) $ac_c" 1>&6
+else
+  ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+  CXXCPP="${CXX-g++} -E"
   cat > conftest.$ac_ext <<EOF
-#line 3388 "configure"
+#line 3620 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:3625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+  :
+else
+  echo "$ac_err" >&5
+  echo "configure: failed program was:" >&5
+  cat conftest.$ac_ext >&5
+  rm -rf conftest*
+  CXXCPP=/lib/cpp
+fi
+rm -f conftest*
+  ac_cv_prog_CXXCPP="$CXXCPP"
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+fi
+fi
+CXXCPP="$ac_cv_prog_CXXCPP"
+echo "$ac_t""$CXXCPP" 1>&6
+s%@CXXCPP@%$CXXCPP%g
+
+cat > conftest.$ac_ext <<EOF
+#line 3651 "configure"
 #include "confdefs.h"
 #include <assert.h>
 Syntax Error
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   :
@@ -3426,7 +3689,7 @@ echo "$ac_t""$CPP" 1>&6
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # ./install, which can be erroneously created by make from ./install.sh.
 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:3430: checking for a BSD compatible install" >&5
+echo "configure:3693: checking for a BSD compatible install" >&5
 if test -z "$INSTALL"; then
 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3481,7 +3744,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 # Extract the first word of "ranlib", so it can be a program name with args.
 set dummy ranlib; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3485: checking for $ac_word" >&5
+echo "configure:3748: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3509,7 +3772,7 @@ else
 fi
 
 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:3513: checking whether ln -s works" >&5
+echo "configure:3776: checking whether ln -s works" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3532,7 +3795,7 @@ fi
 # Extract the first word of "sh", so it can be a program name with args.
 set dummy sh; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3536: checking for $ac_word" >&5
+echo "configure:3799: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_SH'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3568,7 +3831,7 @@ fi
 # Extract the first word of "false", so it can be a program name with args.
 set dummy false; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3572: checking for $ac_word" >&5
+echo "configure:3835: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_FALSE'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3604,7 +3867,7 @@ fi
 # Extract the first word of "true", so it can be a program name with args.
 set dummy true; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3608: checking for $ac_word" >&5
+echo "configure:3871: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_TRUE'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3640,7 +3903,7 @@ fi
 # Extract the first word of "rm", so it can be a program name with args.
 set dummy rm; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3644: checking for $ac_word" >&5
+echo "configure:3907: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3676,7 +3939,7 @@ fi
 # Extract the first word of "mv", so it can be a program name with args.
 set dummy mv; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3680: checking for $ac_word" >&5
+echo "configure:3943: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3712,7 +3975,7 @@ fi
 # Extract the first word of "mkdir", so it can be a program name with args.
 set dummy mkdir; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3716: checking for $ac_word" >&5
+echo "configure:3979: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3748,7 +4011,7 @@ fi
 # Extract the first word of "ln", so it can be a program name with args.
 set dummy ln; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3752: checking for $ac_word" >&5
+echo "configure:4015: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3784,7 +4047,7 @@ fi
 # Extract the first word of "perl", so it can be a program name with args.
 set dummy perl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3788: checking for $ac_word" >&5
+echo "configure:4051: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3820,7 +4083,7 @@ fi
 # Extract the first word of "ar", so it can be a program name with args.
 set dummy ar; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3824: checking for $ac_word" >&5
+echo "configure:4087: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -3880,12 +4143,12 @@ for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
-echo "configure:3884: checking for $ac_hdr that defines DIR" >&5
+echo "configure:4147: checking for $ac_hdr that defines DIR" >&5
 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 3889 "configure"
+#line 4152 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <$ac_hdr>
@@ -3893,7 +4156,7 @@ int main() {
 DIR *dirp = 0;
 ; return 0; }
 EOF
-if { (eval echo configure:3897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   eval "ac_cv_header_dirent_$ac_safe=yes"
 else
@@ -3918,7 +4181,7 @@ done
 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
 if test $ac_header_dirent = dirent.h; then
 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
-echo "configure:3922: checking for opendir in -ldir" >&5
+echo "configure:4185: checking for opendir in -ldir" >&5
 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3926,9 +4189,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-ldir  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3930 "configure"
+#line 4193 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char opendir();
@@ -3937,7 +4203,7 @@ int main() {
 opendir()
 ; return 0; }
 EOF
-if { (eval echo configure:3941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -3959,7 +4225,7 @@ fi
 
 else
 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
-echo "configure:3963: checking for opendir in -lx" >&5
+echo "configure:4229: checking for opendir in -lx" >&5
 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -3967,9 +4233,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lx  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 3971 "configure"
+#line 4237 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char opendir();
@@ -3978,7 +4247,7 @@ int main() {
 opendir()
 ; return 0; }
 EOF
-if { (eval echo configure:3982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -4001,12 +4270,12 @@ fi
 fi
 
 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-echo "configure:4005: checking for ANSI C header files" >&5
+echo "configure:4274: checking for ANSI C header files" >&5
 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 4010 "configure"
+#line 4279 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 #include <stdarg.h>
@@ -4014,7 +4283,7 @@ else
 #include <float.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   rm -rf conftest*
@@ -4031,7 +4300,7 @@ rm -f conftest*
 if test $ac_cv_header_stdc = yes; then
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 cat > conftest.$ac_ext <<EOF
-#line 4035 "configure"
+#line 4304 "configure"
 #include "confdefs.h"
 #include <string.h>
 EOF
@@ -4049,7 +4318,7 @@ fi
 if test $ac_cv_header_stdc = yes; then
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 cat > conftest.$ac_ext <<EOF
-#line 4053 "configure"
+#line 4322 "configure"
 #include "confdefs.h"
 #include <stdlib.h>
 EOF
@@ -4070,8 +4339,11 @@ if test "$cross_compiling" = yes; then
   :
 else
   cat > conftest.$ac_ext <<EOF
-#line 4074 "configure"
+#line 4343 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 #include <ctype.h>
 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
@@ -4081,7 +4353,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
 exit (0); }
 
 EOF
-if { (eval echo configure:4085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   :
 else
@@ -4188,17 +4460,17 @@ for ac_hdr in \
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:4192: checking for $ac_hdr" >&5
+echo "configure:4464: checking for $ac_hdr" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 4197 "configure"
+#line 4469 "configure"
 #include "confdefs.h"
 #include <$ac_hdr>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then
   rm -rf conftest*
@@ -4226,12 +4498,12 @@ done
 
 
 echo $ac_n "checking for working const""... $ac_c" 1>&6
-echo "configure:4230: checking for working const" >&5
+echo "configure:4502: checking for working const" >&5
 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 4235 "configure"
+#line 4507 "configure"
 #include "confdefs.h"
 
 int main() {
@@ -4280,7 +4552,7 @@ ccp = (char const *const *) p;
 
 ; return 0; }
 EOF
-if { (eval echo configure:4284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_c_const=yes
 else
@@ -4301,14 +4573,14 @@ EOF
 fi
 
 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
-echo "configure:4305: checking whether byte ordering is bigendian" >&5
+echo "configure:4577: checking whether byte ordering is bigendian" >&5
 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_cv_c_bigendian=unknown
 # See if sys/param.h defines the BYTE_ORDER macro.
 cat > conftest.$ac_ext <<EOF
-#line 4312 "configure"
+#line 4584 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/param.h>
@@ -4319,11 +4591,11 @@ int main() {
 #endif
 ; return 0; }
 EOF
-if { (eval echo configure:4323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   # It does; now see whether it defined to BIG_ENDIAN or not.
 cat > conftest.$ac_ext <<EOF
-#line 4327 "configure"
+#line 4599 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/param.h>
@@ -4334,7 +4606,7 @@ int main() {
 #endif
 ; return 0; }
 EOF
-if { (eval echo configure:4338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_c_bigendian=yes
 else
@@ -4354,8 +4626,11 @@ if test "$cross_compiling" = yes; then
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4358 "configure"
+#line 4630 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 main () {
   /* Are we little or big endian?  From Harbison&Steele.  */
   union
@@ -4367,7 +4642,7 @@ main () {
   exit (u.c[sizeof (long) - 1] == 1);
 }
 EOF
-if { (eval echo configure:4371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_c_bigendian=no
 else
@@ -4392,20 +4667,20 @@ fi
 
 
 echo $ac_n "checking if ANSI prototypes work""... $ac_c" 1>&6
-echo "configure:4396: checking if ANSI prototypes work" >&5
+echo "configure:4671: checking if ANSI prototypes work" >&5
 if eval "test \"`echo '$''{'ac_cv_have_ansi_prototypes'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 4402 "configure"
+#line 4677 "configure"
 #include "confdefs.h"
 int foo(char *); int foo (char *bar) {return 1;}
 int main() {
 foo("bar")
 ; return 0; }
 EOF
-if { (eval echo configure:4409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_ansi_prototypes="yes"
 else
@@ -4427,13 +4702,13 @@ EOF
 fi
 
 echo $ac_n "checking for tm->tm_gmtoff""... $ac_c" 1>&6
-echo "configure:4431: checking for tm->tm_gmtoff" >&5
+echo "configure:4706: checking for tm->tm_gmtoff" >&5
 if eval "test \"`echo '$''{'ac_cv_have_tm_gmoff'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 4437 "configure"
+#line 4712 "configure"
 #include "confdefs.h"
 #include <time.h>
 #include <sys/time.h>
@@ -4442,7 +4717,7 @@ struct tm foo;
       foo.tm_gmtoff = 0;
 ; return 0; }
 EOF
-if { (eval echo configure:4446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_tm_gmoff="yes"
 else
@@ -4464,13 +4739,13 @@ EOF
 fi
 
 echo $ac_n "checking for struct mallinfo""... $ac_c" 1>&6
-echo "configure:4468: checking for struct mallinfo" >&5
+echo "configure:4743: checking for struct mallinfo" >&5
 if eval "test \"`echo '$''{'ac_cv_have_struct_mallinfo'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 4474 "configure"
+#line 4749 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if HAVE_MALLOC_H
@@ -4488,7 +4763,7 @@ struct mallinfo foo;
     foo.keepcost = 0;
 ; return 0; }
 EOF
-if { (eval echo configure:4492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_struct_mallinfo="yes"
 else
@@ -4510,13 +4785,13 @@ EOF
 fi
 
 echo $ac_n "checking for extended mallinfo""... $ac_c" 1>&6
-echo "configure:4514: checking for extended mallinfo" >&5
+echo "configure:4789: checking for extended mallinfo" >&5
 if eval "test \"`echo '$''{'ac_cv_have_ext_mallinfo'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 4520 "configure"
+#line 4795 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <malloc.h>
@@ -4525,7 +4800,7 @@ struct mallinfo foo;
       foo.mxfast = 0;
 ; return 0; }
 EOF
-if { (eval echo configure:4529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_ext_mallinfo="yes"
 else
@@ -4547,13 +4822,13 @@ EOF
 fi
 
 echo $ac_n "checking for struct rusage""... $ac_c" 1>&6
-echo "configure:4551: checking for struct rusage" >&5
+echo "configure:4826: checking for struct rusage" >&5
 if eval "test \"`echo '$''{'ac_cv_have_struct_rusage'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 4557 "configure"
+#line 4832 "configure"
 #include "confdefs.h"
 
 #if HAVE_SYS_TIME_H
@@ -4566,7 +4841,7 @@ int main() {
 struct rusage R;
 ; return 0; }
 EOF
-if { (eval echo configure:4570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_struct_rusage="yes"
 else
@@ -4588,13 +4863,13 @@ EOF
 fi
 
 echo $ac_n "checking for ip->ip_hl""... $ac_c" 1>&6
-echo "configure:4592: checking for ip->ip_hl" >&5
+echo "configure:4867: checking for ip->ip_hl" >&5
 if eval "test \"`echo '$''{'ac_cv_have_ip_hl'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 4598 "configure"
+#line 4873 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <netinet/in.h>
@@ -4613,7 +4888,7 @@ struct iphdr ip;
       ip.ip_hl= 0;
 ; return 0; }
 EOF
-if { (eval echo configure:4617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:4892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_ip_hl="yes"
 else
@@ -4635,7 +4910,7 @@ EOF
 fi
 
 echo $ac_n "checking size of void *""... $ac_c" 1>&6
-echo "configure:4639: checking size of void *" >&5
+echo "configure:4914: checking size of void *" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4643,8 +4918,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4647 "configure"
+#line 4922 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 #include <stdio.h>
 main()
 {
@@ -4654,7 +4932,7 @@ main()
   exit(0);
 }
 EOF
-if { (eval echo configure:4658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_void_p=`cat conftestval`
 else
@@ -4674,7 +4952,7 @@ EOF
 
 
 echo $ac_n "checking size of short""... $ac_c" 1>&6
-echo "configure:4678: checking size of short" >&5
+echo "configure:4956: checking size of short" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4682,8 +4960,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4686 "configure"
+#line 4964 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 #include <stdio.h>
 main()
 {
@@ -4693,7 +4974,7 @@ main()
   exit(0);
 }
 EOF
-if { (eval echo configure:4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_short=`cat conftestval`
 else
@@ -4713,7 +4994,7 @@ EOF
 
 
 echo $ac_n "checking size of int""... $ac_c" 1>&6
-echo "configure:4717: checking size of int" >&5
+echo "configure:4998: checking size of int" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4721,8 +5002,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4725 "configure"
+#line 5006 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 #include <stdio.h>
 main()
 {
@@ -4732,7 +5016,7 @@ main()
   exit(0);
 }
 EOF
-if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_int=`cat conftestval`
 else
@@ -4752,7 +5036,7 @@ EOF
 
 
 echo $ac_n "checking size of long""... $ac_c" 1>&6
-echo "configure:4756: checking size of long" >&5
+echo "configure:5040: checking size of long" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4760,8 +5044,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4764 "configure"
+#line 5048 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 #include <stdio.h>
 main()
 {
@@ -4771,7 +5058,7 @@ main()
   exit(0);
 }
 EOF
-if { (eval echo configure:4775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_long=`cat conftestval`
 else
@@ -4791,7 +5078,7 @@ EOF
 
 
 echo $ac_n "checking size of long long""... $ac_c" 1>&6
-echo "configure:4795: checking size of long long" >&5
+echo "configure:5082: checking size of long long" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4799,8 +5086,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4803 "configure"
+#line 5090 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 #include <stdio.h>
 main()
 {
@@ -4810,7 +5100,7 @@ main()
   exit(0);
 }
 EOF
-if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_long_long=`cat conftestval`
 else
@@ -4830,7 +5120,7 @@ EOF
 
 
 echo $ac_n "checking size of __int64""... $ac_c" 1>&6
-echo "configure:4834: checking size of __int64" >&5
+echo "configure:5124: checking size of __int64" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof___int64'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4838,8 +5128,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4842 "configure"
+#line 5132 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -4864,7 +5157,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:4868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof___int64=`cat conftestval`
 else
@@ -4884,7 +5177,7 @@ EOF
 
 
 echo $ac_n "checking size of int16_t""... $ac_c" 1>&6
-echo "configure:4888: checking size of int16_t" >&5
+echo "configure:5181: checking size of int16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_int16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4892,8 +5185,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4896 "configure"
+#line 5189 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -4918,7 +5214,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:4922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_int16_t=`cat conftestval`
 else
@@ -4938,7 +5234,7 @@ EOF
 
 
 echo $ac_n "checking size of uint16_t""... $ac_c" 1>&6
-echo "configure:4942: checking size of uint16_t" >&5
+echo "configure:5238: checking size of uint16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_uint16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -4946,8 +5242,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 4950 "configure"
+#line 5246 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -4972,7 +5271,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:4976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_uint16_t=`cat conftestval`
 else
@@ -4992,7 +5291,7 @@ EOF
 
 
 echo $ac_n "checking size of u_int16_t""... $ac_c" 1>&6
-echo "configure:4996: checking size of u_int16_t" >&5
+echo "configure:5295: checking size of u_int16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_u_int16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -5000,8 +5299,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 5004 "configure"
+#line 5303 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -5026,7 +5328,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_u_int16_t=`cat conftestval`
 else
@@ -5046,7 +5348,7 @@ EOF
 
 
 echo $ac_n "checking size of int32_t""... $ac_c" 1>&6
-echo "configure:5050: checking size of int32_t" >&5
+echo "configure:5352: checking size of int32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_int32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -5054,8 +5356,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 5058 "configure"
+#line 5360 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -5080,7 +5385,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:5084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_int32_t=`cat conftestval`
 else
@@ -5100,7 +5405,7 @@ EOF
 
 
 echo $ac_n "checking size of uint32_t""... $ac_c" 1>&6
-echo "configure:5104: checking size of uint32_t" >&5
+echo "configure:5409: checking size of uint32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_uint32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -5108,8 +5413,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 5112 "configure"
+#line 5417 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -5134,7 +5442,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:5138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_uint32_t=`cat conftestval`
 else
@@ -5154,7 +5462,7 @@ EOF
 
 
 echo $ac_n "checking size of u_int32_t""... $ac_c" 1>&6
-echo "configure:5158: checking size of u_int32_t" >&5
+echo "configure:5466: checking size of u_int32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_u_int32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -5162,8 +5470,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 5166 "configure"
+#line 5474 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -5188,7 +5499,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:5192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_u_int32_t=`cat conftestval`
 else
@@ -5208,7 +5519,7 @@ EOF
 
 
 echo $ac_n "checking size of int64_t""... $ac_c" 1>&6
-echo "configure:5212: checking size of int64_t" >&5
+echo "configure:5523: checking size of int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -5216,8 +5527,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 5220 "configure"
+#line 5531 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -5242,7 +5556,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_int64_t=`cat conftestval`
 else
@@ -5262,7 +5576,7 @@ EOF
 
 
 echo $ac_n "checking size of uint64_t""... $ac_c" 1>&6
-echo "configure:5266: checking size of uint64_t" >&5
+echo "configure:5580: checking size of uint64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_uint64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -5270,8 +5584,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 5274 "configure"
+#line 5588 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -5296,7 +5613,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:5300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_uint64_t=`cat conftestval`
 else
@@ -5316,7 +5633,7 @@ EOF
 
 
 echo $ac_n "checking size of u_int64_t""... $ac_c" 1>&6
-echo "configure:5320: checking size of u_int64_t" >&5
+echo "configure:5637: checking size of u_int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_u_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -5324,8 +5641,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 5328 "configure"
+#line 5645 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -5350,7 +5670,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:5354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:5674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_u_int64_t=`cat conftestval`
 else
@@ -5372,12 +5692,12 @@ EOF
 
 if test "x$ac_cv_sizeof_short" = "x2"; then
        echo $ac_n "checking for int16_t""... $ac_c" 1>&6
-echo "configure:5376: checking for int16_t" >&5
+echo "configure:5696: checking for int16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5381 "configure"
+#line 5701 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5421,12 +5741,12 @@ fi
 
 elif test "x$ac_cv_sizeof_int" = "x2"; then
        echo $ac_n "checking for int16_t""... $ac_c" 1>&6
-echo "configure:5425: checking for int16_t" >&5
+echo "configure:5745: checking for int16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5430 "configure"
+#line 5750 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5471,12 +5791,12 @@ fi
 fi
 if test "x$ac_cv_sizeof_uint16_t" = "x2"; then
        echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
-echo "configure:5475: checking for u_int16_t" >&5
+echo "configure:5795: checking for u_int16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5480 "configure"
+#line 5800 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5520,12 +5840,12 @@ fi
 
 elif test "x$ac_cv_sizeof_short" = "x2"; then
        echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
-echo "configure:5524: checking for u_int16_t" >&5
+echo "configure:5844: checking for u_int16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5529 "configure"
+#line 5849 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5569,12 +5889,12 @@ fi
 
 elif test "x$ac_cv_sizeof_int" = "x2"; then
        echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
-echo "configure:5573: checking for u_int16_t" >&5
+echo "configure:5893: checking for u_int16_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5578 "configure"
+#line 5898 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5619,12 +5939,12 @@ fi
 fi
 if test "x$ac_cv_sizeof_int" = "x4"; then
        echo $ac_n "checking for int32_t""... $ac_c" 1>&6
-echo "configure:5623: checking for int32_t" >&5
+echo "configure:5943: checking for int32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5628 "configure"
+#line 5948 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5668,12 +5988,12 @@ fi
 
 elif "x$ac_cv_sizeof_long" = "x4"; then
        echo $ac_n "checking for int32_t""... $ac_c" 1>&6
-echo "configure:5672: checking for int32_t" >&5
+echo "configure:5992: checking for int32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5677 "configure"
+#line 5997 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5718,12 +6038,12 @@ fi
 fi
 if test "x$ac_cv_sizeof_uint32_t" = "x4"; then
        echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
-echo "configure:5722: checking for u_int32_t" >&5
+echo "configure:6042: checking for u_int32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5727 "configure"
+#line 6047 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5767,12 +6087,12 @@ fi
 
 elif test "x$ac_cv_sizeof_int" = "x4"; then
        echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
-echo "configure:5771: checking for u_int32_t" >&5
+echo "configure:6091: checking for u_int32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5776 "configure"
+#line 6096 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5816,12 +6136,12 @@ fi
 
 elif test "x$ac_cv_sizeof_long" = "x4"; then
        echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
-echo "configure:5820: checking for u_int32_t" >&5
+echo "configure:6140: checking for u_int32_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5825 "configure"
+#line 6145 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5866,12 +6186,12 @@ fi
 fi
 if test "x$ac_cv_sizeof_long" = "x8"; then
        echo $ac_n "checking for int64_t""... $ac_c" 1>&6
-echo "configure:5870: checking for int64_t" >&5
+echo "configure:6190: checking for int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5875 "configure"
+#line 6195 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5915,12 +6235,12 @@ fi
 
 elif test "x$ac_cv_sizeof_long_long" = "x8"; then
        echo $ac_n "checking for int64_t""... $ac_c" 1>&6
-echo "configure:5919: checking for int64_t" >&5
+echo "configure:6239: checking for int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5924 "configure"
+#line 6244 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -5964,12 +6284,12 @@ fi
 
 elif test "x$ac_cv_sizeof___int64" = "x8"; then
        echo $ac_n "checking for int64_t""... $ac_c" 1>&6
-echo "configure:5968: checking for int64_t" >&5
+echo "configure:6288: checking for int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 5973 "configure"
+#line 6293 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -6014,12 +6334,12 @@ fi
 fi
 if test "x$ac_cv_sizeof_uint64_t" = "x8"; then
        echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6
-echo "configure:6018: checking for u_int64_t" >&5
+echo "configure:6338: checking for u_int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6023 "configure"
+#line 6343 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -6063,12 +6383,12 @@ fi
 
 elif test "x$ac_cv_sizeof_long" = "x8"; then
        echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6
-echo "configure:6067: checking for u_int64_t" >&5
+echo "configure:6387: checking for u_int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6072 "configure"
+#line 6392 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -6112,12 +6432,12 @@ fi
 
 elif test "x$ac_cv_sizeof_long_long" = "x8"; then
        echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6
-echo "configure:6116: checking for u_int64_t" >&5
+echo "configure:6436: checking for u_int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6121 "configure"
+#line 6441 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -6161,12 +6481,12 @@ fi
 
 elif test "x$ac_cv_sizeof___int64" = "x8"; then
        echo $ac_n "checking for int64_t""... $ac_c" 1>&6
-echo "configure:6165: checking for int64_t" >&5
+echo "configure:6485: checking for int64_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6170 "configure"
+#line 6490 "configure"
 #include "confdefs.h"
 
 /* What a mess.. many systems have added the (now standard) bit types
@@ -6211,12 +6531,12 @@ fi
 fi
 
 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
-echo "configure:6215: checking for pid_t" >&5
+echo "configure:6535: checking for pid_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6220 "configure"
+#line 6540 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -6244,12 +6564,12 @@ EOF
 fi
 
 echo $ac_n "checking for size_t""... $ac_c" 1>&6
-echo "configure:6248: checking for size_t" >&5
+echo "configure:6568: checking for size_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6253 "configure"
+#line 6573 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -6277,12 +6597,12 @@ EOF
 fi
 
 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
-echo "configure:6281: checking for ssize_t" >&5
+echo "configure:6601: checking for ssize_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6286 "configure"
+#line 6606 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -6310,12 +6630,12 @@ EOF
 fi
 
 echo $ac_n "checking for off_t""... $ac_c" 1>&6
-echo "configure:6314: checking for off_t" >&5
+echo "configure:6634: checking for off_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6319 "configure"
+#line 6639 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -6343,12 +6663,12 @@ EOF
 fi
 
 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
-echo "configure:6347: checking for mode_t" >&5
+echo "configure:6667: checking for mode_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6352 "configure"
+#line 6672 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -6376,12 +6696,12 @@ EOF
 fi
 
 echo $ac_n "checking for fd_mask""... $ac_c" 1>&6
-echo "configure:6380: checking for fd_mask" >&5
+echo "configure:6700: checking for fd_mask" >&5
 if eval "test \"`echo '$''{'ac_cv_type_fd_mask'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6385 "configure"
+#line 6705 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #if STDC_HEADERS
@@ -6410,7 +6730,7 @@ fi
 
 
 echo $ac_n "checking size of off_t""... $ac_c" 1>&6
-echo "configure:6414: checking size of off_t" >&5
+echo "configure:6734: checking size of off_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_off_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -6418,8 +6738,11 @@ else
   ac_cv_sizeof_off_t=4
 else
   cat > conftest.$ac_ext <<EOF
-#line 6422 "configure"
+#line 6742 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -6444,7 +6767,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:6448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:6771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_off_t=`cat conftestval`
 else
@@ -6464,7 +6787,7 @@ EOF
 
 
 echo $ac_n "checking size of size_t""... $ac_c" 1>&6
-echo "configure:6468: checking size of size_t" >&5
+echo "configure:6791: checking size of size_t" >&5
 if eval "test \"`echo '$''{'ac_cv_sizeof_size_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -6472,8 +6795,11 @@ else
   ac_cv_sizeof_size_t=4
 else
   cat > conftest.$ac_ext <<EOF
-#line 6476 "configure"
+#line 6799 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #if STDC_HEADERS
@@ -6498,7 +6824,7 @@ int main()
 }
 
 EOF
-if { (eval echo configure:6502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_sizeof_size_t=`cat conftestval`
 else
@@ -6521,19 +6847,19 @@ EOF
 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
 # for constant arguments.  Useless!
 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
-echo "configure:6525: checking for working alloca.h" >&5
+echo "configure:6851: checking for working alloca.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6530 "configure"
+#line 6856 "configure"
 #include "confdefs.h"
 #include <alloca.h>
 int main() {
 char *p = alloca(2 * sizeof(int));
 ; return 0; }
 EOF
-if { (eval echo configure:6537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   ac_cv_header_alloca_h=yes
 else
@@ -6554,12 +6880,12 @@ EOF
 fi
 
 echo $ac_n "checking for alloca""... $ac_c" 1>&6
-echo "configure:6558: checking for alloca" >&5
+echo "configure:6884: checking for alloca" >&5
 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6563 "configure"
+#line 6889 "configure"
 #include "confdefs.h"
 
 #ifdef __GNUC__
@@ -6587,7 +6913,7 @@ int main() {
 char *p = (char *) alloca(1);
 ; return 0; }
 EOF
-if { (eval echo configure:6591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   ac_cv_func_alloca_works=yes
 else
@@ -6619,12 +6945,12 @@ EOF
 
 
 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
-echo "configure:6623: checking whether alloca needs Cray hooks" >&5
+echo "configure:6949: checking whether alloca needs Cray hooks" >&5
 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6628 "configure"
+#line 6954 "configure"
 #include "confdefs.h"
 #if defined(CRAY) && ! defined(CRAY2)
 webecray
@@ -6649,17 +6975,20 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6
 if test $ac_cv_os_cray = yes; then
 for ac_func in _getb67 GETB67 getb67; do
   echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6653: checking for $ac_func" >&5
+echo "configure:6979: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 6658 "configure"
+#line 6984 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $ac_func();
@@ -6677,7 +7006,7 @@ $ac_func();
 
 ; return 0; }
 EOF
-if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"
 else
@@ -6704,7 +7033,7 @@ done
 fi
 
 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
-echo "configure:6708: checking stack direction for C alloca" >&5
+echo "configure:7037: checking stack direction for C alloca" >&5
 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -6712,8 +7041,11 @@ else
   ac_cv_c_stack_direction=0
 else
   cat > conftest.$ac_ext <<EOF
-#line 6716 "configure"
+#line 7045 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 find_stack_direction ()
 {
   static char *addr = 0;
@@ -6731,7 +7063,7 @@ main ()
   exit (find_stack_direction() < 0);
 }
 EOF
-if { (eval echo configure:6735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:7067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_c_stack_direction=1
 else
@@ -6755,13 +7087,13 @@ fi
 
 
 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
-echo "configure:6759: checking for socklen_t" >&5
+echo "configure:7091: checking for socklen_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 6765 "configure"
+#line 7097 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/socket.h>
@@ -6792,13 +7124,13 @@ EOF
 fi
 
 echo $ac_n "checking for mtyp_t""... $ac_c" 1>&6
-echo "configure:6796: checking for mtyp_t" >&5
+echo "configure:7128: checking for mtyp_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_mtyp_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
   cat > conftest.$ac_ext <<EOF
-#line 6802 "configure"
+#line 7134 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <sys/ipc.h>
@@ -6826,7 +7158,7 @@ EOF
  fi
 
 echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
-echo "configure:6830: checking for main in -lnsl" >&5
+echo "configure:7162: checking for main in -lnsl" >&5
 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -6834,14 +7166,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 6838 "configure"
+#line 7170 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -6869,7 +7201,7 @@ else
 fi
 
 echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
-echo "configure:6873: checking for main in -lsocket" >&5
+echo "configure:7205: checking for main in -lsocket" >&5
 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -6877,14 +7209,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 6881 "configure"
+#line 7213 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -6913,13 +7245,13 @@ fi
 
 
 echo $ac_n "checking for unix domain sockets""... $ac_c" 1>&6
-echo "configure:6917: checking for unix domain sockets" >&5
+echo "configure:7249: checking for unix domain sockets" >&5
 if eval "test \"`echo '$''{'squid_cv_unixsocket'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   
     cat > conftest.$ac_ext <<EOF
-#line 6923 "configure"
+#line 7255 "configure"
 #include "confdefs.h"
 
 #include <sys/types.h>
@@ -6934,7 +7266,7 @@ int main() {
 
 ; return 0; }
 EOF
-if { (eval echo configure:6938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   squid_cv_unixsocket=yes
 else
@@ -6958,7 +7290,7 @@ if test "x$ac_cv_enabled_dlmalloc" = "xyes" ; then
   echo "skipping libmalloc check (--enable-dlmalloc specified)"
 else
   echo $ac_n "checking for main in -lgnumalloc""... $ac_c" 1>&6
-echo "configure:6962: checking for main in -lgnumalloc" >&5
+echo "configure:7294: checking for main in -lgnumalloc" >&5
 ac_lib_var=`echo gnumalloc'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -6966,14 +7298,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lgnumalloc  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 6970 "configure"
+#line 7302 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:6977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7016,7 +7348,7 @@ fi
                        *)
   
                                echo $ac_n "checking for main in -lmalloc""... $ac_c" 1>&6
-echo "configure:7020: checking for main in -lmalloc" >&5
+echo "configure:7352: checking for main in -lmalloc" >&5
 ac_lib_var=`echo malloc'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7024,14 +7356,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lmalloc  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7028 "configure"
+#line 7360 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:7035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7064,7 +7396,7 @@ fi
 fi
 
 echo $ac_n "checking for main in -lbsd""... $ac_c" 1>&6
-echo "configure:7068: checking for main in -lbsd" >&5
+echo "configure:7400: checking for main in -lbsd" >&5
 ac_lib_var=`echo bsd'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7072,14 +7404,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lbsd  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7076 "configure"
+#line 7408 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:7083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7107,7 +7439,7 @@ else
 fi
 
 echo $ac_n "checking for main in -lregex""... $ac_c" 1>&6
-echo "configure:7111: checking for main in -lregex" >&5
+echo "configure:7443: checking for main in -lregex" >&5
 ac_lib_var=`echo regex'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7115,14 +7447,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lregex  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7119 "configure"
+#line 7451 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7143,7 +7475,7 @@ else
 fi
 
 echo $ac_n "checking for gethostbyname in -lbind""... $ac_c" 1>&6
-echo "configure:7147: checking for gethostbyname in -lbind" >&5
+echo "configure:7479: checking for gethostbyname in -lbind" >&5
 ac_lib_var=`echo bind'_'gethostbyname | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7151,9 +7483,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lbind  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7155 "configure"
+#line 7487 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char gethostbyname();
@@ -7162,7 +7497,7 @@ int main() {
 gethostbyname()
 ; return 0; }
 EOF
-if { (eval echo configure:7166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7196,7 +7531,7 @@ if test $ac_cv_lib_bind_gethostbyname = "no" ; then
                ;;
        *)
                echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
-echo "configure:7200: checking for inet_aton in -lresolv" >&5
+echo "configure:7535: checking for inet_aton in -lresolv" >&5
 ac_lib_var=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7204,9 +7539,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lresolv  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7208 "configure"
+#line 7543 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char inet_aton();
@@ -7215,7 +7553,7 @@ int main() {
 inet_aton()
 ; return 0; }
 EOF
-if { (eval echo configure:7219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7231,7 +7569,7 @@ fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
   echo $ac_n "checking for inet_aton in -l44bsd""... $ac_c" 1>&6
-echo "configure:7235: checking for inet_aton in -l44bsd" >&5
+echo "configure:7573: checking for inet_aton in -l44bsd" >&5
 ac_lib_var=`echo 44bsd'_'inet_aton | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7239,9 +7577,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-l44bsd  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7243 "configure"
+#line 7581 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char inet_aton();
@@ -7250,7 +7591,7 @@ int main() {
 inet_aton()
 ; return 0; }
 EOF
-if { (eval echo configure:7254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7282,7 +7623,7 @@ else
 fi
 
                echo $ac_n "checking for main in -lresolv""... $ac_c" 1>&6
-echo "configure:7286: checking for main in -lresolv" >&5
+echo "configure:7627: checking for main in -lresolv" >&5
 ac_lib_var=`echo resolv'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7290,14 +7631,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lresolv  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7294 "configure"
+#line 7635 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:7301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7328,7 +7669,7 @@ fi
     esac
 fi
 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
-echo "configure:7332: checking for main in -lm" >&5
+echo "configure:7673: checking for main in -lm" >&5
 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7336,14 +7677,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lm  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7340 "configure"
+#line 7681 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:7347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7372,7 +7713,7 @@ fi
 
 
 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
-echo "configure:7376: checking for crypt in -lcrypt" >&5
+echo "configure:7717: checking for crypt in -lcrypt" >&5
 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7380,9 +7721,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lcrypt  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7384 "configure"
+#line 7725 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char crypt();
@@ -7391,7 +7735,7 @@ int main() {
 crypt()
 ; return 0; }
 EOF
-if { (eval echo configure:7395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7415,7 +7759,7 @@ fi
 
 if test "$with_dl" = "yes"; then
     echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
-echo "configure:7419: checking for dlopen in -ldl" >&5
+echo "configure:7763: checking for dlopen in -ldl" >&5
 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7423,9 +7767,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-ldl  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7427 "configure"
+#line 7771 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char dlopen();
@@ -7434,7 +7781,7 @@ int main() {
 dlopen()
 ; return 0; }
 EOF
-if { (eval echo configure:7438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7465,7 +7812,7 @@ fi
 
 if test "$with_pthreads" = "yes"; then
     echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6
-echo "configure:7469: checking for main in -lpthread" >&5
+echo "configure:7816: checking for main in -lpthread" >&5
 ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7473,14 +7820,14 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lpthread  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7477 "configure"
+#line 7824 "configure"
 #include "confdefs.h"
 
 int main() {
 main()
 ; return 0; }
 EOF
-if { (eval echo configure:7484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7511,7 +7858,7 @@ fi
 
 if test "$with_aio" = "yes"; then
     echo $ac_n "checking for aio_read in -lrt""... $ac_c" 1>&6
-echo "configure:7515: checking for aio_read in -lrt" >&5
+echo "configure:7862: checking for aio_read in -lrt" >&5
 ac_lib_var=`echo rt'_'aio_read | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7519,9 +7866,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lrt  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7523 "configure"
+#line 7870 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char aio_read();
@@ -7530,7 +7880,7 @@ int main() {
 aio_read()
 ; return 0; }
 EOF
-if { (eval echo configure:7534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7562,7 +7912,7 @@ fi
 case "$host" in
        *-pc-sco3.2*)
                echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
-echo "configure:7566: checking for strftime in -lintl" >&5
+echo "configure:7916: checking for strftime in -lintl" >&5
 ac_lib_var=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -7570,9 +7920,12 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lintl  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 7574 "configure"
+#line 7924 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char strftime();
@@ -7581,7 +7934,7 @@ int main() {
 strftime()
 ; return 0; }
 EOF
-if { (eval echo configure:7585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -7769,17 +8122,20 @@ for ac_func in \
 
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7773: checking for $ac_func" >&5
+echo "configure:8126: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 7778 "configure"
+#line 8131 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $ac_func();
@@ -7797,7 +8153,7 @@ $ac_func();
 
 ; return 0; }
 EOF
-if { (eval echo configure:7801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"
 else
@@ -7855,7 +8211,7 @@ echo "Using ${SELECT_TYPE} for select loop."
 
 
 echo $ac_n "checking if setresuid is implemented""... $ac_c" 1>&6
-echo "configure:7859: checking if setresuid is implemented" >&5
+echo "configure:8215: checking if setresuid is implemented" >&5
 if eval "test \"`echo '$''{'ac_cv_func_setresuid'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
@@ -7863,8 +8219,11 @@ else
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
 else
   cat > conftest.$ac_ext <<EOF
-#line 7867 "configure"
+#line 8223 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdlib.h>
   int main() {
@@ -7876,7 +8235,7 @@ else
   }
   
 EOF
-if { (eval echo configure:7880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   ac_cv_func_setresuid="yes"
 else
@@ -7922,7 +8281,7 @@ fi
   
 if test "$IPF_TRANSPARENT" ; then
     echo $ac_n "checking if IP-Filter header files are installed""... $ac_c" 1>&6
-echo "configure:7926: checking if IP-Filter header files are installed" >&5
+echo "configure:8285: checking if IP-Filter header files are installed" >&5
     # hold on to your hats...
     if test "$ac_cv_header_ip_compat_h" = "yes" ||
         test "$ac_cv_header_ip_fil_compat_h" = "yes" ||
@@ -7963,7 +8322,7 @@ fi
 
 if test "$PF_TRANSPARENT" ; then
     echo $ac_n "checking if PF header file is installed""... $ac_c" 1>&6
-echo "configure:7967: checking if PF header file is installed" >&5
+echo "configure:8326: checking if PF header file is installed" >&5
     # hold on to your hats...
     if test "$ac_cv_header_net_pfvar_h" = "yes"; then
         PF_TRANSPARENT="yes"
@@ -7988,7 +8347,7 @@ fi
 
 if test "$LINUX_NETFILTER" ; then
     echo $ac_n "checking if Linux 2.4 kernel header files are installed""... $ac_c" 1>&6
-echo "configure:7992: checking if Linux 2.4 kernel header files are installed" >&5
+echo "configure:8351: checking if Linux 2.4 kernel header files are installed" >&5
     # hold on to your hats...
     if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes"; then
         LINUX_NETFILTER="yes"
@@ -8022,13 +8381,13 @@ if test -z "$USE_GNUREGEX" ; then
     esac
 fi
 echo $ac_n "checking if GNUregex needs to be compiled""... $ac_c" 1>&6
-echo "configure:8026: checking if GNUregex needs to be compiled" >&5
+echo "configure:8385: checking if GNUregex needs to be compiled" >&5
 if test -z "$USE_GNUREGEX"; then
 if test "$ac_cv_func_regcomp" = "no" || test "$USE_GNUREGEX" = "yes" ; then
        USE_GNUREGEX="yes"
 else
        cat > conftest.$ac_ext <<EOF
-#line 8032 "configure"
+#line 8391 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
 #include <regex.h>
@@ -8036,7 +8395,7 @@ int main() {
 regex_t t; regcomp(&t,"",0);
 ; return 0; }
 EOF
-if { (eval echo configure:8040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   USE_GNUREGEX="no"
 else
@@ -8067,17 +8426,20 @@ for ac_func in \
 
 do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8071: checking for $ac_func" >&5
+echo "configure:8430: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 8076 "configure"
+#line 8435 "configure"
 #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */
 #include <assert.h>
 /* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+#endif
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char $ac_func();
@@ -8095,7 +8457,7 @@ $ac_func();
 
 ; return 0; }
 EOF
-if { (eval echo configure:8099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"
 else
@@ -8123,13 +8485,16 @@ done
 
 
 echo $ac_n "checking Default FD_SETSIZE value""... $ac_c" 1>&6
-echo "configure:8127: checking Default FD_SETSIZE value" >&5
+echo "configure:8489: checking Default FD_SETSIZE value" >&5
 if test "$cross_compiling" = yes; then
   DEFAULT_FD_SETSIZE=256
 else
   cat > conftest.$ac_ext <<EOF
-#line 8132 "configure"
+#line 8494 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #if HAVE_STDIO_H
 #include <stdio.h>
@@ -8153,7 +8518,7 @@ main() {
 }
 
 EOF
-if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   DEFAULT_FD_SETSIZE=`cat conftestval`
 else
@@ -8172,7 +8537,7 @@ EOF
 
 
 echo $ac_n "checking Maximum number of filedescriptors we can open""... $ac_c" 1>&6
-echo "configure:8176: checking Maximum number of filedescriptors we can open" >&5
+echo "configure:8541: checking Maximum number of filedescriptors we can open" >&5
 TLDFLAGS="$LDFLAGS"
 case $host in
 i386-unknown-freebsd*)
@@ -8184,8 +8549,11 @@ if test "$cross_compiling" = yes; then
   SQUID_MAXFD=256
 else
   cat > conftest.$ac_ext <<EOF
-#line 8188 "configure"
+#line 8553 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdio.h>
 #include <unistd.h>
@@ -8244,7 +8612,7 @@ main() {
 }
 
 EOF
-if { (eval echo configure:8248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   SQUID_MAXFD=`cat conftestval`
 else
@@ -8271,13 +8639,16 @@ fi
 LDFLAGS="$TLDFLAGS"
 
 echo $ac_n "checking Default UDP send buffer size""... $ac_c" 1>&6
-echo "configure:8275: checking Default UDP send buffer size" >&5
+echo "configure:8643: checking Default UDP send buffer size" >&5
 if test "$cross_compiling" = yes; then
   SQUID_UDP_SO_SNDBUF=16384
 else
   cat > conftest.$ac_ext <<EOF
-#line 8280 "configure"
+#line 8648 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -8297,7 +8668,7 @@ main ()
 }
 
 EOF
-if { (eval echo configure:8301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   SQUID_UDP_SO_SNDBUF=`cat conftestval`
 else
@@ -8316,13 +8687,16 @@ EOF
 
 
 echo $ac_n "checking Default UDP receive buffer size""... $ac_c" 1>&6
-echo "configure:8320: checking Default UDP receive buffer size" >&5
+echo "configure:8691: checking Default UDP receive buffer size" >&5
 if test "$cross_compiling" = yes; then
   SQUID_UDP_SO_RCVBUF=16384
 else
   cat > conftest.$ac_ext <<EOF
-#line 8325 "configure"
+#line 8696 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -8342,7 +8716,7 @@ main ()
 }
 
 EOF
-if { (eval echo configure:8346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   SQUID_UDP_SO_RCVBUF=`cat conftestval`
 else
@@ -8361,13 +8735,16 @@ EOF
 
 
 echo $ac_n "checking Default TCP send buffer size""... $ac_c" 1>&6
-echo "configure:8365: checking Default TCP send buffer size" >&5
+echo "configure:8739: checking Default TCP send buffer size" >&5
 if test "$cross_compiling" = yes; then
   SQUID_TCP_SO_SNDBUF=16384
 else
   cat > conftest.$ac_ext <<EOF
-#line 8370 "configure"
+#line 8744 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -8387,7 +8764,7 @@ main ()
 }
 
 EOF
-if { (eval echo configure:8391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   SQUID_TCP_SO_SNDBUF=`cat conftestval`
 else
@@ -8406,13 +8783,16 @@ EOF
 
 
 echo $ac_n "checking Default TCP receive buffer size""... $ac_c" 1>&6
-echo "configure:8410: checking Default TCP receive buffer size" >&5
+echo "configure:8787: checking Default TCP receive buffer size" >&5
 if test "$cross_compiling" = yes; then
   SQUID_TCP_SO_RCVBUF=16384
 else
   cat > conftest.$ac_ext <<EOF
-#line 8415 "configure"
+#line 8792 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -8432,7 +8812,7 @@ main ()
 }
 
 EOF
-if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   SQUID_TCP_SO_RCVBUF=`cat conftestval`
 else
@@ -8451,19 +8831,19 @@ EOF
 
 
 echo $ac_n "checking if sys_errlist is already defined""... $ac_c" 1>&6
-echo "configure:8455: checking if sys_errlist is already defined" >&5
+echo "configure:8835: checking if sys_errlist is already defined" >&5
 if eval "test \"`echo '$''{'ac_cv_needs_sys_errlist'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 8460 "configure"
+#line 8840 "configure"
 #include "confdefs.h"
 #include <stdio.h>
 int main() {
 char *s = sys_errlist;
 ; return 0; }
 EOF
-if { (eval echo configure:8467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_needs_sys_errlist="no"
 else
@@ -8485,16 +8865,16 @@ EOF
 fi
 
 echo $ac_n "checking for libresolv _dns_ttl_ hack""... $ac_c" 1>&6
-echo "configure:8489: checking for libresolv _dns_ttl_ hack" >&5
+echo "configure:8869: checking for libresolv _dns_ttl_ hack" >&5
 cat > conftest.$ac_ext <<EOF
-#line 8491 "configure"
+#line 8871 "configure"
 #include "confdefs.h"
 extern int _dns_ttl_;
 int main() {
 return _dns_ttl_;
 ; return 0; }
 EOF
-if { (eval echo configure:8498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   echo "$ac_t""yes" 1>&6
 cat >> confdefs.h <<\EOF
@@ -8510,13 +8890,16 @@ fi
 rm -f conftest*
 
 echo $ac_n "checking if inet_ntoa() actually works""... $ac_c" 1>&6
-echo "configure:8514: checking if inet_ntoa() actually works" >&5
+echo "configure:8894: checking if inet_ntoa() actually works" >&5
 if test "$cross_compiling" = yes; then
   INET_NTOA_RESULT="broken"
 else
   cat > conftest.$ac_ext <<EOF
-#line 8519 "configure"
+#line 8899 "configure"
 #include "confdefs.h"
+#ifdef __cplusplus
+extern "C" void exit(int);
+#endif
 
 #include <stdlib.h>
 #include <stdio.h>
@@ -8534,7 +8917,7 @@ main ()
 }
 
 EOF
-if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:8921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then
   INET_NTOA_RESULT=`cat conftestval`
 else
@@ -8560,9 +8943,9 @@ fi
 
 if test "$ac_cv_header_sys_statvfs_h" = "yes" ; then
 echo $ac_n "checking for working statvfs() interface""... $ac_c" 1>&6
-echo "configure:8564: checking for working statvfs() interface" >&5
+echo "configure:8947: checking for working statvfs() interface" >&5
 cat > conftest.$ac_ext <<EOF
-#line 8566 "configure"
+#line 8949 "configure"
 #include "confdefs.h"
 
 #include <stdlib.h>
@@ -8579,7 +8962,7 @@ statvfs("/tmp", &sfs);
 
 ; return 0; }
 EOF
-if { (eval echo configure:8583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_func_statvfs=yes
 else
@@ -8599,12 +8982,12 @@ fi
 fi
 
 echo $ac_n "checking for _res.nsaddr_list""... $ac_c" 1>&6
-echo "configure:8603: checking for _res.nsaddr_list" >&5
+echo "configure:8986: checking for _res.nsaddr_list" >&5
 if eval "test \"`echo '$''{'ac_cv_have_res_nsaddr_list'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 8608 "configure"
+#line 8991 "configure"
 #include "confdefs.h"
 
 #if HAVE_SYS_TYPES_H
@@ -8627,7 +9010,7 @@ int main() {
 _res.nsaddr_list[0];
 ; return 0; }
 EOF
-if { (eval echo configure:8631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_res_nsaddr_list="yes"
 else
@@ -8649,12 +9032,12 @@ fi
 
 if test $ac_cv_have_res_nsaddr_list = "no" ; then
 echo $ac_n "checking for _res.ns_list""... $ac_c" 1>&6
-echo "configure:8653: checking for _res.ns_list" >&5
+echo "configure:9036: checking for _res.ns_list" >&5
 if eval "test \"`echo '$''{'ac_cv_have_res_ns_list'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
-#line 8658 "configure"
+#line 9041 "configure"
 #include "confdefs.h"
 
 #if HAVE_SYS_TYPES_H
@@ -8677,7 +9060,7 @@ int main() {
 _res.ns_list[0].addr;
 ; return 0; }
 EOF
-if { (eval echo configure:8681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*
   ac_cv_have_res_ns_list="yes"
 else
@@ -8934,6 +9317,8 @@ s%@CC@%$CC%g
 s%@am__include@%$am__include%g
 s%@am__quote@%$am__quote%g
 s%@CCDEPMODE@%$CCDEPMODE%g
+s%@CXX@%$CXX%g
+s%@CXXDEPMODE@%$CXXDEPMODE%g
 s%@host@%$host%g
 s%@host_alias@%$host_alias%g
 s%@host_cpu@%$host_cpu%g
index a47b4234ea02932eece679a6cf1be90ffe93a0ac..a6c3df309df2d392d28315760ccb3306a1cfe2bc 100644 (file)
@@ -3,7 +3,7 @@ dnl  Configuration input file for Squid
 dnl
 dnl  Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
 dnl
-dnl  $Id: configure.in,v 1.282 2002/09/01 15:13:08 hno Exp $
+dnl  $Id: configure.in,v 1.283 2002/09/15 06:40:28 robertc Exp $
 dnl
 dnl
 dnl
@@ -11,7 +11,7 @@ AC_INIT(src/main.c)
 AC_CONFIG_AUX_DIR(cfgaux)
 AM_INIT_AUTOMAKE(squid, 2.6-DEVEL)
 AM_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.282 $)dnl
+AC_REVISION($Revision: 1.283 $)dnl
 AC_PREFIX_DEFAULT(/usr/local/squid)
 AM_MAINTAINER_MODE
 
@@ -24,6 +24,8 @@ PRESET_CFLAGS="$CFLAGS"
 
 dnl Check for GNU cc
 AC_PROG_CC
+AC_LANG_CPLUSPLUS
+AC_PROG_CXX
 AM_PROG_CC_C_O
 AC_CANONICAL_HOST
 
index 7867eb83c8642b5ead62391b610f21918e1cf09c..bb12ccd19f0e772cef6c7832d2d0649de06dc86e 100644 (file)
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 4ad44f4fefa12644ab3f5573e75d2f264f095337..a7b1553b63d70e6a475a40ff19edd3f4c8c2340e 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.10 2002/09/15 05:41:27 robertc Exp $
+#  $Id: Makefile.in,v 1.11 2002/09/15 06:40:29 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 4540c662ecb98dfcae8a2a623303ef38e802dd97..66b4ec0c50644684185aef0ca18f1ceeffdd900b 100644 (file)
@@ -14,7 +14,7 @@
 @SET_MAKE@
 
 #
-# $Id: Makefile.in,v 1.25 2002/09/15 05:41:29 robertc Exp $
+# $Id: Makefile.in,v 1.26 2002/09/15 06:40:29 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -73,6 +73,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index dc775e8d323065cd0535699181aab70bba44fb31..a3693f4ea8819fab5d4c40cf38a00149b94ddba3 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 0c6a6a4cd58d78bb271f6a3726786d17a626e4b8..f88881b2eed44804e842c3ea468b4bc4003c36a0 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.19 2002/09/15 05:41:30 robertc Exp $
+#  $Id: Makefile.in,v 1.20 2002/09/15 06:40:31 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 1a5608afe48dac79dc0b50c97cff1caeb3276c1e..7a9ad2c43c93d569bc300c0caba9d5eb9f67ba00 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.22 2002/09/15 05:41:31 robertc Exp $
+#  $Id: Makefile.in,v 1.23 2002/09/15 06:40:32 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 876c2b51c1efd1642f0f691fb4d99fd3ac16f942..c6b3b10c94a1d6eaa716e2d17d5ea361e4068d01 100644 (file)
@@ -15,7 +15,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.17 2002/09/15 05:41:30 robertc Exp $
+#  $Id: Makefile.in,v 1.18 2002/09/15 06:40:31 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index c768a0d25a1bc944e782dce4ac67ef2997274fe9..5236fe274f6141ce15fce79ac49627afe7e549f5 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.17 2002/09/15 05:41:32 robertc Exp $
+#  $Id: Makefile.in,v 1.18 2002/09/15 06:40:33 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 48676201ccb695e45ea600a8eed93f84bc68ad08..7b1d63b67bda408686483a40f6c6497698eb68c0 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid PAM authentication helper
 #
-#  $Id: Makefile.in,v 1.18 2002/09/15 05:41:34 robertc Exp $
+#  $Id: Makefile.in,v 1.19 2002/09/15 06:40:34 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 08c31bfbcbec7629b6a6add239bb4b6a4f91e574..3d3f4c9be4ef95d51e0c2c4e06a082813cfb5d43 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid SASL authentication helper
 #
-#  $Id: Makefile.in,v 1.15 2002/09/15 05:41:35 robertc Exp $
+#  $Id: Makefile.in,v 1.16 2002/09/15 06:40:35 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index b7ae72749b36c6573d6370867bd2c0887744c0c2..3c2fd3d83e60ab3c79b76b814856a8886031e069 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.18 2002/09/15 05:41:36 robertc Exp $
+#  $Id: Makefile.in,v 1.19 2002/09/15 06:40:36 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -82,6 +82,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index fa9509fc445a705cf59f254804fdd3ef98f0c20d..f229ee4d28b333af363546fd348e04929a08d7cd 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.19 2002/09/15 05:41:37 robertc Exp $
+#  $Id: Makefile.in,v 1.20 2002/09/15 06:40:37 robertc Exp $
 #
 #
 
@@ -76,6 +76,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index d368669c94cad04e8dcaf88bcebf1015b5e54a3f..07aa5b6e136c5844a0f709a45c1fe4310dfdff08 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.17 2002/09/15 05:41:39 robertc Exp $
+#  $Id: Makefile.in,v 1.18 2002/09/15 06:40:37 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 737672665992cb16597ab73422f70e3051b7a9e9..f0aced5810d25c25234c84901169ff738303d8e4 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.15 2002/09/15 05:41:40 robertc Exp $
+#  $Id: Makefile.in,v 1.16 2002/09/15 06:40:38 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 5ad7a42a9b3ba53565b454cd03576e8931ad69fc..bd9fcbd168b084839c15a0105172aaa57234a826 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.9 2002/09/15 05:41:41 robertc Exp $
+#  $Id: Makefile.in,v 1.10 2002/09/15 06:40:39 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -75,6 +75,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index d1cb3af50641c38c58028ae4aad4fee5c60e7e66..1e373b49c30ffbe2a226cb61203bcf2a031d8d20 100644 (file)
@@ -15,7 +15,7 @@
 
 #  Makefile for digest auth helpers in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.14 2002/09/15 05:41:42 robertc Exp $
+#  $Id: Makefile.in,v 1.15 2002/09/15 06:40:40 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 61132f75dc5b96f7dad962fc4b156804747c2e6e..b12bdffa67509d9dc0abc58bc754c7aaa806adca 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.16 2002/09/15 05:41:42 robertc Exp $
+#  $Id: Makefile.in,v 1.17 2002/09/15 06:40:41 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index d0cd3555ddb3e70480a169e6bc0b9c1653b84898..819884153ce72d163c85b4b06f0f7dd9f001f12e 100644 (file)
@@ -15,7 +15,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.4 2002/09/15 05:41:43 robertc Exp $
+#  $Id: Makefile.in,v 1.5 2002/09/15 06:40:42 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index ebb37f5fc17d81ec456284fab6b1b42328eae96a..9dfccda68bef187c72b362eeeea8711820a3182a 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the ip_user external_acl helper by Rodrigo Campos
 #
-#  $Id: Makefile.in,v 1.4 2002/09/15 05:41:44 robertc Exp $
+#  $Id: Makefile.in,v 1.5 2002/09/15 06:40:43 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 9e3870d006bbc20b38c019fbefc2285e6519c3c1..5da9e0dbbed031f689c182787858c2cf4817231a 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.4 2002/09/15 05:41:45 robertc Exp $
+#  $Id: Makefile.in,v 1.5 2002/09/15 06:40:44 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index c3f2014ca04461ac439075f5299bcb8bb1bffa98..d217b0cbf8b4bf66980eea471dcb61f1a7d33d97 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.4 2002/09/15 05:41:45 robertc Exp $
+#  $Id: Makefile.in,v 1.5 2002/09/15 06:40:44 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index d5238c874e65ea643c792641f039420bd5b5d3a0..ac41c9c6b856f330de25e55c6f8ffb8119dbef28 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid LDAP authentication helper
 #
-#  $Id: Makefile.in,v 1.3 2002/09/15 05:41:46 robertc Exp $
+#  $Id: Makefile.in,v 1.4 2002/09/15 06:40:45 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index e1af82fb016541afdd729b72420adefec86d99e6..ffb45feb08c2d97e75511c4e142e140f7fb6ed63 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the wb_group external_acl helper
 #
-#  $Id: Makefile.in,v 1.4 2002/09/15 05:41:47 robertc Exp $
+#  $Id: Makefile.in,v 1.5 2002/09/15 06:40:46 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -75,6 +75,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index efeef125768a3171735f8a554411f48df17c619e..c462aba0ba0c78deab8d11e687743c0cb4284f18 100644 (file)
@@ -15,7 +15,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.17 2002/09/15 05:41:48 robertc Exp $
+#  $Id: Makefile.in,v 1.18 2002/09/15 06:40:47 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index e8cee6fadcd8e0f065dd2625b23164d8f1fc499c..3cbca5385b1f13e0601cb87819f20d9df811e214 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.17 2002/09/15 05:41:49 robertc Exp $
+#  $Id: Makefile.in,v 1.18 2002/09/15 06:40:47 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -75,6 +75,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 48e74a33bd7db04da871054259c39516107291fd..48b671ce320dc31a2dbe6bf5f83e5aabb1429c69 100644 (file)
@@ -71,6 +71,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index f8a9fc614a445ef196fb33f6adaf6dacb76c274c..4cfcc1ee5a2c61b5b0c00499710d6cb9a43c6af9 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.16 2002/09/15 05:41:50 robertc Exp $
+#  $Id: Makefile.in,v 1.17 2002/09/15 06:40:49 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 9f9f9f7cf1b4ca229bb1c940cd685793751924ff..2ff281db2c673fd36cbd1ac00e6dbb085ec23869 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.18 2002/09/15 05:41:51 robertc Exp $
+#  $Id: Makefile.in,v 1.19 2002/09/15 06:40:50 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index c1af077acd22bdab3429a1bf65249d32c6299684..574f5549ff3e22e75cf1888c504b462a603dabd3 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.9 2002/09/15 05:41:53 robertc Exp $
+#  $Id: Makefile.in,v 1.10 2002/09/15 06:40:51 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -75,6 +75,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index f16bbdd1c8cead6699e61898fe9b49a8a3081a69..0641ee01006e5c17e3e5d71bbb6a4e0aa335ee00 100644 (file)
@@ -13,7 +13,7 @@
 
 @SET_MAKE@
 
-# $Id: Makefile.in,v 1.28 2002/09/15 05:41:54 robertc Exp $
+# $Id: Makefile.in,v 1.29 2002/09/15 06:40:52 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -72,6 +72,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index db17ecd6906eb30a7feea7f8fc4431de6c76bc35..52efa94a519686e869d70d8e08d164eb5162b8cc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rfc1035.h,v 1.6 2001/10/08 16:18:31 hno Exp $
+ * $Id: rfc1035.h,v 1.7 2002/09/15 06:40:53 robertc Exp $
  *
  * AUTHOR: Duane Wessels
  *
@@ -51,7 +51,7 @@ typedef struct _rfc1035_rr rfc1035_rr;
 struct _rfc1035_rr {
     char name[RFC1035_MAXHOSTNAMESZ];
     unsigned short type;
-    unsigned short class;
+    unsigned short _class;
     unsigned int ttl;
     unsigned short rdlength;
     char *rdata;
index 48dc95920f79e72f5c6fab36094bed02ef2033c5..c64c5ed148471fa8d4292e9cdd4033c44b88ac8f 100644 (file)
@@ -14,7 +14,7 @@
 @SET_MAKE@
 
 #
-#  $Id: Makefile.in,v 1.64 2002/09/15 05:41:55 robertc Exp $
+#  $Id: Makefile.in,v 1.65 2002/09/15 06:40:54 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -73,6 +73,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 8fe084f54dbd466bbc567de07c72f730e2f0129e..9aa6574d058bbf6aca3266c976ad98217fddcb2e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: rfc1035.c,v 1.26 2002/04/10 21:16:17 hno Exp $
+ * $Id: rfc1035.c,v 1.27 2002/09/15 06:40:54 robertc Exp $
  *
  * Low level DNS protocol routines
  * AUTHOR: Duane Wessels
@@ -211,7 +211,7 @@ rfc1035QuestionPack(char *buf,
     size_t sz,
     const char *name,
     unsigned short type,
-    unsigned short class)
+    unsigned short _class)
 {
     off_t off = 0;
     unsigned short s;
@@ -219,7 +219,7 @@ rfc1035QuestionPack(char *buf,
     s = htons(type);
     memcpy(buf + off, &s, sizeof(s));
     off += sizeof(s);
-    s = htons(class);
+    s = htons(_class);
     memcpy(buf + off, &s, sizeof(s));
     off += sizeof(s);
     assert(off <= sz);
@@ -386,7 +386,7 @@ rfc1035RRUnpack(const char *buf, size_t sz, off_t * off, rfc1035_rr * RR)
     RR->type = ntohs(s);
     memcpy(&s, buf + (*off), sizeof(s));
     (*off) += sizeof(s);
-    RR->class = ntohs(s);
+    RR->_class = ntohs(s);
     memcpy(&i, buf + (*off), sizeof(i));
     (*off) += sizeof(i);
     RR->ttl = ntohl(i);
index 3f73103ecec119d0f382ce77b86215a1fe787d65..07022109a59db44ad87437b47816f6871779ec40 100644 (file)
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 81267c6f53d5118268b1976435c827f8f3bdc069..1f26650d9d38eca2e3dd4c2b0a9c7f47ef94dc34 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 8e98d5d9abf5492727e13f0ecfb5f468f566f99c..9759897b51eb060daec2bf6560dfc6165f2dff65 100644 (file)
@@ -1,7 +1,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.am,v 1.29 2002/09/15 05:41:56 robertc Exp $
+#  $Id: Makefile.am,v 1.30 2002/09/15 06:40:56 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -228,6 +228,7 @@ squid_LDADD = \
        @SSLLIB@ \
        -lmiscutil \
        @XTRA_LIBS@
+squid_DEPENDENCIES = $(top_builddir)/lib/libmiscutil.a
 
 unlinkd_SOURCES = 
 unlinkd_LDADD = unlinkd-daemon.o
index f6afbd6c89b4132567493c1aa35f6e7389ccd8a2..52611fc904a32d053916c633eb05a23c6fc57aa9 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.241 2002/09/15 05:41:56 robertc Exp $
+#  $Id: Makefile.in,v 1.242 2002/09/15 06:40:56 robertc Exp $
 #
 #  Uncomment and customize the following to suit your needs:
 #
@@ -77,6 +77,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
@@ -331,6 +332,7 @@ squid_LDADD = \
        -lmiscutil \
        @XTRA_LIBS@
 
+squid_DEPENDENCIES = $(top_builddir)/lib/libmiscutil.a
 
 unlinkd_SOURCES = 
 unlinkd_LDADD = unlinkd-daemon.o
@@ -500,7 +502,6 @@ nodist_squid_OBJECTS = repl_modules.$(OBJEXT) auth_modules.$(OBJEXT) \
        store_modules.$(OBJEXT) globals.$(OBJEXT) \
        string_arrays.$(OBJEXT)
 squid_OBJECTS = $(am_squid_OBJECTS) $(nodist_squid_OBJECTS)
-squid_DEPENDENCIES =
 squid_LDFLAGS =
 am_squidclient_OBJECTS = client.$(OBJEXT)
 squidclient_OBJECTS = $(am_squidclient_OBJECTS)
index 9aa4188c198369bb1c5fa32f3aa779ea8cc89813..1ddd404c363d00d044e17f69290302d4451019b1 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: access_log.cc,v 1.74 2002/06/16 11:24:00 hno Exp $
+ * $Id: access_log.cc,v 1.75 2002/09/15 06:40:56 robertc Exp $
  *
  * DEBUG: section 46    Access Log
  * AUTHOR: Duane Wessels
@@ -250,7 +250,7 @@ accessLogSquid(AccessLogEntry * al)
        log_tags[al->cache.code],
        al->http.code,
        (long int) al->cache.size,
-       al->private.method_str,
+       al->_private.method_str,
        al->url,
        user && *user ? user : dash_str,
        al->hier.ping.timedout ? "TIMEOUT_" : "",
@@ -276,7 +276,7 @@ accessLogCommon(AccessLogEntry * al)
        user2 ? user2 : dash_str,
        user1 ? user1 : dash_str,
        mkhttpdlogtime(&squid_curtime),
-       al->private.method_str,
+       al->_private.method_str,
        al->url,
        al->http.version.major, al->http.version.minor,
        al->http.code,
@@ -297,9 +297,9 @@ accessLogLog(AccessLogEntry * al)
     if (!al->http.content_type || *al->http.content_type == '\0')
        al->http.content_type = dash_str;
     if (al->icp.opcode)
-       al->private.method_str = icp_opcode_str[al->icp.opcode];
+       al->_private.method_str = icp_opcode_str[al->icp.opcode];
     else
-       al->private.method_str = RequestMethodStr[al->http.method];
+       al->_private.method_str = RequestMethodStr[al->http.method];
     if (al->hier.host[0] == '\0')
        xstrncpy(al->hier.host, dash_str, SQUIDHOSTNAMELEN);
 
index e02c51891a61ffb4dca0f777aabeaee4a7c1ab41..2ea7f13407caf98b0b5832502224d328d6d31c6c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: acl.cc,v 1.284 2002/09/07 15:12:55 hno Exp $
+ * $Id: acl.cc,v 1.285 2002/09/15 06:40:56 robertc Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -949,8 +949,8 @@ aclParseAccessLine(acl_access ** head)
        cbdataFree(A);
        return;
     }
-    aclParseAclList(&A->acl_list);
-    if (A->acl_list == NULL) {
+    aclParseAclList(&A->aclList);
+    if (A->aclList == NULL) {
        debug(28, 0) ("%s line %d: %s\n",
            cfg_filename, config_lineno, config_input_line);
        debug(28, 0) ("aclParseAccessLine: Access line contains no ACL's, skipping\n");
@@ -991,7 +991,7 @@ aclParseAclList(acl_list ** head)
            memFree(L, MEM_ACL_LIST);
            continue;
        }
-       L->acl = a;
+       L->_acl = a;
        *Tail = L;
        Tail = &L->next;
     }
@@ -1683,10 +1683,10 @@ int
 aclMatchAclList(const acl_list * list, aclCheck_t * checklist)
 {
     while (list) {
-       AclMatchedName = list->acl->name;
+       AclMatchedName = list->_acl->name;
        debug(28, 3) ("aclMatchAclList: checking %s%s\n",
-           list->op ? null_string : "!", list->acl->name);
-       if (aclMatchAcl(list->acl, checklist) != list->op) {
+           list->op ? null_string : "!", list->_acl->name);
+       if (aclMatchAcl(list->_acl, checklist) != list->op) {
            debug(28, 3) ("aclMatchAclList: returning 0\n");
            return 0;
        }
@@ -1712,7 +1712,7 @@ aclCheckFast(const acl_access * A, aclCheck_t * checklist)
     debug(28, 5) ("aclCheckFast: list: %p\n", A);
     while (A) {
        allow = A->allow;
-       if (aclMatchAclList(A->acl_list, checklist)) {
+       if (aclMatchAclList(A->aclList, checklist)) {
            aclCheckCleanup(checklist);
            return allow == ACCESS_ALLOWED;
        }
@@ -1733,19 +1733,19 @@ aclCheck(aclCheck_t * checklist)
     /* NOTE: This holds a cbdata reference to the current access_list
      * entry, not the whole list.
      */
-    while ((A = checklist->access_list) != NULL) {
+    while ((A = checklist->accessList) != NULL) {
        /*
         * If the _acl_access is no longer valid (i.e. its been
         * freed because of a reconfigure), then bail on this
         * access check.  For now, return ACCESS_DENIED.
         */
        if (!cbdataReferenceValid(A)) {
-           cbdataReferenceDone(checklist->access_list);
+           cbdataReferenceDone(checklist->accessList);
            break;
        }
        debug(28, 3) ("aclCheck: checking '%s'\n", A->cfgline);
        allow = A->allow;
-       match = aclMatchAclList(A->acl_list, checklist);
+       match = aclMatchAclList(A->aclList, checklist);
        if (checklist->state[ACL_DST_IP] == ACL_LOOKUP_NEEDED) {
            checklist->state[ACL_DST_IP] = ACL_LOOKUP_PENDING;
            ipcache_nbgethostbyname(checklist->request->host,
@@ -1815,14 +1815,14 @@ aclCheck(aclCheck_t * checklist)
         */
        if (match) {
            debug(28, 3) ("aclCheck: match found, returning %d\n", allow);
-           cbdataReferenceDone(checklist->access_list);        /* A */
+           cbdataReferenceDone(checklist->accessList);         /* A */
            aclCheckCallback(checklist, allow);
            return;
        }
        /*
         * Reference the next _acl_access entry
         */
-       checklist->access_list = cbdataReference(A->next);
+       checklist->accessList = cbdataReference(A->next);
        cbdataReferenceDone(A);
     }
     debug(28, 3) ("aclCheck: NO match found, returning %d\n", allow != ACCESS_DENIED ? ACCESS_DENIED : ACCESS_ALLOWED);
@@ -1954,7 +1954,7 @@ aclChecklistCreate(const acl_access * A, request_t * request, const char *ident)
     int i;
     aclCheck_t *checklist;
     checklist = cbdataAlloc(aclCheck_t);
-    checklist->access_list = cbdataReference(A);
+    checklist->accessList = cbdataReference(A);
     if (request != NULL) {
        checklist->request = requestLink(request);
        checklist->src_addr = request->client_addr;
@@ -2127,7 +2127,7 @@ aclDestroyAccessList(acl_access ** list)
     for (l = *list; l; l = next) {
        debug(28, 3) ("aclDestroyAccessList: '%s'\n", l->cfgline);
        next = l->next;
-       aclDestroyAclList(&l->acl_list);
+       aclDestroyAclList(&l->aclList);
        safe_free(l->cfgline);
        cbdataFree(l);
     }
@@ -2530,10 +2530,10 @@ aclPurgeMethodInUse(acl_access * a)
 {
     acl_list *b;
     for (; a; a = a->next) {
-       for (b = a->acl_list; b; b = b->next) {
-           if (ACL_METHOD != b->acl->type)
+       for (b = a->aclList; b; b = b->next) {
+           if (ACL_METHOD != b->_acl->type)
                continue;
-           if (aclMatchInteger(b->acl->data, METHOD_PURGE))
+           if (aclMatchInteger(b->_acl->data, METHOD_PURGE))
                return 1;
        }
     }
index 8a89924a99a121c2d824f26e8b3a5b61221e37ed..42faeafc5ab2e920d5337f9ad9a3f1a0b98c565b 100644 (file)
@@ -15,7 +15,7 @@
 
 #  Makefile for authentication modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.13 2002/09/15 05:41:59 robertc Exp $
+#  $Id: Makefile.in,v 1.14 2002/09/15 06:41:05 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 7944d653923b87efee5cc1d4f6ef0c93cc3dcae0..6bf541aab38490579d37f6ebad61d89c176b42fe 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 4471b19e0306378c63020cc5c824b8dfa8cdb23c..ba5c732b13bcdcdd31d518f39d8c6db0053ff280 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 39f3150c25259d9203ccaaf021d0a82d43be7155..733833feaab7e7d6c498c47acfd3e1154f1d0e4f 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 0039f50148af1f27091ca05bc374f3e7170910db..0a487e2c3249a2d2d01aa76448cea887d1792b26 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.414 2002/09/07 15:12:56 hno Exp $
+ * $Id: cache_cf.cc,v 1.415 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -453,11 +453,11 @@ configDoConfigure(void)
        debug(22, 1) ("WARNING: HTTP requires the use of Via\n");
 #endif
     if (Config.Wais.relayHost) {
-       if (Config.Wais.peer)
-           cbdataFree(Config.Wais.peer);
-       Config.Wais.peer = cbdataAlloc(peer);
-       Config.Wais.peer->host = xstrdup(Config.Wais.relayHost);
-       Config.Wais.peer->http_port = Config.Wais.relayPort;
+       if (Config.Wais._peer)
+           cbdataFree(Config.Wais._peer);
+       Config.Wais._peer = cbdataAlloc(peer);
+       Config.Wais._peer->host = xstrdup(Config.Wais.relayHost);
+       Config.Wais._peer->http_port = Config.Wais.relayPort;
     }
     if (aclPurgeMethodInUse(Config.accessList.http))
        Config2.onoff.enable_purge = 1;
@@ -634,7 +634,7 @@ dump_acl_list(StoreEntry * entry, acl_list * head)
     for (l = head; l; l = l->next) {
        storeAppendPrintf(entry, " %s%s",
            l->op ? null_string : "!",
-           l->acl->name);
+           l->_acl->name);
     }
 }
 
@@ -646,7 +646,7 @@ dump_acl_access(StoreEntry * entry, const char *name, acl_access * head)
        storeAppendPrintf(entry, "%s %s",
            name,
            l->allow ? "Allow" : "Deny");
-       dump_acl_list(entry, l->acl_list);
+       dump_acl_list(entry, l->aclList);
        storeAppendPrintf(entry, "\n");
     }
 }
@@ -702,7 +702,7 @@ dump_acl_address(StoreEntry * entry, const char *name, acl_address * head)
            storeAppendPrintf(entry, "%s %s", name, inet_ntoa(l->addr));
        else
            storeAppendPrintf(entry, "%s autoselect", name);
-       dump_acl_list(entry, l->acl_list);
+       dump_acl_list(entry, l->aclList);
        storeAppendPrintf(entry, "\n");
     }
 }
@@ -711,7 +711,7 @@ static void
 freed_acl_address(void *data)
 {
     acl_address *l = data;
-    aclDestroyAclList(&l->acl_list);
+    aclDestroyAclList(&l->aclList);
 }
 
 static void
@@ -722,7 +722,7 @@ parse_acl_address(acl_address ** head)
     CBDATA_INIT_TYPE_FREECB(acl_address, freed_acl_address);
     l = cbdataAlloc(acl_address);
     parse_address(&l->addr);
-    aclParseAclList(&l->acl_list);
+    aclParseAclList(&l->aclList);
     while (*tail)
        tail = &(*tail)->next;
     *tail = l;
@@ -749,7 +749,7 @@ dump_acl_tos(StoreEntry * entry, const char *name, acl_tos * head)
            storeAppendPrintf(entry, "%s 0x%02X", name, l->tos);
        else
            storeAppendPrintf(entry, "%s none", name);
-       dump_acl_list(entry, l->acl_list);
+       dump_acl_list(entry, l->aclList);
        storeAppendPrintf(entry, "\n");
     }
 }
@@ -758,7 +758,7 @@ static void
 freed_acl_tos(void *data)
 {
     acl_tos *l = data;
-    aclDestroyAclList(&l->acl_list);
+    aclDestroyAclList(&l->aclList);
 }
 
 static void
@@ -778,7 +778,7 @@ parse_acl_tos(acl_tos ** head)
     CBDATA_INIT_TYPE_FREECB(acl_tos, freed_acl_tos);
     l = cbdataAlloc(acl_tos);
     l->tos = tos;
-    aclParseAclList(&l->acl_list);
+    aclParseAclList(&l->aclList);
     while (*tail)
        tail = &(*tail)->next;
     *tail = l;
@@ -2068,10 +2068,10 @@ dump_body_size_t(StoreEntry * entry, const char *name, dlink_list bodylist)
        while (head != NULL) {
            storeAppendPrintf(entry, "%s %ld %s", name, (long int) bs->maxsize,
                head->allow ? "Allow" : "Deny");
-           for (l = head->acl_list; l != NULL; l = l->next) {
+           for (l = head->aclList; l != NULL; l = l->next) {
                storeAppendPrintf(entry, " %s%s",
                    l->op ? null_string : "!",
-                   l->acl->name);
+                   l->_acl->name);
            }
            storeAppendPrintf(entry, "\n");
            head = head->next;
@@ -2519,4 +2519,3 @@ strtokFile(void)
        return t;
     }
 }
-
index 58fb0ff04f9812fa27b70ff986f0a3b6873275bb..f7d10fb32e8e3c6214492a9e869dac39496f1fb6 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.591 2002/09/15 05:41:56 robertc Exp $
+ * $Id: client_side.cc,v 1.592 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -228,13 +228,13 @@ clientUpdateCounters(clientHttpRequest * http)
     ping_data *i;
     HierarchyLogEntry *H;
     statCounter.client_http.requests++;
-    if (isTcpHit(http->log_type))
+    if (isTcpHit(http->logType))
        statCounter.client_http.hits++;
-    if (http->log_type == LOG_TCP_HIT)
+    if (http->logType == LOG_TCP_HIT)
        statCounter.client_http.disk_hits++;
-    else if (http->log_type == LOG_TCP_MEM_HIT)
+    else if (http->logType == LOG_TCP_MEM_HIT)
        statCounter.client_http.mem_hits++;
-    if (http->request->err_type != ERR_NONE)
+    if (http->request->errType != ERR_NONE)
        statCounter.client_http.errors++;
     statHistCount(&statCounter.client_http.all_svc_time, svc_time);
     /*
@@ -243,7 +243,7 @@ clientUpdateCounters(clientHttpRequest * http)
      * LOG_TCP_REFRESH_FAIL_HIT because its not really a cache hit
      * (we *tried* to validate it, but failed).
      */
-    switch (http->log_type) {
+    switch (http->logType) {
     case LOG_TCP_REFRESH_HIT:
        statHistCount(&statCounter.client_http.nh_svc_time, svc_time);
        break;
@@ -303,10 +303,10 @@ httpRequestFree(void *data)
        /* the ICP check here was erroneous - storeReleaseRequest was always called if entry was valid 
         */
     }
-    assert(http->log_type < LOG_TYPE_MAX);
+    assert(http->logType < LOG_TYPE_MAX);
     if (http->entry)
        mem = http->entry->mem_obj;
-    if (http->out.size || http->log_type) {
+    if (http->out.size || http->logType) {
        http->al.icp.opcode = ICP_INVALID;
        http->al.url = http->log_uri;
        debug(33, 9) ("httpRequestFree: al.url='%s'\n", http->al.url);
@@ -316,7 +316,7 @@ httpRequestFree(void *data)
        }
        http->al.cache.caddr = conn ? conn->log_addr : no_addr;
        http->al.cache.size = http->out.size;
-       http->al.cache.code = http->log_type;
+       http->al.cache.code = http->logType;
        http->al.cache.msec = tvSubMsec(http->start, current_time);
        if (request) {
            Packer p;
@@ -343,11 +343,11 @@ httpRequestFree(void *data)
        accessLogLog(&http->al);
        clientUpdateCounters(http);
        if (conn)
-           clientdbUpdate(conn->peer.sin_addr, http->log_type, PROTO_HTTP,
+           clientdbUpdate(conn->peer.sin_addr, http->logType, PROTO_HTTP,
                http->out.size);
     }
     if (request)
-       checkFailureRatio(request->err_type, http->al.hier.code);
+       checkFailureRatio(request->errType, http->al.hier.code);
     safe_free(http->uri);
     safe_free(http->log_uri);
     safe_free(http->al.headers.request);
@@ -656,7 +656,7 @@ clientWriteComplete(int fd, char *bufnotused, size_t size, int errflag, void *da
        fd, (long int) size, errflag, (long int) http->out.size, entry ? objectLen(entry) : 0);
     if (size > 0 && fd > -1) {
        kb_incr(&statCounter.client_http.kbytes_out, size);
-       if (isTcpHit(http->log_type))
+       if (isTcpHit(http->logType))
            kb_incr(&statCounter.client_http.hit_kbytes_out, size);
     }
     if (errflag) {
index a4c43872b12c3c460fe14480bc354ad24c9bbb8c..966c82ac473308bb3d46a4839805cee7aa41e0d2 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side_reply.cc,v 1.1 2002/09/15 05:41:56 robertc Exp $
+ * $Id: client_side_reply.cc,v 1.2 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 88    Client-side Reply Routines
  * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
@@ -128,7 +128,7 @@ clientSetReplyToError(void *data,
     if (status == HTTP_NOT_IMPLEMENTED && context->http->request)
        /* prevent confusion over whether we default to persistent or not */
        context->http->request->flags.proxy_keepalive = 0;
-    context->http->al.http.code = errstate->http_status;
+    context->http->al.http.code = errstate->httpStatus;
 
     context->http->entry =
        clientCreateStoreEntry(context, method, null_request_flags);
@@ -342,7 +342,7 @@ clientHandleIMSReply(void *data, char *buf, ssize_t size)
        debug(88, 3) ("clientHandleIMSReply: ABORTED '%s'\n", url);
        /* We have an existing entry, but failed to validate it */
        /* Its okay to send the old one anyway */
-       http->log_type = LOG_TCP_REFRESH_FAIL_HIT;
+       http->logType = LOG_TCP_REFRESH_FAIL_HIT;
        clientRemoveStoreReference(context, &context->sc, &entry);
        /* Get the old request back */
        clientReplyContextRestoreState(context, http);
@@ -358,7 +358,7 @@ clientHandleIMSReply(void *data, char *buf, ssize_t size)
                ("clientHandleIMSReply: Reply is too large '%s', using old entry\n",
                url);
            /* use old entry, this repeats the code abovez */
-           http->log_type = LOG_TCP_REFRESH_FAIL_HIT;
+           http->logType = LOG_TCP_REFRESH_FAIL_HIT;
            clientRemoveStoreReference(context, &context->sc, &entry);
            entry = http->entry = http->old_entry;
            /* Get the old request back */
@@ -379,7 +379,7 @@ clientHandleIMSReply(void *data, char *buf, ssize_t size)
         * headers have been loaded from disk. */
        clientStreamNode *next = context->http->client_stream.head->next->data;
        oldentry = http->old_entry;
-       http->log_type = LOG_TCP_REFRESH_HIT;
+       http->logType = LOG_TCP_REFRESH_HIT;
        if (oldentry->mem_obj->request == NULL) {
            oldentry->mem_obj->request = requestLink(mem->request);
            unlink_request = 1;
@@ -404,12 +404,12 @@ clientHandleIMSReply(void *data, char *buf, ssize_t size)
        clientSendMoreData(context, next->readbuf, context->reqsize);
     } else {
        /* the client can handle this reply, whatever it is */
-       http->log_type = LOG_TCP_REFRESH_MISS;
+       http->logType = LOG_TCP_REFRESH_MISS;
        if (HTTP_NOT_MODIFIED == mem->reply->sline.status) {
            httpReplyUpdateOnNotModified(http->old_entry->mem_obj->reply,
                mem->reply);
            storeTimestampsSet(http->old_entry);
-           http->log_type = LOG_TCP_REFRESH_HIT;
+           http->logType = LOG_TCP_REFRESH_HIT;
        }
        clientRemoveStoreReference(context, &context->old_sc, &http->old_entry);
        /* here the data to send is the data we just recieved */
@@ -446,7 +446,7 @@ clientCacheHit(void *data, char *buf, ssize_t size)
     } else if (size < 0) {
        /* swap in failure */
        debug(88, 3) ("clientCacheHit: swapin failure for %s\n", http->uri);
-       http->log_type = LOG_TCP_SWAPFAIL_MISS;
+       http->logType = LOG_TCP_SWAPFAIL_MISS;
        clientRemoveStoreReference(context, &context->sc, &http->entry);
        clientProcessMiss(context);
        return;
@@ -483,7 +483,7 @@ clientCacheHit(void *data, char *buf, ssize_t size)
     /*
      * Got the headers, now grok them
      */
-    assert(http->log_type == LOG_TCP_HIT);
+    assert(http->logType == LOG_TCP_HIT);
     switch (varyEvaluateMatch(e, r)) {
     case VARY_NONE:
        /* No variance detected. Continue as normal */
@@ -517,7 +517,7 @@ clientCacheHit(void *data, char *buf, ssize_t size)
        return;
     }
     if (storeCheckNegativeHit(e)) {
-       http->log_type = LOG_TCP_NEGATIVE_HIT;
+       http->logType = LOG_TCP_NEGATIVE_HIT;
        clientSendMoreData(context, buf, size);
     } else if (r->method == METHOD_HEAD) {
        /*
@@ -526,7 +526,7 @@ clientCacheHit(void *data, char *buf, ssize_t size)
         * request, nor can we return 304.
         */
        if (e->mem_status == IN_MEMORY)
-           http->log_type = LOG_TCP_MEM_HIT;
+           http->logType = LOG_TCP_MEM_HIT;
        clientSendMoreData(context, buf, size);
     } else if (refreshCheckHTTP(e, r) && !http->flags.internal) {
        debug(88, 5) ("clientCacheHit: in refreshCheck() block\n");
@@ -546,28 +546,28 @@ clientCacheHit(void *data, char *buf, ssize_t size)
             * Previous reply didn't have a Last-Modified header,
             * we cannot revalidate it.
             */
-           http->log_type = LOG_TCP_MISS;
+           http->logType = LOG_TCP_MISS;
            clientProcessMiss(context);
        } else if (r->flags.nocache) {
            /*
             * This did not match a refresh pattern that overrides no-cache
             * we should honour the client no-cache header.
             */
-           http->log_type = LOG_TCP_CLIENT_REFRESH_MISS;
+           http->logType = LOG_TCP_CLIENT_REFRESH_MISS;
            clientProcessMiss(context);
        } else if (r->protocol == PROTO_HTTP) {
            /*
             * Object needs to be revalidated
             * XXX This could apply to FTP as well, if Last-Modified is known.
             */
-           http->log_type = LOG_TCP_REFRESH_MISS;
+           http->logType = LOG_TCP_REFRESH_MISS;
            clientProcessExpired(context);
        } else {
            /*
             * We don't know how to re-validate other protocols. Handle
             * them as if the object has expired.
             */
-           http->log_type = LOG_TCP_MISS;
+           http->logType = LOG_TCP_MISS;
            clientProcessMiss(context);
        }
     } else if (r->flags.ims) {
@@ -577,16 +577,16 @@ clientCacheHit(void *data, char *buf, ssize_t size)
        if (mem->reply->sline.status != HTTP_OK) {
            debug(88, 4) ("clientCacheHit: Reply code %d != 200\n",
                mem->reply->sline.status);
-           http->log_type = LOG_TCP_MISS;
+           http->logType = LOG_TCP_MISS;
            clientProcessMiss(context);
        } else if (modifiedSince(e, http->request)) {
-           http->log_type = LOG_TCP_IMS_HIT;
+           http->logType = LOG_TCP_IMS_HIT;
            clientSendMoreData(context, buf, size);
        } else {
            clientStreamNode *next;
            time_t timestamp = e->timestamp;
            MemBuf mb = httpPacked304Reply(e->mem_obj->reply);
-           http->log_type = LOG_TCP_IMS_HIT;
+           http->logType = LOG_TCP_IMS_HIT;
            clientRemoveStoreReference(context, &context->sc, &http->entry);
            http->entry = e =
                clientCreateStoreEntry(context, http->request->method,
@@ -616,9 +616,9 @@ clientCacheHit(void *data, char *buf, ssize_t size)
         * plain ol' cache hit
         */
        if (e->mem_status == IN_MEMORY)
-           http->log_type = LOG_TCP_MEM_HIT;
+           http->logType = LOG_TCP_MEM_HIT;
        else if (Config.onoff.offline)
-           http->log_type = LOG_TCP_OFFLINE_HIT;
+           http->logType = LOG_TCP_OFFLINE_HIT;
        clientSendMoreData(context, buf, size);
     }
 }
@@ -643,7 +643,7 @@ clientProcessMiss(clientReplyContext * context)
        if (EBIT_TEST(http->entry->flags, ENTRY_SPECIAL)) {
            debug(88, 0) ("clientProcessMiss: miss on a special object (%s).\n",
                url);
-           debug(88, 0) ("\tlog_type = %s\n", log_tags[http->log_type]);
+           debug(88, 0) ("\tlog_type = %s\n", log_tags[http->logType]);
            storeEntryDump(http->entry, 1);
        }
        clientRemoveStoreReference(context, &context->sc, &http->entry);
@@ -684,7 +684,7 @@ clientProcessMiss(clientReplyContext * context)
        if (http->redirect.status) {
            HttpReply *rep = httpReplyCreate();
 #if LOG_TCP_REDIRECTS
-           http->log_type = LOG_TCP_REDIRECT;
+           http->logType = LOG_TCP_REDIRECT;
 #endif
            storeReleaseRequest(http->entry);
            httpRedirectReply(rep, http->redirect.status,
@@ -743,7 +743,7 @@ clientPurgeRequest(clientReplyContext * context)
        Config2.onoff.enable_purge);
     next = http->client_stream.head->next->data;
     if (!Config2.onoff.enable_purge) {
-       http->log_type = LOG_TCP_DENIED;
+       http->logType = LOG_TCP_DENIED;
        err =
            clientBuildError(ERR_ACCESS_DENIED, HTTP_FORBIDDEN, NULL,
            &http->conn->peer.sin_addr, http->request);
@@ -775,7 +775,7 @@ clientPurgeRequest(clientReplyContext * context)
            storeCreateMemObject(http->entry, http->uri, http->log_uri);
            http->entry->mem_obj->method = http->request->method;
            context->sc = storeClientListAdd(http->entry, context);
-           http->log_type = LOG_TCP_HIT;
+           http->logType = LOG_TCP_HIT;
            context->reqofs = 0;
            storeClientCopy(context->sc, http->entry,
                http->out.offset,
@@ -783,7 +783,7 @@ clientPurgeRequest(clientReplyContext * context)
            return;
        }
     }
-    http->log_type = LOG_TCP_MISS;
+    http->logType = LOG_TCP_MISS;
     /* Release the cached URI */
     entry = storeGetPublicByRequestMethod(http->request, METHOD_GET);
     if (entry) {
@@ -1059,7 +1059,7 @@ static void
 clientBuildReplyHeader(clientHttpRequest * http, HttpReply * rep)
 {
     HttpHeader *hdr = &rep->header;
-    int is_hit = isTcpHit(http->log_type);
+    int is_hit = isTcpHit(http->logType);
     request_t *request = http->request;
 #if DONT_FILTER_THESE
     /* but you might want to if you run Squid as an HTTP accelerator */
@@ -1288,9 +1288,9 @@ clientGetMoreData(clientStreamNode * this, clientHttpRequest * http)
            return;
        }
        /* continue forwarding, not finished yet. */
-       http->log_type = LOG_TCP_MISS;
+       http->logType = LOG_TCP_MISS;
     } else
-       http->log_type = clientIdentifyStoreObject(http);
+       http->logType = clientIdentifyStoreObject(http);
     /* We still have to do store logic processing - vary, cache hit etc */
     if (context->http->entry != NULL) {
        /* someone found the object in the cache for us */
@@ -1312,14 +1312,14 @@ clientGetMoreData(clientStreamNode * this, clientHttpRequest * http)
 #if DELAY_POOLS
        delaySetStoreClient(context->http->sc, delayClient(context->http));
 #endif
-       assert(context->http->log_type == LOG_TCP_HIT);
+       assert(context->http->logType == LOG_TCP_HIT);
        context->reqofs = 0;
        assert(http->out.offset == http->out.size && http->out.offset == 0);
        storeClientCopy(context->sc, http->entry,
            context->reqofs,
            next->readlen, next->readbuf, clientCacheHit, context);
     } else {
-       /* MISS CASE, http->log_type is already set! */
+       /* MISS CASE, http->logType is already set! */
        clientProcessMiss(context);
     }
 }
index 82d94b4019019ff2da40040997b722629d26c08a..ef5e613261ff34780d9693940cbc888d6e087f53 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side_request.cc,v 1.1 2002/09/15 05:41:57 robertc Exp $
+ * $Id: client_side_request.cc,v 1.2 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 85    Client-side Request Routines
  * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c)
@@ -263,7 +263,7 @@ clientAccessCheckDone(int answer, void *data)
         * just below.  Pedro Ribeiro <pribeiro@isel.pt>
         */
        page_id = aclGetDenyInfoPage(&Config.denyInfoList, AclMatchedName);
-       http->log_type = LOG_TCP_DENIED;
+       http->logType = LOG_TCP_DENIED;
        if (answer == ACCESS_REQ_PROXY_AUTH || aclIsProxyAuth(AclMatchedName)) {
            if (!http->flags.accel) {
                /* Proxy authorisation needed */
@@ -582,14 +582,14 @@ clientProcessRequest(clientHttpRequest * http)
     debug(85, 4) ("clientProcessRequest: %s '%s'\n",
        RequestMethodStr[r->method], http->uri);
     if (r->method == METHOD_CONNECT) {
-       http->log_type = LOG_TCP_MISS;
+       http->logType = LOG_TCP_MISS;
        sslStart(http, &http->out.size, &http->al.http.code);
        return;
     } else {
-       http->log_type = LOG_TAG_NONE;
+       http->logType = LOG_TAG_NONE;
     }
     debug(85, 4) ("clientProcessRequest: %s for '%s'\n",
-       log_tags[http->log_type], http->uri);
+       log_tags[http->logType], http->uri);
     /* no one should have touched this */
     assert(http->out.offset == 0);
     /* Use the Stream Luke */
index 88d725c05f9640ecb8b83d6c67f49a98886e2ef6..30b3a2177f98eb848c0b76331110e2036f79e9e4 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.333 2002/09/15 06:23:28 adrian Exp $
+ * $Id: comm.cc,v 1.334 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -563,8 +563,8 @@ commCallCloseHandlers(int fd)
     fde *F = &fd_table[fd];
     close_handler *ch;
     debug(5, 5) ("commCallCloseHandlers: FD %d\n", fd);
-    while ((ch = F->close_handler) != NULL) {
-       F->close_handler = ch->next;
+    while ((ch = F->closeHandler) != NULL) {
+       F->closeHandler = ch->next;
        debug(5, 5) ("commCallCloseHandlers: ch->handler=%p\n", ch->handler);
        if (cbdataReferenceValid(ch->data))
            ch->handler(fd, ch->data);
@@ -704,12 +704,12 @@ comm_add_close_handler(int fd, PF * handler, void *data)
     close_handler *c;
     debug(5, 5) ("comm_add_close_handler: FD %d, handler=%p, data=%p\n",
        fd, handler, data);
-    for (c = fd_table[fd].close_handler; c; c = c->next)
+    for (c = fd_table[fd].closeHandler; c; c = c->next)
        assert(c->handler != handler || c->data != data);
     new->handler = handler;
     new->data = cbdataReference(data);
-    new->next = fd_table[fd].close_handler;
-    fd_table[fd].close_handler = new;
+    new->next = fd_table[fd].closeHandler;
+    fd_table[fd].closeHandler = new;
 }
 
 void
@@ -720,7 +720,7 @@ comm_remove_close_handler(int fd, PF * handler, void *data)
     /* Find handler in list */
     debug(5, 5) ("comm_remove_close_handler: FD %d, handler=%p, data=%p\n",
        fd, handler, data);
-    for (p = fd_table[fd].close_handler; p != NULL; last = p, p = p->next)
+    for (p = fd_table[fd].closeHandler; p != NULL; last = p, p = p->next)
        if (p->handler == handler && p->data == data)
            break;              /* This is our handler */
     assert(p != NULL);
@@ -728,7 +728,7 @@ comm_remove_close_handler(int fd, PF * handler, void *data)
     if (last)
        last->next = p->next;
     else
-       fd_table[fd].close_handler = p->next;
+       fd_table[fd].closeHandler = p->next;
     cbdataReferenceDone(p->data);
     memPoolFree(conn_close_pool, p);
 }
index 866a73ef9ccde4b395c6a64a6c043c1631c1853a..a507cc75a4c34af5ca3c3ef1a68813cfff067fe2 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm_poll.cc,v 1.4 2002/09/15 06:23:28 adrian Exp $
+ * $Id: comm_poll.cc,v 1.5 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 5     Socket Functions
  *
@@ -475,15 +475,15 @@ comm_select(int msec)
                    F->timeout_handler,
                    F->read_handler,
                    F->write_handler);
-               for (ch = F->close_handler; ch; ch = ch->next)
+               for (ch = F->closeHandler; ch; ch = ch->next)
                    debug(5, 0) (" close handler: %p\n", ch->handler);
-               if (F->close_handler) {
+               if (F->closeHandler) {
                    commCallCloseHandlers(fd);
                } else if (F->timeout_handler) {
                    debug(5, 0) ("comm_poll: Calling Timeout Handler\n");
                    F->timeout_handler(fd, F->timeout_data);
                }
-               F->close_handler = NULL;
+               F->closeHandler = NULL;
                F->timeout_handler = NULL;
                F->read_handler = NULL;
                F->write_handler = NULL;
index bda2c501a7dcdf684da06687aebd7fa7e6f22adc..e87190f69be9d99593b32ba0f5ee067725e6dac1 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: errorpage.cc,v 1.176 2002/09/15 06:23:28 adrian Exp $
+ * $Id: errorpage.cc,v 1.177 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 4     Error Generation
  * AUTHOR: Duane Wessels
@@ -266,7 +266,7 @@ errorCon(err_type type, http_status status)
     err = cbdataAlloc(ErrorState);
     err->page_id = type;       /* has to be reset manually if needed */
     err->type = type;
-    err->http_status = status;
+    err->httpStatus = status;
     return err;
 }
 
@@ -358,7 +358,7 @@ errorSend(int fd, ErrorState * err)
      * the client side for logging and error tracking.
      */
     if (err->request)
-       err->request->err_type = err->type;
+       err->request->errType = err->type;
     /* moved in front of errorBuildBuf @?@ */
     err->flags.flag_cbdata = 1;
     rep = errorBuildReply(err);
@@ -681,10 +681,10 @@ errorBuildReply(ErrorState * err)
        char *quoted_url = rfc1738_escape_part(errorConvert('u', err));
        httpReplySetHeaders(rep, version, HTTP_MOVED_TEMPORARILY, NULL, "text/html", 0, 0, squid_curtime);
        httpHeaderPutStrf(&rep->header, HDR_LOCATION, name, quoted_url);
-       httpHeaderPutStrf(&rep->header, HDR_X_SQUID_ERROR, "%d %s\n", err->http_status, "Access Denied");
+       httpHeaderPutStrf(&rep->header, HDR_X_SQUID_ERROR, "%d %s\n", err->httpStatus, "Access Denied");
     } else {
        MemBuf content = errorBuildContent(err);
-       httpReplySetHeaders(rep, version, err->http_status, NULL, "text/html", content.size, 0, squid_curtime);
+       httpReplySetHeaders(rep, version, err->httpStatus, NULL, "text/html", content.size, 0, squid_curtime);
        /*
         * include some information for downstream caches. Implicit
         * replaceable content. This isn't quite sufficient. xerrno is not
index 5e1698bcb57709768aef0882bef11ebd01d0bf6f..71de9d65a3dd1afe5ab25991129dbbf689d594c8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: forward.cc,v 1.86 2002/09/15 06:23:29 adrian Exp $
+ * $Id: forward.cc,v 1.87 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 17    Request Forwarding
  * AUTHOR: Duane Wessels
@@ -66,13 +66,13 @@ fwdStateServerPeer(FwdState * fwdState)
        return NULL;
     if (NULL == fwdState->servers)
        return NULL;
-    return fwdState->servers->peer;
+    return fwdState->servers->_peer;
 }
 
 static void
 fwdServerFree(FwdServer * fs)
 {
-    cbdataReferenceDone(fs->peer);
+    cbdataReferenceDone(fs->_peer);
     memFree(fs, MEM_FWD_SERVER);
 }
 
@@ -159,7 +159,7 @@ fwdServerClosed(int fd, void *data)
            FwdServer **T, *T2 = NULL;
            fwdState->servers = fs->next;
            for (T = &fwdState->servers; *T; T2 = *T, T = &(*T)->next);
-           if (T2 && T2->peer) {
+           if (T2 && T2->_peer) {
                /* cycle */
                *T = fs;
                fs->next = NULL;
@@ -193,7 +193,7 @@ fwdConnectDone(int server_fd, comm_err_t status, void *data)
         * a direct connection.  If DNS lookup fails when trying
         * a neighbor cache, we may want to retry another option.
         */
-       if (NULL == fs->peer)
+       if (NULL == fs->_peer)
            fwdState->flags.dont_retry = 1;
        debug(17, 4) ("fwdConnectDone: Unknown host: %s\n",
            request->host);
@@ -201,39 +201,39 @@ fwdConnectDone(int server_fd, comm_err_t status, void *data)
        err->dnsserver_msg = xstrdup(dns_error_message);
        err->request = requestLink(request);
        fwdFail(fwdState, err);
-       if (fs->peer)
-           fs->peer->stats.conn_open--;
+       if (fs->_peer)
+           fs->_peer->stats.conn_open--;
        comm_close(server_fd);
     } else if (status != COMM_OK) {
        assert(fs);
        err = errorCon(ERR_CONNECT_FAIL, HTTP_SERVICE_UNAVAILABLE);
        err->xerrno = errno;
-       if (fs->peer) {
-           err->host = xstrdup(fs->peer->host);
-           err->port = fs->peer->http_port;
+       if (fs->_peer) {
+           err->host = xstrdup(fs->_peer->host);
+           err->port = fs->_peer->http_port;
        } else {
            err->host = xstrdup(request->host);
            err->port = request->port;
        }
        err->request = requestLink(request);
        fwdFail(fwdState, err);
-       if (fs->peer) {
-           peerConnectFailed(fs->peer);
-           fs->peer->stats.conn_open--;
+       if (fs->_peer) {
+           peerConnectFailed(fs->_peer);
+           fs->_peer->stats.conn_open--;
        }
        comm_close(server_fd);
     } else {
        debug(17, 3) ("fwdConnectDone: FD %d: '%s'\n", server_fd, storeUrl(fwdState->entry));
-       if (fs->peer)
-           hierarchyNote(&fwdState->request->hier, fs->code, fs->peer->host);
+       if (fs->_peer)
+           hierarchyNote(&fwdState->request->hier, fs->code, fs->_peer->host);
        else if (Config.onoff.log_ip_on_direct)
            hierarchyNote(&fwdState->request->hier, fs->code, fd_table[server_fd].ipaddr);
        else
            hierarchyNote(&fwdState->request->hier, fs->code, request->host);
        fd_note(server_fd, storeUrl(fwdState->entry));
        fd_table[server_fd].uses++;
-       if (fs->peer)
-           peerConnectSucceded(fs->peer);
+       if (fs->_peer)
+           peerConnectSucceded(fs->_peer);
        fwdDispatch(fwdState);
     }
     current = NULL;
@@ -257,8 +257,8 @@ fwdConnectTimeout(int fd, void *data)
         * This marks the peer DOWN ... 
         */
        if (fwdState->servers)
-           if (fwdState->servers->peer)
-               peerConnectFailed(fwdState->servers->peer);
+           if (fwdState->servers->_peer)
+               peerConnectFailed(fwdState->servers->_peer);
     }
     if (p)
        p->stats.conn_open--;
@@ -271,7 +271,7 @@ aclMapAddr(acl_address * head, aclCheck_t * ch)
     acl_address *l;
     struct in_addr addr;
     for (l = head; l; l = l->next) {
-       if (aclMatchAclList(l->acl_list, ch))
+       if (aclMatchAclList(l->aclList, ch))
            return l->addr;
     }
     addr.s_addr = INADDR_ANY;
@@ -283,7 +283,7 @@ aclMapTOS(acl_tos * head, aclCheck_t * ch)
 {
     acl_tos *l;
     for (l = head; l; l = l->next) {
-       if (aclMatchAclList(l->acl_list, ch))
+       if (aclMatchAclList(l->aclList, ch))
            return l->tos;
     }
     return 0;
@@ -333,10 +333,10 @@ fwdConnectStart(void *data)
     assert(fs);
     assert(fwdState->server_fd == -1);
     debug(17, 3) ("fwdConnectStart: %s\n", url);
-    if (fs->peer) {
-       host = fs->peer->host;
-       port = fs->peer->http_port;
-       ctimeout = fs->peer->connect_timeout > 0 ? fs->peer->connect_timeout
+    if (fs->_peer) {
+       host = fs->_peer->host;
+       port = fs->_peer->http_port;
+       ctimeout = fs->_peer->connect_timeout > 0 ? fs->_peer->connect_timeout
            : Config.Timeout.peer_connect;
     } else if (fwdState->request->flags.accelerated &&
        Config.Accel.single_host && Config.Accel.host) {
@@ -388,8 +388,8 @@ fwdConnectStart(void *data)
      * based on the max-conn option.  We need to increment here,
      * even if the connection may fail.
      */
-    if (fs->peer)
-       fs->peer->stats.conn_open++;
+    if (fs->_peer)
+       fs->_peer->stats.conn_open++;
     comm_add_close_handler(fd, fwdServerClosed, fwdState);
     commSetTimeout(fd,
        ctimeout,
@@ -445,7 +445,7 @@ fwdDispatch(FwdState * fwdState)
      * is closed.
      */
     assert(fwdState->server_fd > -1);
-    if (fwdState->servers && (p = fwdState->servers->peer)) {
+    if (fwdState->servers && (p = fwdState->servers->_peer)) {
        p->stats.fetches++;
        fwdState->request->peer_login = p->login;
        httpStart(fwdState);
@@ -655,7 +655,7 @@ fwdFail(FwdState * fwdState, ErrorState * errorState)
     assert(EBIT_TEST(fwdState->entry->flags, ENTRY_FWD_HDR_WAIT));
     debug(17, 3) ("fwdFail: %s \"%s\"\n\t%s\n",
        err_type_str[errorState->type],
-       httpStatusString(errorState->http_status),
+       httpStatusString(errorState->httpStatus),
        storeUrl(fwdState->entry));
     if (fwdState->err)
        errorStateFree(fwdState->err);
index 088b02866c63e929db1c3f8a718dd86f95a03555..9729b7f632ea6824aeff3a509af4d7ec6b881413 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: fqdncache.cc,v 1.150 2002/04/13 23:07:50 hno Exp $
+ * $Id: fqdncache.cc,v 1.151 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 35    FQDN Cache
  * AUTHOR: Harvest Derived
@@ -296,7 +296,7 @@ fqdncacheParse(rfc1035_rr * answers, int nr)
     for (k = 0; k < nr; k++) {
        if (answers[k].type != RFC1035_TYPE_PTR)
            continue;
-       if (answers[k].class != RFC1035_CLASS_IN)
+       if (answers[k]._class != RFC1035_CLASS_IN)
            continue;
        na++;
        f.flags.negcached = 0;
index 777415096065f4bbdb1014ade47747ea67e46a60..166754822261d250b75e91f6a919fb87b45e2e46 100644 (file)
@@ -15,7 +15,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.16 2002/09/15 05:42:00 robertc Exp $
+#  $Id: Makefile.in,v 1.17 2002/09/15 06:41:09 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 7f6714683b1df1448ca1319845a19cf959da9008..dc1521a0ceef78d5167836ac889f2d63e3366e2a 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 69ffaf083dda0ba6c720c86707a714d5052ba4a2..4fca4d39bedef99a2c3c3317eca6006547008683 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 2372764d332491266f8b6551fc97f2e54b6054d9..d8bed9cd77c47246e5abc8c779b141caa959c44c 100644 (file)
@@ -16,7 +16,7 @@
 #
 #  Makefile for the DISKD storage driver for the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.13 2002/09/15 05:42:01 robertc Exp $
+#  $Id: Makefile.in,v 1.14 2002/09/15 06:41:13 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -75,6 +75,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index fb459a68ef69c5e11312e23b50aa40d89ed2ebdb..bc029b861549a8abdf8bf49f47813597725f13cd 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 3168f8d5fe716b75b1fdf9b870a998aadc888ab9..a5693633b93dc831bdcd4ed0f19241c2c63c0aa2 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 6a7765ca89195ac0bf76cf317e20ecdab71b0ca4..0f9157163dd9a377774be0e4b3cc4349502b3594 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: http.cc,v 1.391 2002/09/15 06:23:29 adrian Exp $
+ * $Id: http.cc,v 1.392 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -271,7 +271,7 @@ httpCachableReply(HttpStateData * httpState)
            return 1;
        else if (rep->last_modified > -1)
            return 1;
-       else if (!httpState->peer)
+       else if (!httpState->_peer)
            return 1;
        /* @?@ (here and 302): invalid expires header compiles to squid_curtime */
        else if (rep->expires > -1)
@@ -464,12 +464,12 @@ httpProcessReplyHeader(HttpStateData * httpState, const char *buf, int size)
            EBIT_SET(entry->flags, ENTRY_REVALIDATE);
     }
     if (httpState->flags.keepalive)
-       if (httpState->peer)
-           httpState->peer->stats.n_keepalives_sent++;
+       if (httpState->_peer)
+           httpState->_peer->stats.n_keepalives_sent++;
     if (reply->keep_alive)
-       if (httpState->peer)
-           httpState->peer->stats.n_keepalives_recv++;
-    if (reply->date > -1 && !httpState->peer) {
+       if (httpState->_peer)
+           httpState->_peer->stats.n_keepalives_recv++;
+    if (reply->date > -1 && !httpState->_peer) {
        int skew = abs(reply->date - squid_curtime);
        if (skew > 86400)
            debug(11, 3) ("%s's clock is skewed by %d seconds!\n",
@@ -929,7 +929,7 @@ httpSendRequest(HttpStateData * httpState)
     request_t *req = httpState->request;
     StoreEntry *entry = httpState->entry;
     int cfd;
-    peer *p = httpState->peer;
+    peer *p = httpState->_peer;
     CWCB *sendHeaderDone;
 
     debug(11, 5) ("httpSendRequest: FD %d: httpState %p.\n", httpState->fd, httpState);
@@ -961,9 +961,9 @@ httpSendRequest(HttpStateData * httpState)
        httpState->flags.keepalive = 1;
     else if ((double) p->stats.n_keepalives_recv / (double) p->stats.n_keepalives_sent > 0.50)
        httpState->flags.keepalive = 1;
-    if (httpState->peer)
-       if (neighborType(httpState->peer, httpState->request) == PEER_SIBLING &&
-           !httpState->peer->options.allow_miss)
+    if (httpState->_peer)
+       if (neighborType(httpState->_peer, httpState->request) == PEER_SIBLING &&
+           !httpState->_peer->options.allow_miss)
            httpState->flags.only_if_cached = 1;
     memBufDefInit(&mb);
     httpBuildRequestPrefix(req,
@@ -992,12 +992,12 @@ httpStart(FwdState * fwd)
     httpState->entry = fwd->entry;
     httpState->fd = fd;
     if (fwd->servers)
-       httpState->peer = fwd->servers->peer;   /* might be NULL */
-    if (httpState->peer) {
+       httpState->_peer = fwd->servers->_peer;         /* might be NULL */
+    if (httpState->_peer) {
        proxy_req = requestCreate(orig_req->method,
            PROTO_NONE, storeUrl(httpState->entry));
-       xstrncpy(proxy_req->host, httpState->peer->host, SQUIDHOSTNAMELEN);
-       proxy_req->port = httpState->peer->http_port;
+       xstrncpy(proxy_req->host, httpState->_peer->host, SQUIDHOSTNAMELEN);
+       proxy_req->port = httpState->_peer->http_port;
        proxy_req->flags = orig_req->flags;
        proxy_req->lastmod = orig_req->lastmod;
        httpState->request = requestLink(proxy_req);
@@ -1008,11 +1008,11 @@ httpStart(FwdState * fwd)
         * We might end up getting the object from somewhere else if,
         * for example, the request to this neighbor fails.
         */
-       if (httpState->peer->options.proxy_only)
+       if (httpState->_peer->options.proxy_only)
            storeReleaseRequest(httpState->entry);
 #if DELAY_POOLS
        assert(delayIsNoDelay(fd) == 0);
-       if (httpState->peer->options.no_delay)
+       if (httpState->_peer->options.no_delay)
            delaySetNoDelay(fd);
 #endif
     } else {
index 27c4e65905c88ff61f1b4e62e0bdd2f1f198b985..3ab6b6d5b189d905d65efab86c1ace9891e656bb 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ipcache.cc,v 1.237 2002/04/13 23:07:50 hno Exp $
+ * $Id: ipcache.cc,v 1.238 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 14    IP Cache
  * AUTHOR: Harvest Derived
@@ -325,7 +325,7 @@ ipcacheParse(rfc1035_rr * answers, int nr)
     for (j = 0, k = 0; k < nr; k++) {
        if (answers[k].type != RFC1035_TYPE_A)
            continue;
-       if (answers[k].class != RFC1035_CLASS_IN)
+       if (answers[k]._class != RFC1035_CLASS_IN)
            continue;
        na++;
     }
@@ -341,7 +341,7 @@ ipcacheParse(rfc1035_rr * answers, int nr)
     for (j = 0, k = 0; k < nr; k++) {
        if (answers[k].type != RFC1035_TYPE_A)
            continue;
-       if (answers[k].class != RFC1035_CLASS_IN)
+       if (answers[k]._class != RFC1035_CLASS_IN)
            continue;
        if (j == 0)
            i.expires = squid_curtime + answers[k].ttl;
index 5f94f2437007aa09aab40bbbb5370b43154b35cc..795a252152aa78493bf1c08a399a92bcbf89277f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: peer_select.cc,v 1.122 2002/06/23 14:50:07 hno Exp $
+ * $Id: peer_select.cc,v 1.123 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 44    Peer Selection Algorithm
  * AUTHOR: Duane Wessels
@@ -421,7 +421,7 @@ peerGetSomeDirect(ps_state * ps)
        return;
     if (ps->request->protocol == PROTO_WAIS)
        /* Its not really DIRECT, now is it? */
-       peerAddFwdServer(&ps->servers, Config.Wais.peer, DIRECT);
+       peerAddFwdServer(&ps->servers, Config.Wais._peer, DIRECT);
     else
        peerAddFwdServer(&ps->servers, NULL, DIRECT);
 }
@@ -657,7 +657,7 @@ peerAddFwdServer(FwdServer ** FS, peer * p, hier_code code)
     debug(44, 5) ("peerAddFwdServer: adding %s %s\n",
        p ? p->host : "DIRECT",
        hier_strings[code]);
-    fs->peer = cbdataReference(p);
+    fs->_peer = cbdataReference(p);
     fs->code = code;
     while (*FS)
        FS = &(*FS)->next;
index 39ed0b86da6da52b4a6ecd16958b231580452f0e..42562c8502bad47f81eae0ac11e43260bee08f66 100644 (file)
@@ -15,7 +15,7 @@
 
 #  Makefile for storage modules in the Squid Object Cache server
 #
-#  $Id: Makefile.in,v 1.15 2002/09/15 05:42:02 robertc Exp $
+#  $Id: Makefile.in,v 1.16 2002/09/15 06:41:17 robertc Exp $
 #
 
 SHELL = @SHELL@
@@ -74,6 +74,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 4367e2b825b2f527661b394ad49f480f1c1a97c5..9d7b1070a5a09405495fdf328dd342e9e4845d15 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 0a97a0fbf1da8c08aeaf52436a3e82181a7eb545..faf5e071ce2560334df92f3e512f16a811f787dc 100644 (file)
@@ -69,6 +69,7 @@ CC = @CC@
 CGIEXT = @CGIEXT@
 CPP = @CPP@
 CRYPTLIB = @CRYPTLIB@
+CXX = @CXX@
 DEPDIR = @DEPDIR@
 DIGEST_AUTH_HELPERS = @DIGEST_AUTH_HELPERS@
 ERR_DEFAULT_LANGUAGE = @ERR_DEFAULT_LANGUAGE@
index 12a73e86215f8522aad2a8b60d1aab96242fefdd..ace89d11b812cee3c8df6ea93adec1f83d50e0e2 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ssl.cc,v 1.121 2002/09/15 06:23:29 adrian Exp $
+ * $Id: ssl.cc,v 1.122 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 26    Secure Sockets Layer Proxy
  * AUTHOR: Duane Wessels
@@ -386,9 +386,9 @@ sslConnectDone(int fdnotused, comm_err_t status, void *data)
     SslStateData *sslState = data;
     request_t *request = sslState->request;
     ErrorState *err = NULL;
-    if (sslState->servers->peer)
+    if (sslState->servers->_peer)
        hierarchyNote(&sslState->request->hier, sslState->servers->code,
-           sslState->servers->peer->host);
+           sslState->servers->_peer->host);
     else if (Config.onoff.log_ip_on_direct)
        hierarchyNote(&sslState->request->hier, sslState->servers->code,
            fd_table[sslState->server.fd].ipaddr);
@@ -415,7 +415,7 @@ sslConnectDone(int fdnotused, comm_err_t status, void *data)
        err->callback_data = sslState;
        errorSend(sslState->client.fd, err);
     } else {
-       if (sslState->servers->peer)
+       if (sslState->servers->_peer)
            sslProxyConnected(sslState->server.fd, sslState);
        else
            sslConnected(sslState->server.fd, sslState);
@@ -578,18 +578,18 @@ sslPeerSelectComplete(FwdServer * fs, void *data)
        return;
     }
     sslState->servers = fs;
-    sslState->host = fs->peer ? fs->peer->host : request->host;
-    if (fs->peer == NULL) {
+    sslState->host = fs->_peer ? fs->_peer->host : request->host;
+    if (fs->_peer == NULL) {
        sslState->port = request->port;
-    } else if (fs->peer->http_port != 0) {
-       sslState->port = fs->peer->http_port;
-    } else if ((g = peerFindByName(fs->peer->host))) {
+    } else if (fs->_peer->http_port != 0) {
+       sslState->port = fs->_peer->http_port;
+    } else if ((g = peerFindByName(fs->_peer->host))) {
        sslState->port = g->http_port;
     } else {
        sslState->port = CACHE_HTTP_PORT;
     }
-    if (fs->peer) {
-       sslState->request->peer_login = fs->peer->login;
+    if (fs->_peer) {
+       sslState->request->peer_login = fs->_peer->login;
        sslState->request->flags.proxying = 1;
     } else {
        sslState->request->peer_login = NULL;
index 11327ddf3e2e99b5f4ca97eb99db7b1c34d3e487..5b1d2b52f0f31e7454c2847b37205f2d43e55650 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: stat.cc,v 1.356 2002/04/07 22:16:47 hno Exp $
+ * $Id: stat.cc,v 1.357 2002/09/15 06:40:58 robertc Exp $
  *
  * DEBUG: section 18    Cache Manager Statistics
  * AUTHOR: Harvest Derived
@@ -1439,7 +1439,7 @@ statClientRequests(StoreEntry * s)
                conn->defer.n, (long int) conn->defer.until);
        }
        storeAppendPrintf(s, "uri %s\n", http->uri);
-       storeAppendPrintf(s, "log_type %s\n", log_tags[http->log_type]);
+       storeAppendPrintf(s, "logType %s\n", log_tags[http->logType]);
        storeAppendPrintf(s, "out.offset %ld, out.size %lu\n",
            (long int) http->out.offset, (unsigned long int) http->out.size);
        storeAppendPrintf(s, "req_sz %ld\n", (long int) http->req_sz);
index 17a13d6e8fb16cf12ab23fb60b1882c7655e8cbb..5a80db549e87defafa2054c67fd86c6cf8ea7c8b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: structs.h,v 1.429 2002/09/15 05:41:57 robertc Exp $
+ * $Id: structs.h,v 1.430 2002/09/15 06:40:58 robertc Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -249,31 +249,31 @@ struct _acl {
 
 struct _acl_list {
     int op;
-    acl *acl;
+    acl *_acl;
     acl_list *next;
 };
 
 struct _acl_access {
     int allow;
-    acl_list *acl_list;
+    acl_list *aclList;
     char *cfgline;
     acl_access *next;
 };
 
 struct _acl_address {
     acl_address *next;
-    acl_list *acl_list;
+    acl_list *aclList;
     struct in_addr addr;
 };
 
 struct _acl_tos {
     acl_tos *next;
-    acl_list *acl_list;
+    acl_list *aclList;
     int tos;
 };
 
 struct _aclCheck_t {
-    const acl_access *access_list;
+    const acl_access *accessList;
     struct in_addr src_addr;
     struct in_addr dst_addr;
     struct in_addr my_addr;
@@ -378,7 +378,7 @@ struct _SquidConfig {
     struct {
        char *relayHost;
        u_short relayPort;
-       peer *peer;
+       peer *_peer;
     } Wais;
     struct {
        size_t min;
@@ -792,7 +792,7 @@ struct _fde {
     time_t timeout;
     void *timeout_data;
     void *lifetime_data;
-    close_handler *close_handler;      /* linked list */
+    close_handler *closeHandler;       /* linked list */
     DEFER *defer_check;                /* check if we should defer read */
     void *defer_data;
     CommWriteStateData *rwstate;       /* State data for comm_write */
@@ -974,7 +974,7 @@ struct _HttpStateData {
     char *reply_hdr;
     size_t reply_hdr_size;
     int reply_hdr_state;
-    peer *peer;                        /* peer request made to */
+    peer *_peer;               /* peer request made to */
     int eof;                   /* reached end-of-object? */
     request_t *orig_request;
     int fd;
@@ -1044,7 +1044,7 @@ struct _AccessLogEntry {
     } headers;
     struct {
        const char *method_str;
-    } private;
+    } _private;
     HierarchyLogEntry hier;
 };
 
@@ -1074,7 +1074,7 @@ struct _clientHttpRequest {
     size_t req_sz;             /* raw request size on input, not current request size */
     StoreEntry *entry;
     StoreEntry *old_entry;
-    log_type log_type;
+    log_type logType;
     struct timeval start;
     http_version_t http_ver;
     AccessLogEntry al;
@@ -1677,7 +1677,7 @@ struct _request_t {
     ConnStateData *body_connection;    /* used by clientReadBody() */
     int content_length;
     HierarchyLogEntry hier;
-    err_type err_type;
+    err_type errType;
     char *peer_login;          /* Configured peer login:password */
     time_t lastmod;            /* Used on refreshes */
     const char *vary_headers;  /* Used when varying entities are detected. Changes how the store key is calculated */
@@ -1719,7 +1719,7 @@ struct _CommWriteStateData {
 struct _ErrorState {
     err_type type;
     int page_id;
-    http_status http_status;
+    http_status httpStatus;
     auth_user_request_t *auth_user_request;
     request_t *request;
     char *url;
@@ -1942,7 +1942,7 @@ struct _CacheDigest {
 };
 
 struct _FwdServer {
-    peer *peer;                        /* NULL --> origin server */
+    peer *_peer;               /* NULL --> origin server */
     hier_code code;
     FwdServer *next;
 };
index 025f053592857441b1ed61462d7b77df44e0adb8..ba497553a8551eabb5ac6d555bd62ed07a3d549a 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: tunnel.cc,v 1.121 2002/09/15 06:23:29 adrian Exp $
+ * $Id: tunnel.cc,v 1.122 2002/09/15 06:40:57 robertc Exp $
  *
  * DEBUG: section 26    Secure Sockets Layer Proxy
  * AUTHOR: Duane Wessels
@@ -386,9 +386,9 @@ sslConnectDone(int fdnotused, comm_err_t status, void *data)
     SslStateData *sslState = data;
     request_t *request = sslState->request;
     ErrorState *err = NULL;
-    if (sslState->servers->peer)
+    if (sslState->servers->_peer)
        hierarchyNote(&sslState->request->hier, sslState->servers->code,
-           sslState->servers->peer->host);
+           sslState->servers->_peer->host);
     else if (Config.onoff.log_ip_on_direct)
        hierarchyNote(&sslState->request->hier, sslState->servers->code,
            fd_table[sslState->server.fd].ipaddr);
@@ -415,7 +415,7 @@ sslConnectDone(int fdnotused, comm_err_t status, void *data)
        err->callback_data = sslState;
        errorSend(sslState->client.fd, err);
     } else {
-       if (sslState->servers->peer)
+       if (sslState->servers->_peer)
            sslProxyConnected(sslState->server.fd, sslState);
        else
            sslConnected(sslState->server.fd, sslState);
@@ -578,18 +578,18 @@ sslPeerSelectComplete(FwdServer * fs, void *data)
        return;
     }
     sslState->servers = fs;
-    sslState->host = fs->peer ? fs->peer->host : request->host;
-    if (fs->peer == NULL) {
+    sslState->host = fs->_peer ? fs->_peer->host : request->host;
+    if (fs->_peer == NULL) {
        sslState->port = request->port;
-    } else if (fs->peer->http_port != 0) {
-       sslState->port = fs->peer->http_port;
-    } else if ((g = peerFindByName(fs->peer->host))) {
+    } else if (fs->_peer->http_port != 0) {
+       sslState->port = fs->_peer->http_port;
+    } else if ((g = peerFindByName(fs->_peer->host))) {
        sslState->port = g->http_port;
     } else {
        sslState->port = CACHE_HTTP_PORT;
     }
-    if (fs->peer) {
-       sslState->request->peer_login = fs->peer->login;
+    if (fs->_peer) {
+       sslState->request->peer_login = fs->_peer->login;
        sslState->request->flags.proxying = 1;
     } else {
        sslState->request->peer_login = NULL;
index e635662eed624fa498ddcf4f9f9ede23b499b26f..6d478f4aebd84b47eaceaed9485e379b91e144d2 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: typedefs.h,v 1.136 2002/09/15 06:23:29 adrian Exp $
+ * $Id: typedefs.h,v 1.137 2002/09/15 06:40:58 robertc Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -65,12 +65,12 @@ typedef struct _authScheme authScheme;
 typedef struct _acl_user_data acl_user_data;
 typedef struct _acl_user_ip_data acl_user_ip_data;
 typedef struct _acl_arp_data acl_arp_data;
-typedef struct _acl acl;
 typedef struct _acl_snmp_comm acl_snmp_comm;
 typedef struct _acl_list acl_list;
 typedef struct _acl_access acl_access;
 typedef struct _acl_address acl_address;
 typedef struct _acl_tos acl_tos;
+typedef struct _acl acl;
 typedef struct _aclCheck_t aclCheck_t;
 typedef struct _wordlist wordlist;
 typedef struct _intlist intlist;