/[ascend]/trunk/base/autotools/configure
ViewVC logotype

Diff of /trunk/base/autotools/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 140 by johnpye, Wed Dec 21 06:05:14 2005 UTC revision 141 by johnpye, Thu Dec 22 02:16:37 2005 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.56.  # Generated by GNU Autoconf 2.59.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  # Copyright (C) 2003 Free Software Foundation, Inc.
 # Free Software Foundation, Inc.  
6  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
7  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
8  ## --------------------- ##  ## --------------------- ##
# Line 20  if test -n "${ZSH_VERSION+set}" && (emul Line 19  if test -n "${ZSH_VERSION+set}" && (emul
19  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then  elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20    set -o posix    set -o posix
21  fi  fi
22    DUALCASE=1; export DUALCASE # for MKS sh
23    
24  # Support unset when possible.  # Support unset when possible.
25  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26    as_unset=unset    as_unset=unset
27  else  else
28    as_unset=false    as_unset=false
# Line 41  for as_var in \ Line 41  for as_var in \
41    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42    LC_TELEPHONE LC_TIME    LC_TELEPHONE LC_TIME
43  do  do
44    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then    if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45      eval $as_var=C; export $as_var      eval $as_var=C; export $as_var
46    else    else
47      $as_unset $as_var      $as_unset $as_var
# Line 218  rm -f conf$$ conf$$.exe conf$$.file Line 218  rm -f conf$$ conf$$.exe conf$$.file
218  if mkdir -p . 2>/dev/null; then  if mkdir -p . 2>/dev/null; then
219    as_mkdir_p=:    as_mkdir_p=:
220  else  else
221      test -d ./-p && rmdir ./-p
222    as_mkdir_p=false    as_mkdir_p=false
223  fi  fi
224    
225  as_executable_p="test -f"  as_executable_p="test -f"
226    
227  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
228  as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229    
230  # Sed expression to map a string onto a valid variable name.  # Sed expression to map a string onto a valid variable name.
231  as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232    
233    
234  # IFS  # IFS
# Line 667  done Line 668  done
668    
669  # Be sure to have absolute paths.  # Be sure to have absolute paths.
670  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \  for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671                localstatedir libdir includedir oldincludedir infodir mandir            localstatedir libdir includedir oldincludedir infodir mandir
672  do  do
673    eval ac_val=$`echo $ac_var`    eval ac_val=$`echo $ac_var`
674    case $ac_val in    case $ac_val in
# Line 707  if test -z "$srcdir"; then Line 708  if test -z "$srcdir"; then
708    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
709    ac_confdir=`(dirname "$0") 2>/dev/null ||    ac_confdir=`(dirname "$0") 2>/dev/null ||
710  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711           X"$0" : 'X\(//\)[^/]' \| \       X"$0" : 'X\(//\)[^/]' \| \
712           X"$0" : 'X\(//\)$' \| \       X"$0" : 'X\(//\)$' \| \
713           X"$0" : 'X\(/\)' \| \       X"$0" : 'X\(/\)' \| \
714           .     : '\(.\)' 2>/dev/null ||       .     : '\(.\)' 2>/dev/null ||
715  echo X"$0" |  echo X"$0" |
716      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717        /^X\(\/\/\)[^/].*/{ s//\1/; q; }        /^X\(\/\/\)[^/].*/{ s//\1/; q; }
# Line 802  _ACEOF Line 803  _ACEOF
803    cat <<_ACEOF    cat <<_ACEOF
804  Installation directories:  Installation directories:
805    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
806                            [$ac_default_prefix]                [$ac_default_prefix]
807    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808                            [PREFIX]                [PREFIX]
809    
810  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
811  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 860  Optional Packages: Line 861  Optional Packages:
861    --with-x                use the X Window System    --with-x                use the X Window System
862  Location of Tcl, Tk, and tkTable:  Location of Tcl, Tk, and tkTable:
863    --with-tcl=LIBRARY,HEADER    --with-tcl=LIBRARY,HEADER
864                            The location of the Tcl8.3 library and/or header                            The location of the Tcl8.0 library and/or header
865                            For a static Tcl8.3 library, give the full path:                            For a static Tcl8.0 library, give the full path:
866                                --with-tcl='/usr/local/lib/libtcl8.3.a'                                --with-tcl='/usr/local/lib/libtcl8.0.a'
867                            For a dynamic library, give any -L options required:                            For a dynamic library, give any -L options required:
868                                --with-tcl='-L/usr/local/lib -ltcl8.3'                                --with-tcl='-L/usr/local/lib -ltcl8.0'
869                            To specify only the header, leave off the library:                            To specify only the header, leave off the library:
870                                --with-tcl=',/usr/local/include/tcl.h'                                --with-tcl=',/usr/local/include/tcl.h'
871    --with-tk=LIBRARY,HEADER    --with-tk=LIBRARY,HEADER
872                            The location of the Tk8.3 library and/or header                            The location of the Tk8.0 library and/or header
873                            For a static Tk8.0 library, give the full path:                            For a static Tk8.0 library, give the full path:
874                                --with-tk='/usr/local/lib/libtk8.3.a'                                --with-tk='/usr/local/lib/libtk8.3.a'
875                            For a dynamic library, give any -L options required:                            For a dynamic library, give any -L options required:
# Line 948  case $srcdir in Line 949  case $srcdir in
949      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
951  esac  esac
952  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
953  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
954  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
955  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
956  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
957  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
958      case "$ac_dir" in
959      .) ac_abs_builddir=`pwd`;;
960      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
961      *) ac_abs_builddir=`pwd`/"$ac_dir";;
962      esac;;
963    esac
964    case $ac_abs_builddir in
965    .) ac_abs_top_builddir=${ac_top_builddir}.;;
966    *)
967      case ${ac_top_builddir}. in
968      .) ac_abs_top_builddir=$ac_abs_builddir;;
969      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
970      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
971      esac;;
972    esac
973    case $ac_abs_builddir in
974    .) ac_abs_srcdir=$ac_srcdir;;
975    *)
976      case $ac_srcdir in
977      .) ac_abs_srcdir=$ac_abs_builddir;;
978      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
979      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
980      esac;;
981    esac
982    case $ac_abs_builddir in
983    .) ac_abs_top_srcdir=$ac_top_srcdir;;
984    *)
985      case $ac_top_srcdir in
986      .) ac_abs_top_srcdir=$ac_abs_builddir;;
987      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
988      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
989      esac;;
990    esac
991    
992      cd $ac_dir      cd $ac_dir
993      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
# Line 964  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 998  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
998        echo        echo
999        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
1000      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
1001             test -f $ac_srcdir/configure.in; then         test -f $ac_srcdir/configure.in; then
1002        echo        echo
1003        $ac_configure --help        $ac_configure --help
1004      else      else
# Line 978  test -n "$ac_init_help" && exit 0 Line 1012  test -n "$ac_init_help" && exit 0
1012  if $ac_init_version; then  if $ac_init_version; then
1013    cat <<\_ACEOF    cat <<\_ACEOF
1014    
1015  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
1016  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1017  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1018  _ACEOF  _ACEOF
# Line 991  This file contains any messages produced Line 1024  This file contains any messages produced
1024  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1025    
1026  It was created by $as_me, which was  It was created by $as_me, which was
1027  generated by GNU Autoconf 2.56.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1028    
1029    $ $0 $@    $ $0 $@
1030    
# Line 1068  do Line 1101  do
1101      2)      2)
1102        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1103        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1104          ac_must_keep_next=false # Got value, back to normal.      ac_must_keep_next=false # Got value, back to normal.
1105        else        else
1106          case $ac_arg in      case $ac_arg in
1107            *=* | --config-cache | -C | -disable-* | --disable-* \        *=* | --config-cache | -C | -disable-* | --disable-* \
1108            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \        | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1109            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \        | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1110            | -with-* | --with-* | -without-* | --without-* | --x)        | -with-* | --with-* | -without-* | --without-* | --x)
1111              case "$ac_configure_args0 " in          case "$ac_configure_args0 " in
1112                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;            "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1113              esac          esac
1114              ;;          ;;
1115            -* ) ac_must_keep_next=true ;;        -* ) ac_must_keep_next=true ;;
1116          esac      esac
1117        fi        fi
1118        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1119        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1114  _ASBOX Line 1147  _ASBOX
1147      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1148      *ac_space=\ *)      *ac_space=\ *)
1149        sed -n \        sed -n \
1150          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;      "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1151            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1152        ;;        ;;
1153      *)      *)
1154        sed -n \        sed -n \
1155          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"      "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1156        ;;        ;;
1157      esac;      esac;
1158  }  }
# Line 1148  _ASBOX Line 1181  _ASBOX
1181        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1182        do        do
1183      eval ac_val=$`echo $ac_var`      eval ac_val=$`echo $ac_var`
1184          echo "$ac_var='"'"'$ac_val'"'"'"      echo "$ac_var='"'"'$ac_val'"'"'"
1185        done | sort        done | sort
1186        echo        echo
1187      fi      fi
# Line 1167  _ASBOX Line 1200  _ASBOX
1200        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1201      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1202    } >&5    } >&5
1203    rm -f core core.* *.core &&    rm -f core *.core &&
1204    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1205      exit $exit_status      exit $exit_status
1206       ' 0       ' 0
# Line 1231  done Line 1264  done
1264  # value.  # value.
1265  ac_cache_corrupted=false  ac_cache_corrupted=false
1266  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1267                 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do             sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1268    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1269    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1270    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1248  echo "$as_me: error: \`$ac_var' was not Line 1281  echo "$as_me: error: \`$ac_var' was not
1281      ,);;      ,);;
1282      *)      *)
1283        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1284          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5      { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1285  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1286          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5      { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1287  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1288          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5      { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1289  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1290          ac_cache_corrupted=:      ac_cache_corrupted=:
1291        fi;;        fi;;
1292    esac    esac
1293    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1561  fi Line 1594  fi
1594    
1595  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1596  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1597  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1598  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1599    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1600  else  else
# Line 1599  fi Line 1632  fi
1632  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1633  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1634  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1635    # OS/2's system install, which has a completely different semantic
1636  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1637  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1638  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# Line 1615  do Line 1649  do
1649  case $as_dir/ in  case $as_dir/ in
1650    ./ | .// | /cC/* | \    ./ | .// | /cC/* | \
1651    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1652      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1653    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
1654    *)    *)
1655      # OSF1 and SCO ODT 3.0 have their own names for install.      # OSF1 and SCO ODT 3.0 have their own names for install.
# Line 1622  case $as_dir/ in Line 1657  case $as_dir/ in
1657      # by default.      # by default.
1658      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
1659        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
1660          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then      if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1661            if test $ac_prog = install &&        if test $ac_prog = install &&
1662              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then          grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1663              # AIX install.  It has an incompatible calling convention.          # AIX install.  It has an incompatible calling convention.
1664              :          :
1665            elif test $ac_prog = install &&        elif test $ac_prog = install &&
1666              grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then          grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1667              # program-specific install script used by HP pwplus--don't use.          # program-specific install script used by HP pwplus--don't use.
1668              :          :
1669            else        else
1670              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1671              break 3          break 3
1672            fi        fi
1673          fi      fi
1674        done        done
1675      done      done
1676      ;;      ;;
# Line 2110  ac_compiler=`set X $ac_compile; echo $2` Line 2145  ac_compiler=`set X $ac_compile; echo $2`
2145    (exit $ac_status); }    (exit $ac_status); }
2146    
2147  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2148  /* confdefs.h.  */  /* confdefs.h.  */
2149  _ACEOF  _ACEOF
2150  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2130  ac_clean_files="$ac_clean_files a.out a. Line 2164  ac_clean_files="$ac_clean_files a.out a.
2164  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2165  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2166  # of exeext.  # of exeext.
2167  echo "$as_me:$LINENO: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2168  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2169  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2170  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2171    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 2151  do Line 2185  do
2185    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2186    case $ac_file in    case $ac_file in
2187      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2188          ;;      ;;
2189      conftest.$ac_ext )      conftest.$ac_ext )
2190          # This is the source file.      # This is the source file.
2191          ;;      ;;
2192      [ab].out )      [ab].out )
2193          # We found the default executable, but exeext='' is most      # We found the default executable, but exeext='' is most
2194          # certainly right.      # certainly right.
2195          break;;      break;;
2196      *.* )      *.* )
2197          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2198          # FIXME: I believe we export ac_cv_exeext for Libtool,      # FIXME: I believe we export ac_cv_exeext for Libtool,
2199          # but it would be cool to find out if it's true.  Does anybody      # but it would be cool to find out if it's true.  Does anybody
2200          # maintain Libtool? --akim.      # maintain Libtool? --akim.
2201          export ac_cv_exeext      export ac_cv_exeext
2202          break;;      break;;
2203      * )      * )
2204          break;;      break;;
2205    esac    esac
2206  done  done
2207  else  else
# Line 2241  for ac_file in conftest.exe conftest con Line 2275  for ac_file in conftest.exe conftest con
2275    case $ac_file in    case $ac_file in
2276      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2277      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2278            export ac_cv_exeext        export ac_cv_exeext
2279            break;;        break;;
2280      * ) break;;      * ) break;;
2281    esac    esac
2282  done  done
# Line 2267  if test "${ac_cv_objext+set}" = set; the Line 2301  if test "${ac_cv_objext+set}" = set; the
2301    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2302  else  else
2303    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2304  /* confdefs.h.  */  /* confdefs.h.  */
2305  _ACEOF  _ACEOF
2306  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2318  if test "${ac_cv_c_compiler_gnu+set}" = Line 2351  if test "${ac_cv_c_compiler_gnu+set}" =
2351    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2352  else  else
2353    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2354  /* confdefs.h.  */  /* confdefs.h.  */
2355  _ACEOF  _ACEOF
2356  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2338  main () Line 2370  main ()
2370  _ACEOF  _ACEOF
2371  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2372  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2373    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2374    ac_status=$?    ac_status=$?
2375      grep -v '^ *+' conftest.er1 >conftest.err
2376      rm -f conftest.er1
2377      cat conftest.err >&5
2378    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379    (exit $ac_status); } &&    (exit $ac_status); } &&
2380           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2381                 || test ! -s conftest.err'
2382      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383      (eval $ac_try) 2>&5
2384      ac_status=$?
2385      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386      (exit $ac_status); }; } &&
2387         { ac_try='test -s conftest.$ac_objext'
2388    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2390    ac_status=$?    ac_status=$?
# Line 2355  sed 's/^/| /' conftest.$ac_ext >&5 Line 2397  sed 's/^/| /' conftest.$ac_ext >&5
2397    
2398  ac_compiler_gnu=no  ac_compiler_gnu=no
2399  fi  fi
2400  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2401  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2402    
2403  fi  fi
# Line 2371  if test "${ac_cv_prog_cc_g+set}" = set; Line 2413  if test "${ac_cv_prog_cc_g+set}" = set;
2413    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2414  else  else
2415    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2416  /* confdefs.h.  */  /* confdefs.h.  */
2417  _ACEOF  _ACEOF
2418  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2388  main () Line 2429  main ()
2429  _ACEOF  _ACEOF
2430  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2431  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2432    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2433    ac_status=$?    ac_status=$?
2434      grep -v '^ *+' conftest.er1 >conftest.err
2435      rm -f conftest.er1
2436      cat conftest.err >&5
2437    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438    (exit $ac_status); } &&    (exit $ac_status); } &&
2439           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2440                 || test ! -s conftest.err'
2441      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442      (eval $ac_try) 2>&5
2443      ac_status=$?
2444      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445      (exit $ac_status); }; } &&
2446         { ac_try='test -s conftest.$ac_objext'
2447    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2449    ac_status=$?    ac_status=$?
# Line 2405  sed 's/^/| /' conftest.$ac_ext >&5 Line 2456  sed 's/^/| /' conftest.$ac_ext >&5
2456    
2457  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2458  fi  fi
2459  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2460  fi  fi
2461  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2462  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2432  else Line 2483  else
2483    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
2484  ac_save_CC=$CC  ac_save_CC=$CC
2485  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2486  /* confdefs.h.  */  /* confdefs.h.  */
2487  _ACEOF  _ACEOF
2488  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2460  static char *f (char * (*g) (char **, in Line 2510  static char *f (char * (*g) (char **, in
2510    va_end (v);    va_end (v);
2511    return s;    return s;
2512  }  }
2513    
2514    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2515       function prototypes and stuff, but not '\xHH' hex character constants.
2516       These don't provoke an error unfortunately, instead are silently treated
2517       as 'x'.  The following induces an error, until -std1 is added to get
2518       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2519       array size at least.  It's necessary to write '\x00'==0 to get something
2520       that's true only with -std1.  */
2521    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2522    
2523  int test (int i, double x);  int test (int i, double x);
2524  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
2525  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 2486  do Line 2546  do
2546    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2547    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
2548  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2550    ac_status=$?    ac_status=$?
2551      grep -v '^ *+' conftest.er1 >conftest.err
2552      rm -f conftest.er1
2553      cat conftest.err >&5
2554    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555    (exit $ac_status); } &&    (exit $ac_status); } &&
2556           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2557                 || test ! -s conftest.err'
2558      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559      (eval $ac_try) 2>&5
2560      ac_status=$?
2561      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562      (exit $ac_status); }; } &&
2563         { ac_try='test -s conftest.$ac_objext'
2564    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2566    ac_status=$?    ac_status=$?
# Line 2503  else Line 2573  else
2573  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2574    
2575  fi  fi
2576  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
2577  done  done
2578  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
2579  CC=$ac_save_CC  CC=$ac_save_CC
# Line 2531  cat >conftest.$ac_ext <<_ACEOF Line 2601  cat >conftest.$ac_ext <<_ACEOF
2601  _ACEOF  _ACEOF
2602  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2603  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2605    ac_status=$?    ac_status=$?
2606      grep -v '^ *+' conftest.er1 >conftest.err
2607      rm -f conftest.er1
2608      cat conftest.err >&5
2609    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610    (exit $ac_status); } &&    (exit $ac_status); } &&
2611           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2612                 || test ! -s conftest.err'
2613      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614      (eval $ac_try) 2>&5
2615      ac_status=$?
2616      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617      (exit $ac_status); }; } &&
2618         { ac_try='test -s conftest.$ac_objext'
2619    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2621    ac_status=$?    ac_status=$?
2622    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2624    for ac_declaration in \    for ac_declaration in \
2625     ''\     '' \
    '#include <stdlib.h>' \  
2626     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2627     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2628     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 2551  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2630  if { (eval echo "$as_me:$LINENO: \"$ac_c
2630     'void exit (int);'     'void exit (int);'
2631  do  do
2632    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2633  /* confdefs.h.  */  /* confdefs.h.  */
2634  _ACEOF  _ACEOF
2635  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2636  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2637  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
2638  $ac_declaration  $ac_declaration
2639    #include <stdlib.h>
2640  int  int
2641  main ()  main ()
2642  {  {
# Line 2569  exit (42); Line 2647  exit (42);
2647  _ACEOF  _ACEOF
2648  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2649  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2651    ac_status=$?    ac_status=$?
2652      grep -v '^ *+' conftest.er1 >conftest.err
2653      rm -f conftest.er1
2654      cat conftest.err >&5
2655    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656    (exit $ac_status); } &&    (exit $ac_status); } &&
2657           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2658                 || test ! -s conftest.err'
2659      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660      (eval $ac_try) 2>&5
2661      ac_status=$?
2662      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663      (exit $ac_status); }; } &&
2664         { ac_try='test -s conftest.$ac_objext'
2665    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2667    ac_status=$?    ac_status=$?
# Line 2586  sed 's/^/| /' conftest.$ac_ext >&5 Line 2674  sed 's/^/| /' conftest.$ac_ext >&5
2674    
2675  continue  continue
2676  fi  fi
2677  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2679  /* confdefs.h.  */  /* confdefs.h.  */
2680  _ACEOF  _ACEOF
2681  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2605  exit (42); Line 2692  exit (42);
2692  _ACEOF  _ACEOF
2693  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2694  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2695    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2696    ac_status=$?    ac_status=$?
2697      grep -v '^ *+' conftest.er1 >conftest.err
2698      rm -f conftest.er1
2699      cat conftest.err >&5
2700    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701    (exit $ac_status); } &&    (exit $ac_status); } &&
2702           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2703                 || test ! -s conftest.err'
2704      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705      (eval $ac_try) 2>&5
2706      ac_status=$?
2707      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708      (exit $ac_status); }; } &&
2709         { ac_try='test -s conftest.$ac_objext'
2710    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2712    ac_status=$?    ac_status=$?
# Line 2621  else Line 2718  else
2718  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2719    
2720  fi  fi
2721  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2722  done  done
2723  rm -f conftest*  rm -f conftest*
2724  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2635  else Line 2732  else
2732  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2733    
2734  fi  fi
2735  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2736  ac_ext=c  ac_ext=c
2737  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2738  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2644  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 2741  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2741    
2742    
2743  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2744  /* confdefs.h.  */  /* confdefs.h.  */
2745  _ACEOF  _ACEOF
2746  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2664  main () Line 2760  main ()
2760  _ACEOF  _ACEOF
2761  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2762  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2763    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2764    ac_status=$?    ac_status=$?
2765      grep -v '^ *+' conftest.er1 >conftest.err
2766      rm -f conftest.er1
2767      cat conftest.err >&5
2768    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769    (exit $ac_status); } &&    (exit $ac_status); } &&
2770           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2771                 || test ! -s conftest.err'
2772      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773      (eval $ac_try) 2>&5
2774      ac_status=$?
2775      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776      (exit $ac_status); }; } &&
2777         { ac_try='test -s conftest.$ac_objext'
2778    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2779    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2780    ac_status=$?    ac_status=$?
# Line 2681  sed 's/^/| /' conftest.$ac_ext >&5 Line 2787  sed 's/^/| /' conftest.$ac_ext >&5
2787    
2788   asc_ansi_ok=no   asc_ansi_ok=no
2789  fi  fi
2790  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2791      echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5      echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5
2792  echo "${ECHO_T}$asc_ansi_ok" >&6  echo "${ECHO_T}$asc_ansi_ok" >&6
2793  fi  fi
# Line 2728  fi Line 2834  fi
2834          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5
2835  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6
2836          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2837  /* confdefs.h.  */  /* confdefs.h.  */
2838  _ACEOF  _ACEOF
2839  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2748  main () Line 2853  main ()
2853  _ACEOF  _ACEOF
2854  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2855  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2856    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2857    ac_status=$?    ac_status=$?
2858      grep -v '^ *+' conftest.er1 >conftest.err
2859      rm -f conftest.er1
2860      cat conftest.err >&5
2861    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862    (exit $ac_status); } &&    (exit $ac_status); } &&
2863           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2864                 || test ! -s conftest.err'
2865      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866      (eval $ac_try) 2>&5
2867      ac_status=$?
2868      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869      (exit $ac_status); }; } &&
2870         { ac_try='test -s conftest.$ac_objext'
2871    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2873    ac_status=$?    ac_status=$?
# Line 2765  sed 's/^/| /' conftest.$ac_ext >&5 Line 2880  sed 's/^/| /' conftest.$ac_ext >&5
2880    
2881   asc_ansi_ok=no   asc_ansi_ok=no
2882  fi  fi
2883  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2884          echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5          echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5
2885  echo "${ECHO_T}$asc_ansi_ok" >&6  echo "${ECHO_T}$asc_ansi_ok" >&6
2886      fi      fi
# Line 2813  fi Line 2928  fi
2928          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5
2929  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6
2930          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2931  /* confdefs.h.  */  /* confdefs.h.  */
2932  _ACEOF  _ACEOF
2933  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2833  main () Line 2947  main ()
2947  _ACEOF  _ACEOF
2948  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2949  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2950    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2951    ac_status=$?    ac_status=$?
2952      grep -v '^ *+' conftest.er1 >conftest.err
2953      rm -f conftest.er1
2954      cat conftest.err >&5
2955    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956    (exit $ac_status); } &&    (exit $ac_status); } &&
2957           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2958                 || test ! -s conftest.err'
2959      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960      (eval $ac_try) 2>&5
2961      ac_status=$?
2962      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963      (exit $ac_status); }; } &&
2964         { ac_try='test -s conftest.$ac_objext'
2965    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2967    ac_status=$?    ac_status=$?
# Line 2850  sed 's/^/| /' conftest.$ac_ext >&5 Line 2974  sed 's/^/| /' conftest.$ac_ext >&5
2974    
2975   asc_ansi_ok=no   asc_ansi_ok=no
2976  fi  fi
2977  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2978          echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5          echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5
2979  echo "${ECHO_T}$asc_ansi_ok" >&6  echo "${ECHO_T}$asc_ansi_ok" >&6
2980      fi      fi
# Line 2898  fi Line 3022  fi
3022          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5          echo "$as_me:$LINENO: checking whether $CC understands const, void*, and function prototypes" >&5
3023  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6  echo $ECHO_N "checking whether $CC understands const, void*, and function prototypes... $ECHO_C" >&6
3024          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3025  /* confdefs.h.  */  /* confdefs.h.  */
3026  _ACEOF  _ACEOF
3027  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2918  main () Line 3041  main ()
3041  _ACEOF  _ACEOF
3042  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3043  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3045    ac_status=$?    ac_status=$?
3046      grep -v '^ *+' conftest.er1 >conftest.err
3047      rm -f conftest.er1
3048      cat conftest.err >&5
3049    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050    (exit $ac_status); } &&    (exit $ac_status); } &&
3051           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3052                 || test ! -s conftest.err'
3053      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054      (eval $ac_try) 2>&5
3055      ac_status=$?
3056      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057      (exit $ac_status); }; } &&
3058         { ac_try='test -s conftest.$ac_objext'
3059    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3061    ac_status=$?    ac_status=$?
# Line 2935  sed 's/^/| /' conftest.$ac_ext >&5 Line 3068  sed 's/^/| /' conftest.$ac_ext >&5
3068    
3069   asc_ansi_ok=no   asc_ansi_ok=no
3070  fi  fi
3071  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3072          echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5          echo "$as_me:$LINENO: result: $asc_ansi_ok" >&5
3073  echo "${ECHO_T}$asc_ansi_ok" >&6  echo "${ECHO_T}$asc_ansi_ok" >&6
3074      fi      fi
# Line 3282  if test "${ac_cv_c_compiler_gnu+set}" = Line 3415  if test "${ac_cv_c_compiler_gnu+set}" =
3415    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3416  else  else
3417    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3418  /* confdefs.h.  */  /* confdefs.h.  */
3419  _ACEOF  _ACEOF
3420  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3302  main () Line 3434  main ()
3434  _ACEOF  _ACEOF
3435  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3436  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3437    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3438    ac_status=$?    ac_status=$?
3439      grep -v '^ *+' conftest.er1 >conftest.err
3440      rm -f conftest.er1
3441      cat conftest.err >&5
3442    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443    (exit $ac_status); } &&    (exit $ac_status); } &&
3444           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3445                 || test ! -s conftest.err'
3446      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447      (eval $ac_try) 2>&5
3448      ac_status=$?
3449      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450      (exit $ac_status); }; } &&
3451         { ac_try='test -s conftest.$ac_objext'
3452    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3454    ac_status=$?    ac_status=$?
# Line 3319  sed 's/^/| /' conftest.$ac_ext >&5 Line 3461  sed 's/^/| /' conftest.$ac_ext >&5
3461    
3462  ac_compiler_gnu=no  ac_compiler_gnu=no
3463  fi  fi
3464  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3465  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
3466    
3467  fi  fi
# Line 3335  if test "${ac_cv_prog_cc_g+set}" = set; Line 3477  if test "${ac_cv_prog_cc_g+set}" = set;
3477    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3478  else  else
3479    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3480  /* confdefs.h.  */  /* confdefs.h.  */
3481  _ACEOF  _ACEOF
3482  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3352  main () Line 3493  main ()
3493  _ACEOF  _ACEOF
3494  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3495  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3496    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3497    ac_status=$?    ac_status=$?
3498      grep -v '^ *+' conftest.er1 >conftest.err
3499      rm -f conftest.er1
3500      cat conftest.err >&5
3501    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502    (exit $ac_status); } &&    (exit $ac_status); } &&
3503           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3504                 || test ! -s conftest.err'
3505      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3506      (eval $ac_try) 2>&5
3507      ac_status=$?
3508      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509      (exit $ac_status); }; } &&
3510         { ac_try='test -s conftest.$ac_objext'
3511    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3513    ac_status=$?    ac_status=$?
# Line 3369  sed 's/^/| /' conftest.$ac_ext >&5 Line 3520  sed 's/^/| /' conftest.$ac_ext >&5
3520    
3521  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
3522  fi  fi
3523  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3524  fi  fi
3525  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3526  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 3396  else Line 3547  else
3547    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
3548  ac_save_CC=$CC  ac_save_CC=$CC
3549  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3550  /* confdefs.h.  */  /* confdefs.h.  */
3551  _ACEOF  _ACEOF
3552  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3424  static char *f (char * (*g) (char **, in Line 3574  static char *f (char * (*g) (char **, in
3574    va_end (v);    va_end (v);
3575    return s;    return s;
3576  }  }
3577    
3578    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3579       function prototypes and stuff, but not '\xHH' hex character constants.
3580       These don't provoke an error unfortunately, instead are silently treated
3581       as 'x'.  The following induces an error, until -std1 is added to get
3582       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3583       array size at least.  It's necessary to write '\x00'==0 to get something
3584       that's true only with -std1.  */
3585    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3586    
3587  int test (int i, double x);  int test (int i, double x);
3588  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
3589  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 3450  do Line 3610  do
3610    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
3611    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
3612  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3613    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3614    ac_status=$?    ac_status=$?
3615      grep -v '^ *+' conftest.er1 >conftest.err
3616      rm -f conftest.er1
3617      cat conftest.err >&5
3618    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619    (exit $ac_status); } &&    (exit $ac_status); } &&
3620           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3621                 || test ! -s conftest.err'
3622      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623      (eval $ac_try) 2>&5
3624      ac_status=$?
3625      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626      (exit $ac_status); }; } &&
3627         { ac_try='test -s conftest.$ac_objext'
3628    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3630    ac_status=$?    ac_status=$?
# Line 3467  else Line 3637  else
3637  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3638    
3639  fi  fi
3640  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
3641  done  done
3642  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
3643  CC=$ac_save_CC  CC=$ac_save_CC
# Line 3495  cat >conftest.$ac_ext <<_ACEOF Line 3665  cat >conftest.$ac_ext <<_ACEOF
3665  _ACEOF  _ACEOF
3666  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3667  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3668    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3669    ac_status=$?    ac_status=$?
3670      grep -v '^ *+' conftest.er1 >conftest.err
3671      rm -f conftest.er1
3672      cat conftest.err >&5
3673    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674    (exit $ac_status); } &&    (exit $ac_status); } &&
3675           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3676                 || test ! -s conftest.err'
3677      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3678      (eval $ac_try) 2>&5
3679      ac_status=$?
3680      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681      (exit $ac_status); }; } &&
3682         { ac_try='test -s conftest.$ac_objext'
3683    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3684    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3685    ac_status=$?    ac_status=$?
3686    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
3688    for ac_declaration in \    for ac_declaration in \
3689     ''\     '' \
    '#include <stdlib.h>' \  
3690     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
3691     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
3692     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 3515  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3694  if { (eval echo "$as_me:$LINENO: \"$ac_c
3694     'void exit (int);'     'void exit (int);'
3695  do  do
3696    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3697  /* confdefs.h.  */  /* confdefs.h.  */
3698  _ACEOF  _ACEOF
3699  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3700  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3701  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
3702  $ac_declaration  $ac_declaration
3703    #include <stdlib.h>
3704  int  int
3705  main ()  main ()
3706  {  {
# Line 3533  exit (42); Line 3711  exit (42);
3711  _ACEOF  _ACEOF
3712  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3713  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3714    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3715    ac_status=$?    ac_status=$?
3716      grep -v '^ *+' conftest.er1 >conftest.err
3717      rm -f conftest.er1
3718      cat conftest.err >&5
3719    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720    (exit $ac_status); } &&    (exit $ac_status); } &&
3721           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3722                 || test ! -s conftest.err'
3723      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724      (eval $ac_try) 2>&5
3725      ac_status=$?
3726      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727      (exit $ac_status); }; } &&
3728         { ac_try='test -s conftest.$ac_objext'
3729    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3731    ac_status=$?    ac_status=$?
# Line 3550  sed 's/^/| /' conftest.$ac_ext >&5 Line 3738  sed 's/^/| /' conftest.$ac_ext >&5
3738    
3739  continue  continue
3740  fi  fi
3741  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3742    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3743  /* confdefs.h.  */  /* confdefs.h.  */
3744  _ACEOF  _ACEOF
3745  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3569  exit (42); Line 3756  exit (42);
3756  _ACEOF  _ACEOF
3757  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3758  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3760    ac_status=$?    ac_status=$?
3761      grep -v '^ *+' conftest.er1 >conftest.err
3762      rm -f conftest.er1
3763      cat conftest.err >&5
3764    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765    (exit $ac_status); } &&    (exit $ac_status); } &&
3766           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3767                 || test ! -s conftest.err'
3768      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769      (eval $ac_try) 2>&5
3770      ac_status=$?
3771      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772      (exit $ac_status); }; } &&
3773         { ac_try='test -s conftest.$ac_objext'
3774    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3776    ac_status=$?    ac_status=$?
# Line 3585  else Line 3782  else
3782  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3783    
3784  fi  fi
3785  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3786  done  done
3787  rm -f conftest*  rm -f conftest*
3788  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 3599  else Line 3796  else
3796  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3797    
3798  fi  fi
3799  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3800  ac_ext=c  ac_ext=c
3801  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
3802  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3662  for ac_c_preproc_warn_flag in '' yes Line 3859  for ac_c_preproc_warn_flag in '' yes
3859  do  do
3860    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
3861    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
3862      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3863      # <limits.h> exists even on freestanding compilers.
3864    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3865    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3866    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3867  /* confdefs.h.  */  /* confdefs.h.  */
3868  _ACEOF  _ACEOF
3869  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3870  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3871  /* end confdefs.h.  */  /* end confdefs.h.  */
3872  #include <assert.h>  #ifdef __STDC__
3873                       Syntax error  # include <limits.h>
3874    #else
3875    # include <assert.h>
3876    #endif
3877                 Syntax error
3878  _ACEOF  _ACEOF
3879  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3880    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3684  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3886  if { (eval echo "$as_me:$LINENO: \"$ac_c
3886    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3887    if test -s conftest.err; then    if test -s conftest.err; then
3888      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3889        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3890    else    else
3891      ac_cpp_err=      ac_cpp_err=
3892    fi    fi
# Line 3704  rm -f conftest.err conftest.$ac_ext Line 3907  rm -f conftest.err conftest.$ac_ext
3907    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
3908    # can be detected and how.    # can be detected and how.
3909    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3910  /* confdefs.h.  */  /* confdefs.h.  */
3911  _ACEOF  _ACEOF
3912  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3722  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3924  if { (eval echo "$as_me:$LINENO: \"$ac_c
3924    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3925    if test -s conftest.err; then    if test -s conftest.err; then
3926      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3927        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3928    else    else
3929      ac_cpp_err=      ac_cpp_err=
3930    fi    fi
# Line 3763  for ac_c_preproc_warn_flag in '' yes Line 3966  for ac_c_preproc_warn_flag in '' yes
3966  do  do
3967    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
3968    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
3969      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3970      # <limits.h> exists even on freestanding compilers.
3971    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
3972    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
3973    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3974  /* confdefs.h.  */  /* confdefs.h.  */
3975  _ACEOF  _ACEOF
3976  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3977  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3978  /* end confdefs.h.  */  /* end confdefs.h.  */
3979  #include <assert.h>  #ifdef __STDC__
3980                       Syntax error  # include <limits.h>
3981    #else
3982    # include <assert.h>
3983    #endif
3984                 Syntax error
3985  _ACEOF  _ACEOF
3986  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3987    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 3785  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3993  if { (eval echo "$as_me:$LINENO: \"$ac_c
3993    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
3994    if test -s conftest.err; then    if test -s conftest.err; then
3995      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
3996        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3997    else    else
3998      ac_cpp_err=      ac_cpp_err=
3999    fi    fi
# Line 3805  rm -f conftest.err conftest.$ac_ext Line 4014  rm -f conftest.err conftest.$ac_ext
4014    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
4015    # can be detected and how.    # can be detected and how.
4016    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4017  /* confdefs.h.  */  /* confdefs.h.  */
4018  _ACEOF  _ACEOF
4019  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3823  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4031  if { (eval echo "$as_me:$LINENO: \"$ac_c
4031    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4032    if test -s conftest.err; then    if test -s conftest.err; then
4033      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4034        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4035    else    else
4036      ac_cpp_err=      ac_cpp_err=
4037    fi    fi
# Line 3936  echo "${ECHO_T}$ac_cv_prog_egrep" >&6 Line 4145  echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4145    
4146    
4147  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4148  /* confdefs.h.  */  /* confdefs.h.  */
4149  _ACEOF  _ACEOF
4150  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3965  echo "${ECHO_T}$asc_aix" >&6 Line 4173  echo "${ECHO_T}$asc_aix" >&6
4173  echo "$as_me:$LINENO: checking whether -D_HPUX_SOURCE is needed" >&5  echo "$as_me:$LINENO: checking whether -D_HPUX_SOURCE is needed" >&5
4174  echo $ECHO_N "checking whether -D_HPUX_SOURCE is needed... $ECHO_C" >&6  echo $ECHO_N "checking whether -D_HPUX_SOURCE is needed... $ECHO_C" >&6
4175  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4176  /* confdefs.h.  */  /* confdefs.h.  */
4177  _ACEOF  _ACEOF
4178  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4000  if test "${ac_cv_header_stdc+set}" = set Line 4207  if test "${ac_cv_header_stdc+set}" = set
4207    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4208  else  else
4209    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4210  /* confdefs.h.  */  /* confdefs.h.  */
4211  _ACEOF  _ACEOF
4212  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4021  main () Line 4227  main ()
4227  _ACEOF  _ACEOF
4228  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4229  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4230    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4231    ac_status=$?    ac_status=$?
4232      grep -v '^ *+' conftest.er1 >conftest.err
4233      rm -f conftest.er1
4234      cat conftest.err >&5
4235    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236    (exit $ac_status); } &&    (exit $ac_status); } &&
4237           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4238                 || test ! -s conftest.err'
4239      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240      (eval $ac_try) 2>&5
4241      ac_status=$?
4242      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243      (exit $ac_status); }; } &&
4244         { ac_try='test -s conftest.$ac_objext'
4245    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4247    ac_status=$?    ac_status=$?
# Line 4038  sed 's/^/| /' conftest.$ac_ext >&5 Line 4254  sed 's/^/| /' conftest.$ac_ext >&5
4254    
4255  ac_cv_header_stdc=no  ac_cv_header_stdc=no
4256  fi  fi
4257  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4258    
4259  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4260    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4261    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4262  /* confdefs.h.  */  /* confdefs.h.  */
4263  _ACEOF  _ACEOF
4264  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4065  fi Line 4280  fi
4280  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
4281    # 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.
4282    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4283  /* confdefs.h.  */  /* confdefs.h.  */
4284  _ACEOF  _ACEOF
4285  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4090  if test $ac_cv_header_stdc = yes; then Line 4304  if test $ac_cv_header_stdc = yes; then
4304    :    :
4305  else  else
4306    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4307  /* confdefs.h.  */  /* confdefs.h.  */
4308  _ACEOF  _ACEOF
4309  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4102  cat >>conftest.$ac_ext <<_ACEOF Line 4315  cat >>conftest.$ac_ext <<_ACEOF
4315  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4316  #else  #else
4317  # define ISLOWER(c) \  # define ISLOWER(c) \
4318                     (('a' <= (c) && (c) <= 'i') \             (('a' <= (c) && (c) <= 'i') \
4319                       || ('j' <= (c) && (c) <= 'r') \               || ('j' <= (c) && (c) <= 'r') \
4320                       || ('s' <= (c) && (c) <= 'z'))               || ('s' <= (c) && (c) <= 'z'))
4321  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4322  #endif  #endif
4323    
# Line 4115  main () Line 4328  main ()
4328    int i;    int i;
4329    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
4330      if (XOR (islower (i), ISLOWER (i))      if (XOR (islower (i), ISLOWER (i))
4331          || toupper (i) != TOUPPER (i))      || toupper (i) != TOUPPER (i))
4332        exit(2);        exit(2);
4333    exit (0);    exit (0);
4334  }  }
# Line 4140  sed 's/^/| /' conftest.$ac_ext >&5 Line 4353  sed 's/^/| /' conftest.$ac_ext >&5
4353  ( exit $ac_status )  ( exit $ac_status )
4354  ac_cv_header_stdc=no  ac_cv_header_stdc=no
4355  fi  fi
4356  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4357  fi  fi
4358  fi  fi
4359  fi  fi
# Line 4165  fi Line 4378  fi
4378    
4379    
4380  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4381                    inttypes.h stdint.h unistd.h            inttypes.h stdint.h unistd.h
4382  do  do
4383  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4384  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 4174  if eval "test \"\${$as_ac_Header+set}\" Line 4387  if eval "test \"\${$as_ac_Header+set}\"
4387    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4388  else  else
4389    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4390  /* confdefs.h.  */  /* confdefs.h.  */
4391  _ACEOF  _ACEOF
4392  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4186  $ac_includes_default Line 4398  $ac_includes_default
4398  _ACEOF  _ACEOF
4399  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4400  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4401    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4402    ac_status=$?    ac_status=$?
4403      grep -v '^ *+' conftest.er1 >conftest.err
4404      rm -f conftest.er1
4405      cat conftest.err >&5
4406    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407    (exit $ac_status); } &&    (exit $ac_status); } &&
4408           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4409                 || test ! -s conftest.err'
4410      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4411      (eval $ac_try) 2>&5
4412      ac_status=$?
4413      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414      (exit $ac_status); }; } &&
4415         { ac_try='test -s conftest.$ac_objext'
4416    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4418    ac_status=$?    ac_status=$?
# Line 4203  sed 's/^/| /' conftest.$ac_ext >&5 Line 4425  sed 's/^/| /' conftest.$ac_ext >&5
4425    
4426  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
4427  fi  fi
4428  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4429  fi  fi
4430  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4431  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 4223  if test "${ac_cv_type_void_p+set}" = set Line 4445  if test "${ac_cv_type_void_p+set}" = set
4445    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4446  else  else
4447    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4448  /* confdefs.h.  */  /* confdefs.h.  */
4449  _ACEOF  _ACEOF
4450  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4243  if (sizeof (void *)) Line 4464  if (sizeof (void *))
4464  _ACEOF  _ACEOF
4465  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4466  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4467    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4468    ac_status=$?    ac_status=$?
4469      grep -v '^ *+' conftest.er1 >conftest.err
4470      rm -f conftest.er1
4471      cat conftest.err >&5
4472    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473    (exit $ac_status); } &&    (exit $ac_status); } &&
4474           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4475                 || test ! -s conftest.err'
4476      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4477      (eval $ac_try) 2>&5
4478      ac_status=$?
4479      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480      (exit $ac_status); }; } &&
4481         { ac_try='test -s conftest.$ac_objext'
4482    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4484    ac_status=$?    ac_status=$?
# Line 4260  sed 's/^/| /' conftest.$ac_ext >&5 Line 4491  sed 's/^/| /' conftest.$ac_ext >&5
4491    
4492  ac_cv_type_void_p=no  ac_cv_type_void_p=no
4493  fi  fi
4494  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4495  fi  fi
4496  echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5  echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
4497  echo "${ECHO_T}$ac_cv_type_void_p" >&6  echo "${ECHO_T}$ac_cv_type_void_p" >&6
# Line 4278  else Line 4509  else
4509    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
4510    # Depending upon the size, compute the lo and hi bounds.    # Depending upon the size, compute the lo and hi bounds.
4511  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4512  /* confdefs.h.  */  /* confdefs.h.  */
4513  _ACEOF  _ACEOF
4514  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4297  test_array [0] = 0 Line 4527  test_array [0] = 0
4527  _ACEOF  _ACEOF
4528  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4529  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4531    ac_status=$?    ac_status=$?
4532      grep -v '^ *+' conftest.er1 >conftest.err
4533      rm -f conftest.er1
4534      cat conftest.err >&5
4535    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536    (exit $ac_status); } &&    (exit $ac_status); } &&
4537           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4538                 || test ! -s conftest.err'
4539      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540      (eval $ac_try) 2>&5
4541      ac_status=$?
4542      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543      (exit $ac_status); }; } &&
4544         { ac_try='test -s conftest.$ac_objext'
4545    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4547    ac_status=$?    ac_status=$?
# Line 4310  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4550  if { (eval echo "$as_me:$LINENO: \"$ac_c
4550    ac_lo=0 ac_mid=0    ac_lo=0 ac_mid=0
4551    while :; do    while :; do
4552      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4553  /* confdefs.h.  */  /* confdefs.h.  */
4554  _ACEOF  _ACEOF
4555  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4329  test_array [0] = 0 Line 4568  test_array [0] = 0
4568  _ACEOF  _ACEOF
4569  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4570  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4571    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4572    ac_status=$?    ac_status=$?
4573      grep -v '^ *+' conftest.er1 >conftest.err
4574      rm -f conftest.er1
4575      cat conftest.err >&5
4576    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577    (exit $ac_status); } &&    (exit $ac_status); } &&
4578           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4579                 || test ! -s conftest.err'
4580      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581      (eval $ac_try) 2>&5
4582      ac_status=$?
4583      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584      (exit $ac_status); }; } &&
4585         { ac_try='test -s conftest.$ac_objext'
4586    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4588    ac_status=$?    ac_status=$?
# Line 4345  else Line 4594  else
4594  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4595    
4596  ac_lo=`expr $ac_mid + 1`  ac_lo=`expr $ac_mid + 1`
4597                      if test $ac_lo -le $ac_mid; then              if test $ac_lo -le $ac_mid; then
4598                        ac_lo= ac_hi=                ac_lo= ac_hi=
4599                        break                break
4600                      fi              fi
4601                      ac_mid=`expr 2 '*' $ac_mid + 1`              ac_mid=`expr 2 '*' $ac_mid + 1`
4602  fi  fi
4603  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4604    done    done
4605  else  else
4606    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4607  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4608    
4609  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4610  /* confdefs.h.  */  /* confdefs.h.  */
4611  _ACEOF  _ACEOF
4612  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4377  test_array [0] = 0 Line 4625  test_array [0] = 0
4625  _ACEOF  _ACEOF
4626  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4627  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4628    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4629    ac_status=$?    ac_status=$?
4630      grep -v '^ *+' conftest.er1 >conftest.err
4631      rm -f conftest.er1
4632      cat conftest.err >&5
4633    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634    (exit $ac_status); } &&    (exit $ac_status); } &&
4635           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4636                 || test ! -s conftest.err'
4637      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638      (eval $ac_try) 2>&5
4639      ac_status=$?
4640      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641      (exit $ac_status); }; } &&
4642         { ac_try='test -s conftest.$ac_objext'
4643    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4644    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4645    ac_status=$?    ac_status=$?
# Line 4390  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4648  if { (eval echo "$as_me:$LINENO: \"$ac_c
4648    ac_hi=-1 ac_mid=-1    ac_hi=-1 ac_mid=-1
4649    while :; do    while :; do
4650      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4651  /* confdefs.h.  */  /* confdefs.h.  */
4652  _ACEOF  _ACEOF
4653  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4409  test_array [0] = 0 Line 4666  test_array [0] = 0
4666  _ACEOF  _ACEOF
4667  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4668  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4669    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4670    ac_status=$?    ac_status=$?
4671      grep -v '^ *+' conftest.er1 >conftest.err
4672      rm -f conftest.er1
4673      cat conftest.err >&5
4674    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675    (exit $ac_status); } &&    (exit $ac_status); } &&
4676           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4677                 || test ! -s conftest.err'
4678      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679      (eval $ac_try) 2>&5
4680      ac_status=$?
4681      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682      (exit $ac_status); }; } &&
4683         { ac_try='test -s conftest.$ac_objext'
4684    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4686    ac_status=$?    ac_status=$?
# Line 4425  else Line 4692  else
4692  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4693    
4694  ac_hi=`expr '(' $ac_mid ')' - 1`  ac_hi=`expr '(' $ac_mid ')' - 1`
4695                         if test $ac_mid -le $ac_hi; then                 if test $ac_mid -le $ac_hi; then
4696                           ac_lo= ac_hi=               ac_lo= ac_hi=
4697                           break               break
4698                         fi                 fi
4699                         ac_mid=`expr 2 '*' $ac_mid`                 ac_mid=`expr 2 '*' $ac_mid`
4700  fi  fi
4701  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4702    done    done
4703  else  else
4704    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
# Line 4439  sed 's/^/| /' conftest.$ac_ext >&5 Line 4706  sed 's/^/| /' conftest.$ac_ext >&5
4706    
4707  ac_lo= ac_hi=  ac_lo= ac_hi=
4708  fi  fi
4709  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4710  fi  fi
4711  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4712  # Binary search between lo and hi bounds.  # Binary search between lo and hi bounds.
4713  while test "x$ac_lo" != "x$ac_hi"; do  while test "x$ac_lo" != "x$ac_hi"; do
4714    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4715    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4716  /* confdefs.h.  */  /* confdefs.h.  */
4717  _ACEOF  _ACEOF
4718  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4465  test_array [0] = 0 Line 4731  test_array [0] = 0
4731  _ACEOF  _ACEOF
4732  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
4733  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4734    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
4735    ac_status=$?    ac_status=$?
4736      grep -v '^ *+' conftest.er1 >conftest.err
4737      rm -f conftest.er1
4738      cat conftest.err >&5
4739    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740    (exit $ac_status); } &&    (exit $ac_status); } &&
4741           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
4742                 || test ! -s conftest.err'
4743      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4744      (eval $ac_try) 2>&5
4745      ac_status=$?
4746      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747      (exit $ac_status); }; } &&
4748         { ac_try='test -s conftest.$ac_objext'
4749    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4751    ac_status=$?    ac_status=$?
# Line 4482  sed 's/^/| /' conftest.$ac_ext >&5 Line 4758  sed 's/^/| /' conftest.$ac_ext >&5
4758    
4759  ac_lo=`expr '(' $ac_mid ')' + 1`  ac_lo=`expr '(' $ac_mid ')' + 1`
4760  fi  fi
4761  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4762  done  done
4763  case $ac_lo in  case $ac_lo in
4764  ?*) ac_cv_sizeof_void_p=$ac_lo;;  ?*) ac_cv_sizeof_void_p=$ac_lo;;
# Line 4501  See \`config.log' for more details." >&2 Line 4777  See \`config.log' for more details." >&2
4777     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4778  else  else
4779    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4780  /* confdefs.h.  */  /* confdefs.h.  */
4781  _ACEOF  _ACEOF
4782  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4563  echo "$as_me: error: cannot compute size Line 4838  echo "$as_me: error: cannot compute size
4838  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
4839     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4840  fi  fi
4841  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4842  fi  fi
4843  fi  fi
4844  rm -f conftest.val  rm -f conftest.val
# Line 4809  else Line 5084  else
5084    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5085  LIBS="-lfl  $LIBS"  LIBS="-lfl  $LIBS"
5086  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5087  /* confdefs.h.  */  /* confdefs.h.  */
5088  _ACEOF  _ACEOF
5089  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4833  yywrap (); Line 5107  yywrap ();
5107  _ACEOF  _ACEOF
5108  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5109  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5110    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5111    ac_status=$?    ac_status=$?
5112      grep -v '^ *+' conftest.er1 >conftest.err
5113      rm -f conftest.er1
5114      cat conftest.err >&5
5115    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116    (exit $ac_status); } &&    (exit $ac_status); } &&
5117           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5118                 || test ! -s conftest.err'
5119      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120      (eval $ac_try) 2>&5
5121      ac_status=$?
5122      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123      (exit $ac_status); }; } &&
5124         { ac_try='test -s conftest$ac_exeext'
5125    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5126    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5127    ac_status=$?    ac_status=$?
# Line 4850  sed 's/^/| /' conftest.$ac_ext >&5 Line 5134  sed 's/^/| /' conftest.$ac_ext >&5
5134    
5135  ac_cv_lib_fl_yywrap=no  ac_cv_lib_fl_yywrap=no
5136  fi  fi
5137  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5138          conftest$ac_exeext conftest.$ac_ext
5139  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5140  fi  fi
5141  echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
# Line 4866  else Line 5151  else
5151    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5152  LIBS="-ll  $LIBS"  LIBS="-ll  $LIBS"
5153  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5154  /* confdefs.h.  */  /* confdefs.h.  */
5155  _ACEOF  _ACEOF
5156  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4890  yywrap (); Line 5174  yywrap ();
5174  _ACEOF  _ACEOF
5175  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5176  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5177    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5178    ac_status=$?    ac_status=$?
5179      grep -v '^ *+' conftest.er1 >conftest.err
5180      rm -f conftest.er1
5181      cat conftest.err >&5
5182    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183    (exit $ac_status); } &&    (exit $ac_status); } &&
5184           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5185                 || test ! -s conftest.err'
5186      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5187      (eval $ac_try) 2>&5
5188      ac_status=$?
5189      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190      (exit $ac_status); }; } &&
5191         { ac_try='test -s conftest$ac_exeext'
5192    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5193    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5194    ac_status=$?    ac_status=$?
# Line 4907  sed 's/^/| /' conftest.$ac_ext >&5 Line 5201  sed 's/^/| /' conftest.$ac_ext >&5
5201    
5202  ac_cv_lib_l_yywrap=no  ac_cv_lib_l_yywrap=no
5203  fi  fi
5204  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5205          conftest$ac_exeext conftest.$ac_ext
5206  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5207  fi  fi
5208  echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
# Line 4969  cat >conftest.$ac_ext <<_ACEOF Line 5264  cat >conftest.$ac_ext <<_ACEOF
5264  _ACEOF  _ACEOF
5265  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5266  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5267    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5268    ac_status=$?    ac_status=$?
5269      grep -v '^ *+' conftest.er1 >conftest.err
5270      rm -f conftest.er1
5271      cat conftest.err >&5
5272    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273    (exit $ac_status); } &&    (exit $ac_status); } &&
5274           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5275                 || test ! -s conftest.err'
5276      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277      (eval $ac_try) 2>&5
5278      ac_status=$?
5279      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280      (exit $ac_status); }; } &&
5281         { ac_try='test -s conftest$ac_exeext'
5282    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5284    ac_status=$?    ac_status=$?
# Line 4985  else Line 5290  else
5290  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5291    
5292  fi  fi
5293  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5294          conftest$ac_exeext conftest.$ac_ext
5295  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
5296  rm -f "${LEX_OUTPUT_ROOT}.c"  rm -f "${LEX_OUTPUT_ROOT}.c"
5297    
# Line 5024  if test "${ac_cv_func_sin+set}" = set; t Line 5330  if test "${ac_cv_func_sin+set}" = set; t
5330    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5331  else  else
5332    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5333  /* confdefs.h.  */  /* confdefs.h.  */
5334  _ACEOF  _ACEOF
5335  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
5336  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
5337  /* end confdefs.h.  */  /* end confdefs.h.  */
5338    /* Define sin to an innocuous variant, in case <limits.h> declares sin.
5339       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5340    #define sin innocuous_sin
5341    
5342  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5343      which can conflict with char sin (); below.  */      which can conflict with char sin (); below.
5344  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5345        <limits.h> exists even on freestanding compilers.  */
5346    
5347    #ifdef __STDC__
5348    # include <limits.h>
5349    #else
5350    # include <assert.h>
5351    #endif
5352    
5353    #undef sin
5354    
5355  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5356  #ifdef __cplusplus  #ifdef __cplusplus
5357  extern "C"  extern "C"
# Line 5056  char (*f) () = sin; Line 5375  char (*f) () = sin;
5375  int  int
5376  main ()  main ()
5377  {  {
5378    return f != sin;
5379    ;    ;
5380    return 0;    return 0;
5381  }  }
5382  _ACEOF  _ACEOF
5383  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5384  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5385    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5386    ac_status=$?    ac_status=$?
5387      grep -v '^ *+' conftest.er1 >conftest.err
5388      rm -f conftest.er1
5389      cat conftest.err >&5
5390    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391    (exit $ac_status); } &&    (exit $ac_status); } &&
5392           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5393                 || test ! -s conftest.err'
5394      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5395      (eval $ac_try) 2>&5
5396      ac_status=$?
5397      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398      (exit $ac_status); }; } &&
5399         { ac_try='test -s conftest$ac_exeext'
5400    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5401    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5402    ac_status=$?    ac_status=$?
# Line 5080  sed 's/^/| /' conftest.$ac_ext >&5 Line 5409  sed 's/^/| /' conftest.$ac_ext >&5
5409    
5410  ac_cv_func_sin=no  ac_cv_func_sin=no
5411  fi  fi
5412  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5413          conftest$ac_exeext conftest.$ac_ext
5414  fi  fi
5415  echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
5416  echo "${ECHO_T}$ac_cv_func_sin" >&6  echo "${ECHO_T}$ac_cv_func_sin" >&6
# Line 5099  else Line 5429  else
5429    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5430  LIBS="-lieee  $LIBS"  LIBS="-lieee  $LIBS"
5431  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5432  /* confdefs.h.  */  /* confdefs.h.  */
5433  _ACEOF  _ACEOF
5434  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5123  printf (); Line 5452  printf ();
5452  _ACEOF  _ACEOF
5453  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5454  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5455    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5456    ac_status=$?    ac_status=$?
5457      grep -v '^ *+' conftest.er1 >conftest.err
5458      rm -f conftest.er1
5459      cat conftest.err >&5
5460    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461    (exit $ac_status); } &&    (exit $ac_status); } &&
5462           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5463                 || test ! -s conftest.err'
5464      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5465      (eval $ac_try) 2>&5
5466      ac_status=$?
5467      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468      (exit $ac_status); }; } &&
5469         { ac_try='test -s conftest$ac_exeext'
5470    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5472    ac_status=$?    ac_status=$?
# Line 5140  sed 's/^/| /' conftest.$ac_ext >&5 Line 5479  sed 's/^/| /' conftest.$ac_ext >&5
5479    
5480  ac_cv_lib_ieee_printf=no  ac_cv_lib_ieee_printf=no
5481  fi  fi
5482  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5483          conftest$ac_exeext conftest.$ac_ext
5484  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5485  fi  fi
5486  echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_printf" >&5
# Line 5160  else Line 5500  else
5500    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5501  LIBS="-lm $MATH_LIBS $LIBS"  LIBS="-lm $MATH_LIBS $LIBS"
5502  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5503  /* confdefs.h.  */  /* confdefs.h.  */
5504  _ACEOF  _ACEOF
5505  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5184  copysign (); Line 5523  copysign ();
5523  _ACEOF  _ACEOF
5524  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5525  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5526    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5527    ac_status=$?    ac_status=$?
5528      grep -v '^ *+' conftest.er1 >conftest.err
5529      rm -f conftest.er1
5530      cat conftest.err >&5
5531    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532    (exit $ac_status); } &&    (exit $ac_status); } &&
5533           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5534                 || test ! -s conftest.err'
5535      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536      (eval $ac_try) 2>&5
5537      ac_status=$?
5538      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539      (exit $ac_status); }; } &&
5540         { ac_try='test -s conftest$ac_exeext'
5541    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5542    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5543    ac_status=$?    ac_status=$?
# Line 5201  sed 's/^/| /' conftest.$ac_ext >&5 Line 5550  sed 's/^/| /' conftest.$ac_ext >&5
5550    
5551  ac_cv_lib_m_copysign=no  ac_cv_lib_m_copysign=no
5552  fi  fi
5553  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5554          conftest$ac_exeext conftest.$ac_ext
5555  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5556  fi  fi
5557  echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
# Line 5223  else Line 5573  else
5573  LIBS="-lm /lib/pa1.1/libM.a  LIBS="-lm /lib/pa1.1/libM.a
5574           $LIBS"           $LIBS"
5575  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5576  /* confdefs.h.  */  /* confdefs.h.  */
5577  _ACEOF  _ACEOF
5578  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5247  drem (); Line 5596  drem ();
5596  _ACEOF  _ACEOF
5597  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5598  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5599    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5600    ac_status=$?    ac_status=$?
5601      grep -v '^ *+' conftest.er1 >conftest.err
5602      rm -f conftest.er1
5603      cat conftest.err >&5
5604    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605    (exit $ac_status); } &&    (exit $ac_status); } &&
5606           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5607                 || test ! -s conftest.err'
5608      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609      (eval $ac_try) 2>&5
5610      ac_status=$?
5611      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612      (exit $ac_status); }; } &&
5613         { ac_try='test -s conftest$ac_exeext'
5614    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5616    ac_status=$?    ac_status=$?
# Line 5264  sed 's/^/| /' conftest.$ac_ext >&5 Line 5623  sed 's/^/| /' conftest.$ac_ext >&5
5623    
5624  ac_cv_lib_m_drem=no  ac_cv_lib_m_drem=no
5625  fi  fi
5626  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5627          conftest$ac_exeext conftest.$ac_ext
5628  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5629  fi  fi
5630  echo "$as_me:$LINENO: result: $ac_cv_lib_m_drem" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_m_drem" >&5
# Line 5292  if eval "test \"\${$as_ac_var+set}\" = s Line 5652  if eval "test \"\${$as_ac_var+set}\" = s
5652    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5653  else  else
5654    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5655  /* confdefs.h.  */  /* confdefs.h.  */
5656  _ACEOF  _ACEOF
5657  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
5658  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
5659  /* end confdefs.h.  */  /* end confdefs.h.  */
5660    /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5661       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5662    #define $ac_func innocuous_$ac_func
5663    
5664  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5665      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.
5666  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5667        <limits.h> exists even on freestanding compilers.  */
5668    
5669    #ifdef __STDC__
5670    # include <limits.h>
5671    #else
5672    # include <assert.h>
5673    #endif
5674    
5675    #undef $ac_func
5676    
5677  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5678  #ifdef __cplusplus  #ifdef __cplusplus
5679  extern "C"  extern "C"
# Line 5324  char (*f) () = $ac_func; Line 5697  char (*f) () = $ac_func;
5697  int  int
5698  main ()  main ()
5699  {  {
5700    return f != $ac_func;
5701    ;    ;
5702    return 0;    return 0;
5703  }  }
5704  _ACEOF  _ACEOF
5705  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5706  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5707    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5708    ac_status=$?    ac_status=$?
5709      grep -v '^ *+' conftest.er1 >conftest.err
5710      rm -f conftest.er1
5711      cat conftest.err >&5
5712    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713    (exit $ac_status); } &&    (exit $ac_status); } &&
5714           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5715                 || test ! -s conftest.err'
5716      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5717      (eval $ac_try) 2>&5
5718      ac_status=$?
5719      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720      (exit $ac_status); }; } &&
5721         { ac_try='test -s conftest$ac_exeext'
5722    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5724    ac_status=$?    ac_status=$?
# Line 5348  sed 's/^/| /' conftest.$ac_ext >&5 Line 5731  sed 's/^/| /' conftest.$ac_ext >&5
5731    
5732  eval "$as_ac_var=no"  eval "$as_ac_var=no"
5733  fi  fi
5734  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5735          conftest$ac_exeext conftest.$ac_ext
5736  fi  fi
5737  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5738  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 5410  _ACEOF Line 5794  _ACEOF
5794      # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.      # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5795      for ac_extension in a so sl; do      for ac_extension in a so sl; do
5796        if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&        if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
5797           test -f $ac_im_libdir/libX11.$ac_extension; then       test -f $ac_im_libdir/libX11.$ac_extension; then
5798          ac_im_usrlibdir=$ac_im_libdir; break      ac_im_usrlibdir=$ac_im_libdir; break
5799        fi        fi
5800      done      done
5801      # Screen out bogus values from the imake configuration.  They are      # Screen out bogus values from the imake configuration.  They are
# Line 5471  if test "$ac_x_includes" = no; then Line 5855  if test "$ac_x_includes" = no; then
5855    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
5856    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
5857    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5858  /* confdefs.h.  */  /* confdefs.h.  */
5859  _ACEOF  _ACEOF
5860  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5489  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5872  if { (eval echo "$as_me:$LINENO: \"$ac_c
5872    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5873    if test -s conftest.err; then    if test -s conftest.err; then
5874      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
5875        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5876    else    else
5877      ac_cpp_err=      ac_cpp_err=
5878    fi    fi
# Line 5519  if test "$ac_x_libraries" = no; then Line 5903  if test "$ac_x_libraries" = no; then
5903    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
5904    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
5905    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5906  /* confdefs.h.  */  /* confdefs.h.  */
5907  _ACEOF  _ACEOF
5908  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5536  XtMalloc (0) Line 5919  XtMalloc (0)
5919  _ACEOF  _ACEOF
5920  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5921  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5922    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5923    ac_status=$?    ac_status=$?
5924      grep -v '^ *+' conftest.er1 >conftest.err
5925      rm -f conftest.er1
5926      cat conftest.err >&5
5927    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928    (exit $ac_status); } &&    (exit $ac_status); } &&
5929           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5930                 || test ! -s conftest.err'
5931      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932      (eval $ac_try) 2>&5
5933      ac_status=$?
5934      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935      (exit $ac_status); }; } &&
5936         { ac_try='test -s conftest$ac_exeext'
5937    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5939    ac_status=$?    ac_status=$?
# Line 5565  do Line 5958  do
5958    done    done
5959  done  done
5960  fi  fi
5961  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5962          conftest$ac_exeext conftest.$ac_ext
5963  fi # $ac_x_libraries = no  fi # $ac_x_libraries = no
5964    
5965  if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then  if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
# Line 5574  if test "$ac_x_includes" = no || test "$ Line 5968  if test "$ac_x_includes" = no || test "$
5968  else  else
5969    # Record where we found X for the cache.    # Record where we found X for the cache.
5970    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
5971              ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"          ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5972  fi  fi
5973  fi  fi
5974    
# Line 5642  if test "${ac_cv_func_connect+set}" = se Line 6036  if test "${ac_cv_func_connect+set}" = se
6036    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6037  else  else
6038    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6039  /* confdefs.h.  */  /* confdefs.h.  */
6040  _ACEOF  _ACEOF
6041  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
6042  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
6043  /* end confdefs.h.  */  /* end confdefs.h.  */
6044    /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6045       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6046    #define connect innocuous_connect
6047    
6048  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6049      which can conflict with char connect (); below.  */      which can conflict with char connect (); below.
6050  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6051        <limits.h> exists even on freestanding compilers.  */
6052    
6053    #ifdef __STDC__
6054    # include <limits.h>
6055    #else
6056    # include <assert.h>
6057    #endif
6058    
6059    #undef connect
6060    
6061  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6062  #ifdef __cplusplus  #ifdef __cplusplus
6063  extern "C"  extern "C"
# Line 5674  char (*f) () = connect; Line 6081  char (*f) () = connect;
6081  int  int
6082  main ()  main ()
6083  {  {
6084    return f != connect;
6085    ;    ;
6086    return 0;    return 0;
6087  }  }
6088  _ACEOF  _ACEOF
6089  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6090  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6091    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6092    ac_status=$?    ac_status=$?
6093      grep -v '^ *+' conftest.er1 >conftest.err
6094      rm -f conftest.er1
6095      cat conftest.err >&5
6096    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097    (exit $ac_status); } &&    (exit $ac_status); } &&
6098           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6099                 || test ! -s conftest.err'
6100      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6101      (eval $ac_try) 2>&5
6102      ac_status=$?
6103      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104      (exit $ac_status); }; } &&
6105         { ac_try='test -s conftest$ac_exeext'
6106    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6108    ac_status=$?    ac_status=$?
# Line 5698  sed 's/^/| /' conftest.$ac_ext >&5 Line 6115  sed 's/^/| /' conftest.$ac_ext >&5
6115    
6116  ac_cv_func_connect=no  ac_cv_func_connect=no
6117  fi  fi
6118  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6119          conftest$ac_exeext conftest.$ac_ext
6120  fi  fi
6121  echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6122  echo "${ECHO_T}$ac_cv_func_connect" >&6  echo "${ECHO_T}$ac_cv_func_connect" >&6
# Line 5717  else Line 6135  else
6135    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6136  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
6137  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6138  /* confdefs.h.  */  /* confdefs.h.  */
6139  _ACEOF  _ACEOF
6140  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5741  printf (); Line 6158  printf ();
6158  _ACEOF  _ACEOF
6159  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6160  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6161    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6162    ac_status=$?    ac_status=$?
6163      grep -v '^ *+' conftest.er1 >conftest.err
6164      rm -f conftest.er1
6165      cat conftest.err >&5
6166    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167    (exit $ac_status); } &&    (exit $ac_status); } &&
6168           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6169                 || test ! -s conftest.err'
6170      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171      (eval $ac_try) 2>&5
6172      ac_status=$?
6173      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174      (exit $ac_status); }; } &&
6175         { ac_try='test -s conftest$ac_exeext'
6176    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6178    ac_status=$?    ac_status=$?
# Line 5758  sed 's/^/| /' conftest.$ac_ext >&5 Line 6185  sed 's/^/| /' conftest.$ac_ext >&5
6185    
6186  ac_cv_lib_socket_printf=no  ac_cv_lib_socket_printf=no
6187  fi  fi
6188  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6189          conftest$ac_exeext conftest.$ac_ext
6190  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6191  fi  fi
6192  echo "$as_me:$LINENO: result: $ac_cv_lib_socket_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_socket_printf" >&5
# Line 5780  if test "${ac_cv_func_accept+set}" = set Line 6208  if test "${ac_cv_func_accept+set}" = set
6208    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6209  else  else
6210    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6211  /* confdefs.h.  */  /* confdefs.h.  */
6212  _ACEOF  _ACEOF
6213  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
6214  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
6215  /* end confdefs.h.  */  /* end confdefs.h.  */
6216    /* Define accept to an innocuous variant, in case <limits.h> declares accept.
6217       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6218    #define accept innocuous_accept
6219    
6220  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6221      which can conflict with char accept (); below.  */      which can conflict with char accept (); below.
6222  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6223        <limits.h> exists even on freestanding compilers.  */
6224    
6225    #ifdef __STDC__
6226    # include <limits.h>
6227    #else
6228    # include <assert.h>
6229    #endif
6230    
6231    #undef accept
6232    
6233  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6234  #ifdef __cplusplus  #ifdef __cplusplus
6235  extern "C"  extern "C"
# Line 5812  char (*f) () = accept; Line 6253  char (*f) () = accept;
6253  int  int
6254  main ()  main ()
6255  {  {
6256    return f != accept;
6257    ;    ;
6258    return 0;    return 0;
6259  }  }
6260  _ACEOF  _ACEOF
6261  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6262  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6263    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6264    ac_status=$?    ac_status=$?
6265      grep -v '^ *+' conftest.er1 >conftest.err
6266      rm -f conftest.er1
6267      cat conftest.err >&5
6268    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269    (exit $ac_status); } &&    (exit $ac_status); } &&
6270           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6271                 || test ! -s conftest.err'
6272      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273      (eval $ac_try) 2>&5
6274      ac_status=$?
6275      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276      (exit $ac_status); }; } &&
6277         { ac_try='test -s conftest$ac_exeext'
6278    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6279    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6280    ac_status=$?    ac_status=$?
# Line 5836  sed 's/^/| /' conftest.$ac_ext >&5 Line 6287  sed 's/^/| /' conftest.$ac_ext >&5
6287    
6288  ac_cv_func_accept=no  ac_cv_func_accept=no
6289  fi  fi
6290  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6291          conftest$ac_exeext conftest.$ac_ext
6292  fi  fi
6293  echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
6294  echo "${ECHO_T}$ac_cv_func_accept" >&6  echo "${ECHO_T}$ac_cv_func_accept" >&6
# Line 5856  if test "${ac_cv_func_gethostbyname+set} Line 6308  if test "${ac_cv_func_gethostbyname+set}
6308    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
6309  else  else
6310    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6311  /* confdefs.h.  */  /* confdefs.h.  */
6312  _ACEOF  _ACEOF
6313  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
6314  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
6315  /* end confdefs.h.  */  /* end confdefs.h.  */
6316    /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6317       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6318    #define gethostbyname innocuous_gethostbyname
6319    
6320  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6321      which can conflict with char gethostbyname (); below.  */      which can conflict with char gethostbyname (); below.
6322  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6323        <limits.h> exists even on freestanding compilers.  */
6324    
6325    #ifdef __STDC__
6326    # include <limits.h>
6327    #else
6328    # include <assert.h>
6329    #endif
6330    
6331    #undef gethostbyname
6332    
6333  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6334  #ifdef __cplusplus  #ifdef __cplusplus
6335  extern "C"  extern "C"
# Line 5888  char (*f) () = gethostbyname; Line 6353  char (*f) () = gethostbyname;
6353  int  int
6354  main ()  main ()
6355  {  {
6356    return f != gethostbyname;
6357    ;    ;
6358    return 0;    return 0;
6359  }  }
6360  _ACEOF  _ACEOF
6361  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6362  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6363    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6364    ac_status=$?    ac_status=$?
6365      grep -v '^ *+' conftest.er1 >conftest.err
6366      rm -f conftest.er1
6367      cat conftest.err >&5
6368    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369    (exit $ac_status); } &&    (exit $ac_status); } &&
6370           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6371                 || test ! -s conftest.err'
6372      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373      (eval $ac_try) 2>&5
6374      ac_status=$?
6375      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376      (exit $ac_status); }; } &&
6377         { ac_try='test -s conftest$ac_exeext'
6378    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6380    ac_status=$?    ac_status=$?
# Line 5912  sed 's/^/| /' conftest.$ac_ext >&5 Line 6387  sed 's/^/| /' conftest.$ac_ext >&5
6387    
6388  ac_cv_func_gethostbyname=no  ac_cv_func_gethostbyname=no
6389  fi  fi
6390  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6391          conftest$ac_exeext conftest.$ac_ext
6392  fi  fi
6393  echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6394  echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6  echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
# Line 5927  else Line 6403  else
6403    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6404  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
6405  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6406  /* confdefs.h.  */  /* confdefs.h.  */
6407  _ACEOF  _ACEOF
6408  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5951  printf (); Line 6426  printf ();
6426  _ACEOF  _ACEOF
6427  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6428  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6429    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6430    ac_status=$?    ac_status=$?
6431      grep -v '^ *+' conftest.er1 >conftest.err
6432      rm -f conftest.er1
6433      cat conftest.err >&5
6434    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435    (exit $ac_status); } &&    (exit $ac_status); } &&
6436           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6437                 || test ! -s conftest.err'
6438      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439      (eval $ac_try) 2>&5
6440      ac_status=$?
6441      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442      (exit $ac_status); }; } &&
6443         { ac_try='test -s conftest$ac_exeext'
6444    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6445    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6446    ac_status=$?    ac_status=$?
# Line 5968  sed 's/^/| /' conftest.$ac_ext >&5 Line 6453  sed 's/^/| /' conftest.$ac_ext >&5
6453    
6454  ac_cv_lib_nsl_printf=no  ac_cv_lib_nsl_printf=no
6455  fi  fi
6456  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6457          conftest$ac_exeext conftest.$ac_ext
6458  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6459  fi  fi
6460  echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_printf" >&5
# Line 6053  else Line 6539  else
6539    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6540  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
6541  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6542  /* confdefs.h.  */  /* confdefs.h.  */
6543  _ACEOF  _ACEOF
6544  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6077  dlopen (); Line 6562  dlopen ();
6562  _ACEOF  _ACEOF
6563  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6564  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6565    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6566    ac_status=$?    ac_status=$?
6567      grep -v '^ *+' conftest.er1 >conftest.err
6568      rm -f conftest.er1
6569      cat conftest.err >&5
6570    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571    (exit $ac_status); } &&    (exit $ac_status); } &&
6572           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6573                 || test ! -s conftest.err'
6574      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575      (eval $ac_try) 2>&5
6576      ac_status=$?
6577      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578      (exit $ac_status); }; } &&
6579         { ac_try='test -s conftest$ac_exeext'
6580    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6581    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6582    ac_status=$?    ac_status=$?
# Line 6094  sed 's/^/| /' conftest.$ac_ext >&5 Line 6589  sed 's/^/| /' conftest.$ac_ext >&5
6589    
6590  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
6591  fi  fi
6592  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6593          conftest$ac_exeext conftest.$ac_ext
6594  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6595  fi  fi
6596  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 6152  else Line 6648  else
6648    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6649  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
6650  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6651  /* confdefs.h.  */  /* confdefs.h.  */
6652  _ACEOF  _ACEOF
6653  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6176  shl_load (); Line 6671  shl_load ();
6671  _ACEOF  _ACEOF
6672  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6673  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6674    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6675    ac_status=$?    ac_status=$?
6676      grep -v '^ *+' conftest.er1 >conftest.err
6677      rm -f conftest.er1
6678      cat conftest.err >&5
6679    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680    (exit $ac_status); } &&    (exit $ac_status); } &&
6681           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6682                 || test ! -s conftest.err'
6683      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684      (eval $ac_try) 2>&5
6685      ac_status=$?
6686      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687      (exit $ac_status); }; } &&
6688         { ac_try='test -s conftest$ac_exeext'
6689    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6690    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6691    ac_status=$?    ac_status=$?
# Line 6193  sed 's/^/| /' conftest.$ac_ext >&5 Line 6698  sed 's/^/| /' conftest.$ac_ext >&5
6698    
6699  ac_cv_lib_dld_shl_load=no  ac_cv_lib_dld_shl_load=no
6700  fi  fi
6701  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6702          conftest$ac_exeext conftest.$ac_ext
6703  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6704  fi  fi
6705  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
# Line 6260  else Line 6766  else
6766  echo "$as_me:$LINENO: checking dld.h usability" >&5  echo "$as_me:$LINENO: checking dld.h usability" >&5
6767  echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6  echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6
6768  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6769  /* confdefs.h.  */  /* confdefs.h.  */
6770  _ACEOF  _ACEOF
6771  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6271  $ac_includes_default Line 6776  $ac_includes_default
6776  _ACEOF  _ACEOF
6777  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6778  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6779    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
6780    ac_status=$?    ac_status=$?
6781      grep -v '^ *+' conftest.er1 >conftest.err
6782      rm -f conftest.er1
6783      cat conftest.err >&5
6784    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785    (exit $ac_status); } &&    (exit $ac_status); } &&
6786           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
6787                 || test ! -s conftest.err'
6788      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789      (eval $ac_try) 2>&5
6790      ac_status=$?
6791      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792      (exit $ac_status); }; } &&
6793         { ac_try='test -s conftest.$ac_objext'
6794    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6795    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6796    ac_status=$?    ac_status=$?
# Line 6288  sed 's/^/| /' conftest.$ac_ext >&5 Line 6803  sed 's/^/| /' conftest.$ac_ext >&5
6803    
6804  ac_header_compiler=no  ac_header_compiler=no
6805  fi  fi
6806  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6807  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6808  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
6809    
# Line 6296  echo "${ECHO_T}$ac_header_compiler" >&6 Line 6811  echo "${ECHO_T}$ac_header_compiler" >&6
6811  echo "$as_me:$LINENO: checking dld.h presence" >&5  echo "$as_me:$LINENO: checking dld.h presence" >&5
6812  echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6  echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6
6813  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6814  /* confdefs.h.  */  /* confdefs.h.  */
6815  _ACEOF  _ACEOF
6816  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6314  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6828  if { (eval echo "$as_me:$LINENO: \"$ac_c
6828    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6829    if test -s conftest.err; then    if test -s conftest.err; then
6830      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
6831        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6832    else    else
6833      ac_cpp_err=      ac_cpp_err=
6834    fi    fi
# Line 6333  echo "$as_me:$LINENO: result: $ac_header Line 6848  echo "$as_me:$LINENO: result: $ac_header
6848  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
6849    
6850  # So?  What about this header?  # So?  What about this header?
6851  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6852    yes:no )    yes:no: )
6853      { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
6854  echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6855      { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
6856  echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
6857      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
6858      ;;      ;;
6859    no:yes )    no:yes:* )
6860      { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
6861  echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
6862      { echo "$as_me:$LINENO: WARNING: dld.h: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
6863  echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
6864        { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
6865    echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
6866        { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
6867    echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
6868      { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
6869  echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
6870        { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
6871    echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
6872      (      (
6873        cat <<\_ASBOX        cat <<\_ASBOX
6874  ## ------------------------------------ ##  ## ------------------------------------------ ##
6875  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
6876  ## ------------------------------------ ##  ## ------------------------------------------ ##
6877  _ASBOX  _ASBOX
6878      ) |      ) |
6879        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 6423  else Line 6937  else
6937  echo "$as_me:$LINENO: checking dlfcn.h usability" >&5  echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
6938  echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6  echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
6939  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6940  /* confdefs.h.  */  /* confdefs.h.  */
6941  _ACEOF  _ACEOF
6942  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6434  $ac_includes_default Line 6947  $ac_includes_default
6947  _ACEOF  _ACEOF
6948  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
6949  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6950    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
6951    ac_status=$?    ac_status=$?
6952      grep -v '^ *+' conftest.er1 >conftest.err
6953      rm -f conftest.er1
6954      cat conftest.err >&5
6955    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956    (exit $ac_status); } &&    (exit $ac_status); } &&
6957           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
6958                 || test ! -s conftest.err'
6959      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960      (eval $ac_try) 2>&5
6961      ac_status=$?
6962      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963      (exit $ac_status); }; } &&
6964         { ac_try='test -s conftest.$ac_objext'
6965    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6967    ac_status=$?    ac_status=$?
# Line 6451  sed 's/^/| /' conftest.$ac_ext >&5 Line 6974  sed 's/^/| /' conftest.$ac_ext >&5
6974    
6975  ac_header_compiler=no  ac_header_compiler=no
6976  fi  fi
6977  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6978  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6979  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
6980    
# Line 6459  echo "${ECHO_T}$ac_header_compiler" >&6 Line 6982  echo "${ECHO_T}$ac_header_compiler" >&6
6982  echo "$as_me:$LINENO: checking dlfcn.h presence" >&5  echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
6983  echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6  echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
6984  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6985  /* confdefs.h.  */  /* confdefs.h.  */
6986  _ACEOF  _ACEOF
6987  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6477  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6999  if { (eval echo "$as_me:$LINENO: \"$ac_c
6999    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
7000    if test -s conftest.err; then    if test -s conftest.err; then
7001      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
7002        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7003    else    else
7004      ac_cpp_err=      ac_cpp_err=
7005    fi    fi
# Line 6496  echo "$as_me:$LINENO: result: $ac_header Line 7019  echo "$as_me:$LINENO: result: $ac_header
7019  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
7020    
7021  # So?  What about this header?  # So?  What about this header?
7022  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7023    yes:no )    yes:no: )
7024      { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
7025  echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7026      { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
7027  echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
7028      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
7029      ;;      ;;
7030    no:yes )    no:yes:* )
7031      { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
7032  echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
7033      { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
7034  echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
7035        { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
7036    echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
7037        { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
7038    echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
7039      { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
7040  echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}  echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
7041        { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
7042    echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
7043      (      (
7044        cat <<\_ASBOX        cat <<\_ASBOX
7045  ## ------------------------------------ ##  ## ------------------------------------------ ##
7046  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
7047  ## ------------------------------------ ##  ## ------------------------------------------ ##
7048  _ASBOX  _ASBOX
7049      ) |      ) |
7050        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 6683  fi Line 7205  fi
7205  echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6  echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
7206      LDFLAGS="${LDFLAGS} -Wl,-Bexport"      LDFLAGS="${LDFLAGS} -Wl,-Bexport"
7207      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7208  /* confdefs.h.  */  /* confdefs.h.  */
7209  _ACEOF  _ACEOF
7210  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6700  int i; Line 7221  int i;
7221  _ACEOF  _ACEOF
7222  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7223  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7224    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7225    ac_status=$?    ac_status=$?
7226      grep -v '^ *+' conftest.er1 >conftest.err
7227      rm -f conftest.er1
7228      cat conftest.err >&5
7229    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230    (exit $ac_status); } &&    (exit $ac_status); } &&
7231           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7232                 || test ! -s conftest.err'
7233      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7234      (eval $ac_try) 2>&5
7235      ac_status=$?
7236      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237      (exit $ac_status); }; } &&
7238         { ac_try='test -s conftest$ac_exeext'
7239    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7240    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7241    ac_status=$?    ac_status=$?
# Line 6717  sed 's/^/| /' conftest.$ac_ext >&5 Line 7248  sed 's/^/| /' conftest.$ac_ext >&5
7248    
7249  found=no  found=no
7250  fi  fi
7251  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7252          conftest$ac_exeext conftest.$ac_ext
7253      LDFLAGS=$hold_ldflags      LDFLAGS=$hold_ldflags
7254      echo "$as_me:$LINENO: result: $found" >&5      echo "$as_me:$LINENO: result: $found" >&5
7255  echo "${ECHO_T}$found" >&6  echo "${ECHO_T}$found" >&6
# Line 6832  case "$with_tcl" in Line 7364  case "$with_tcl" in
7364      #  User specified --without-tcl; this makes no sense,      #  User specified --without-tcl; this makes no sense,
7365      #  print a warning and search for it ourselves      #  print a warning and search for it ourselves
7366          { echo "$as_me:$LINENO: WARNING: Bad option '--without-tcl'          { echo "$as_me:$LINENO: WARNING: Bad option '--without-tcl'
7367      ASCEND must be compiled with Tcl8.3." >&5      ASCEND must be compiled with Tcl8.0." >&5
7368  echo "$as_me: WARNING: Bad option '--without-tcl'  echo "$as_me: WARNING: Bad option '--without-tcl'
7369      ASCEND must be compiled with Tcl8.3." >&2;}      ASCEND must be compiled with Tcl8.0." >&2;}
7370      with_tcllib=_searching      with_tcllib=_searching
7371      with_tclhdr=_searching      with_tclhdr=_searching
7372          ;;          ;;
# Line 6861  echo "$as_me: WARNING: Bad option '--wit Line 7393  echo "$as_me: WARNING: Bad option '--wit
7393          ;;          ;;
7394  esac  esac
7395    
7396  #  try to find a static version of the Tcl8.3 library  #  try to find a static version of the Tcl8.0 library
7397  #  #
7398  if test "X$with_tcllib" = X_searching ; then  if test "X$with_tcllib" = X_searching ; then
7399      for ac_prog in libtcl8.0.a libtcl80.a libtcl8.3.a libtcl83.lib      for ac_prog in libtcl8.0.a libtcl80.a libtcl8.3.a
7400  do  do
7401    # 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.
7402  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 6923  echo $ECHO_N "checking whether $TCL_LIB Line 7455  echo $ECHO_N "checking whether $TCL_LIB
7455      asc_libs_orig=$LIBS      asc_libs_orig=$LIBS
7456      LIBS="$TCL_LIB $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"      LIBS="$TCL_LIB $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
7457      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7458  /* confdefs.h.  */  /* confdefs.h.  */
7459  _ACEOF  _ACEOF
7460  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6940  TclCompileCatchCmd() Line 7471  TclCompileCatchCmd()
7471  _ACEOF  _ACEOF
7472  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7473  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7474    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7475    ac_status=$?    ac_status=$?
7476      grep -v '^ *+' conftest.er1 >conftest.err
7477      rm -f conftest.er1
7478      cat conftest.err >&5
7479    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480    (exit $ac_status); } &&    (exit $ac_status); } &&
7481           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7482                 || test ! -s conftest.err'
7483      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484      (eval $ac_try) 2>&5
7485      ac_status=$?
7486      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487      (exit $ac_status); }; } &&
7488         { ac_try='test -s conftest$ac_exeext'
7489    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7490    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7491    ac_status=$?    ac_status=$?
# Line 6957  sed 's/^/| /' conftest.$ac_ext >&5 Line 7498  sed 's/^/| /' conftest.$ac_ext >&5
7498    
7499  TCL_LIB=_searching  TCL_LIB=_searching
7500  fi  fi
7501  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext;  rm -f conftest.err conftest.$ac_objext \
7502          conftest$ac_exeext conftest.$ac_ext;
7503      if test "X$TCL_LIB" = X_searching ; then      if test "X$TCL_LIB" = X_searching ; then
7504          echo "$as_me:$LINENO: result: no" >&5          echo "$as_me:$LINENO: result: no" >&5
7505  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
# Line 6968  echo "${ECHO_T}yes" >&6 Line 7510  echo "${ECHO_T}yes" >&6
7510      LIBS=$asc_libs_orig      LIBS=$asc_libs_orig
7511  fi  fi
7512    
7513  #  see if the default LPATH can find the Tcl8.3 or 8.0 library  #  see if the default LPATH can find the Tcl8.0 library
7514  #  #
7515  if test "X$TCL_LIB" = X_searching ; then  if test "X$TCL_LIB" = X_searching ; then
7516      echo "$as_me:$LINENO: checking for TclCompileCatchCmd in -ltcl83" >&5      echo "$as_me:$LINENO: checking for TclCompileCatchCmd in -ltcl83" >&5
# Line 6979  else Line 7521  else
7521    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7522  LIBS="-ltcl83 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl83 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
7523  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7524  /* confdefs.h.  */  /* confdefs.h.  */
7525  _ACEOF  _ACEOF
7526  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7003  TclCompileCatchCmd (); Line 7544  TclCompileCatchCmd ();
7544  _ACEOF  _ACEOF
7545  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7546  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7547    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7548    ac_status=$?    ac_status=$?
7549      grep -v '^ *+' conftest.er1 >conftest.err
7550      rm -f conftest.er1
7551      cat conftest.err >&5
7552    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553    (exit $ac_status); } &&    (exit $ac_status); } &&
7554           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7555                 || test ! -s conftest.err'
7556      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557      (eval $ac_try) 2>&5
7558      ac_status=$?
7559      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560      (exit $ac_status); }; } &&
7561         { ac_try='test -s conftest$ac_exeext'
7562    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7564    ac_status=$?    ac_status=$?
# Line 7020  sed 's/^/| /' conftest.$ac_ext >&5 Line 7571  sed 's/^/| /' conftest.$ac_ext >&5
7571    
7572  ac_cv_lib_tcl83_TclCompileCatchCmd=no  ac_cv_lib_tcl83_TclCompileCatchCmd=no
7573  fi  fi
7574  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7575          conftest$ac_exeext conftest.$ac_ext
7576  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7577  fi  fi
7578  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl83_TclCompileCatchCmd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl83_TclCompileCatchCmd" >&5
# Line 7039  else Line 7591  else
7591    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7592  LIBS="-ltcl8.3 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl8.3 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
7593  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7594  /* confdefs.h.  */  /* confdefs.h.  */
7595  _ACEOF  _ACEOF
7596  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7063  TclCompileCatchCmd (); Line 7614  TclCompileCatchCmd ();
7614  _ACEOF  _ACEOF
7615  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7616  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7617    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7618    ac_status=$?    ac_status=$?
7619      grep -v '^ *+' conftest.er1 >conftest.err
7620      rm -f conftest.er1
7621      cat conftest.err >&5
7622    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623    (exit $ac_status); } &&    (exit $ac_status); } &&
7624           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7625                 || test ! -s conftest.err'
7626      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7627      (eval $ac_try) 2>&5
7628      ac_status=$?
7629      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630      (exit $ac_status); }; } &&
7631         { ac_try='test -s conftest$ac_exeext'
7632    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7633    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7634    ac_status=$?    ac_status=$?
# Line 7080  sed 's/^/| /' conftest.$ac_ext >&5 Line 7641  sed 's/^/| /' conftest.$ac_ext >&5
7641    
7642  ac_cv_lib_tcl8_3_TclCompileCatchCmd=no  ac_cv_lib_tcl8_3_TclCompileCatchCmd=no
7643  fi  fi
7644  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7645          conftest$ac_exeext conftest.$ac_ext
7646  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7647  fi  fi
7648  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl8_3_TclCompileCatchCmd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl8_3_TclCompileCatchCmd" >&5
# Line 7099  else Line 7661  else
7661    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7662  LIBS="-ltcl8.0 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl8.0 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
7663  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7664  /* confdefs.h.  */  /* confdefs.h.  */
7665  _ACEOF  _ACEOF
7666  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7123  TclCompileCatchCmd (); Line 7684  TclCompileCatchCmd ();
7684  _ACEOF  _ACEOF
7685  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7686  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7687    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7688    ac_status=$?    ac_status=$?
7689      grep -v '^ *+' conftest.er1 >conftest.err
7690      rm -f conftest.er1
7691      cat conftest.err >&5
7692    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693    (exit $ac_status); } &&    (exit $ac_status); } &&
7694           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7695                 || test ! -s conftest.err'
7696      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7697      (eval $ac_try) 2>&5
7698      ac_status=$?
7699      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700      (exit $ac_status); }; } &&
7701         { ac_try='test -s conftest$ac_exeext'
7702    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7703    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7704    ac_status=$?    ac_status=$?
# Line 7140  sed 's/^/| /' conftest.$ac_ext >&5 Line 7711  sed 's/^/| /' conftest.$ac_ext >&5
7711    
7712  ac_cv_lib_tcl8_0_TclCompileCatchCmd=no  ac_cv_lib_tcl8_0_TclCompileCatchCmd=no
7713  fi  fi
7714  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7715          conftest$ac_exeext conftest.$ac_ext
7716  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7717  fi  fi
7718  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl8_0_TclCompileCatchCmd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl8_0_TclCompileCatchCmd" >&5
# Line 7159  else Line 7731  else
7731    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7732  LIBS="-ltcl80 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl80 $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
7733  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7734  /* confdefs.h.  */  /* confdefs.h.  */
7735  _ACEOF  _ACEOF
7736  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7183  TclCompileCatchCmd (); Line 7754  TclCompileCatchCmd ();
7754  _ACEOF  _ACEOF
7755  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7756  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7757    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7758    ac_status=$?    ac_status=$?
7759      grep -v '^ *+' conftest.er1 >conftest.err
7760      rm -f conftest.er1
7761      cat conftest.err >&5
7762    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763    (exit $ac_status); } &&    (exit $ac_status); } &&
7764           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7765                 || test ! -s conftest.err'
7766      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7767      (eval $ac_try) 2>&5
7768      ac_status=$?
7769      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770      (exit $ac_status); }; } &&
7771         { ac_try='test -s conftest$ac_exeext'
7772    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7774    ac_status=$?    ac_status=$?
# Line 7200  sed 's/^/| /' conftest.$ac_ext >&5 Line 7781  sed 's/^/| /' conftest.$ac_ext >&5
7781    
7782  ac_cv_lib_tcl80_TclCompileCatchCmd=no  ac_cv_lib_tcl80_TclCompileCatchCmd=no
7783  fi  fi
7784  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7785          conftest$ac_exeext conftest.$ac_ext
7786  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7787  fi  fi
7788  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl80_TclCompileCatchCmd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl80_TclCompileCatchCmd" >&5
# Line 7219  else Line 7801  else
7801    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7802  LIBS="-ltcl $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltcl $X11_LIBRARIES $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
7803  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7804  /* confdefs.h.  */  /* confdefs.h.  */
7805  _ACEOF  _ACEOF
7806  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7243  TclCompileCatchCmd (); Line 7824  TclCompileCatchCmd ();
7824  _ACEOF  _ACEOF
7825  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7826  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7827    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7828    ac_status=$?    ac_status=$?
7829      grep -v '^ *+' conftest.er1 >conftest.err
7830      rm -f conftest.er1
7831      cat conftest.err >&5
7832    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833    (exit $ac_status); } &&    (exit $ac_status); } &&
7834           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7835                 || test ! -s conftest.err'
7836      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7837      (eval $ac_try) 2>&5
7838      ac_status=$?
7839      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840      (exit $ac_status); }; } &&
7841         { ac_try='test -s conftest$ac_exeext'
7842    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7844    ac_status=$?    ac_status=$?
# Line 7260  sed 's/^/| /' conftest.$ac_ext >&5 Line 7851  sed 's/^/| /' conftest.$ac_ext >&5
7851    
7852  ac_cv_lib_tcl_TclCompileCatchCmd=no  ac_cv_lib_tcl_TclCompileCatchCmd=no
7853  fi  fi
7854  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7855          conftest$ac_exeext conftest.$ac_ext
7856  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7857  fi  fi
7858  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl_TclCompileCatchCmd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tcl_TclCompileCatchCmd" >&5
# Line 7343  fi Line 7935  fi
7935    
7936      if test -z "$TCL_HDR" ; then      if test -z "$TCL_HDR" ; then
7937          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7938  /* confdefs.h.  */  /* confdefs.h.  */
7939  _ACEOF  _ACEOF
7940  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7423  case "$with_tk" in Line 8014  case "$with_tk" in
8014      #  User specified --without-tk; this makes no sense,      #  User specified --without-tk; this makes no sense,
8015      #  print a warning and search for it ourselves      #  print a warning and search for it ourselves
8016          { echo "$as_me:$LINENO: WARNING: Bad option '--without-tk'          { echo "$as_me:$LINENO: WARNING: Bad option '--without-tk'
8017      ASCEND must be compiled with Tk8.3." >&5      ASCEND must be compiled with Tk8.0." >&5
8018  echo "$as_me: WARNING: Bad option '--without-tk'  echo "$as_me: WARNING: Bad option '--without-tk'
8019      ASCEND must be compiled with Tk8.3." >&2;}      ASCEND must be compiled with Tk8.0." >&2;}
8020      with_tklib=_searching      with_tklib=_searching
8021      with_tkhdr=_searching      with_tkhdr=_searching
8022          ;;          ;;
# Line 7452  echo "$as_me: WARNING: Bad option '--wit Line 8043  echo "$as_me: WARNING: Bad option '--wit
8043          ;;          ;;
8044  esac  esac
8045    
8046  #  try to find a static version of the Tk8.3 library  #  try to find a static version of the Tk8.0 library
8047  #  #
8048  if test "X$with_tklib" = X_searching ; then  if test "X$with_tklib" = X_searching ; then
8049      for ac_prog in libtk8.0.a libtk80.a libtk.a libtk8.3.a tk83.lib      for ac_prog in libtk8.0.a libtk80.a libtk.a libtk8.3.a
8050  do  do
8051    # 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.
8052  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 7510  fi Line 8101  fi
8101  #  verify the TK_LIB  #  verify the TK_LIB
8102  #  #
8103  if test ! "X$TK_LIB" = X_searching ; then  if test ! "X$TK_LIB" = X_searching ; then
8104      echo "$as_me:$LINENO: checking whether $TK_LIB is for Tk8.3" >&5      echo "$as_me:$LINENO: checking whether $TK_LIB is for Tk8.0" >&5
8105  echo $ECHO_N "checking whether $TK_LIB is for Tk8.3... $ECHO_C" >&6  echo $ECHO_N "checking whether $TK_LIB is for Tk8.0... $ECHO_C" >&6
8106      asc_libs_orig=$LIBS      asc_libs_orig=$LIBS
8107      LIBS="$TK_LIB $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"      LIBS="$TK_LIB $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
8108      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8109  /* confdefs.h.  */  /* confdefs.h.  */
8110  _ACEOF  _ACEOF
8111  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7532  Tk_NameOfFont() Line 8122  Tk_NameOfFont()
8122  _ACEOF  _ACEOF
8123  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8124  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8125    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8126    ac_status=$?    ac_status=$?
8127      grep -v '^ *+' conftest.er1 >conftest.err
8128      rm -f conftest.er1
8129      cat conftest.err >&5
8130    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131    (exit $ac_status); } &&    (exit $ac_status); } &&
8132           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8133                 || test ! -s conftest.err'
8134      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135      (eval $ac_try) 2>&5
8136      ac_status=$?
8137      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138      (exit $ac_status); }; } &&
8139         { ac_try='test -s conftest$ac_exeext'
8140    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8141    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8142    ac_status=$?    ac_status=$?
# Line 7549  sed 's/^/| /' conftest.$ac_ext >&5 Line 8149  sed 's/^/| /' conftest.$ac_ext >&5
8149    
8150  TK_LIB=_searching  TK_LIB=_searching
8151  fi  fi
8152  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext;  rm -f conftest.err conftest.$ac_objext \
8153          conftest$ac_exeext conftest.$ac_ext;
8154      if test "X$TK_LIB" = X_searching ; then      if test "X$TK_LIB" = X_searching ; then
8155          echo "$as_me:$LINENO: result: no" >&5          echo "$as_me:$LINENO: result: no" >&5
8156  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
# Line 7560  echo "${ECHO_T}yes" >&6 Line 8161  echo "${ECHO_T}yes" >&6
8161      LIBS=$asc_libs_orig      LIBS=$asc_libs_orig
8162  fi  fi
8163    
8164  #  see if the default LPATH can find the Tk8.3 or Tk8.0 library  #  see if the default LPATH can find the Tk8.0 library
8165  #  #
8166  if test "X$TK_LIB" = X_searching ; then  if test "X$TK_LIB" = X_searching ; then
8167      echo "$as_me:$LINENO: result: checking for a dynamically loaded Tk8.0 library" >&5      echo "$as_me:$LINENO: result: checking for a dynamically loaded Tk8.0 library" >&5
8168  echo "${ECHO_T}checking for a dynamically loaded Tk8.0 library" >&6  echo "${ECHO_T}checking for a dynamically loaded Tk8.0 library" >&6
8169      echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk8.0" >&5      echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk8.0" >&5
8170  echo $ECHO_N "checking for Tk_NameOfFont in -ltk8.0... $ECHO_C" >&6  echo $ECHO_N "checking for Tk_NameOfFont in -ltk8.0... $ECHO_C" >&6
8171  if test "${ac_cv_lib_tk8_0_Tk_NameOfFont+set}" = set; then  if test "${ac_cv_lib_tk8_0_Tk_NameOfFont+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ltk8.0 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char Tk_NameOfFont ();  
 int  
 main ()  
 {  
 Tk_NameOfFont ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_tk8_0_Tk_NameOfFont=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_tk8_0_Tk_NameOfFont=no  
 fi  
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_tk8_0_Tk_NameOfFont" >&5  
 echo "${ECHO_T}$ac_cv_lib_tk8_0_Tk_NameOfFont" >&6  
 if test $ac_cv_lib_tk8_0_Tk_NameOfFont = yes; then  
   TK_LIB="-ltk8.0"  
 fi  
   
 fi  
 if test "X$TK_LIB" = X_searching ; then  
     echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk80" >&5  
 echo $ECHO_N "checking for Tk_NameOfFont in -ltk80... $ECHO_C" >&6  
 if test "${ac_cv_lib_tk80_Tk_NameOfFont+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   ac_check_lib_save_LIBS=$LIBS  
 LIBS="-ltk80 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  
 cat >conftest.$ac_ext <<_ACEOF  
 #line $LINENO "configure"  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
   
 /* Override any gcc2 internal prototype to avoid an error.  */  
 #ifdef __cplusplus  
 extern "C"  
 #endif  
 /* We use char because int might match the return type of a gcc2  
    builtin and then its argument prototype would still apply.  */  
 char Tk_NameOfFont ();  
 int  
 main ()  
 {  
 Tk_NameOfFont ();  
   ;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest.$ac_objext conftest$ac_exeext  
 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  
   (eval $ac_link) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } &&  
          { ac_try='test -s conftest$ac_exeext'  
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5  
   (eval $ac_try) 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; }; then  
   ac_cv_lib_tk80_Tk_NameOfFont=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ac_cv_lib_tk80_Tk_NameOfFont=no  
 fi  
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  
 LIBS=$ac_check_lib_save_LIBS  
 fi  
 echo "$as_me:$LINENO: result: $ac_cv_lib_tk80_Tk_NameOfFont" >&5  
 echo "${ECHO_T}$ac_cv_lib_tk80_Tk_NameOfFont" >&6  
 if test $ac_cv_lib_tk80_Tk_NameOfFont = yes; then  
   TK_LIB="-ltk80"  
 fi  
   
 fi  
 if test "X$TK_LIB" = X_searching ; then  
     echo "$as_me:$LINENO: result: checking for a dynamically loaded Tk8.3 library" >&5  
 echo "${ECHO_T}checking for a dynamically loaded Tk8.3 library" >&6  
     echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk8.3" >&5  
 echo $ECHO_N "checking for Tk_NameOfFont in -ltk8.3... $ECHO_C" >&6  
 if test "${ac_cv_lib_tk8_3_Tk_NameOfFont+set}" = set; then  
8172    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8173  else  else
8174    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8175  LIBS="-ltk8.3 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltk8.0 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
8176  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8177  /* confdefs.h.  */  /* confdefs.h.  */
8178  _ACEOF  _ACEOF
8179  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7719  Tk_NameOfFont (); Line 8197  Tk_NameOfFont ();
8197  _ACEOF  _ACEOF
8198  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8199  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8200    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8201    ac_status=$?    ac_status=$?
8202      grep -v '^ *+' conftest.er1 >conftest.err
8203      rm -f conftest.er1
8204      cat conftest.err >&5
8205    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206    (exit $ac_status); } &&    (exit $ac_status); } &&
8207           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8208                 || test ! -s conftest.err'
8209      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210      (eval $ac_try) 2>&5
8211      ac_status=$?
8212      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213      (exit $ac_status); }; } &&
8214         { ac_try='test -s conftest$ac_exeext'
8215    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8217    ac_status=$?    ac_status=$?
8218    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8220    ac_cv_lib_tk8_3_Tk_NameOfFont=yes    ac_cv_lib_tk8_0_Tk_NameOfFont=yes
8221  else  else
8222    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8223  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8224    
8225  ac_cv_lib_tk8_3_Tk_NameOfFont=no  ac_cv_lib_tk8_0_Tk_NameOfFont=no
8226  fi  fi
8227  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8228          conftest$ac_exeext conftest.$ac_ext
8229  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8230  fi  fi
8231  echo "$as_me:$LINENO: result: $ac_cv_lib_tk8_3_Tk_NameOfFont" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tk8_0_Tk_NameOfFont" >&5
8232  echo "${ECHO_T}$ac_cv_lib_tk8_3_Tk_NameOfFont" >&6  echo "${ECHO_T}$ac_cv_lib_tk8_0_Tk_NameOfFont" >&6
8233  if test $ac_cv_lib_tk8_3_Tk_NameOfFont = yes; then  if test $ac_cv_lib_tk8_0_Tk_NameOfFont = yes; then
8234    TK_LIB="-ltk8.3"    TK_LIB="-ltk8.0"
8235  fi  fi
8236    
8237  fi  fi
8238  if test "X$TK_LIB" = X_searching ; then  if test "X$TK_LIB" = X_searching ; then
8239      echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk83" >&5      echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk80" >&5
8240  echo $ECHO_N "checking for Tk_NameOfFont in -ltk83... $ECHO_C" >&6  echo $ECHO_N "checking for Tk_NameOfFont in -ltk80... $ECHO_C" >&6
8241  if test "${ac_cv_lib_tk83_Tk_NameOfFont+set}" = set; then  if test "${ac_cv_lib_tk80_Tk_NameOfFont+set}" = set; then
8242    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
8243  else  else
8244    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8245  LIBS="-ltk83 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltk80 $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
8246  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8247  /* confdefs.h.  */  /* confdefs.h.  */
8248  _ACEOF  _ACEOF
8249  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7779  Tk_NameOfFont (); Line 8267  Tk_NameOfFont ();
8267  _ACEOF  _ACEOF
8268  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8269  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8270    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8271    ac_status=$?    ac_status=$?
8272      grep -v '^ *+' conftest.er1 >conftest.err
8273      rm -f conftest.er1
8274      cat conftest.err >&5
8275    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276    (exit $ac_status); } &&    (exit $ac_status); } &&
8277           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8278                 || test ! -s conftest.err'
8279      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8280      (eval $ac_try) 2>&5
8281      ac_status=$?
8282      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283      (exit $ac_status); }; } &&
8284         { ac_try='test -s conftest$ac_exeext'
8285    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8286    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8287    ac_status=$?    ac_status=$?
8288    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8289    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
8290    ac_cv_lib_tk83_Tk_NameOfFont=yes    ac_cv_lib_tk80_Tk_NameOfFont=yes
8291  else  else
8292    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8293  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8294    
8295  ac_cv_lib_tk83_Tk_NameOfFont=no  ac_cv_lib_tk80_Tk_NameOfFont=no
8296  fi  fi
8297  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8298          conftest$ac_exeext conftest.$ac_ext
8299  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8300  fi  fi
8301  echo "$as_me:$LINENO: result: $ac_cv_lib_tk83_Tk_NameOfFont" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tk80_Tk_NameOfFont" >&5
8302  echo "${ECHO_T}$ac_cv_lib_tk83_Tk_NameOfFont" >&6  echo "${ECHO_T}$ac_cv_lib_tk80_Tk_NameOfFont" >&6
8303  if test $ac_cv_lib_tk83_Tk_NameOfFont = yes; then  if test $ac_cv_lib_tk80_Tk_NameOfFont = yes; then
8304    TK_LIB="-ltk83"    TK_LIB="-ltk80"
8305  fi  fi
8306    
8307  fi  fi
   
8308  if test "X$TK_LIB" = X_searching ; then  if test "X$TK_LIB" = X_searching ; then
8309      echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk" >&5      echo "$as_me:$LINENO: checking for Tk_NameOfFont in -ltk" >&5
8310  echo $ECHO_N "checking for Tk_NameOfFont in -ltk... $ECHO_C" >&6  echo $ECHO_N "checking for Tk_NameOfFont in -ltk... $ECHO_C" >&6
# Line 7816  else Line 8314  else
8314    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8315  LIBS="-ltk $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"  LIBS="-ltk $TCL_LIB $X11_LIBRARIES -lX11 $X11_EXTRA_LIBS $DL_LIBS $MATH_LIBS $LIBS"
8316  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8317  /* confdefs.h.  */  /* confdefs.h.  */
8318  _ACEOF  _ACEOF
8319  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7840  Tk_NameOfFont (); Line 8337  Tk_NameOfFont ();
8337  _ACEOF  _ACEOF
8338  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8339  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8340    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8341    ac_status=$?    ac_status=$?
8342      grep -v '^ *+' conftest.er1 >conftest.err
8343      rm -f conftest.er1
8344      cat conftest.err >&5
8345    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346    (exit $ac_status); } &&    (exit $ac_status); } &&
8347           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8348                 || test ! -s conftest.err'
8349      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350      (eval $ac_try) 2>&5
8351      ac_status=$?
8352      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353      (exit $ac_status); }; } &&
8354         { ac_try='test -s conftest$ac_exeext'
8355    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8357    ac_status=$?    ac_status=$?
# Line 7857  sed 's/^/| /' conftest.$ac_ext >&5 Line 8364  sed 's/^/| /' conftest.$ac_ext >&5
8364    
8365  ac_cv_lib_tk_Tk_NameOfFont=no  ac_cv_lib_tk_Tk_NameOfFont=no
8366  fi  fi
8367  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8368          conftest$ac_exeext conftest.$ac_ext
8369  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8370  fi  fi
8371  echo "$as_me:$LINENO: result: $ac_cv_lib_tk_Tk_NameOfFont" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_tk_Tk_NameOfFont" >&5
# Line 7872  fi Line 8380  fi
8380  #  #
8381  if test "X$TK_LIB" = X_searching ; then  if test "X$TK_LIB" = X_searching ; then
8382      { { echo "$as_me:$LINENO: error: Cannot find a compatiable Tk library.      { { echo "$as_me:$LINENO: error: Cannot find a compatiable Tk library.
8383      You must build and install Tk version 8.3 or newer before you      You must build and install Tk version 8.0 or newer before you
8384      can build ASCEND.  If you have installed the correct version      can build ASCEND.  If you have installed the correct version
8385      of Tk, run configure again with the argument:      of Tk, run configure again with the argument:
8386          --with-tk=LIBRARY,HEADER          --with-tk=LIBRARY,HEADER
8387      where LIBRARY and HEADER are the full paths to the Tk8.3      where LIBRARY and HEADER are the full paths to the Tk8.0
8388      library file and header file, respectively." >&5      library file and header file, respectively." >&5
8389  echo "$as_me: error: Cannot find a compatiable Tk library.  echo "$as_me: error: Cannot find a compatiable Tk library.
8390      You must build and install Tk version 8.3 or newer before you      You must build and install Tk version 8.0 or newer before you
8391      can build ASCEND.  If you have installed the correct version      can build ASCEND.  If you have installed the correct version
8392      of Tk, run configure again with the argument:      of Tk, run configure again with the argument:
8393          --with-tk=LIBRARY,HEADER          --with-tk=LIBRARY,HEADER
8394      where LIBRARY and HEADER are the full paths to the Tk8.3      where LIBRARY and HEADER are the full paths to the Tk8.0
8395      library file and header file, respectively." >&2;}      library file and header file, respectively." >&2;}
8396     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
8397  fi  fi
# Line 7940  fi Line 8448  fi
8448    
8449      if test -z "$TK_HDR" ; then      if test -z "$TK_HDR" ; then
8450          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8451  /* confdefs.h.  */  /* confdefs.h.  */
8452  _ACEOF  _ACEOF
8453  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8364  else Line 8871  else
8871    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8872  LIBS="-lfor $F77LIBS $LIBS"  LIBS="-lfor $F77LIBS $LIBS"
8873  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8874  /* confdefs.h.  */  /* confdefs.h.  */
8875  _ACEOF  _ACEOF
8876  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8388  for_lle (); Line 8894  for_lle ();
8894  _ACEOF  _ACEOF
8895  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8896  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8897    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8898    ac_status=$?    ac_status=$?
8899      grep -v '^ *+' conftest.er1 >conftest.err
8900      rm -f conftest.er1
8901      cat conftest.err >&5
8902    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903    (exit $ac_status); } &&    (exit $ac_status); } &&
8904           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8905                 || test ! -s conftest.err'
8906      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8907      (eval $ac_try) 2>&5
8908      ac_status=$?
8909      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910      (exit $ac_status); }; } &&
8911         { ac_try='test -s conftest$ac_exeext'
8912    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8913    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8914    ac_status=$?    ac_status=$?
# Line 8405  sed 's/^/| /' conftest.$ac_ext >&5 Line 8921  sed 's/^/| /' conftest.$ac_ext >&5
8921    
8922  ac_cv_lib_for_for_lle=no  ac_cv_lib_for_for_lle=no
8923  fi  fi
8924  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8925          conftest$ac_exeext conftest.$ac_ext
8926  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8927  fi  fi
8928  echo "$as_me:$LINENO: result: $ac_cv_lib_for_for_lle" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_for_for_lle" >&5
# Line 8422  else Line 8939  else
8939    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8940  LIBS="-lots $F77LIBS $LIBS"  LIBS="-lots $F77LIBS $LIBS"
8941  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8942  /* confdefs.h.  */  /* confdefs.h.  */
8943  _ACEOF  _ACEOF
8944  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 8446  _OtsFill (); Line 8962  _OtsFill ();
8962  _ACEOF  _ACEOF
8963  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8964  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8965    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8966    ac_status=$?    ac_status=$?
8967      grep -v '^ *+' conftest.er1 >conftest.err
8968      rm -f conftest.er1
8969      cat conftest.err >&5
8970    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971    (exit $ac_status); } &&    (exit $ac_status); } &&
8972           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8973                 || test ! -s conftest.err'
8974      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975      (eval $ac_try) 2>&5
8976      ac_status=$?
8977      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978      (exit $ac_status); }; } &&
8979         { ac_try='test -s conftest$ac_exeext'
8980    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8982    ac_status=$?    ac_status=$?
# Line 8463  sed 's/^/| /' conftest.$ac_ext >&5 Line 8989  sed 's/^/| /' conftest.$ac_ext >&5
8989    
8990  ac_cv_lib_ots__OtsFill=no  ac_cv_lib_ots__OtsFill=no
8991  fi  fi
8992  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8993          conftest$ac_exeext conftest.$ac_ext
8994  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8995  fi  fi
8996  echo "$as_me:$LINENO: result: $ac_cv_lib_ots__OtsFill" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_ots__OtsFill" >&5
# Line 8480  else Line 9007  else
9007    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
9008  LIBS="-lUfor $F77LIBS $LIBS"  LIBS="-lUfor $F77LIBS $LIBS"
9009  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
9010  /* confdefs.h.  */  /* confdefs.h.  */
9011  _ACE