Diff for /parser3/configure between versions 1.40 and 1.48

version 1.40, 2002/09/17 11:24:19 version 1.48, 2002/09/24 11:42:19
Line 833  else Line 833  else
         rm -f $srcdir/src/include/pa_version.h.new          rm -f $srcdir/src/include/pa_version.h.new
 fi  fi
   
   
   # Make sure we can run config.sub.
   if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
   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:844: checking host system type" >&5
   
   host_alias=$host
   case "$host_alias" in
   NONE)
     case $nonopt in
     NONE)
       if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
       else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
       fi ;;
     *) host_alias=$nonopt ;;
     esac ;;
   esac
   
   host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
   host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   echo "$ac_t""$host" 1>&6
   
   
   
 # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
 # incompatible versions:  # incompatible versions:
Line 845  fi Line 874  fi
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # ./install, which can be erroneously created by make from ./install.sh.  # ./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 $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
 echo "configure:849: checking for a BSD compatible install" >&5  echo "configure:878: checking for a BSD compatible install" >&5
 if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 897  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 926  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   
   echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
   echo "configure:931: checking whether ${MAKE-make} sets \${MAKE}" >&5
   set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
   if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     cat > conftestmake <<\EOF
   all:
           @echo 'ac_maketemp="${MAKE}"'
   EOF
   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
   if test -n "$ac_maketemp"; then
     eval ac_cv_prog_make_${ac_make}_set=yes
   else
     eval ac_cv_prog_make_${ac_make}_set=no
   fi
   rm -f conftestmake
   fi
   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
     echo "$ac_t""yes" 1>&6
     SET_MAKE=
   else
     echo "$ac_t""no" 1>&6
     SET_MAKE="MAKE=${MAKE-make}"
   fi
   
   # 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:960: 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
     if test -n "$RANLIB"; then
     ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="ranlib"
         break
       fi
     done
     IFS="$ac_save_ifs"
     test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
   fi
   fi
   RANLIB="$ac_cv_prog_RANLIB"
   if test -n "$RANLIB"; then
     echo "$ac_t""$RANLIB" 1>&6
   else
     echo "$ac_t""no" 1>&6
   fi
   
   for ac_prog in mawk gawk nawk awk
   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:992: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     if test -n "$AWK"; then
     ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"
         break
       fi
     done
     IFS="$ac_save_ifs"
   fi
   fi
   AWK="$ac_cv_prog_AWK"
   if test -n "$AWK"; then
     echo "$ac_t""$AWK" 1>&6
   else
     echo "$ac_t""no" 1>&6
   fi
   
   test -n "$AWK" && break
   done
   
   
   for ac_prog in 'bison -y' byacc
   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:1027: checking for $ac_word" >&5
   if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
     echo $ac_n "(cached) $ac_c" 1>&6
   else
     if test -n "$YACC"; then
     ac_cv_prog_YACC="$YACC" # 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_YACC="$ac_prog"
         break
       fi
     done
     IFS="$ac_save_ifs"
   fi
   fi
   YACC="$ac_cv_prog_YACC"
   if test -n "$YACC"; then
     echo "$ac_t""$YACC" 1>&6
   else
     echo "$ac_t""no" 1>&6
   fi
   
   test -n "$YACC" && break
   done
   test -n "$YACC" || YACC="yacc"
   
   if test "$YACC" != "bison -y"; then
       echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2
   else
       echo $ac_n "checking bison version""... $ac_c" 1>&6
   echo "configure:1061: checking bison version" >&5
       oldIFS=$IFS; IFS=.
       set `bison -V | sed -e 's/^GNU Bison version //'`
       IFS=$oldIFS
       if test "$1" = "1" -a "$2" -lt "25"; then
           echo "configure: warning: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." 1>&2
       fi
       echo "$ac_t""$1.$2 (ok)" 1>&6
   fi
   
 # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
 set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:904: checking for $ac_word" >&5  echo "configure:1074: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 930  if test -z "$CC"; then Line 1100  if test -z "$CC"; then
   # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
 set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:934: checking for $ac_word" >&5  echo "configure:1104: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 981  fi Line 1151  fi
       # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
 set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:985: checking for $ac_word" >&5  echo "configure:1155: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 1013  fi Line 1183  fi
 fi  fi
   
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
 echo "configure:1017: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1187: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
   
 ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
Line 1024  cross_compiling=$ac_cv_prog_cc_cross Line 1194  cross_compiling=$ac_cv_prog_cc_cross
   
 cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
   
 #line 1028 "configure"  #line 1198 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 main(){return(0);}  main(){return(0);}
 EOF  EOF
 if { (eval echo configure:1033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 1055  if test $ac_cv_prog_cc_works = no; then Line 1225  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; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 fi  fi
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 echo "configure:1059: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1229: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
 cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
   
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
 echo "configure:1064: checking whether we are using GNU C" >&5  echo "configure:1234: checking whether we are using GNU C" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 1069  else Line 1239  else
   yes;    yes;
 #endif  #endif
 EOF  EOF
 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1073: \"$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:1243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
 else  else
   ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
Line 1088  ac_test_CFLAGS="${CFLAGS+set}" Line 1258  ac_test_CFLAGS="${CFLAGS+set}"
 ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
 CFLAGS=  CFLAGS=
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 echo "configure:1092: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1262: checking whether ${CC-cc} accepts -g" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 1126  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG Line 1296  ac_compile='${CC-cc} -c $CFLAGS $CPPFLAG
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 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  cross_compiling=$ac_cv_prog_cc_cross
  echo $ac_n "checking for inline""... $ac_c" 1>&6   echo $ac_n "checking for inline""... $ac_c" 1>&6
 echo "configure:1130: checking for inline" >&5  echo "configure:1300: checking for inline" >&5
 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   ac_cv_c_inline=no    ac_cv_c_inline=no
 for ac_kw in inline __inline__ __inline; do  for ac_kw in inline __inline__ __inline; do
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 1137 "configure"  #line 1307 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 } $ac_kw foo() {  } $ac_kw foo() {
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_c_inline=$ac_kw; break    ac_cv_c_inline=$ac_kw; break
 else  else
Line 1170  do Line 1340  do
 # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:1174: checking for $ac_word" >&5  echo "configure:1344: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 1202  test -n "$CXX" || CXX="gcc" Line 1372  test -n "$CXX" || CXX="gcc"
   
   
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
 echo "configure:1206: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5  echo "configure:1376: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
   
 ac_ext=C  ac_ext=C
 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
Line 1213  cross_compiling=$ac_cv_prog_cxx_cross Line 1383  cross_compiling=$ac_cv_prog_cxx_cross
   
 cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
   
 #line 1217 "configure"  #line 1387 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main(){return(0);}  int main(){return(0);}
 EOF  EOF
 if { (eval echo configure:1222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cxx_works=yes    ac_cv_prog_cxx_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 1244  if test $ac_cv_prog_cxx_works = no; then Line 1414  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; }    { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
 fi  fi
 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 echo "configure:1248: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1418: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
 cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
   
 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
 echo "configure:1253: checking whether we are using GNU C++" >&5  echo "configure:1423: checking whether we are using GNU C++" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 1258  else Line 1428  else
   yes;    yes;
 #endif  #endif
 EOF  EOF
 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
   ac_cv_prog_gxx=yes    ac_cv_prog_gxx=yes
 else  else
   ac_cv_prog_gxx=no    ac_cv_prog_gxx=no
Line 1277  ac_test_CXXFLAGS="${CXXFLAGS+set}" Line 1447  ac_test_CXXFLAGS="${CXXFLAGS+set}"
 ac_save_CXXFLAGS="$CXXFLAGS"  ac_save_CXXFLAGS="$CXXFLAGS"
 CXXFLAGS=  CXXFLAGS=
 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
 echo "configure:1281: checking whether ${CXX-g++} accepts -g" >&5  echo "configure:1451: checking whether ${CXX-g++} accepts -g" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 1317  cross_compiling=$ac_cv_prog_cxx_cross Line 1487  cross_compiling=$ac_cv_prog_cxx_cross
   
   
   
   
 # Check whether --enable-link-libstdcpp or --disable-link-libstdcpp was given.  # Check whether --enable-link-libstdcpp or --disable-link-libstdcpp was given.
 if test "${enable_link_libstdcpp+set}" = set; then  if test "${enable_link_libstdcpp+set}" = set; then
   enableval="$enable_link_libstdcpp"    enableval="$enable_link_libstdcpp"
Line 1448  done Line 1617  done
   
   
 echo $ac_n "checking for dynamic-link library extension""... $ac_c" 1>&6  echo $ac_n "checking for dynamic-link library extension""... $ac_c" 1>&6
 echo "configure:1452: checking for dynamic-link library extension" >&5  echo "configure:1621: checking for dynamic-link library extension" >&5
 case "$host_os" in  case "$host_os" in
 hpux9* | hpux10* | hpux11*)  hpux9* | hpux10* | hpux11*)
     dll_extension=sl      dll_extension=sl
Line 1469  if test "${with_mysql_client+set}" = set Line 1638  if test "${with_mysql_client+set}" = set
   
 else  else
   echo $ac_n "checking for mysql client""... $ac_c" 1>&6    echo $ac_n "checking for mysql client""... $ac_c" 1>&6
 echo "configure:1473: checking for mysql client" >&5  echo "configure:1642: checking for mysql client" >&5
         for lib in \          for lib in \
                 /usr/local/lib/mysql/libmysqlclient.$dll_extension \                  /usr/local/lib/mysql/libmysqlclient.$dll_extension \
                 /usr/local/lib/libmysqlclient.$dll_extension \                  /usr/local/lib/libmysqlclient.$dll_extension \
Line 1496  if test "${with_pgsql_client+set}" = set Line 1665  if test "${with_pgsql_client+set}" = set
   
 else  else
   echo $ac_n "checking for pgsql client""... $ac_c" 1>&6    echo $ac_n "checking for pgsql client""... $ac_c" 1>&6
 echo "configure:1500: checking for pgsql client" >&5  echo "configure:1669: checking for pgsql client" >&5
         for lib in \          for lib in \
                 /usr/local/pgsql/lib/libpq.$dll_extension \                  /usr/local/pgsql/lib/libpq.$dll_extension \
                 /usr/local/lib/libpq.$dll_extension \                  /usr/local/lib/libpq.$dll_extension \
Line 1523  if test "${with_oracle_client+set}" = se Line 1692  if test "${with_oracle_client+set}" = se
   
 else  else
   echo $ac_n "checking for oracle client""... $ac_c" 1>&6    echo $ac_n "checking for oracle client""... $ac_c" 1>&6
 echo "configure:1527: checking for oracle client" >&5  echo "configure:1696: checking for oracle client" >&5
         lib=$ORACLE_HOME/lib/libclntsh.$dll_extension          lib=$ORACLE_HOME/lib/libclntsh.$dll_extension
         if test -f $lib; then oracle_client=$lib; fi          if test -f $lib; then oracle_client=$lib; fi
   
Line 1753  else Line 1922  else
 fi  fi
   
   
   
 # Make sure we can run config.sub.  
 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :  
 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:1764: checking host system type" >&5  
   
 host_alias=$host  
 case "$host_alias" in  
 NONE)  
   case $nonopt in  
   NONE)  
     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :  
     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }  
     fi ;;  
   *) host_alias=$nonopt ;;  
   esac ;;  
 esac  
   
 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`  
 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$host" 1>&6  
   
   
   
 # Find a good install program.  We prefer a C program (faster),  
 # so one script is as good as another.  But avoid the broken or  
 # incompatible versions:  
 # SysV /etc/install, /usr/sbin/install  
 # SunOS /usr/etc/install  
 # IRIX /sbin/install  
 # AIX /bin/install  
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args  
 # 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:1798: 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  
 else  
     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"  
   for ac_dir in $PATH; do  
     # Account for people who put trailing slashes in PATH elements.  
     case "$ac_dir/" in  
     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;  
     *)  
       # OSF1 and SCO ODT 3.0 have their own names for install.  
       # Don't use installbsd from OSF since it installs stuff as root  
       # by default.  
       for ac_prog in ginstall scoinst install; do  
         if test -f $ac_dir/$ac_prog; then  
           if test $ac_prog = install &&  
             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then  
             # AIX install.  It has an incompatible calling convention.  
             :  
           else  
             ac_cv_path_install="$ac_dir/$ac_prog -c"  
             break 2  
           fi  
         fi  
       done  
       ;;  
     esac  
   done  
   IFS="$ac_save_IFS"  
   
 fi  
   if test "${ac_cv_path_install+set}" = set; then  
     INSTALL="$ac_cv_path_install"  
   else  
     # As a last resort, use the slow shell script.  We don't cache a  
     # path for INSTALL within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the path is relative.  
     INSTALL="$ac_install_sh"  
   fi  
 fi  
 echo "$ac_t""$INSTALL" 1>&6  
   
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  
 # It thinks the first close brace ends the variable substitution.  
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  
   
 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'  
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  
   
 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  
 echo "configure:1851: checking whether ${MAKE-make} sets \${MAKE}" >&5  
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftestmake <<\EOF  
 all:  
         @echo 'ac_maketemp="${MAKE}"'  
 EOF  
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  
 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  
 if test -n "$ac_maketemp"; then  
   eval ac_cv_prog_make_${ac_make}_set=yes  
 else  
   eval ac_cv_prog_make_${ac_make}_set=no  
 fi  
 rm -f conftestmake  
 fi  
 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   SET_MAKE=  
 else  
   echo "$ac_t""no" 1>&6  
   SET_MAKE="MAKE=${MAKE-make}"  
 fi  
   
 # 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:1880: 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  
   if test -n "$RANLIB"; then  
   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="ranlib"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"  
 fi  
 fi  
 RANLIB="$ac_cv_prog_RANLIB"  
 if test -n "$RANLIB"; then  
   echo "$ac_t""$RANLIB" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 for ac_prog in mawk gawk nawk awk  
 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:1912: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$AWK"; then  
   ac_cv_prog_AWK="$AWK" # 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_AWK="$ac_prog"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
 fi  
 fi  
 AWK="$ac_cv_prog_AWK"  
 if test -n "$AWK"; then  
   echo "$ac_t""$AWK" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 test -n "$AWK" && break  
 done  
   
   
 for ac_prog in 'bison -y' byacc  
 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:1947: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$YACC"; then  
   ac_cv_prog_YACC="$YACC" # 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_YACC="$ac_prog"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
 fi  
 fi  
 YACC="$ac_cv_prog_YACC"  
 if test -n "$YACC"; then  
   echo "$ac_t""$YACC" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 test -n "$YACC" && break  
 done  
 test -n "$YACC" || YACC="yacc"  
   
 if test "$YACC" != "bison -y"; then  
     echo "configure: warning: to regenerate Parser grammar YOU WOULD NEED BISON" 1>&2  
 else  
     echo $ac_n "checking bison version""... $ac_c" 1>&6  
 echo "configure:1981: checking bison version" >&5  
     oldIFS=$IFS; IFS=.  
     set `bison -V | sed -e 's/^GNU Bison version //'`  
     IFS=$oldIFS  
     if test "$1" = "1" -a "$2" -lt "25"; then  
         echo "configure: warning: Bison 1.25 or newer needed to regenerate Parser compiler (found $1.$2)." 1>&2  
     fi  
     echo "$ac_t""$1.$2 (ok)" 1>&6  
 fi  
   
   LIBLTDL='${top_builddir}/'src/lib/libltdl/libltdlc.a    LIBLTDL='${top_builddir}/'src/lib/libltdl/libltdlc.a
   INCLTDL='-I${top_srcdir}/'src/lib/libltdl    INCLTDL='-I${top_srcdir}/'src/lib/libltdl
   
Line 1997  subdirs="src/lib/libltdl" Line 1932  subdirs="src/lib/libltdl"
   
 LIBADD_DL=  LIBADD_DL=
 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
 echo "configure:2001: checking for dlopen in -ldl" >&5  echo "configure:1936: checking for dlopen in -ldl" >&5
 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2005  else Line 1940  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2009 "configure"  #line 1944 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 2019  int main() { Line 1954  int main() {
 dlopen()  dlopen()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2041  EOF Line 1976  EOF
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for dlopen""... $ac_c" 1>&6  echo $ac_n "checking for dlopen""... $ac_c" 1>&6
 echo "configure:2045: checking for dlopen" >&5  echo "configure:1980: checking for dlopen" >&5
 if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2050 "configure"  #line 1985 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char dlopen(); below.  */      which can conflict with char dlopen(); below.  */
Line 2072  dlopen(); Line 2007  dlopen();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_dlopen=yes"    eval "ac_cv_func_dlopen=yes"
 else  else
Line 2097  fi Line 2032  fi
 fi  fi
   
 echo $ac_n "checking for shl_load""... $ac_c" 1>&6  echo $ac_n "checking for shl_load""... $ac_c" 1>&6
 echo "configure:2101: checking for shl_load" >&5  echo "configure:2036: checking for shl_load" >&5
 if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2106 "configure"  #line 2041 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char shl_load(); below.  */      which can conflict with char shl_load(); below.  */
Line 2128  shl_load(); Line 2063  shl_load();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_shl_load=yes"    eval "ac_cv_func_shl_load=yes"
 else  else
Line 2149  EOF Line 2084  EOF
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
 echo "configure:2153: checking for shl_load in -ldld" >&5  echo "configure:2088: checking for shl_load in -ldld" >&5
 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2157  else Line 2092  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2161 "configure"  #line 2096 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 2171  int main() { Line 2106  int main() {
 shl_load()  shl_load()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2197  fi Line 2132  fi
 fi  fi
   
 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6  echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
 echo "configure:2201: checking for dld_link in -ldld" >&5  echo "configure:2136: checking for dld_link in -ldld" >&5
 ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2205  else Line 2140  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2209 "configure"  #line 2144 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 2219  int main() { Line 2154  int main() {
 dld_link()  dld_link()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2250  if test "x$ac_cv_func_dlopen" = xyes || Line 2185  if test "x$ac_cv_func_dlopen" = xyes ||
  for ac_func in dlerror   for ac_func in dlerror
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:2254: checking for $ac_func" >&5  echo "configure:2189: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2259 "configure"  #line 2194 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 2281  $ac_func(); Line 2216  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 2310  fi Line 2245  fi
   
   
 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
 echo "configure:2314: checking how to run the C++ preprocessor" >&5  echo "configure:2249: checking how to run the C++ preprocessor" >&5
 if test -z "$CXXCPP"; then  if test -z "$CXXCPP"; then
 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2323  ac_link='${CXX-g++} -o conftest${ac_exee Line 2258  ac_link='${CXX-g++} -o conftest${ac_exee
 cross_compiling=$ac_cv_prog_cxx_cross  cross_compiling=$ac_cv_prog_cxx_cross
   CXXCPP="${CXX-g++} -E"    CXXCPP="${CXX-g++} -E"
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2327 "configure"  #line 2262 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   :    :
Line 2353  CXXCPP="$ac_cv_prog_CXXCPP" Line 2288  CXXCPP="$ac_cv_prog_CXXCPP"
 echo "$ac_t""$CXXCPP" 1>&6  echo "$ac_t""$CXXCPP" 1>&6
   
 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
 echo "configure:2357: checking for ANSI C header files" >&5  echo "configure:2292: checking for ANSI C header files" >&5
 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2362 "configure"  #line 2297 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdarg.h>  #include <stdarg.h>
Line 2366  else Line 2301  else
 #include <float.h>  #include <float.h>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 2383  rm -f conftest* Line 2318  rm -f conftest*
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2387 "configure"  #line 2322 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <string.h>  #include <string.h>
 EOF  EOF
Line 2401  fi Line 2336  fi
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2405 "configure"  #line 2340 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 EOF  EOF
Line 2422  if test "$cross_compiling" = yes; then Line 2357  if test "$cross_compiling" = yes; then
   :    :
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2426 "configure"  #line 2361 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" void exit(int);  extern "C" void exit(int);
Line 2436  if (XOR (islower (i), ISLOWER (i)) || to Line 2371  if (XOR (islower (i), ISLOWER (i)) || to
 exit (0); }  exit (0); }
   
 EOF  EOF
 if { (eval echo configure:2440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then  then
   :    :
 else  else
Line 2460  EOF Line 2395  EOF
 fi  fi
   
 echo $ac_n "checking for size_t""... $ac_c" 1>&6  echo $ac_n "checking for size_t""... $ac_c" 1>&6
 echo "configure:2464: checking for size_t" >&5  echo "configure:2399: checking for size_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2469 "configure"  #line 2404 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 2493  EOF Line 2428  EOF
 fi  fi
   
 echo $ac_n "checking for off_t""... $ac_c" 1>&6  echo $ac_n "checking for off_t""... $ac_c" 1>&6
 echo "configure:2497: checking for off_t" >&5  echo "configure:2432: checking for off_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2502 "configure"  #line 2437 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 2526  EOF Line 2461  EOF
 fi  fi
   
 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6  echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
 echo "configure:2530: checking for ssize_t" >&5  echo "configure:2465: checking for ssize_t" >&5
 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2535 "configure"  #line 2470 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 2562  fi Line 2497  fi
   
   
 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
 echo "configure:2566: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:2501: checking whether time.h and sys/time.h may both be included" >&5
 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2571 "configure"  #line 2506 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/time.h>  #include <sys/time.h>
Line 2576  int main() { Line 2511  int main() {
 struct tm *tp;  struct tm *tp;
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_header_time=yes    ac_cv_header_time=yes
 else  else
Line 2626  winsock.h Line 2561  winsock.h
 do  do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 echo "configure:2630: checking for $ac_hdr" >&5  echo "configure:2565: checking for $ac_hdr" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2635 "configure"  #line 2570 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_hdr>  #include <$ac_hdr>
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 2667  done Line 2602  done
 case "$host" in  case "$host" in
   *-sunos5.6* | *-solaris2.6*)    *-sunos5.6* | *-solaris2.6*)
       echo $ac_n "checking for main in -lxnet""... $ac_c" 1>&6        echo $ac_n "checking for main in -lxnet""... $ac_c" 1>&6
 echo "configure:2671: checking for main in -lxnet" >&5  echo "configure:2606: checking for main in -lxnet" >&5
 ac_lib_var=`echo xnet'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo xnet'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2675  else Line 2610  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lxnet  $LIBS"  LIBS="-lxnet  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2679 "configure"  #line 2614 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2712  fi Line 2647  fi
   ;;    ;;
   *-sunos5* | *-solaris2*)    *-sunos5* | *-solaris2*)
       echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
 echo "configure:2716: checking for main in -lsocket" >&5  echo "configure:2651: checking for main in -lsocket" >&5
 ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2720  else Line 2655  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2724 "configure"  #line 2659 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2755  else Line 2690  else
 fi  fi
   
       echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
 echo "configure:2759: checking for main in -lnsl" >&5  echo "configure:2694: checking for main in -lnsl" >&5
 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2763  else Line 2698  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2767 "configure"  #line 2702 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2800  fi Line 2735  fi
   ;;    ;;
   *-nec-sysv4*)    *-nec-sysv4*)
       echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
 echo "configure:2804: checking for gethostbyname in -lnsl" >&5  echo "configure:2739: checking for gethostbyname in -lnsl" >&5
 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2808  else Line 2743  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2812 "configure"  #line 2747 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 2822  int main() { Line 2757  int main() {
 gethostbyname()  gethostbyname()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2850  else Line 2785  else
 fi  fi
   
       echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
 echo "configure:2854: checking for socket in -lsocket" >&5  echo "configure:2789: checking for socket in -lsocket" >&5
 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2858  else Line 2793  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2862 "configure"  #line 2797 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 2872  int main() { Line 2807  int main() {
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2906  fi Line 2841  fi
 EOF  EOF
   
       echo $ac_n "checking for socket in -lwsock32""... $ac_c" 1>&6        echo $ac_n "checking for socket in -lwsock32""... $ac_c" 1>&6
 echo "configure:2910: checking for socket in -lwsock32" >&5  echo "configure:2845: checking for socket in -lwsock32" >&5
 ac_lib_var=`echo wsock32'_'socket | sed 'y%./+-%__p_%'`  ac_lib_var=`echo wsock32'_'socket | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2914  else Line 2849  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lwsock32  $LIBS"  LIBS="-lwsock32  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2918 "configure"  #line 2853 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 2928  int main() { Line 2863  int main() {
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 2959  fi Line 2894  fi
 # never tested this, only theoretically by letter from demos about parser2 build  # never tested this, only theoretically by letter from demos about parser2 build
   *-hpux*)    *-hpux*)
       echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
 echo "configure:2963: checking for main in -lnsl" >&5  echo "configure:2898: checking for main in -lnsl" >&5
 ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 2967  else Line 2902  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 2971 "configure"  #line 2906 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3005  fi Line 2940  fi
 esac  esac
   
 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
 echo "configure:3009: checking for sin in -lm" >&5  echo "configure:2944: checking for sin in -lm" >&5
 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 3013  else Line 2948  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3017 "configure"  #line 2952 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 3027  int main() { Line 2962  int main() {
 sin()  sin()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3056  fi Line 2991  fi
   
   
 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
 echo "configure:3060: checking for crypt in -lcrypt" >&5  echo "configure:2995: checking for crypt in -lcrypt" >&5
 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 3064  else Line 2999  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3068 "configure"  #line 3003 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus  #ifdef __cplusplus
Line 3078  int main() { Line 3013  int main() {
 crypt()  crypt()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 3119  crypt Line 3054  crypt
   
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:3123: checking for $ac_func" >&5  echo "configure:3058: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3128 "configure"  #line 3063 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 3150  $ac_func(); Line 3085  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 3179  done Line 3114  done
 for ac_func in qsort  for ac_func in qsort
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:3183: checking for $ac_func" >&5  echo "configure:3118: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3188 "configure"  #line 3123 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 3210  $ac_func(); Line 3145  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 3238  done Line 3173  done
 for ac_func in select  for ac_func in select
 do  do
 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 echo "configure:3242: checking for $ac_func" >&5  echo "configure:3177: checking for $ac_func" >&5
 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 3247 "configure"  #line 3182 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 3269  $ac_func(); Line 3204  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
 else  else
Line 3295  fi Line 3230  fi
 done  done
   
   
   
   echo $ac_n "checking for timezone variable""... $ac_c" 1>&6
   echo "configure:3236: checking for timezone variable" >&5
   cat > conftest.$ac_ext <<EOF
   #line 3238 "configure"
   #include "confdefs.h"
   #include <time.h>
   int main() {
   
   time_t test=timezone;
   
   ; return 0; }
   EOF
   if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     rm -rf conftest*
     cat >> confdefs.h <<\EOF
   #define HAVE_TIMEZONE 1
   EOF
                     
   echo "$ac_t""yes" 1>&6
   else
     echo "configure: failed program was:" >&5
     cat conftest.$ac_ext >&5
     rm -rf conftest*
     echo "$ac_t""no" 1>&6
   fi
   rm -f conftest*                         
   
   echo $ac_n "checking for daylight variable""... $ac_c" 1>&6
   echo "configure:3263: checking for daylight variable" >&5
   cat > conftest.$ac_ext <<EOF
   #line 3265 "configure"
   #include "confdefs.h"
   #include <time.h>
   int main() {
   
   int test=daylight;
   
   ; return 0; }
   EOF
   if { (eval echo configure:3274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     rm -rf conftest*
     cat >> confdefs.h <<\EOF
   #define HAVE_DAYLIGHT 1
   EOF
                 
   echo "$ac_t""yes" 1>&6
   else
     echo "configure: failed program was:" >&5
     cat conftest.$ac_ext >&5
     rm -rf conftest*
     echo "$ac_t""no" 1>&6
   fi
   rm -f conftest*                         
   
   echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
   echo "configure:3290: checking for tm_gmtoff in struct tm" >&5
   cat > conftest.$ac_ext <<EOF
   #line 3292 "configure"
   #include "confdefs.h"
   #include <time.h>
   int main() {
   struct tm tm;                             
   tm.tm_gmtoff=0;                            
   
   ; return 0; }
   EOF
   if { (eval echo configure:3301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     rm -rf conftest*
     cat >> confdefs.h <<\EOF
   #define HAVE_TM_GMTOFF 1
   EOF
                     
   echo "$ac_t""yes" 1>&6
   else
     echo "configure: failed program was:" >&5
     cat conftest.$ac_ext >&5
     rm -rf conftest*
     echo "$ac_t""no" 1>&6
   fi
   rm -f conftest*                         
   
   echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6
   echo "configure:3317: checking for tm_tzadj in struct tm" >&5
   cat > conftest.$ac_ext <<EOF
   #line 3319 "configure"
   #include "confdefs.h"
   #include <time.h>
   int main() {
   struct tm tm;                             
   tm.tm_tzadj=0;                            
   
   ; return 0; }
   EOF
   if { (eval echo configure:3328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     rm -rf conftest*
     cat >> confdefs.h <<\EOF
   #define HAVE_TM_TZADJ 1
   EOF
                     
   echo "$ac_t""yes" 1>&6
   else
     echo "configure: failed program was:" >&5
     cat conftest.$ac_ext >&5
     rm -rf conftest*
     echo "$ac_t""no" 1>&6
   fi
   rm -f conftest*                         
   
   
 echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6  echo $ac_n "checking whether compiler supports pragma pack""... $ac_c" 1>&6
 echo "configure:3300: checking whether compiler supports pragma pack" >&5  echo "configure:3345: checking whether compiler supports pragma pack" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3302 "configure"  #line 3347 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #pragma pack(1)  #pragma pack(1)
 struct _1_byte {  struct _1_byte {
Line 3310  int main() { Line 3355  int main() {
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
       
     echo "$ac_t""yes" 1>&6      echo "$ac_t""yes" 1>&6
Line 3329  fi Line 3374  fi
 rm -f conftest*  rm -f conftest*
   
 echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6  echo $ac_n "checking for set_new_handler""... $ac_c" 1>&6
 echo "configure:3333: checking for set_new_handler" >&5  echo "configure:3378: checking for set_new_handler" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3335 "configure"  #line 3380 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #ifdef HAVE_NEW  #ifdef HAVE_NEW
 #include <new>  #include <new>
Line 3343  std::set_new_handler(failed_new); Line 3388  std::set_new_handler(failed_new);
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
       
     echo "$ac_t""yes" 1>&6      echo "$ac_t""yes" 1>&6
Line 3545  s%@AUTOHEADER@%$AUTOHEADER%g Line 3590  s%@AUTOHEADER@%$AUTOHEADER%g
 s%@MAKEINFO@%$MAKEINFO%g  s%@MAKEINFO@%$MAKEINFO%g
 s%@SET_MAKE@%$SET_MAKE%g  s%@SET_MAKE@%$SET_MAKE%g
 s%@P3S@%$P3S%g  s%@P3S@%$P3S%g
   s%@host@%$host%g
   s%@host_alias@%$host_alias%g
   s%@host_cpu@%$host_cpu%g
   s%@host_vendor@%$host_vendor%g
   s%@host_os@%$host_os%g
   s%@RANLIB@%$RANLIB%g
   s%@AWK@%$AWK%g
   s%@YACC@%$YACC%g
 s%@CC@%$CC%g  s%@CC@%$CC%g
 s%@CXX@%$CXX%g  s%@CXX@%$CXX%g
 s%@DO_NOT_LINK_LIBSTDCPP_TRUE@%$DO_NOT_LINK_LIBSTDCPP_TRUE%g  s%@DO_NOT_LINK_LIBSTDCPP_TRUE@%$DO_NOT_LINK_LIBSTDCPP_TRUE%g
Line 3564  s%@MIME_LIBS@%$MIME_LIBS%g Line 3617  s%@MIME_LIBS@%$MIME_LIBS%g
 s%@APACHE13@%$APACHE13%g  s%@APACHE13@%$APACHE13%g
 s%@COMPILE_APACHE13_MODULE_TRUE@%$COMPILE_APACHE13_MODULE_TRUE%g  s%@COMPILE_APACHE13_MODULE_TRUE@%$COMPILE_APACHE13_MODULE_TRUE%g
 s%@COMPILE_APACHE13_MODULE_FALSE@%$COMPILE_APACHE13_MODULE_FALSE%g  s%@COMPILE_APACHE13_MODULE_FALSE@%$COMPILE_APACHE13_MODULE_FALSE%g
 s%@host@%$host%g  
 s%@host_alias@%$host_alias%g  
 s%@host_cpu@%$host_cpu%g  
 s%@host_vendor@%$host_vendor%g  
 s%@host_os@%$host_os%g  
 s%@RANLIB@%$RANLIB%g  
 s%@AWK@%$AWK%g  
 s%@YACC@%$YACC%g  
 s%@INCLTDL@%$INCLTDL%g  s%@INCLTDL@%$INCLTDL%g
 s%@LIBLTDL@%$LIBLTDL%g  s%@LIBLTDL@%$LIBLTDL%g
 s%@subdirs@%$subdirs%g  s%@subdirs@%$subdirs%g

Removed from v.1.40  
changed lines
  Added in v.1.48


E-mail: