Diff for /parser3/configure between versions 1.59 and 1.61

version 1.59, 2002/12/20 14:38:08 version 1.61, 2002/12/26 12:27:17
Line 12  ac_help= Line 12  ac_help=
 ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
 # Any additions from configure.in:  # Any additions from configure.in:
 ac_help="$ac_help  ac_help="$ac_help
   --disable-string-origins to switch off string origin tracking"    --disable-safe-mode     to enable reading and executing
                             files belonging to group+user other then effective"
 ac_help="$ac_help  ac_help="$ac_help
   --disable-execs         to disable any execs    --disable-execs         to disable any execs
                           (file::exec, file::cgi, unix mail:send)"                            (file::exec, file::cgi, unix mail:send)"
 ac_help="$ac_help  ac_help="$ac_help
   --disable-foreign-group-files to disable read and executing    --disable-string-origins to switch off string origin tracking"
                           files belonging to group other then effective"  
 ac_help="$ac_help  ac_help="$ac_help
   --with-charsets=CHARSET[,CHARSET,...]  Enables charsets in root config (windows-1251,    --with-charsets=CHARSET[,CHARSET,...]  Enables charsets in root config (windows-1251,
                           windows-1250 windows-1257 koi8-r; Default is windows-1251)"                            windows-1250 windows-1257 koi8-r; Default is windows-1251)"
Line 1488  cross_compiling=$ac_cv_prog_cxx_cross Line 1488  cross_compiling=$ac_cv_prog_cxx_cross
   
   
   
 # Check whether --enable-string-origins or --disable-string-origins was given.  # Check whether --enable-safe-mode or --disable-safe-mode was given.
 if test "${enable_string_origins+set}" = set; then  if test "${enable_safe_mode+set}" = set; then
   enableval="$enable_string_origins"    enableval="$enable_safe_mode"
       
 if test "$enableval" = "no"; then      SAFE_MODE=$enableval
         echo "configure: warning: disabling string origin tracking" 1>&2  
         cat >> confdefs.h <<\EOF  
 #define NO_STRING_ORIGIN   
 EOF  
   
 fi  fi
   
   if test "$SAFE_MODE" = "no"; then
           echo "configure: warning: enabling reading of files belonging to group+user other then effective" 1>&2
   else
           cat >> confdefs.h <<\EOF
   #define PA_SAFE_MODE 
   EOF
   
 fi  fi
   
   
 # Check whether --enable-execs or --disable-execs was given.  # Check whether --enable-execs or --disable-execs was given.
 if test "${enable_execs+set}" = set; then  if test "${enable_execs+set}" = set; then
   enableval="$enable_execs"    enableval="$enable_execs"
Line 1520  fi Line 1522  fi
 fi  fi
   
   
 # Check whether --enable-foreign-group-files or --disable-foreign-group-files was given.  # Check whether --enable-string-origins or --disable-string-origins was given.
 if test "${enable_foreign_group_files+set}" = set; then  if test "${enable_string_origins+set}" = set; then
   enableval="$enable_foreign_group_files"    enableval="$enable_string_origins"
       
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
         echo "configure: warning: disabling reading of files belonging to group other then effective" 1>&2          echo "configure: warning: disabling string origin tracking" 1>&2
         cat >> confdefs.h <<\EOF          cat >> confdefs.h <<\EOF
 #define NO_FOREIGN_GROUP_FILES   #define NO_STRING_ORIGIN 
 EOF  EOF
   
 fi  fi
Line 1535  fi Line 1537  fi
   
 fi  fi
   
   
   
 srccharsetsdir=$srcdir/etc/parser3.charsets  srccharsetsdir=$srcdir/etc/parser3.charsets
 CHARSETS_REQUESTED="windows-1251"  CHARSETS_REQUESTED="windows-1251"
 # Check whether --with-charsets or --without-charsets was given.  # Check whether --with-charsets or --without-charsets was given.
Line 1557  done Line 1561  done
         commentcharset_windows1251='#'          commentcharset_windows1251='#'
         for c in $CHARSETS_REQUESTED; do          for c in $CHARSETS_REQUESTED; do
                 if test "windows-1251" = "$c"; then                  if test "windows-1251" = "$c"; then
                         echo "configure: warning: Enabling charset windows-1251" 1>&2                          echo "configure: warning: enabling charset windows-1251" 1>&2
                         commentcharset_windows1251=                          commentcharset_windows1251=
                 fi                  fi
         done          done
Line 1567  done Line 1571  done
         commentcharset_windows1250='#'          commentcharset_windows1250='#'
         for c in $CHARSETS_REQUESTED; do          for c in $CHARSETS_REQUESTED; do
                 if test "windows-1250" = "$c"; then                  if test "windows-1250" = "$c"; then
                         echo "configure: warning: Enabling charset windows-1250" 1>&2                          echo "configure: warning: enabling charset windows-1250" 1>&2
                         commentcharset_windows1250=                          commentcharset_windows1250=
                 fi                  fi
         done          done
Line 1577  done Line 1581  done
         commentcharset_windows1257='#'          commentcharset_windows1257='#'
         for c in $CHARSETS_REQUESTED; do          for c in $CHARSETS_REQUESTED; do
                 if test "windows-1257" = "$c"; then                  if test "windows-1257" = "$c"; then
                         echo "configure: warning: Enabling charset windows-1257" 1>&2                          echo "configure: warning: enabling charset windows-1257" 1>&2
                         commentcharset_windows1257=                          commentcharset_windows1257=
                 fi                  fi
         done          done
Line 1587  done Line 1591  done
         commentcharset_koi8r='#'          commentcharset_koi8r='#'
         for c in $CHARSETS_REQUESTED; do          for c in $CHARSETS_REQUESTED; do
                 if test "koi8-r" = "$c"; then                  if test "koi8-r" = "$c"; then
                         echo "configure: warning: Enabling charset koi8-r" 1>&2                          echo "configure: warning: enabling charset koi8-r" 1>&2
                         commentcharset_koi8r=                          commentcharset_koi8r=
                 fi                  fi
         done          done
Line 1596  done Line 1600  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:1600: checking for dynamic-link library extension" >&5  echo "configure:1604: 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 1617  if test "${with_mysql_client+set}" = set Line 1621  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:1621: checking for mysql client" >&5  echo "configure:1625: 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 1644  if test "${with_pgsql_client+set}" = set Line 1648  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:1648: checking for pgsql client" >&5  echo "configure:1652: 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 1671  if test "${with_oracle_client+set}" = se Line 1675  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:1675: checking for oracle client" >&5  echo "configure:1679: 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 1948  subdirs="src/lib/ltdl" Line 1952  subdirs="src/lib/ltdl"
   
 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:1952: checking for dlopen in -ldl" >&5  echo "configure:1956: 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 1956  else Line 1960  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 1960 "configure"  #line 1964 "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 1970  int main() { Line 1974  int main() {
 dlopen()  dlopen()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1978: \"$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 1992  EOF Line 1996  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:1996: checking for dlopen" >&5  echo "configure:2000: 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 2001 "configure"  #line 2005 "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 2023  dlopen(); Line 2027  dlopen();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2031: \"$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 2048  fi Line 2052  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:2052: checking for shl_load" >&5  echo "configure:2056: 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 2057 "configure"  #line 2061 "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 2079  shl_load(); Line 2083  shl_load();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2087: \"$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 2100  EOF Line 2104  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:2104: checking for shl_load in -ldld" >&5  echo "configure:2108: 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 2108  else Line 2112  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 2112 "configure"  #line 2116 "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 2122  int main() { Line 2126  int main() {
 shl_load()  shl_load()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2130: \"$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 2148  fi Line 2152  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:2152: checking for dld_link in -ldld" >&5  echo "configure:2156: 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 2156  else Line 2160  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 2160 "configure"  #line 2164 "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 2170  int main() { Line 2174  int main() {
 dld_link()  dld_link()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2178: \"$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 2201  if test "x$ac_cv_func_dlopen" = xyes || Line 2205  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:2205: checking for $ac_func" >&5  echo "configure:2209: 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 2210 "configure"  #line 2214 "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 2232  $ac_func(); Line 2236  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2240: \"$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 2261  fi Line 2265  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:2265: checking how to run the C++ preprocessor" >&5  echo "configure:2269: 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 2274  ac_link='${CXX-g++} -o conftest${ac_exee Line 2278  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 2278 "configure"  #line 2282 "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:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2287: \"$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 2304  CXXCPP="$ac_cv_prog_CXXCPP" Line 2308  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:2308: checking for ANSI C header files" >&5  echo "configure:2312: 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 2313 "configure"  #line 2317 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdarg.h>  #include <stdarg.h>
Line 2317  else Line 2321  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:2321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2325: \"$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 2334  rm -f conftest* Line 2338  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 2338 "configure"  #line 2342 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <string.h>  #include <string.h>
 EOF  EOF
Line 2352  fi Line 2356  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 2356 "configure"  #line 2360 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 EOF  EOF
Line 2373  if test "$cross_compiling" = yes; then Line 2377  if test "$cross_compiling" = yes; then
   :    :
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2377 "configure"  #line 2381 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" void exit(int);  extern "C" void exit(int);
Line 2387  if (XOR (islower (i), ISLOWER (i)) || to Line 2391  if (XOR (islower (i), ISLOWER (i)) || to
 exit (0); }  exit (0); }
   
 EOF  EOF
 if { (eval echo configure:2391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then  then
   :    :
 else  else
Line 2411  EOF Line 2415  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:2415: checking for size_t" >&5  echo "configure:2419: 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 2420 "configure"  #line 2424 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 2444  EOF Line 2448  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:2448: checking for off_t" >&5  echo "configure:2452: 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 2453 "configure"  #line 2457 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 2477  EOF Line 2481  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:2481: checking for ssize_t" >&5  echo "configure:2485: 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 2486 "configure"  #line 2490 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #if STDC_HEADERS  #if STDC_HEADERS
Line 2513  fi Line 2517  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:2517: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:2521: 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 2522 "configure"  #line 2526 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/time.h>  #include <sys/time.h>
Line 2527  int main() { Line 2531  int main() {
 struct tm *tp;  struct tm *tp;
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2535: \"$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 2582  netdb.h Line 2586  netdb.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:2586: checking for $ac_hdr" >&5  echo "configure:2590: 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 2591 "configure"  #line 2595 "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:2596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2600: \"$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 2623  done Line 2627  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:2627: checking for main in -lxnet" >&5  echo "configure:2631: 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 2631  else Line 2635  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 2635 "configure"  #line 2639 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2646: \"$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 2668  fi Line 2672  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:2672: checking for main in -lsocket" >&5  echo "configure:2676: 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 2676  else Line 2680  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 2680 "configure"  #line 2684 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2691: \"$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 2711  else Line 2715  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:2715: checking for main in -lnsl" >&5  echo "configure:2719: 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 2719  else Line 2723  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 2723 "configure"  #line 2727 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2734: \"$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 2756  fi Line 2760  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:2760: checking for gethostbyname in -lnsl" >&5  echo "configure:2764: 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 2764  else Line 2768  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 2768 "configure"  #line 2772 "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 2778  int main() { Line 2782  int main() {
 gethostbyname()  gethostbyname()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2786: \"$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 2806  else Line 2810  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:2810: checking for socket in -lsocket" >&5  echo "configure:2814: 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 2814  else Line 2818  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 2818 "configure"  #line 2822 "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 2828  int main() { Line 2832  int main() {
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2836: \"$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 2862  fi Line 2866  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:2866: checking for socket in -lwsock32" >&5  echo "configure:2870: 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 2870  else Line 2874  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 2874 "configure"  #line 2878 "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 2884  int main() { Line 2888  int main() {
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2892: \"$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 2915  fi Line 2919  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:2919: checking for main in -lnsl" >&5  echo "configure:2923: 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 2923  else Line 2927  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 2927 "configure"  #line 2931 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 main()  main()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2938: \"$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 2961  fi Line 2965  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:2965: checking for sin in -lm" >&5  echo "configure:2969: 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 2969  else Line 2973  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 2973 "configure"  #line 2977 "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 2983  int main() { Line 2987  int main() {
 sin()  sin()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2991: \"$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 3012  fi Line 3016  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:3016: checking for crypt in -lcrypt" >&5  echo "configure:3020: 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 3020  else Line 3024  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 3024 "configure"  #line 3028 "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 3034  int main() { Line 3038  int main() {
 crypt()  crypt()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3042: \"$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 3078  sigsetjmp siglongjmp Line 3082  sigsetjmp siglongjmp
   
 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:3082: checking for $ac_func" >&5  echo "configure:3086: 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 3087 "configure"  #line 3091 "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 3109  $ac_func(); Line 3113  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3117: \"$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 3138  done Line 3142  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:3142: checking for $ac_func" >&5  echo "configure:3146: 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 3147 "configure"  #line 3151 "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 3169  $ac_func(); Line 3173  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3177: \"$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 3197  done Line 3201  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:3201: checking for $ac_func" >&5  echo "configure:3205: 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 3206 "configure"  #line 3210 "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 3228  $ac_func(); Line 3232  $ac_func();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3236: \"$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 3256  done Line 3260  done
   
   
 echo $ac_n "checking for timezone variable""... $ac_c" 1>&6  echo $ac_n "checking for timezone variable""... $ac_c" 1>&6
 echo "configure:3260: checking for timezone variable" >&5  echo "configure:3264: checking for timezone variable" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3262 "configure"  #line 3266 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <time.h>  #include <time.h>
 int main() {  int main() {
Line 3267  time_t test=timezone; Line 3271  time_t test=timezone;
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
 #define HAVE_TIMEZONE 1  #define HAVE_TIMEZONE 1
Line 3283  fi Line 3287  fi
 rm -f conftest*                           rm -f conftest*                         
   
 echo $ac_n "checking for daylight variable""... $ac_c" 1>&6  echo $ac_n "checking for daylight variable""... $ac_c" 1>&6
 echo "configure:3287: checking for daylight variable" >&5  echo "configure:3291: checking for daylight variable" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3289 "configure"  #line 3293 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <time.h>  #include <time.h>
 int main() {  int main() {
Line 3294  int test=daylight; Line 3298  int test=daylight;
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
 #define HAVE_DAYLIGHT 1  #define HAVE_DAYLIGHT 1
Line 3310  fi Line 3314  fi
 rm -f conftest*                           rm -f conftest*                         
   
 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6  echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
 echo "configure:3314: checking for tm_gmtoff in struct tm" >&5  echo "configure:3318: checking for tm_gmtoff in struct tm" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3316 "configure"  #line 3320 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <time.h>  #include <time.h>
 int main() {  int main() {
Line 3321  tm.tm_gmtoff=0; Line 3325  tm.tm_gmtoff=0;
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
 #define HAVE_TM_GMTOFF 1  #define HAVE_TM_GMTOFF 1
Line 3337  fi Line 3341  fi
 rm -f conftest*                           rm -f conftest*                         
   
 echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6  echo $ac_n "checking for tm_tzadj in struct tm""... $ac_c" 1>&6
 echo "configure:3341: checking for tm_tzadj in struct tm" >&5  echo "configure:3345: checking for tm_tzadj in struct tm" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3343 "configure"  #line 3347 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <time.h>  #include <time.h>
 int main() {  int main() {
Line 3348  tm.tm_tzadj=0; Line 3352  tm.tm_tzadj=0;
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
 #define HAVE_TM_TZADJ 1  #define HAVE_TM_TZADJ 1
Line 3365  rm -f conftest* Line 3369  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:3369: checking whether compiler supports pragma pack" >&5  echo "configure:3373: checking whether compiler supports pragma pack" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3371 "configure"  #line 3375 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #pragma pack(1)  #pragma pack(1)
 struct _1_byte {  struct _1_byte {
Line 3379  int main() { Line 3383  int main() {
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3387: \"$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 3398  fi Line 3402  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:3402: checking for set_new_handler" >&5  echo "configure:3406: checking for set_new_handler" >&5
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 3404 "configure"  #line 3408 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #ifdef HAVE_NEW  #ifdef HAVE_NEW
 #include <new>  #include <new>
Line 3412  std::set_new_handler(failed_new); Line 3416  std::set_new_handler(failed_new);
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:3416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3420: \"$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

Removed from v.1.59  
changed lines
  Added in v.1.61


E-mail: