/[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 363 by johnpye, Wed Mar 8 04:37:38 2006 UTC revision 364 by johnpye, Wed Mar 8 05:23:02 2006 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 926  case $srcdir in Line 927  case $srcdir in
927      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix      ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
928      ac_top_srcdir=$ac_top_builddir$srcdir ;;      ac_top_srcdir=$ac_top_builddir$srcdir ;;
929  esac  esac
930  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  
931  # absolute.  # Do not use `cd foo && pwd` to compute absolute paths, because
932  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  # the directories may not exist.
933  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`  case `pwd` in
934  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  .) ac_abs_builddir="$ac_dir";;
935  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  *)
936      case "$ac_dir" in
937      .) ac_abs_builddir=`pwd`;;
938      [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
939      *) ac_abs_builddir=`pwd`/"$ac_dir";;
940      esac;;
941    esac
942    case $ac_abs_builddir in
943    .) ac_abs_top_builddir=${ac_top_builddir}.;;
944    *)
945      case ${ac_top_builddir}. in
946      .) ac_abs_top_builddir=$ac_abs_builddir;;
947      [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
948      *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
949      esac;;
950    esac
951    case $ac_abs_builddir in
952    .) ac_abs_srcdir=$ac_srcdir;;
953    *)
954      case $ac_srcdir in
955      .) ac_abs_srcdir=$ac_abs_builddir;;
956      [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
957      *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
958      esac;;
959    esac
960    case $ac_abs_builddir in
961    .) ac_abs_top_srcdir=$ac_top_srcdir;;
962    *)
963      case $ac_top_srcdir in
964      .) ac_abs_top_srcdir=$ac_abs_builddir;;
965      [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
966      *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
967      esac;;
968    esac
969    
970      cd $ac_dir      cd $ac_dir
971      # Check for guested configure; otherwise get Cygnus style configure.      # Check for guested configure; otherwise get Cygnus style configure.
# Line 942  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a Line 976  ac_abs_top_srcdir=`cd "$ac_dir" && cd $a
976        echo        echo
977        $SHELL $ac_srcdir/configure  --help=recursive        $SHELL $ac_srcdir/configure  --help=recursive
978      elif test -f $ac_srcdir/configure.ac ||      elif test -f $ac_srcdir/configure.ac ||
979             test -f $ac_srcdir/configure.in; then         test -f $ac_srcdir/configure.in; then
980        echo        echo
981        $ac_configure --help        $ac_configure --help
982      else      else
# Line 956  test -n "$ac_init_help" && exit 0 Line 990  test -n "$ac_init_help" && exit 0
990  if $ac_init_version; then  if $ac_init_version; then
991    cat <<\_ACEOF    cat <<\_ACEOF
992    
993  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  Copyright (C) 2003 Free Software Foundation, Inc.
 Free Software Foundation, Inc.  
994  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
995  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
996  _ACEOF  _ACEOF
# Line 969  This file contains any messages produced Line 1002  This file contains any messages produced
1002  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1003    
1004  It was created by $as_me, which was  It was created by $as_me, which was
1005  generated by GNU Autoconf 2.56.  Invocation command line was  generated by GNU Autoconf 2.59.  Invocation command line was
1006    
1007    $ $0 $@    $ $0 $@
1008    
# Line 1046  do Line 1079  do
1079      2)      2)
1080        ac_configure_args1="$ac_configure_args1 '$ac_arg'"        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1081        if test $ac_must_keep_next = true; then        if test $ac_must_keep_next = true; then
1082          ac_must_keep_next=false # Got value, back to normal.      ac_must_keep_next=false # Got value, back to normal.
1083        else        else
1084          case $ac_arg in      case $ac_arg in
1085            *=* | --config-cache | -C | -disable-* | --disable-* \        *=* | --config-cache | -C | -disable-* | --disable-* \
1086            | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \        | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1087            | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \        | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1088            | -with-* | --with-* | -without-* | --without-* | --x)        | -with-* | --with-* | -without-* | --without-* | --x)
1089              case "$ac_configure_args0 " in          case "$ac_configure_args0 " in
1090                "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;            "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1091              esac          esac
1092              ;;          ;;
1093            -* ) ac_must_keep_next=true ;;        -* ) ac_must_keep_next=true ;;
1094          esac      esac
1095        fi        fi
1096        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"        ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1097        # Get rid of the leading space.        # Get rid of the leading space.
# Line 1092  _ASBOX Line 1125  _ASBOX
1125      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1126      *ac_space=\ *)      *ac_space=\ *)
1127        sed -n \        sed -n \
1128          "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;      "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1129            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"        s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130        ;;        ;;
1131      *)      *)
1132        sed -n \        sed -n \
1133          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"      "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1134        ;;        ;;
1135      esac;      esac;
1136  }  }
# Line 1126  _ASBOX Line 1159  _ASBOX
1159        for ac_var in $ac_subst_files        for ac_var in $ac_subst_files
1160        do        do
1161      eval ac_val=$`echo $ac_var`      eval ac_val=$`echo $ac_var`
1162          echo "$ac_var='"'"'$ac_val'"'"'"      echo "$ac_var='"'"'$ac_val'"'"'"
1163        done | sort        done | sort
1164        echo        echo
1165      fi      fi
# Line 1145  _ASBOX Line 1178  _ASBOX
1178        echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1179      echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1180    } >&5    } >&5
1181    rm -f core core.* *.core &&    rm -f core *.core &&
1182    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&    rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1183      exit $exit_status      exit $exit_status
1184       ' 0       ' 0
# Line 1209  done Line 1242  done
1242  # value.  # value.
1243  ac_cache_corrupted=false  ac_cache_corrupted=false
1244  for ac_var in `(set) 2>&1 |  for ac_var in `(set) 2>&1 |
1245                 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
1246    eval ac_old_set=\$ac_cv_env_${ac_var}_set    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247    eval ac_new_set=\$ac_env_${ac_var}_set    eval ac_new_set=\$ac_env_${ac_var}_set
1248    eval ac_old_val="\$ac_cv_env_${ac_var}_value"    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
# Line 1226  echo "$as_me: error: \`$ac_var' was not Line 1259  echo "$as_me: error: \`$ac_var' was not
1259      ,);;      ,);;
1260      *)      *)
1261        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1262          { 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
1263  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;}
1264          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5      { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1265  echo "$as_me:   former value:  $ac_old_val" >&2;}  echo "$as_me:   former value:  $ac_old_val" >&2;}
1266          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5      { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1267  echo "$as_me:   current value: $ac_new_val" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1268          ac_cache_corrupted=:      ac_cache_corrupted=:
1269        fi;;        fi;;
1270    esac    esac
1271    # Pass precious variables to config.status.    # Pass precious variables to config.status.
# Line 1539  fi Line 1572  fi
1572    
1573  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1574  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1575  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1576  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
1577    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1578  else  else
# Line 1577  fi Line 1610  fi
1610  # 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
1611  # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1612  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1613    # OS/2's system install, which has a completely different semantic
1614  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
1615  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1616  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 1593  do Line 1627  do
1627  case $as_dir/ in  case $as_dir/ in
1628    ./ | .// | /cC/* | \    ./ | .// | /cC/* | \
1629    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1630      ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1631    /usr/ucb/* ) ;;    /usr/ucb/* ) ;;
1632    *)    *)
1633      # 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 1600  case $as_dir/ in Line 1635  case $as_dir/ in
1635      # by default.      # by default.
1636      for ac_prog in ginstall scoinst install; do      for ac_prog in ginstall scoinst install; do
1637        for ac_exec_ext in '' $ac_executable_extensions; do        for ac_exec_ext in '' $ac_executable_extensions; do
1638          if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then      if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1639            if test $ac_prog = install &&        if test $ac_prog = install &&
1640              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
1641              # AIX install.  It has an incompatible calling convention.          # AIX install.  It has an incompatible calling convention.
1642              :          :
1643            elif test $ac_prog = install &&        elif test $ac_prog = install &&
1644              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
1645              # program-specific install script used by HP pwplus--don't use.          # program-specific install script used by HP pwplus--don't use.
1646              :          :
1647            else        else
1648              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1649              break 3          break 3
1650            fi        fi
1651          fi      fi
1652        done        done
1653      done      done
1654      ;;      ;;
# Line 1711  host_os=`echo $ac_cv_host | sed 's/^\([^ Line 1746  host_os=`echo $ac_cv_host | sed 's/^\([^
1746    
1747    
1748    
   
1749  #--------------------------------------------------------------------  #--------------------------------------------------------------------
1750  #   Check for the C compiler: set CC and CFLAGS.  #   Check for the C compiler: set CC and CFLAGS.
1751  #   If the user does NOT specify `--enable-gcc' on the configure  #   If the user does NOT specify `--enable-gcc' on the configure
# Line 1734  host_os=`echo $ac_cv_host | sed 's/^\([^ Line 1768  host_os=`echo $ac_cv_host | sed 's/^\([^
1768  #   If we do not find an ANSI C compiler, print a warning and  #   If we do not find an ANSI C compiler, print a warning and
1769  #   use the first value of CC we tried.  #   use the first value of CC we tried.
1770  #--------------------------------------------------------------------  #--------------------------------------------------------------------
1771    #JP  removed the lengthy CC tests, since ANSI C is pretty universal
1772    #JP  these days, and GCC can pretty much be assumed if we're using
1773    #JP  Autotools.
1774    
1775  ac_ext=c  ac_ext=c
1776  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
# Line 1854  ac_compiler=`set X $ac_compile; echo $2` Line 1891  ac_compiler=`set X $ac_compile; echo $2`
1891    (exit $ac_status); }    (exit $ac_status); }
1892    
1893  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
1894  /* confdefs.h.  */  /* confdefs.h.  */
1895  _ACEOF  _ACEOF
1896  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 1874  ac_clean_files="$ac_clean_files a.out a. Line 1910  ac_clean_files="$ac_clean_files a.out a.
1910  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
1911  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
1912  # of exeext.  # of exeext.
1913  echo "$as_me:$LINENO: checking for C compiler default output" >&5  echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1914  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
1915  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1916  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1917    (eval $ac_link_default) 2>&5    (eval $ac_link_default) 2>&5
# Line 1895  do Line 1931  do
1931    test -f "$ac_file" || continue    test -f "$ac_file" || continue
1932    case $ac_file in    case $ac_file in
1933      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1934          ;;      ;;
1935      conftest.$ac_ext )      conftest.$ac_ext )
1936          # This is the source file.      # This is the source file.
1937          ;;      ;;
1938      [ab].out )      [ab].out )
1939          # We found the default executable, but exeext='' is most      # We found the default executable, but exeext='' is most
1940          # certainly right.      # certainly right.
1941          break;;      break;;
1942      *.* )      *.* )
1943          ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1944          # FIXME: I believe we export ac_cv_exeext for Libtool,      # FIXME: I believe we export ac_cv_exeext for Libtool,
1945          # 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
1946          # maintain Libtool? --akim.      # maintain Libtool? --akim.
1947          export ac_cv_exeext      export ac_cv_exeext
1948          break;;      break;;
1949      * )      * )
1950          break;;      break;;
1951    esac    esac
1952  done  done
1953  else  else
# Line 1985  for ac_file in conftest.exe conftest con Line 2021  for ac_file in conftest.exe conftest con
2021    case $ac_file in    case $ac_file in
2022      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2023      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2024            export ac_cv_exeext        export ac_cv_exeext
2025            break;;        break;;
2026      * ) break;;      * ) break;;
2027    esac    esac
2028  done  done
# Line 2011  if test "${ac_cv_objext+set}" = set; the Line 2047  if test "${ac_cv_objext+set}" = set; the
2047    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2048  else  else
2049    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2050  /* confdefs.h.  */  /* confdefs.h.  */
2051  _ACEOF  _ACEOF
2052  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2062  if test "${ac_cv_c_compiler_gnu+set}" = Line 2097  if test "${ac_cv_c_compiler_gnu+set}" =
2097    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2098  else  else
2099    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2100  /* confdefs.h.  */  /* confdefs.h.  */
2101  _ACEOF  _ACEOF
2102  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2082  main () Line 2116  main ()
2116  _ACEOF  _ACEOF
2117  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2118  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2119    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2120    ac_status=$?    ac_status=$?
2121      grep -v '^ *+' conftest.er1 >conftest.err
2122      rm -f conftest.er1
2123      cat conftest.err >&5
2124    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125    (exit $ac_status); } &&    (exit $ac_status); } &&
2126           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2127                 || test ! -s conftest.err'
2128      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129      (eval $ac_try) 2>&5
2130      ac_status=$?
2131      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132      (exit $ac_status); }; } &&
2133         { ac_try='test -s conftest.$ac_objext'
2134    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2136    ac_status=$?    ac_status=$?
# Line 2099  sed 's/^/| /' conftest.$ac_ext >&5 Line 2143  sed 's/^/| /' conftest.$ac_ext >&5
2143    
2144  ac_compiler_gnu=no  ac_compiler_gnu=no
2145  fi  fi
2146  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2147  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2148    
2149  fi  fi
# Line 2115  if test "${ac_cv_prog_cc_g+set}" = set; Line 2159  if test "${ac_cv_prog_cc_g+set}" = set;
2159    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2160  else  else
2161    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2162  /* confdefs.h.  */  /* confdefs.h.  */
2163  _ACEOF  _ACEOF
2164  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2132  main () Line 2175  main ()
2175  _ACEOF  _ACEOF
2176  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2177  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2178    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2179    ac_status=$?    ac_status=$?
2180      grep -v '^ *+' conftest.er1 >conftest.err
2181      rm -f conftest.er1
2182      cat conftest.err >&5
2183    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184    (exit $ac_status); } &&    (exit $ac_status); } &&
2185           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2186                 || test ! -s conftest.err'
2187      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188      (eval $ac_try) 2>&5
2189      ac_status=$?
2190      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191      (exit $ac_status); }; } &&
2192         { ac_try='test -s conftest.$ac_objext'
2193    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2195    ac_status=$?    ac_status=$?
# Line 2149  sed 's/^/| /' conftest.$ac_ext >&5 Line 2202  sed 's/^/| /' conftest.$ac_ext >&5
2202    
2203  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2204  fi  fi
2205  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2206  fi  fi
2207  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2208  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
# Line 2176  else Line 2229  else
2229    ac_cv_prog_cc_stdc=no    ac_cv_prog_cc_stdc=no
2230  ac_save_CC=$CC  ac_save_CC=$CC
2231  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2232  /* confdefs.h.  */  /* confdefs.h.  */
2233  _ACEOF  _ACEOF
2234  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2204  static char *f (char * (*g) (char **, in Line 2256  static char *f (char * (*g) (char **, in
2256    va_end (v);    va_end (v);
2257    return s;    return s;
2258  }  }
2259    
2260    /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2261       function prototypes and stuff, but not '\xHH' hex character constants.
2262       These don't provoke an error unfortunately, instead are silently treated
2263       as 'x'.  The following induces an error, until -std1 is added to get
2264       proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2265       array size at least.  It's necessary to write '\x00'==0 to get something
2266       that's true only with -std1.  */
2267    int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2268    
2269  int test (int i, double x);  int test (int i, double x);
2270  struct s1 {int (*f) (int a);};  struct s1 {int (*f) (int a);};
2271  struct s2 {int (*f) (double a);};  struct s2 {int (*f) (double a);};
# Line 2230  do Line 2292  do
2292    CC="$ac_save_CC $ac_arg"    CC="$ac_save_CC $ac_arg"
2293    rm -f conftest.$ac_objext    rm -f conftest.$ac_objext
2294  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2295    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2296    ac_status=$?    ac_status=$?
2297      grep -v '^ *+' conftest.er1 >conftest.err
2298      rm -f conftest.er1
2299      cat conftest.err >&5
2300    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301    (exit $ac_status); } &&    (exit $ac_status); } &&
2302           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2303                 || test ! -s conftest.err'
2304      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305      (eval $ac_try) 2>&5
2306      ac_status=$?
2307      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308      (exit $ac_status); }; } &&
2309         { ac_try='test -s conftest.$ac_objext'
2310    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2312    ac_status=$?    ac_status=$?
# Line 2247  else Line 2319  else
2319  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2320    
2321  fi  fi
2322  rm -f conftest.$ac_objext  rm -f conftest.err conftest.$ac_objext
2323  done  done
2324  rm -f conftest.$ac_ext conftest.$ac_objext  rm -f conftest.$ac_ext conftest.$ac_objext
2325  CC=$ac_save_CC  CC=$ac_save_CC
# Line 2275  cat >conftest.$ac_ext <<_ACEOF Line 2347  cat >conftest.$ac_ext <<_ACEOF
2347  _ACEOF  _ACEOF
2348  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2349  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2350    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2351    ac_status=$?    ac_status=$?
2352      grep -v '^ *+' conftest.er1 >conftest.err
2353      rm -f conftest.er1
2354      cat conftest.err >&5
2355    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356    (exit $ac_status); } &&    (exit $ac_status); } &&
2357           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2358                 || test ! -s conftest.err'
2359      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360      (eval $ac_try) 2>&5
2361      ac_status=$?
2362      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363      (exit $ac_status); }; } &&
2364         { ac_try='test -s conftest.$ac_objext'
2365    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2366    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2367    ac_status=$?    ac_status=$?
2368    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2370    for ac_declaration in \    for ac_declaration in \
2371     ''\     '' \
    '#include <stdlib.h>' \  
2372     'extern "C" void std::exit (int) throw (); using std::exit;' \     'extern "C" void std::exit (int) throw (); using std::exit;' \
2373     'extern "C" void std::exit (int); using std::exit;' \     'extern "C" void std::exit (int); using std::exit;' \
2374     'extern "C" void exit (int) throw ();' \     'extern "C" void exit (int) throw ();' \
# Line 2295  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2376  if { (eval echo "$as_me:$LINENO: \"$ac_c
2376     'void exit (int);'     'void exit (int);'
2377  do  do
2378    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2379  /* confdefs.h.  */  /* confdefs.h.  */
2380  _ACEOF  _ACEOF
2381  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2382  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2383  /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <stdlib.h>  
2384  $ac_declaration  $ac_declaration
2385    #include <stdlib.h>
2386  int  int
2387  main ()  main ()
2388  {  {
# Line 2313  exit (42); Line 2393  exit (42);
2393  _ACEOF  _ACEOF
2394  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2395  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2396    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2397    ac_status=$?    ac_status=$?
2398      grep -v '^ *+' conftest.er1 >conftest.err
2399      rm -f conftest.er1
2400      cat conftest.err >&5
2401    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402    (exit $ac_status); } &&    (exit $ac_status); } &&
2403           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2404                 || test ! -s conftest.err'
2405      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406      (eval $ac_try) 2>&5
2407      ac_status=$?
2408      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409      (exit $ac_status); }; } &&
2410         { ac_try='test -s conftest.$ac_objext'
2411    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2413    ac_status=$?    ac_status=$?
# Line 2330  sed 's/^/| /' conftest.$ac_ext >&5 Line 2420  sed 's/^/| /' conftest.$ac_ext >&5
2420    
2421  continue  continue
2422  fi  fi
2423  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2424    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2425  /* confdefs.h.  */  /* confdefs.h.  */
2426  _ACEOF  _ACEOF
2427  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2349  exit (42); Line 2438  exit (42);
2438  _ACEOF  _ACEOF
2439  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2440  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2441    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2442    ac_status=$?    ac_status=$?
2443      grep -v '^ *+' conftest.er1 >conftest.err
2444      rm -f conftest.er1
2445      cat conftest.err >&5
2446    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2447    (exit $ac_status); } &&    (exit $ac_status); } &&
2448           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2449                 || test ! -s conftest.err'
2450      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451      (eval $ac_try) 2>&5
2452      ac_status=$?
2453      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454      (exit $ac_status); }; } &&
2455         { ac_try='test -s conftest.$ac_objext'
2456    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2458    ac_status=$?    ac_status=$?
# Line 2365  else Line 2464  else
2464  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2465    
2466  fi  fi
2467  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2468  done  done
2469  rm -f conftest*  rm -f conftest*
2470  if test -n "$ac_declaration"; then  if test -n "$ac_declaration"; then
# Line 2379  else Line 2478  else
2478  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2479    
2480  fi  fi
2481  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2482  ac_ext=c  ac_ext=c
2483  ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
2484  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2387  ac_link='$CC -o conftest$ac_exeext $CFLA Line 2486  ac_link='$CC -o conftest$ac_exeext $CFLA
2486  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487    
2488    
   
2489  #--------------------------------------------------------------------  #--------------------------------------------------------------------
2490  #   Do other misc checks with CC and CFLAGS.  #   Do other misc checks with CC and CFLAGS.
2491  #  #
# Line 2429  for ac_c_preproc_warn_flag in '' yes Line 2527  for ac_c_preproc_warn_flag in '' yes
2527  do  do
2528    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
2529    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
2530      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2531      # <limits.h> exists even on freestanding compilers.
2532    # 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,
2533    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
2534    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2535  /* confdefs.h.  */  /* confdefs.h.  */
2536  _ACEOF  _ACEOF
2537  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2538  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2539  /* end confdefs.h.  */  /* end confdefs.h.  */
2540  #include <assert.h>  #ifdef __STDC__
2541                       Syntax error  # include <limits.h>
2542    #else
2543    # include <assert.h>
2544    #endif
2545                 Syntax error
2546  _ACEOF  _ACEOF
2547  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2548    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 2451  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2554  if { (eval echo "$as_me:$LINENO: \"$ac_c
2554    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2555    if test -s conftest.err; then    if test -s conftest.err; then
2556      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
2557        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2558    else    else
2559      ac_cpp_err=      ac_cpp_err=
2560    fi    fi
# Line 2471  rm -f conftest.err conftest.$ac_ext Line 2575  rm -f conftest.err conftest.$ac_ext
2575    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
2576    # can be detected and how.    # can be detected and how.
2577    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2578  /* confdefs.h.  */  /* confdefs.h.  */
2579  _ACEOF  _ACEOF
2580  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2489  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2592  if { (eval echo "$as_me:$LINENO: \"$ac_c
2592    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2593    if test -s conftest.err; then    if test -s conftest.err; then
2594      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
2595        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2596    else    else
2597      ac_cpp_err=      ac_cpp_err=
2598    fi    fi
# Line 2530  for ac_c_preproc_warn_flag in '' yes Line 2634  for ac_c_preproc_warn_flag in '' yes
2634  do  do
2635    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
2636    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
2637      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2638      # <limits.h> exists even on freestanding compilers.
2639    # 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,
2640    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
2641    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2642  /* confdefs.h.  */  /* confdefs.h.  */
2643  _ACEOF  _ACEOF
2644  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
2645  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
2646  /* end confdefs.h.  */  /* end confdefs.h.  */
2647  #include <assert.h>  #ifdef __STDC__
2648                       Syntax error  # include <limits.h>
2649    #else
2650    # include <assert.h>
2651    #endif
2652                 Syntax error
2653  _ACEOF  _ACEOF
2654  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2655    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
# Line 2552  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2661  if { (eval echo "$as_me:$LINENO: \"$ac_c
2661    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2662    if test -s conftest.err; then    if test -s conftest.err; then
2663      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
2664        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2665    else    else
2666      ac_cpp_err=      ac_cpp_err=
2667    fi    fi
# Line 2572  rm -f conftest.err conftest.$ac_ext Line 2682  rm -f conftest.err conftest.$ac_ext
2682    # OK, works on sane cases.  Now check whether non-existent headers    # OK, works on sane cases.  Now check whether non-existent headers
2683    # can be detected and how.    # can be detected and how.
2684    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2685  /* confdefs.h.  */  /* confdefs.h.  */
2686  _ACEOF  _ACEOF
2687  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2590  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2699  if { (eval echo "$as_me:$LINENO: \"$ac_c
2699    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
2700    if test -s conftest.err; then    if test -s conftest.err; then
2701      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
2702        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2703    else    else
2704      ac_cpp_err=      ac_cpp_err=
2705    fi    fi
# Line 2636  if test "${enable_optimization+set}" = s Line 2746  if test "${enable_optimization+set}" = s
2746  else  else
2747    asc_do_opt=no    asc_do_opt=no
2748  fi;  fi;
2749    
2750  if test "$asc_do_opt" = yes; then  if test "$asc_do_opt" = yes; then
2751      CFLAGS=`echo "-O $CFLAGS " | sed 's/ -g / /g'`      CFLAGS=`echo "-O $CFLAGS " | sed 's/ -g / /g'`
2752      cat >>confdefs.h <<\_ACEOF      cat >>confdefs.h <<\_ACEOF
# Line 2704  echo "${ECHO_T}$ac_cv_prog_egrep" >&6 Line 2815  echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2815    
2816    
2817  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2818  /* confdefs.h.  */  /* confdefs.h.  */
2819  _ACEOF  _ACEOF
2820  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2733  echo "${ECHO_T}$asc_aix" >&6 Line 2843  echo "${ECHO_T}$asc_aix" >&6
2843  echo "$as_me:$LINENO: checking whether -D_HPUX_SOURCE is needed" >&5  echo "$as_me:$LINENO: checking whether -D_HPUX_SOURCE is needed" >&5
2844  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
2845  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2846  /* confdefs.h.  */  /* confdefs.h.  */
2847  _ACEOF  _ACEOF
2848  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2768  if test "${ac_cv_header_stdc+set}" = set Line 2877  if test "${ac_cv_header_stdc+set}" = set
2877    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2878  else  else
2879    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2880  /* confdefs.h.  */  /* confdefs.h.  */
2881  _ACEOF  _ACEOF
2882  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2789  main () Line 2897  main ()
2897  _ACEOF  _ACEOF
2898  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
2899  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2900    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
2901    ac_status=$?    ac_status=$?
2902      grep -v '^ *+' conftest.er1 >conftest.err
2903      rm -f conftest.er1
2904      cat conftest.err >&5
2905    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906    (exit $ac_status); } &&    (exit $ac_status); } &&
2907           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
2908                 || test ! -s conftest.err'
2909      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910      (eval $ac_try) 2>&5
2911      ac_status=$?
2912      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913      (exit $ac_status); }; } &&
2914         { ac_try='test -s conftest.$ac_objext'
2915    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2916    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
2917    ac_status=$?    ac_status=$?
# Line 2806  sed 's/^/| /' conftest.$ac_ext >&5 Line 2924  sed 's/^/| /' conftest.$ac_ext >&5
2924    
2925  ac_cv_header_stdc=no  ac_cv_header_stdc=no
2926  fi  fi
2927  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2928    
2929  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
2930    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2931    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2932  /* confdefs.h.  */  /* confdefs.h.  */
2933  _ACEOF  _ACEOF
2934  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2833  fi Line 2950  fi
2950  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
2951    # 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.
2952    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2953  /* confdefs.h.  */  /* confdefs.h.  */
2954  _ACEOF  _ACEOF
2955  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2858  if test $ac_cv_header_stdc = yes; then Line 2974  if test $ac_cv_header_stdc = yes; then
2974    :    :
2975  else  else
2976    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
2977  /* confdefs.h.  */  /* confdefs.h.  */
2978  _ACEOF  _ACEOF
2979  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2870  cat >>conftest.$ac_ext <<_ACEOF Line 2985  cat >>conftest.$ac_ext <<_ACEOF
2985  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2986  #else  #else
2987  # define ISLOWER(c) \  # define ISLOWER(c) \
2988                     (('a' <= (c) && (c) <= 'i') \             (('a' <= (c) && (c) <= 'i') \
2989                       || ('j' <= (c) && (c) <= 'r') \               || ('j' <= (c) && (c) <= 'r') \
2990                       || ('s' <= (c) && (c) <= 'z'))               || ('s' <= (c) && (c) <= 'z'))
2991  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2992  #endif  #endif
2993    
# Line 2883  main () Line 2998  main ()
2998    int i;    int i;
2999    for (i = 0; i < 256; i++)    for (i = 0; i < 256; i++)
3000      if (XOR (islower (i), ISLOWER (i))      if (XOR (islower (i), ISLOWER (i))
3001          || toupper (i) != TOUPPER (i))      || toupper (i) != TOUPPER (i))
3002        exit(2);        exit(2);
3003    exit (0);    exit (0);
3004  }  }
# Line 2908  sed 's/^/| /' conftest.$ac_ext >&5 Line 3023  sed 's/^/| /' conftest.$ac_ext >&5
3023  ( exit $ac_status )  ( exit $ac_status )
3024  ac_cv_header_stdc=no  ac_cv_header_stdc=no
3025  fi  fi
3026  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
3027  fi  fi
3028  fi  fi
3029  fi  fi
# Line 2933  fi Line 3048  fi
3048    
3049    
3050  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 \
3051                    inttypes.h stdint.h unistd.h            inttypes.h stdint.h unistd.h
3052  do  do
3053  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3054  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
# Line 2942  if eval "test \"\${$as_ac_Header+set}\" Line 3057  if eval "test \"\${$as_ac_Header+set}\"
3057    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3058  else  else
3059    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3060  /* confdefs.h.  */  /* confdefs.h.  */
3061  _ACEOF  _ACEOF
3062  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 2954  $ac_includes_default Line 3068  $ac_includes_default
3068  _ACEOF  _ACEOF
3069  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3070  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3071    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3072    ac_status=$?    ac_status=$?
3073      grep -v '^ *+' conftest.er1 >conftest.err
3074      rm -f conftest.er1
3075      cat conftest.err >&5
3076    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077    (exit $ac_status); } &&    (exit $ac_status); } &&
3078           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3079                 || test ! -s conftest.err'
3080      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081      (eval $ac_try) 2>&5
3082      ac_status=$?
3083      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084      (exit $ac_status); }; } &&
3085         { ac_try='test -s conftest.$ac_objext'
3086    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3088    ac_status=$?    ac_status=$?
# Line 2971  sed 's/^/| /' conftest.$ac_ext >&5 Line 3095  sed 's/^/| /' conftest.$ac_ext >&5
3095    
3096  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
3097  fi  fi
3098  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3099  fi  fi
3100  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3101  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
# Line 2991  if test "${ac_cv_type_void_p+set}" = set Line 3115  if test "${ac_cv_type_void_p+set}" = set
3115    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3116  else  else
3117    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3118  /* confdefs.h.  */  /* confdefs.h.  */
3119  _ACEOF  _ACEOF
3120  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3011  if (sizeof (void *)) Line 3134  if (sizeof (void *))
3134  _ACEOF  _ACEOF
3135  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3136  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3137    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3138    ac_status=$?    ac_status=$?
3139      grep -v '^ *+' conftest.er1 >conftest.err
3140      rm -f conftest.er1
3141      cat conftest.err >&5
3142    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143    (exit $ac_status); } &&    (exit $ac_status); } &&
3144           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3145                 || test ! -s conftest.err'
3146      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147      (eval $ac_try) 2>&5
3148      ac_status=$?
3149      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150      (exit $ac_status); }; } &&
3151         { ac_try='test -s conftest.$ac_objext'
3152    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3154    ac_status=$?    ac_status=$?
# Line 3028  sed 's/^/| /' conftest.$ac_ext >&5 Line 3161  sed 's/^/| /' conftest.$ac_ext >&5
3161    
3162  ac_cv_type_void_p=no  ac_cv_type_void_p=no
3163  fi  fi
3164  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3165  fi  fi
3166  echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5  echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
3167  echo "${ECHO_T}$ac_cv_type_void_p" >&6  echo "${ECHO_T}$ac_cv_type_void_p" >&6
# Line 3046  else Line 3179  else
3179    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
3180    # Depending upon the size, compute the lo and hi bounds.    # Depending upon the size, compute the lo and hi bounds.
3181  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3182  /* confdefs.h.  */  /* confdefs.h.  */
3183  _ACEOF  _ACEOF
3184  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3065  test_array [0] = 0 Line 3197  test_array [0] = 0
3197  _ACEOF  _ACEOF
3198  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3199  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3200    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3201    ac_status=$?    ac_status=$?
3202      grep -v '^ *+' conftest.er1 >conftest.err
3203      rm -f conftest.er1
3204      cat conftest.err >&5
3205    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206    (exit $ac_status); } &&    (exit $ac_status); } &&
3207           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3208                 || test ! -s conftest.err'
3209      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3210      (eval $ac_try) 2>&5
3211      ac_status=$?
3212      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213      (exit $ac_status); }; } &&
3214         { ac_try='test -s conftest.$ac_objext'
3215    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3217    ac_status=$?    ac_status=$?
# Line 3078  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3220  if { (eval echo "$as_me:$LINENO: \"$ac_c
3220    ac_lo=0 ac_mid=0    ac_lo=0 ac_mid=0
3221    while :; do    while :; do
3222      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3223  /* confdefs.h.  */  /* confdefs.h.  */
3224  _ACEOF  _ACEOF
3225  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3097  test_array [0] = 0 Line 3238  test_array [0] = 0
3238  _ACEOF  _ACEOF
3239  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3240  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3241    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3242    ac_status=$?    ac_status=$?
3243      grep -v '^ *+' conftest.er1 >conftest.err
3244      rm -f conftest.er1
3245      cat conftest.err >&5
3246    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247    (exit $ac_status); } &&    (exit $ac_status); } &&
3248           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3249                 || test ! -s conftest.err'
3250      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3251      (eval $ac_try) 2>&5
3252      ac_status=$?
3253      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254      (exit $ac_status); }; } &&
3255         { ac_try='test -s conftest.$ac_objext'
3256    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3258    ac_status=$?    ac_status=$?
# Line 3113  else Line 3264  else
3264  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3265    
3266  ac_lo=`expr $ac_mid + 1`  ac_lo=`expr $ac_mid + 1`
3267                      if test $ac_lo -le $ac_mid; then              if test $ac_lo -le $ac_mid; then
3268                        ac_lo= ac_hi=                ac_lo= ac_hi=
3269                        break                break
3270                      fi              fi
3271                      ac_mid=`expr 2 '*' $ac_mid + 1`              ac_mid=`expr 2 '*' $ac_mid + 1`
3272  fi  fi
3273  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3274    done    done
3275  else  else
3276    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3277  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3278    
3279  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3280  /* confdefs.h.  */  /* confdefs.h.  */
3281  _ACEOF  _ACEOF
3282  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3145  test_array [0] = 0 Line 3295  test_array [0] = 0
3295  _ACEOF  _ACEOF
3296  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3297  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3298    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3299    ac_status=$?    ac_status=$?
3300      grep -v '^ *+' conftest.er1 >conftest.err
3301      rm -f conftest.er1
3302      cat conftest.err >&5
3303    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304    (exit $ac_status); } &&    (exit $ac_status); } &&
3305           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3306                 || test ! -s conftest.err'
3307      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3308      (eval $ac_try) 2>&5
3309      ac_status=$?
3310      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311      (exit $ac_status); }; } &&
3312         { ac_try='test -s conftest.$ac_objext'
3313    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3315    ac_status=$?    ac_status=$?
# Line 3158  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3318  if { (eval echo "$as_me:$LINENO: \"$ac_c
3318    ac_hi=-1 ac_mid=-1    ac_hi=-1 ac_mid=-1
3319    while :; do    while :; do
3320      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3321  /* confdefs.h.  */  /* confdefs.h.  */
3322  _ACEOF  _ACEOF
3323  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3177  test_array [0] = 0 Line 3336  test_array [0] = 0
3336  _ACEOF  _ACEOF
3337  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3338  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3339    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3340    ac_status=$?    ac_status=$?
3341      grep -v '^ *+' conftest.er1 >conftest.err
3342      rm -f conftest.er1
3343      cat conftest.err >&5
3344    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345    (exit $ac_status); } &&    (exit $ac_status); } &&
3346           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3347                 || test ! -s conftest.err'
3348      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349      (eval $ac_try) 2>&5
3350      ac_status=$?
3351      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352      (exit $ac_status); }; } &&
3353         { ac_try='test -s conftest.$ac_objext'
3354    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3356    ac_status=$?    ac_status=$?
# Line 3193  else Line 3362  else
3362  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3363    
3364  ac_hi=`expr '(' $ac_mid ')' - 1`  ac_hi=`expr '(' $ac_mid ')' - 1`
3365                         if test $ac_mid -le $ac_hi; then                 if test $ac_mid -le $ac_hi; then
3366                           ac_lo= ac_hi=               ac_lo= ac_hi=
3367                           break               break
3368                         fi                 fi
3369                         ac_mid=`expr 2 '*' $ac_mid`                 ac_mid=`expr 2 '*' $ac_mid`
3370  fi  fi
3371  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3372    done    done
3373  else  else
3374    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
# Line 3207  sed 's/^/| /' conftest.$ac_ext >&5 Line 3376  sed 's/^/| /' conftest.$ac_ext >&5
3376    
3377  ac_lo= ac_hi=  ac_lo= ac_hi=
3378  fi  fi
3379  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3380  fi  fi
3381  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3382  # Binary search between lo and hi bounds.  # Binary search between lo and hi bounds.
3383  while test "x$ac_lo" != "x$ac_hi"; do  while test "x$ac_lo" != "x$ac_hi"; do
3384    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3385    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3386  /* confdefs.h.  */  /* confdefs.h.  */
3387  _ACEOF  _ACEOF
3388  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3233  test_array [0] = 0 Line 3401  test_array [0] = 0
3401  _ACEOF  _ACEOF
3402  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
3403  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3404    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
3405    ac_status=$?    ac_status=$?
3406      grep -v '^ *+' conftest.er1 >conftest.err
3407      rm -f conftest.er1
3408      cat conftest.err >&5
3409    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410    (exit $ac_status); } &&    (exit $ac_status); } &&
3411           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
3412                 || test ! -s conftest.err'
3413      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414      (eval $ac_try) 2>&5
3415      ac_status=$?
3416      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417      (exit $ac_status); }; } &&
3418         { ac_try='test -s conftest.$ac_objext'
3419    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3421    ac_status=$?    ac_status=$?
# Line 3250  sed 's/^/| /' conftest.$ac_ext >&5 Line 3428  sed 's/^/| /' conftest.$ac_ext >&5
3428    
3429  ac_lo=`expr '(' $ac_mid ')' + 1`  ac_lo=`expr '(' $ac_mid ')' + 1`
3430  fi  fi
3431  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3432  done  done
3433  case $ac_lo in  case $ac_lo in
3434  ?*) ac_cv_sizeof_void_p=$ac_lo;;  ?*) ac_cv_sizeof_void_p=$ac_lo;;
# Line 3269  See \`config.log' for more details." >&2 Line 3447  See \`config.log' for more details." >&2
3447     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3448  else  else
3449    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3450  /* confdefs.h.  */  /* confdefs.h.  */
3451  _ACEOF  _ACEOF
3452  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3331  echo "$as_me: error: cannot compute size Line 3508  echo "$as_me: error: cannot compute size
3508  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
3509     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3510  fi  fi
3511  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
3512  fi  fi
3513  fi  fi
3514  rm -f conftest.val  rm -f conftest.val
# Line 3350  _ACEOF Line 3527  _ACEOF
3527    
3528  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3529  #   Set YACC.  #   Set YACC.
3530  #   See if we can find `yacc' ourselves; if not, call the  #   call the
3531  #   autoconf macro which looks for `bison' and then for `yacc'  #   autoconf macro which looks for `bison' and then for `yacc'
3532  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3533    
3534  asc_found_yacc=0  for ac_prog in 'bison -y' byacc
 # Extract the first word of "yacc", so it can be a program name with args.  
 set dummy yacc; ac_word=$2  
 echo "$as_me:$LINENO: checking for $ac_word" >&5  
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6  
 if test "${ac_cv_prog_YACC+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if test -n "$YACC"; then  
   ac_cv_prog_YACC="$YACC" # Let the user override the test.  
 else  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_exec_ext in '' $ac_executable_extensions; do  
   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then  
     ac_cv_prog_YACC="yacc"  
     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5  
     break 2  
   fi  
 done  
 done  
   
   test -z "$ac_cv_prog_YACC" && ac_cv_prog_YACC="asc_found_yacc=no"  
 fi  
 fi  
 YACC=$ac_cv_prog_YACC  
 if test -n "$YACC"; then  
   echo "$as_me:$LINENO: result: $YACC" >&5  
 echo "${ECHO_T}$YACC" >&6  
 else  
   echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6  
 fi  
   
 if test "$asc_found_yacc" = no ; then  
     for ac_prog in 'bison -y' byacc  
3535  do  do
3536    # 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.
3537  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
# Line 3433  fi Line 3572  fi
3572  done  done
3573  test -n "$YACC" || YACC="yacc"  test -n "$YACC" || YACC="yacc"
3574    
 fi  
   
3575    
3576  #--------------------------------------------------------------------  #--------------------------------------------------------------------
3577  #   Set LEX.  #   Set LEX.
# Line 3579  else Line 3716  else
3716    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3717  LIBS="-lfl  $LIBS"  LIBS="-lfl  $LIBS"
3718  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3719  /* confdefs.h.  */  /* confdefs.h.  */
3720  _ACEOF  _ACEOF
3721  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3603  yywrap (); Line 3739  yywrap ();
3739  _ACEOF  _ACEOF
3740  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3741  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3742    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
3743    ac_status=$?    ac_status=$?
3744      grep -v '^ *+' conftest.er1 >conftest.err
3745      rm -f conftest.er1
3746      cat conftest.err >&5
3747    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748    (exit $ac_status); } &&    (exit $ac_status); } &&
3749           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
3750                 || test ! -s conftest.err'
3751      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752      (eval $ac_try) 2>&5
3753      ac_status=$?
3754      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755      (exit $ac_status); }; } &&
3756         { ac_try='test -s conftest$ac_exeext'
3757    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3759    ac_status=$?    ac_status=$?
# Line 3620  sed 's/^/| /' conftest.$ac_ext >&5 Line 3766  sed 's/^/| /' conftest.$ac_ext >&5
3766    
3767  ac_cv_lib_fl_yywrap=no  ac_cv_lib_fl_yywrap=no
3768  fi  fi
3769  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
3770          conftest$ac_exeext conftest.$ac_ext
3771  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3772  fi  fi
3773  echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
# Line 3636  else Line 3783  else
3783    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
3784  LIBS="-ll  $LIBS"  LIBS="-ll  $LIBS"
3785  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3786  /* confdefs.h.  */  /* confdefs.h.  */
3787  _ACEOF  _ACEOF
3788  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3660  yywrap (); Line 3806  yywrap ();
3806  _ACEOF  _ACEOF
3807  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3808  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3809    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
3810    ac_status=$?    ac_status=$?
3811      grep -v '^ *+' conftest.er1 >conftest.err
3812      rm -f conftest.er1
3813      cat conftest.err >&5
3814    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815    (exit $ac_status); } &&    (exit $ac_status); } &&
3816           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
3817                 || test ! -s conftest.err'
3818      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819      (eval $ac_try) 2>&5
3820      ac_status=$?
3821      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822      (exit $ac_status); }; } &&
3823         { ac_try='test -s conftest$ac_exeext'
3824    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3825    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3826    ac_status=$?    ac_status=$?
# Line 3677  sed 's/^/| /' conftest.$ac_ext >&5 Line 3833  sed 's/^/| /' conftest.$ac_ext >&5
3833    
3834  ac_cv_lib_l_yywrap=no  ac_cv_lib_l_yywrap=no
3835  fi  fi
3836  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
3837          conftest$ac_exeext conftest.$ac_ext
3838  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
3839  fi  fi
3840  echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
# Line 3739  cat >conftest.$ac_ext <<_ACEOF Line 3896  cat >conftest.$ac_ext <<_ACEOF
3896  _ACEOF  _ACEOF
3897  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
3898  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3899    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
3900    ac_status=$?    ac_status=$?
3901      grep -v '^ *+' conftest.er1 >conftest.err
3902      rm -f conftest.er1
3903      cat conftest.err >&5
3904    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905    (exit $ac_status); } &&    (exit $ac_status); } &&
3906           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
3907                 || test ! -s conftest.err'
3908      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3909      (eval $ac_try) 2>&5
3910      ac_status=$?
3911      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912      (exit $ac_status); }; } &&
3913         { ac_try='test -s conftest$ac_exeext'
3914    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
3916    ac_status=$?    ac_status=$?
# Line 3755  else Line 3922  else
3922  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3923    
3924  fi  fi
3925  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
3926          conftest$ac_exeext conftest.$ac_ext
3927  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
3928  rm -f "${LEX_OUTPUT_ROOT}.c"  rm -f "${LEX_OUTPUT_ROOT}.c"
3929    
# Line 3794  if test "${ac_cv_func_sin+set}" = set; t Line 3962  if test "${ac_cv_func_sin+set}" = set; t
3962    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
3963  else  else
3964    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
3965  /* confdefs.h.  */  /* confdefs.h.  */
3966  _ACEOF  _ACEOF
3967  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
3968  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
3969  /* end confdefs.h.  */  /* end confdefs.h.  */
3970    /* Define sin to an innocuous variant, in case <limits.h> declares sin.
3971       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3972    #define sin innocuous_sin
3973    
3974  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3975      which can conflict with char sin (); below.  */      which can conflict with char sin (); below.
3976  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3977        <limits.h> exists even on freestanding compilers.  */
3978    
3979    #ifdef __STDC__
3980    # include <limits.h>
3981    #else
3982    # include <assert.h>
3983    #endif
3984    
3985    #undef sin
3986    
3987  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3988  #ifdef __cplusplus  #ifdef __cplusplus
3989  extern "C"  extern "C"
# Line 3826  char (*f) () = sin; Line 4007  char (*f) () = sin;
4007  int  int
4008  main ()  main ()
4009  {  {
4010    return f != sin;
4011    ;    ;
4012    return 0;    return 0;
4013  }  }
4014  _ACEOF  _ACEOF
4015  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4016  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4017    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4018    ac_status=$?    ac_status=$?
4019      grep -v '^ *+' conftest.er1 >conftest.err
4020      rm -f conftest.er1
4021      cat conftest.err >&5
4022    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023    (exit $ac_status); } &&    (exit $ac_status); } &&
4024           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4025                 || test ! -s conftest.err'
4026      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027      (eval $ac_try) 2>&5
4028      ac_status=$?
4029      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030      (exit $ac_status); }; } &&
4031         { ac_try='test -s conftest$ac_exeext'
4032    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4034    ac_status=$?    ac_status=$?
# Line 3850  sed 's/^/| /' conftest.$ac_ext >&5 Line 4041  sed 's/^/| /' conftest.$ac_ext >&5
4041    
4042  ac_cv_func_sin=no  ac_cv_func_sin=no
4043  fi  fi
4044  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4045          conftest$ac_exeext conftest.$ac_ext
4046  fi  fi
4047  echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_sin" >&5
4048  echo "${ECHO_T}$ac_cv_func_sin" >&6  echo "${ECHO_T}$ac_cv_func_sin" >&6
# Line 3869  else Line 4061  else
4061    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
4062  LIBS="-lieee  $LIBS"  LIBS="-lieee  $LIBS"
4063  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4064  /* confdefs.h.  */  /* confdefs.h.  */
4065  _ACEOF  _ACEOF
4066  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3893  printf (); Line 4084  printf ();
4084  _ACEOF  _ACEOF
4085  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4086  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4087    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4088    ac_status=$?    ac_status=$?
4089      grep -v '^ *+' conftest.er1 >conftest.err
4090      rm -f conftest.er1
4091      cat conftest.err >&5
4092    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093    (exit $ac_status); } &&    (exit $ac_status); } &&
4094           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4095                 || test ! -s conftest.err'
4096      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4097      (eval $ac_try) 2>&5
4098      ac_status=$?
4099      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100      (exit $ac_status); }; } &&
4101         { ac_try='test -s conftest$ac_exeext'
4102    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4103    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4104    ac_status=$?    ac_status=$?
# Line 3910  sed 's/^/| /' conftest.$ac_ext >&5 Line 4111  sed 's/^/| /' conftest.$ac_ext >&5
4111    
4112  ac_cv_lib_ieee_printf=no  ac_cv_lib_ieee_printf=no
4113  fi  fi
4114  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4115          conftest$ac_exeext conftest.$ac_ext
4116  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
4117  fi  fi
4118  echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_ieee_printf" >&5
# Line 3930  else Line 4132  else
4132    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
4133  LIBS="-lm $MATH_LIBS $LIBS"  LIBS="-lm $MATH_LIBS $LIBS"
4134  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4135  /* confdefs.h.  */  /* confdefs.h.  */
4136  _ACEOF  _ACEOF
4137  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 3954  copysign (); Line 4155  copysign ();
4155  _ACEOF  _ACEOF
4156  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4157  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4158    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4159    ac_status=$?    ac_status=$?
4160      grep -v '^ *+' conftest.er1 >conftest.err
4161      rm -f conftest.er1
4162      cat conftest.err >&5
4163    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164    (exit $ac_status); } &&    (exit $ac_status); } &&
4165           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4166                 || test ! -s conftest.err'
4167      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168      (eval $ac_try) 2>&5
4169      ac_status=$?
4170      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171      (exit $ac_status); }; } &&
4172         { ac_try='test -s conftest$ac_exeext'
4173    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4175    ac_status=$?    ac_status=$?
# Line 3971  sed 's/^/| /' conftest.$ac_ext >&5 Line 4182  sed 's/^/| /' conftest.$ac_ext >&5
4182    
4183  ac_cv_lib_m_copysign=no  ac_cv_lib_m_copysign=no
4184  fi  fi
4185  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4186          conftest$ac_exeext conftest.$ac_ext
4187  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
4188  fi  fi
4189  echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
# Line 3993  else Line 4205  else
4205  LIBS="-lm /lib/pa1.1/libM.a  LIBS="-lm /lib/pa1.1/libM.a
4206           $LIBS"           $LIBS"
4207  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4208  /* confdefs.h.  */  /* confdefs.h.  */
4209  _ACEOF  _ACEOF
4210  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4017  drem (); Line 4228  drem ();
4228  _ACEOF  _ACEOF
4229  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4230  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4232    ac_status=$?    ac_status=$?
4233      grep -v '^ *+' conftest.er1 >conftest.err
4234      rm -f conftest.er1
4235      cat conftest.err >&5
4236    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237    (exit $ac_status); } &&    (exit $ac_status); } &&
4238           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4239                 || test ! -s conftest.err'
4240      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4241      (eval $ac_try) 2>&5
4242      ac_status=$?
4243      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244      (exit $ac_status); }; } &&
4245         { ac_try='test -s conftest$ac_exeext'
4246    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4248    ac_status=$?    ac_status=$?
# Line 4034  sed 's/^/| /' conftest.$ac_ext >&5 Line 4255  sed 's/^/| /' conftest.$ac_ext >&5
4255    
4256  ac_cv_lib_m_drem=no  ac_cv_lib_m_drem=no
4257  fi  fi
4258  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4259          conftest$ac_exeext conftest.$ac_ext
4260  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
4261  fi  fi
4262  echo "$as_me:$LINENO: result: $ac_cv_lib_m_drem" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_m_drem" >&5
# Line 4062  if eval "test \"\${$as_ac_var+set}\" = s Line 4284  if eval "test \"\${$as_ac_var+set}\" = s
4284    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4285  else  else
4286    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4287  /* confdefs.h.  */  /* confdefs.h.  */
4288  _ACEOF  _ACEOF
4289  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4290  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4291  /* end confdefs.h.  */  /* end confdefs.h.  */
4292    /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4293       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4294    #define $ac_func innocuous_$ac_func
4295    
4296  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4297      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.
4298  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4299        <limits.h> exists even on freestanding compilers.  */
4300    
4301    #ifdef __STDC__
4302    # include <limits.h>
4303    #else
4304    # include <assert.h>
4305    #endif
4306    
4307    #undef $ac_func
4308    
4309  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4310  #ifdef __cplusplus  #ifdef __cplusplus
4311  extern "C"  extern "C"
# Line 4094  char (*f) () = $ac_func; Line 4329  char (*f) () = $ac_func;
4329  int  int
4330  main ()  main ()
4331  {  {
4332    return f != $ac_func;
4333    ;    ;
4334    return 0;    return 0;
4335  }  }
4336  _ACEOF  _ACEOF
4337  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4338  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4339    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4340    ac_status=$?    ac_status=$?
4341      grep -v '^ *+' conftest.er1 >conftest.err
4342      rm -f conftest.er1
4343      cat conftest.err >&5
4344    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345    (exit $ac_status); } &&    (exit $ac_status); } &&
4346           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4347                 || test ! -s conftest.err'
4348      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349      (eval $ac_try) 2>&5
4350      ac_status=$?
4351      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352      (exit $ac_status); }; } &&
4353         { ac_try='test -s conftest$ac_exeext'
4354    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4356    ac_status=$?    ac_status=$?
# Line 4118  sed 's/^/| /' conftest.$ac_ext >&5 Line 4363  sed 's/^/| /' conftest.$ac_ext >&5
4363    
4364  eval "$as_ac_var=no"  eval "$as_ac_var=no"
4365  fi  fi
4366  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4367          conftest$ac_exeext conftest.$ac_ext
4368  fi  fi
4369  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4370  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 4133  done Line 4379  done
4379  LIBS="$asc_keep_LIBS"  LIBS="$asc_keep_LIBS"
4380    
4381  #----------------------------------------------  #----------------------------------------------
4382  # Check for 'vsnprintf' -- there seems to be a problem with in  # Check for 'vsnprintf' -- there seems to be a problem with it in
4383  # on cygwin.  # on cygwin.
4384    
4385    
# Line 4150  if eval "test \"\${$as_ac_var+set}\" = s Line 4396  if eval "test \"\${$as_ac_var+set}\" = s
4396    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4397  else  else
4398    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4399  /* confdefs.h.  */  /* confdefs.h.  */
4400  _ACEOF  _ACEOF
4401  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4402  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4403  /* end confdefs.h.  */  /* end confdefs.h.  */
4404    /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4405       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4406    #define $ac_func innocuous_$ac_func
4407    
4408  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4409      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.
4410  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4411        <limits.h> exists even on freestanding compilers.  */
4412    
4413    #ifdef __STDC__
4414    # include <limits.h>
4415    #else
4416    # include <assert.h>
4417    #endif
4418    
4419    #undef $ac_func
4420    
4421  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4422  #ifdef __cplusplus  #ifdef __cplusplus
4423  extern "C"  extern "C"
# Line 4182  char (*f) () = $ac_func; Line 4441  char (*f) () = $ac_func;
4441  int  int
4442  main ()  main ()
4443  {  {
4444    return f != $ac_func;
4445    ;    ;
4446    return 0;    return 0;
4447  }  }
4448  _ACEOF  _ACEOF
4449  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4450  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4451    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4452    ac_status=$?    ac_status=$?
4453      grep -v '^ *+' conftest.er1 >conftest.err
4454      rm -f conftest.er1
4455      cat conftest.err >&5
4456    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4457    (exit $ac_status); } &&    (exit $ac_status); } &&
4458           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4459                 || test ! -s conftest.err'
4460      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461      (eval $ac_try) 2>&5
4462      ac_status=$?
4463      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464      (exit $ac_status); }; } &&
4465         { ac_try='test -s conftest$ac_exeext'
4466    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4468    ac_status=$?    ac_status=$?
# Line 4206  sed 's/^/| /' conftest.$ac_ext >&5 Line 4475  sed 's/^/| /' conftest.$ac_ext >&5
4475    
4476  eval "$as_ac_var=no"  eval "$as_ac_var=no"
4477  fi  fi
4478  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4479          conftest$ac_exeext conftest.$ac_ext
4480  fi  fi
4481  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5  echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4482  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6  echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
# Line 4227  else Line 4497  else
4497    ac_cv_have_working_snprintf=cross    ac_cv_have_working_snprintf=cross
4498  else  else
4499    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4500  /* confdefs.h.  */  /* confdefs.h.  */
4501  _ACEOF  _ACEOF
4502  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4269  sed 's/^/| /' conftest.$ac_ext >&5 Line 4538  sed 's/^/| /' conftest.$ac_ext >&5
4538  ( exit $ac_status )  ( exit $ac_status )
4539  ac_cv_have_working_snprintf=no  ac_cv_have_working_snprintf=no
4540  fi  fi
4541  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
4542  fi  fi
4543  fi  fi
4544    
# Line 4284  else Line 4553  else
4553    ac_cv_have_working_vsnprintf=cross    ac_cv_have_working_vsnprintf=cross
4554  else  else
4555    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4556  /* confdefs.h.  */  /* confdefs.h.  */
4557  _ACEOF  _ACEOF
4558  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4337  sed 's/^/| /' conftest.$ac_ext >&5 Line 4605  sed 's/^/| /' conftest.$ac_ext >&5
4605  ( exit $ac_status )  ( exit $ac_status )
4606  ac_cv_have_working_vsnprintf=no  ac_cv_have_working_vsnprintf=no
4607  fi  fi
4608  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
4609  fi  fi
4610  fi  fi
4611    
4612  echo "$as_me:$LINENO: result: $ac_cv_have_working_vsnprintf" >&5  echo "$as_me:$LINENO: result: $ac_cv_have_working_vsnprintf" >&5
4613  echo "${ECHO_T}$ac_cv_have_working_vsnprintf" >&6  echo "${ECHO_T}$ac_cv_have_working_vsnprintf" >&6
4614  if test x$ac_cv_have_working_snprintf$ac_cv_have_working_vsnprintf != "xyesyes"; then  if test x$ac_cv_have_working_snprintf$ac_cv_have_working_vsnprintf != "xyesyes"; then
4615    LIBOBJS="$LIBOBJS snprintf.$ac_objext"    case $LIBOBJS in
4616        "snprintf.$ac_objext"   | \
4617      *" snprintf.$ac_objext"   | \
4618        "snprintf.$ac_objext "* | \
4619      *" snprintf.$ac_objext "* ) ;;
4620      *) LIBOBJS="$LIBOBJS snprintf.$ac_objext" ;;
4621    esac
4622    
4623    { echo "$as_me:$LINENO: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&5    { echo "$as_me:$LINENO: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&5
4624  echo "$as_me: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&2;}  echo "$as_me: WARNING: Replacing missing/broken (v)snprintf() with version from http://www.ijs.si/software/snprintf/." >&2;}
4625    
# Line 4401  _ACEOF Line 4676  _ACEOF
4676      # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.      # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
4677      for ac_extension in a so sl; do      for ac_extension in a so sl; do
4678        if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&        if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
4679           test -f $ac_im_libdir/libX11.$ac_extension; then       test -f $ac_im_libdir/libX11.$ac_extension; then
4680          ac_im_usrlibdir=$ac_im_libdir; break      ac_im_usrlibdir=$ac_im_libdir; break
4681        fi        fi
4682      done      done
4683      # Screen out bogus values from the imake configuration.  They are      # Screen out bogus values from the imake configuration.  They are
# Line 4462  if test "$ac_x_includes" = no; then Line 4737  if test "$ac_x_includes" = no; then
4737    # Guess where to find include files, by looking for Intrinsic.h.    # Guess where to find include files, by looking for Intrinsic.h.
4738    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
4739    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4740  /* confdefs.h.  */  /* confdefs.h.  */
4741  _ACEOF  _ACEOF
4742  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4480  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 4754  if { (eval echo "$as_me:$LINENO: \"$ac_c
4754    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
4755    if test -s conftest.err; then    if test -s conftest.err; then
4756      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
4757        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4758    else    else
4759      ac_cpp_err=      ac_cpp_err=
4760    fi    fi
# Line 4510  if test "$ac_x_libraries" = no; then Line 4785  if test "$ac_x_libraries" = no; then
4785    ac_save_LIBS=$LIBS    ac_save_LIBS=$LIBS
4786    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
4787    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4788  /* confdefs.h.  */  /* confdefs.h.  */
4789  _ACEOF  _ACEOF
4790  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4527  XtMalloc (0) Line 4801  XtMalloc (0)
4801  _ACEOF  _ACEOF
4802  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4803  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4804    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4805    ac_status=$?    ac_status=$?
4806      grep -v '^ *+' conftest.er1 >conftest.err
4807      rm -f conftest.er1
4808      cat conftest.err >&5
4809    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810    (exit $ac_status); } &&    (exit $ac_status); } &&
4811           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4812                 || test ! -s conftest.err'
4813      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814      (eval $ac_try) 2>&5
4815      ac_status=$?
4816      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817      (exit $ac_status); }; } &&
4818         { ac_try='test -s conftest$ac_exeext'
4819    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4820    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4821    ac_status=$?    ac_status=$?
# Line 4556  do Line 4840  do
4840    done    done
4841  done  done
4842  fi  fi
4843  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
4844          conftest$ac_exeext conftest.$ac_ext
4845  fi # $ac_x_libraries = no  fi # $ac_x_libraries = no
4846    
4847  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 4565  if test "$ac_x_includes" = no || test "$ Line 4850  if test "$ac_x_includes" = no || test "$
4850  else  else
4851    # Record where we found X for the cache.    # Record where we found X for the cache.
4852    ac_cv_have_x="have_x=yes \    ac_cv_have_x="have_x=yes \
4853              ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"          ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
4854  fi  fi
4855  fi  fi
4856    
# Line 4633  if test "${ac_cv_func_connect+set}" = se Line 4918  if test "${ac_cv_func_connect+set}" = se
4918    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
4919  else  else
4920    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
4921  /* confdefs.h.  */  /* confdefs.h.  */
4922  _ACEOF  _ACEOF
4923  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
4924  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
4925  /* end confdefs.h.  */  /* end confdefs.h.  */
4926    /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4927       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4928    #define connect innocuous_connect
4929    
4930  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4931      which can conflict with char connect (); below.  */      which can conflict with char connect (); below.
4932  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4933        <limits.h> exists even on freestanding compilers.  */
4934    
4935    #ifdef __STDC__
4936    # include <limits.h>
4937    #else
4938    # include <assert.h>
4939    #endif
4940    
4941    #undef connect
4942    
4943  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4944  #ifdef __cplusplus  #ifdef __cplusplus
4945  extern "C"  extern "C"
# Line 4665  char (*f) () = connect; Line 4963  char (*f) () = connect;
4963  int  int
4964  main ()  main ()
4965  {  {
4966    return f != connect;
4967    ;    ;
4968    return 0;    return 0;
4969  }  }
4970  _ACEOF  _ACEOF
4971  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
4972  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4973    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
4974    ac_status=$?    ac_status=$?
4975      grep -v '^ *+' conftest.er1 >conftest.err
4976      rm -f conftest.er1
4977      cat conftest.err >&5
4978    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979    (exit $ac_status); } &&    (exit $ac_status); } &&
4980           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
4981                 || test ! -s conftest.err'
4982      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983      (eval $ac_try) 2>&5
4984      ac_status=$?
4985      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986      (exit $ac_status); }; } &&
4987         { ac_try='test -s conftest$ac_exeext'
4988    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
4990    ac_status=$?    ac_status=$?
# Line 4689  sed 's/^/| /' conftest.$ac_ext >&5 Line 4997  sed 's/^/| /' conftest.$ac_ext >&5
4997    
4998  ac_cv_func_connect=no  ac_cv_func_connect=no
4999  fi  fi
5000  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5001          conftest$ac_exeext conftest.$ac_ext
5002  fi  fi
5003  echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
5004  echo "${ECHO_T}$ac_cv_func_connect" >&6  echo "${ECHO_T}$ac_cv_func_connect" >&6
# Line 4708  else Line 5017  else
5017    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5018  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
5019  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5020  /* confdefs.h.  */  /* confdefs.h.  */
5021  _ACEOF  _ACEOF
5022  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4732  printf (); Line 5040  printf ();
5040  _ACEOF  _ACEOF
5041  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5042  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5043    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5044    ac_status=$?    ac_status=$?
5045      grep -v '^ *+' conftest.er1 >conftest.err
5046      rm -f conftest.er1
5047      cat conftest.err >&5
5048    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049    (exit $ac_status); } &&    (exit $ac_status); } &&
5050           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5051                 || test ! -s conftest.err'
5052      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053      (eval $ac_try) 2>&5
5054      ac_status=$?
5055      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056      (exit $ac_status); }; } &&
5057         { ac_try='test -s conftest$ac_exeext'
5058    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5060    ac_status=$?    ac_status=$?
# Line 4749  sed 's/^/| /' conftest.$ac_ext >&5 Line 5067  sed 's/^/| /' conftest.$ac_ext >&5
5067    
5068  ac_cv_lib_socket_printf=no  ac_cv_lib_socket_printf=no
5069  fi  fi
5070  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5071          conftest$ac_exeext conftest.$ac_ext
5072  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5073  fi  fi
5074  echo "$as_me:$LINENO: result: $ac_cv_lib_socket_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_socket_printf" >&5
# Line 4771  if test "${ac_cv_func_accept+set}" = set Line 5090  if test "${ac_cv_func_accept+set}" = set
5090    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5091  else  else
5092    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5093  /* confdefs.h.  */  /* confdefs.h.  */
5094  _ACEOF  _ACEOF
5095  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
5096  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
5097  /* end confdefs.h.  */  /* end confdefs.h.  */
5098    /* Define accept to an innocuous variant, in case <limits.h> declares accept.
5099       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5100    #define accept innocuous_accept
5101    
5102  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5103      which can conflict with char accept (); below.  */      which can conflict with char accept (); below.
5104  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105        <limits.h> exists even on freestanding compilers.  */
5106    
5107    #ifdef __STDC__
5108    # include <limits.h>
5109    #else
5110    # include <assert.h>
5111    #endif
5112    
5113    #undef accept
5114    
5115  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5116  #ifdef __cplusplus  #ifdef __cplusplus
5117  extern "C"  extern "C"
# Line 4803  char (*f) () = accept; Line 5135  char (*f) () = accept;
5135  int  int
5136  main ()  main ()
5137  {  {
5138    return f != accept;
5139    ;    ;
5140    return 0;    return 0;
5141  }  }
5142  _ACEOF  _ACEOF
5143  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5144  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5145    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5146    ac_status=$?    ac_status=$?
5147      grep -v '^ *+' conftest.er1 >conftest.err
5148      rm -f conftest.er1
5149      cat conftest.err >&5
5150    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151    (exit $ac_status); } &&    (exit $ac_status); } &&
5152           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5153                 || test ! -s conftest.err'
5154      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155      (eval $ac_try) 2>&5
5156      ac_status=$?
5157      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158      (exit $ac_status); }; } &&
5159         { ac_try='test -s conftest$ac_exeext'
5160    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5162    ac_status=$?    ac_status=$?
# Line 4827  sed 's/^/| /' conftest.$ac_ext >&5 Line 5169  sed 's/^/| /' conftest.$ac_ext >&5
5169    
5170  ac_cv_func_accept=no  ac_cv_func_accept=no
5171  fi  fi
5172  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5173          conftest$ac_exeext conftest.$ac_ext
5174  fi  fi
5175  echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
5176  echo "${ECHO_T}$ac_cv_func_accept" >&6  echo "${ECHO_T}$ac_cv_func_accept" >&6
# Line 4847  if test "${ac_cv_func_gethostbyname+set} Line 5190  if test "${ac_cv_func_gethostbyname+set}
5190    echo $ECHO_N "(cached) $ECHO_C" >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
5191  else  else
5192    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5193  /* confdefs.h.  */  /* confdefs.h.  */
5194  _ACEOF  _ACEOF
5195  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
5196  cat >>conftest.$ac_ext <<_ACEOF  cat >>conftest.$ac_ext <<_ACEOF
5197  /* end confdefs.h.  */  /* end confdefs.h.  */
5198    /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
5199       For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5200    #define gethostbyname innocuous_gethostbyname
5201    
5202  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
5203      which can conflict with char gethostbyname (); below.  */      which can conflict with char gethostbyname (); below.
5204  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5205        <limits.h> exists even on freestanding compilers.  */
5206    
5207    #ifdef __STDC__
5208    # include <limits.h>
5209    #else
5210    # include <assert.h>
5211    #endif
5212    
5213    #undef gethostbyname
5214    
5215  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5216  #ifdef __cplusplus  #ifdef __cplusplus
5217  extern "C"  extern "C"
# Line 4879  char (*f) () = gethostbyname; Line 5235  char (*f) () = gethostbyname;
5235  int  int
5236  main ()  main ()
5237  {  {
5238    return f != gethostbyname;
5239    ;    ;
5240    return 0;    return 0;
5241  }  }
5242  _ACEOF  _ACEOF
5243  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5244  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5245    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5246    ac_status=$?    ac_status=$?
5247      grep -v '^ *+' conftest.er1 >conftest.err
5248      rm -f conftest.er1
5249      cat conftest.err >&5
5250    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251    (exit $ac_status); } &&    (exit $ac_status); } &&
5252           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5253                 || test ! -s conftest.err'
5254      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5255      (eval $ac_try) 2>&5
5256      ac_status=$?
5257      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258      (exit $ac_status); }; } &&
5259         { ac_try='test -s conftest$ac_exeext'
5260    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5261    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5262    ac_status=$?    ac_status=$?
# Line 4903  sed 's/^/| /' conftest.$ac_ext >&5 Line 5269  sed 's/^/| /' conftest.$ac_ext >&5
5269    
5270  ac_cv_func_gethostbyname=no  ac_cv_func_gethostbyname=no
5271  fi  fi
5272  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5273          conftest$ac_exeext conftest.$ac_ext
5274  fi  fi
5275  echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5  echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5276  echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6  echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
# Line 4918  else Line 5285  else
5285    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5286  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
5287  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5288  /* confdefs.h.  */  /* confdefs.h.  */
5289  _ACEOF  _ACEOF
5290  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 4942  printf (); Line 5308  printf ();
5308  _ACEOF  _ACEOF
5309  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5310  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5311    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5312    ac_status=$?    ac_status=$?
5313      grep -v '^ *+' conftest.er1 >conftest.err
5314      rm -f conftest.er1
5315      cat conftest.err >&5
5316    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317    (exit $ac_status); } &&    (exit $ac_status); } &&
5318           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5319                 || test ! -s conftest.err'
5320      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5321      (eval $ac_try) 2>&5
5322      ac_status=$?
5323      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324      (exit $ac_status); }; } &&
5325         { ac_try='test -s conftest$ac_exeext'
5326    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5327    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5328    ac_status=$?    ac_status=$?
# Line 4959  sed 's/^/| /' conftest.$ac_ext >&5 Line 5335  sed 's/^/| /' conftest.$ac_ext >&5
5335    
5336  ac_cv_lib_nsl_printf=no  ac_cv_lib_nsl_printf=no
5337  fi  fi
5338  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5339          conftest$ac_exeext conftest.$ac_ext
5340  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5341  fi  fi
5342  echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_printf" >&5
# Line 5044  else Line 5421  else
5421    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5422  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
5423  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5424  /* confdefs.h.  */  /* confdefs.h.  */
5425  _ACEOF  _ACEOF
5426  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5068  dlopen (); Line 5444  dlopen ();
5444  _ACEOF  _ACEOF
5445  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5446  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5447    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5448    ac_status=$?    ac_status=$?
5449      grep -v '^ *+' conftest.er1 >conftest.err
5450      rm -f conftest.er1
5451      cat conftest.err >&5
5452    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453    (exit $ac_status); } &&    (exit $ac_status); } &&
5454           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5455                 || test ! -s conftest.err'
5456      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5457      (eval $ac_try) 2>&5
5458      ac_status=$?
5459      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460      (exit $ac_status); }; } &&
5461         { ac_try='test -s conftest$ac_exeext'
5462    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5464    ac_status=$?    ac_status=$?
# Line 5085  sed 's/^/| /' conftest.$ac_ext >&5 Line 5471  sed 's/^/| /' conftest.$ac_ext >&5
5471    
5472  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
5473  fi  fi
5474  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5475          conftest$ac_exeext conftest.$ac_ext
5476  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5477  fi  fi
5478  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
# Line 5143  else Line 5530  else
5530    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
5531  LIBS="-ldld  $LIBS"  LIBS="-ldld  $LIBS"
5532  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5533  /* confdefs.h.  */  /* confdefs.h.  */
5534  _ACEOF  _ACEOF
5535  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5167  shl_load (); Line 5553  shl_load ();
5553  _ACEOF  _ACEOF
5554  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
5555  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5556    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
5557    ac_status=$?    ac_status=$?
5558      grep -v '^ *+' conftest.er1 >conftest.err
5559      rm -f conftest.er1
5560      cat conftest.err >&5
5561    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562    (exit $ac_status); } &&    (exit $ac_status); } &&
5563           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
5564                 || test ! -s conftest.err'
5565      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566      (eval $ac_try) 2>&5
5567      ac_status=$?
5568      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569      (exit $ac_status); }; } &&
5570         { ac_try='test -s conftest$ac_exeext'
5571    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5573    ac_status=$?    ac_status=$?
# Line 5184  sed 's/^/| /' conftest.$ac_ext >&5 Line 5580  sed 's/^/| /' conftest.$ac_ext >&5
5580    
5581  ac_cv_lib_dld_shl_load=no  ac_cv_lib_dld_shl_load=no
5582  fi  fi
5583  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
5584          conftest$ac_exeext conftest.$ac_ext
5585  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
5586  fi  fi
5587  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 5251  else Line 5648  else
5648  echo "$as_me:$LINENO: checking dld.h usability" >&5  echo "$as_me:$LINENO: checking dld.h usability" >&5
5649  echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6  echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6
5650  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5651  /* confdefs.h.  */  /* confdefs.h.  */
5652  _ACEOF  _ACEOF
5653  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5262  $ac_includes_default Line 5658  $ac_includes_default
5658  _ACEOF  _ACEOF
5659  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5660  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5661    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5662    ac_status=$?    ac_status=$?
5663      grep -v '^ *+' conftest.er1 >conftest.err
5664      rm -f conftest.er1
5665      cat conftest.err >&5
5666    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667    (exit $ac_status); } &&    (exit $ac_status); } &&
5668           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
5669                 || test ! -s conftest.err'
5670      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5671      (eval $ac_try) 2>&5
5672      ac_status=$?
5673      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674      (exit $ac_status); }; } &&
5675         { ac_try='test -s conftest.$ac_objext'
5676    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5677    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5678    ac_status=$?    ac_status=$?
# Line 5279  sed 's/^/| /' conftest.$ac_ext >&5 Line 5685  sed 's/^/| /' conftest.$ac_ext >&5
5685    
5686  ac_header_compiler=no  ac_header_compiler=no
5687  fi  fi
5688  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5689  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5690  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
5691    
# Line 5287  echo "${ECHO_T}$ac_header_compiler" >&6 Line 5693  echo "${ECHO_T}$ac_header_compiler" >&6
5693  echo "$as_me:$LINENO: checking dld.h presence" >&5  echo "$as_me:$LINENO: checking dld.h presence" >&5
5694  echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6  echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6
5695  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5696  /* confdefs.h.  */  /* confdefs.h.  */
5697  _ACEOF  _ACEOF
5698  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5305  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5710  if { (eval echo "$as_me:$LINENO: \"$ac_c
5710    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5711    if test -s conftest.err; then    if test -s conftest.err; then
5712      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
5713        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5714    else    else
5715      ac_cpp_err=      ac_cpp_err=
5716    fi    fi
# Line 5324  echo "$as_me:$LINENO: result: $ac_header Line 5730  echo "$as_me:$LINENO: result: $ac_header
5730  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
5731    
5732  # So?  What about this header?  # So?  What about this header?
5733  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5734    yes:no )    yes:no: )
5735      { 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
5736  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;}
5737      { 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
5738  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;}
5739      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
5740      ;;      ;;
5741    no:yes )    no:yes:* )
5742      { 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
5743  echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
5744      { 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
5745  echo "$as_me: WARNING: dld.h: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
5746        { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
5747    echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
5748        { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
5749    echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5750      { 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
5751  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;}
5752        { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
5753    echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
5754      (      (
5755        cat <<\_ASBOX        cat <<\_ASBOX
5756  ## ------------------------------------ ##  ## ------------------------------------------ ##
5757  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
5758  ## ------------------------------------ ##  ## ------------------------------------------ ##
5759  _ASBOX  _ASBOX
5760      ) |      ) |
5761        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 5414  else Line 5819  else
5819  echo "$as_me:$LINENO: checking dlfcn.h usability" >&5  echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
5820  echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6  echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
5821  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5822  /* confdefs.h.  */  /* confdefs.h.  */
5823  _ACEOF  _ACEOF
5824  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5425  $ac_includes_default Line 5829  $ac_includes_default
5829  _ACEOF  _ACEOF
5830  rm -f conftest.$ac_objext  rm -f conftest.$ac_objext
5831  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5832    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>conftest.er1
5833    ac_status=$?    ac_status=$?
5834      grep -v '^ *+' conftest.er1 >conftest.err
5835      rm -f conftest.er1
5836      cat conftest.err >&5
5837    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838    (exit $ac_status); } &&    (exit $ac_status); } &&
5839           { ac_try='test -s conftest.$ac_objext'       { ac_try='test -z "$ac_c_werror_flag"
5840                 || test ! -s conftest.err'
5841      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842      (eval $ac_try) 2>&5
5843      ac_status=$?
5844      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845      (exit $ac_status); }; } &&
5846         { ac_try='test -s conftest.$ac_objext'
5847    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5848    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
5849    ac_status=$?    ac_status=$?
# Line 5442  sed 's/^/| /' conftest.$ac_ext >&5 Line 5856  sed 's/^/| /' conftest.$ac_ext >&5
5856    
5857  ac_header_compiler=no  ac_header_compiler=no
5858  fi  fi
5859  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5860  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5  echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5861  echo "${ECHO_T}$ac_header_compiler" >&6  echo "${ECHO_T}$ac_header_compiler" >&6
5862    
# Line 5450  echo "${ECHO_T}$ac_header_compiler" >&6 Line 5864  echo "${ECHO_T}$ac_header_compiler" >&6
5864  echo "$as_me:$LINENO: checking dlfcn.h presence" >&5  echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
5865  echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6  echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
5866  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
5867  /* confdefs.h.  */  /* confdefs.h.  */
5868  _ACEOF  _ACEOF
5869  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5468  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5881  if { (eval echo "$as_me:$LINENO: \"$ac_c
5881    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
5882    if test -s conftest.err; then    if test -s conftest.err; then
5883      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
5884        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5885    else    else
5886      ac_cpp_err=      ac_cpp_err=
5887    fi    fi
# Line 5487  echo "$as_me:$LINENO: result: $ac_header Line 5901  echo "$as_me:$LINENO: result: $ac_header
5901  echo "${ECHO_T}$ac_header_preproc" >&6  echo "${ECHO_T}$ac_header_preproc" >&6
5902    
5903  # So?  What about this header?  # So?  What about this header?
5904  case $ac_header_compiler:$ac_header_preproc in  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5905    yes:no )    yes:no: )
5906      { 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
5907  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;}
5908      { 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
5909  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;}
5910      (      ac_header_preproc=yes
       cat <<\_ASBOX  
 ## ------------------------------------ ##  
 ## Report this to bug-autoconf@gnu.org. ##  
 ## ------------------------------------ ##  
 _ASBOX  
     ) |  
       sed "s/^/$as_me: WARNING:     /" >&2  
5911      ;;      ;;
5912    no:yes )    no:yes:* )
5913      { 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
5914  echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
5915      { 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
5916  echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
5917        { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
5918    echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
5919        { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
5920    echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5921      { 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
5922  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;}
5923        { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
5924    echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
5925      (      (
5926        cat <<\_ASBOX        cat <<\_ASBOX
5927  ## ------------------------------------ ##  ## ------------------------------------------ ##
5928  ## Report this to bug-autoconf@gnu.org. ##  ## Report this to the AC_PACKAGE_NAME lists.  ##
5929  ## ------------------------------------ ##  ## ------------------------------------------ ##
5930  _ASBOX  _ASBOX
5931      ) |      ) |
5932        sed "s/^/$as_me: WARNING:     /" >&2        sed "s/^/$as_me: WARNING:     /" >&2
# Line 5563  fi Line 5976  fi
5976      ASC_UNSHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.a'      ASC_UNSHARED_LIB_SUFFIX='`echo ${VERSION} | tr -d .`.a'
5977      ASC_LIB_VERSIONS_OK=nodots      ASC_LIB_VERSIONS_OK=nodots
5978      ;;      ;;
     *-nextstep*)  
     SHLIB_CFLAGS=""  
     SHLIB_LD="cc -nostdlib -r"  
     SHLIB_LD_LIBS=""  
     SHLIB_SUFFIX=".so"  
     DL_OBJS=""  
     DL_LIBS=""  
     LD_FLAGS=""  
     LD_SEARCH_FLAGS=""  
     ;;  
     alpha-dec-osf*)  
         # Digital OSF/1  
     SHLIB_CFLAGS=""  
     SHLIB_LD='ld -shared -expect_unresolved "*"'  
     SHLIB_LD_LIBS=""  
     SHLIB_SUFFIX=".so"  
     DL_OBJS=""  
     DL_LIBS=""  
     LD_FLAGS=""  
     LD_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'  
     ;;  
5979      *-riscos*)      *-riscos*)
5980      SHLIB_CFLAGS="-G 0"      SHLIB_CFLAGS="-G 0"
5981      SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"      SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"
# Line 5650  fi Line 6042  fi
6042      LD_FLAGS=""      LD_FLAGS=""
6043      LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'      LD_SEARCH_FLAGS='-R ${LIB_RUNTIME_DIR}'
6044      ;;      ;;
     *-ultrix4*)  
     SHLIB_CFLAGS="-G 0"  
     SHLIB_SUFFIX=".a"  
     SHLIB_LD="echo tclLdAout $CC \{$SHLIB_CFLAGS\} | `pwd`/tclsh -r -G 0"  
     SHLIB_LD_LIBS='${LIBS}'  
     DL_OBJS=""  
     DL_LIBS=""  
     LD_FLAGS="-Wl,-D,08000000"  
     LD_SEARCH_FLAGS='-L${LIB_RUNTIME_DIR}'  
     ;;  
6045      mips-dde-sysv*)      mips-dde-sysv*)
6046      SHLIB_CFLAGS="-KPIC"      SHLIB_CFLAGS="-KPIC"
6047      SHLIB_LD="cc -G"      SHLIB_LD="cc -G"
# Line 5674  fi Line 6056  fi
6056  echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6  echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6
6057      LDFLAGS="${LDFLAGS} -Wl,-Bexport"      LDFLAGS="${LDFLAGS} -Wl,-Bexport"
6058      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6059  /* confdefs.h.  */  /* confdefs.h.  */
6060  _ACEOF  _ACEOF
6061  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5691  int i; Line 6072  int i;
6072  _ACEOF  _ACEOF
6073  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6074  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6075    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6076    ac_status=$?    ac_status=$?
6077      grep -v '^ *+' conftest.er1 >conftest.err
6078      rm -f conftest.er1
6079      cat conftest.err >&5
6080    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081    (exit $ac_status); } &&    (exit $ac_status); } &&
6082           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6083                 || test ! -s conftest.err'
6084      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6085      (eval $ac_try) 2>&5
6086      ac_status=$?
6087      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088      (exit $ac_status); }; } &&
6089         { ac_try='test -s conftest$ac_exeext'
6090    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6091    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6092    ac_status=$?    ac_status=$?
# Line 5708  sed 's/^/| /' conftest.$ac_ext >&5 Line 6099  sed 's/^/| /' conftest.$ac_ext >&5
6099    
6100  found=no  found=no
6101  fi  fi
6102  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6103          conftest$ac_exeext conftest.$ac_ext
6104      LDFLAGS=$hold_ldflags      LDFLAGS=$hold_ldflags
6105      echo "$as_me:$LINENO: result: $found" >&5      echo "$as_me:$LINENO: result: $found" >&5
6106  echo "${ECHO_T}$found" >&6  echo "${ECHO_T}$found" >&6
# Line 5722  echo "${ECHO_T}$found" >&6 Line 6114  echo "${ECHO_T}$found" >&6
6114  esac  esac
6115    
6116  #--------------------------------------------------------------------  #--------------------------------------------------------------------
6117  # Look for Tcl  # Look for Tcl/Tk
6118  #--------------------------------------------------------------------  #--------------------------------------------------------------------
6119    
6120  TCLINCLUDE=  TCLINCLUDE=
# Line 5823  echo "$as_me:$LINENO: checking for Tcl h Line 6215  echo "$as_me:$LINENO: checking for Tcl h
6215  echo $ECHO_N "checking for Tcl header files... $ECHO_C" >&6  echo $ECHO_N "checking for Tcl header files... $ECHO_C" >&6
6216  if test -z "$TCLINCLUDE"; then  if test -z "$TCLINCLUDE"; then
6217  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6218  /* confdefs.h.  */  /* confdefs.h.  */
6219  _ACEOF  _ACEOF
6220  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 5841  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6232  if { (eval echo "$as_me:$LINENO: \"$ac_c
6232    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } >/dev/null; then
6233    if test -s conftest.err; then    if test -s conftest.err; then
6234      ac_cpp_err=$ac_c_preproc_warn_flag      ac_cpp_err=$ac_c_preproc_warn_flag
6235        ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6236    else    else
6237      ac_cpp_err=      ac_cpp_err=
6238    fi    fi
# Line 5899  fi Line 6291  fi
6291    
6292  # Cygwin (Windows) needs the library for dynamic linking  # Cygwin (Windows) needs the library for dynamic linking
6293  case $host in  case $host in
6294  *-*-cygwin* | *-*-mingw*) TCLDYNAMICLINKING="$TCLLIB";;      *-*-cygwin* | *-*-mingw*) TCLDYNAMICLINKING="$TCLLIB";;
6295  *)TCLDYNAMICLINKING="";;      *)TCLDYNAMICLINKING="";;
6296  esac  esac
6297  fi  fi
6298    
# Line 6142  else Line 6534  else
6534    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6535  LIBS="-lfor $F77LIBS $LIBS"  LIBS="-lfor $F77LIBS $LIBS"
6536  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6537  /* confdefs.h.  */  /* confdefs.h.  */
6538  _ACEOF  _ACEOF
6539  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6166  for_lle (); Line 6557  for_lle ();
6557  _ACEOF  _ACEOF
6558  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6559  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6560    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6561    ac_status=$?    ac_status=$?
6562      grep -v '^ *+' conftest.er1 >conftest.err
6563      rm -f conftest.er1
6564      cat conftest.err >&5
6565    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566    (exit $ac_status); } &&    (exit $ac_status); } &&
6567           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6568                 || test ! -s conftest.err'
6569      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6570      (eval $ac_try) 2>&5
6571      ac_status=$?
6572      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573      (exit $ac_status); }; } &&
6574         { ac_try='test -s conftest$ac_exeext'
6575    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6576    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6577    ac_status=$?    ac_status=$?
# Line 6183  sed 's/^/| /' conftest.$ac_ext >&5 Line 6584  sed 's/^/| /' conftest.$ac_ext >&5
6584    
6585  ac_cv_lib_for_for_lle=no  ac_cv_lib_for_for_lle=no
6586  fi  fi
6587  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6588          conftest$ac_exeext conftest.$ac_ext
6589  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6590  fi  fi
6591  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 6200  else Line 6602  else
6602    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6603  LIBS="-lots $F77LIBS $LIBS"  LIBS="-lots $F77LIBS $LIBS"
6604  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6605  /* confdefs.h.  */  /* confdefs.h.  */
6606  _ACEOF  _ACEOF
6607  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6224  _OtsFill (); Line 6625  _OtsFill ();
6625  _ACEOF  _ACEOF
6626  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6627  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6628    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6629    ac_status=$?    ac_status=$?
6630      grep -v '^ *+' conftest.er1 >conftest.err
6631      rm -f conftest.er1
6632      cat conftest.err >&5
6633    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634    (exit $ac_status); } &&    (exit $ac_status); } &&
6635           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6636                 || test ! -s conftest.err'
6637      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6638      (eval $ac_try) 2>&5
6639      ac_status=$?
6640      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641      (exit $ac_status); }; } &&
6642         { ac_try='test -s conftest$ac_exeext'
6643    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6644    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6645    ac_status=$?    ac_status=$?
# Line 6241  sed 's/^/| /' conftest.$ac_ext >&5 Line 6652  sed 's/^/| /' conftest.$ac_ext >&5
6652    
6653  ac_cv_lib_ots__OtsFill=no  ac_cv_lib_ots__OtsFill=no
6654  fi  fi
6655  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6656          conftest$ac_exeext conftest.$ac_ext
6657  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6658  fi  fi
6659  echo "$as_me:$LINENO: result: $ac_cv_lib_ots__OtsFill" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_ots__OtsFill" >&5
# Line 6258  else Line 6670  else
6670    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6671  LIBS="-lUfor $F77LIBS $LIBS"  LIBS="-lUfor $F77LIBS $LIBS"
6672  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6673  /* confdefs.h.  */  /* confdefs.h.  */
6674  _ACEOF  _ACEOF
6675  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6282  etime_ (); Line 6693  etime_ ();
6693  _ACEOF  _ACEOF
6694  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6695  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6696    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6697    ac_status=$?    ac_status=$?
6698      grep -v '^ *+' conftest.er1 >conftest.err
6699      rm -f conftest.er1
6700      cat conftest.err >&5
6701    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702    (exit $ac_status); } &&    (exit $ac_status); } &&
6703           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6704                 || test ! -s conftest.err'
6705      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706      (eval $ac_try) 2>&5
6707      ac_status=$?
6708      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709      (exit $ac_status); }; } &&
6710         { ac_try='test -s conftest$ac_exeext'
6711    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6713    ac_status=$?    ac_status=$?
# Line 6299  sed 's/^/| /' conftest.$ac_ext >&5 Line 6720  sed 's/^/| /' conftest.$ac_ext >&5
6720    
6721  ac_cv_lib_Ufor_etime_=no  ac_cv_lib_Ufor_etime_=no
6722  fi  fi
6723  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6724          conftest$ac_exeext conftest.$ac_ext
6725  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6726  fi  fi
6727  echo "$as_me:$LINENO: result: $ac_cv_lib_Ufor_etime_" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_Ufor_etime_" >&5
# Line 6318  else Line 6740  else
6740    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6741  LIBS="-lfor $F77LIBS $LIBS"  LIBS="-lfor $F77LIBS $LIBS"
6742  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6743  /* confdefs.h.  */  /* confdefs.h.  */
6744  _ACEOF  _ACEOF
6745  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6342  for_lle (); Line 6763  for_lle ();
6763  _ACEOF  _ACEOF
6764  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6765  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6766    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6767    ac_status=$?    ac_status=$?
6768      grep -v '^ *+' conftest.er1 >conftest.err
6769      rm -f conftest.er1
6770      cat conftest.err >&5
6771    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772    (exit $ac_status); } &&    (exit $ac_status); } &&
6773           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6774                 || test ! -s conftest.err'
6775      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776      (eval $ac_try) 2>&5
6777      ac_status=$?
6778      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779      (exit $ac_status); }; } &&
6780         { ac_try='test -s conftest$ac_exeext'
6781    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6783    ac_status=$?    ac_status=$?
# Line 6359  sed 's/^/| /' conftest.$ac_ext >&5 Line 6790  sed 's/^/| /' conftest.$ac_ext >&5
6790    
6791  ac_cv_lib_for_for_lle=no  ac_cv_lib_for_for_lle=no
6792  fi  fi
6793  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6794          conftest$ac_exeext conftest.$ac_ext
6795  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6796  fi  fi
6797  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 6378  else Line 6810  else
6810    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6811  LIBS="-lcl $F77LIBS $LIBS"  LIBS="-lcl $F77LIBS $LIBS"
6812  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6813  /* confdefs.h.  */  /* confdefs.h.  */
6814  _ACEOF  _ACEOF
6815  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6402  FTN_QATAN (); Line 6833  FTN_QATAN ();
6833  _ACEOF  _ACEOF
6834  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6835  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6836    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6837    ac_status=$?    ac_status=$?
6838      grep -v '^ *+' conftest.er1 >conftest.err
6839      rm -f conftest.er1
6840      cat conftest.err >&5
6841    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842    (exit $ac_status); } &&    (exit $ac_status); } &&
6843           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6844                 || test ! -s conftest.err'
6845      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846      (eval $ac_try) 2>&5
6847      ac_status=$?
6848      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849      (exit $ac_status); }; } &&
6850         { ac_try='test -s conftest$ac_exeext'
6851    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6853    ac_status=$?    ac_status=$?
# Line 6419  sed 's/^/| /' conftest.$ac_ext >&5 Line 6860  sed 's/^/| /' conftest.$ac_ext >&5
6860    
6861  ac_cv_lib_cl_FTN_QATAN=no  ac_cv_lib_cl_FTN_QATAN=no
6862  fi  fi
6863  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6864          conftest$ac_exeext conftest.$ac_ext
6865  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6866  fi  fi
6867  echo "$as_me:$LINENO: result: $ac_cv_lib_cl_FTN_QATAN" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_cl_FTN_QATAN" >&5
# Line 6441  else Line 6883  else
6883    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6884  LIBS="-lxlf $F77LIBS $LIBS"  LIBS="-lxlf $F77LIBS $LIBS"
6885  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6886  /* confdefs.h.  */  /* confdefs.h.  */
6887  _ACEOF  _ACEOF
6888  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6465  _xldabs (); Line 6906  _xldabs ();
6906  _ACEOF  _ACEOF
6907  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6908  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6909    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6910    ac_status=$?    ac_status=$?
6911      grep -v '^ *+' conftest.er1 >conftest.err
6912      rm -f conftest.er1
6913      cat conftest.err >&5
6914    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915    (exit $ac_status); } &&    (exit $ac_status); } &&
6916           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6917                 || test ! -s conftest.err'
6918      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919      (eval $ac_try) 2>&5
6920      ac_status=$?
6921      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922      (exit $ac_status); }; } &&
6923         { ac_try='test -s conftest$ac_exeext'
6924    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6926    ac_status=$?    ac_status=$?
# Line 6482  sed 's/^/| /' conftest.$ac_ext >&5 Line 6933  sed 's/^/| /' conftest.$ac_ext >&5
6933    
6934  ac_cv_lib_xlf__xldabs=no  ac_cv_lib_xlf__xldabs=no
6935  fi  fi
6936  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
6937          conftest$ac_exeext conftest.$ac_ext
6938  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
6939  fi  fi
6940  echo "$as_me:$LINENO: result: $ac_cv_lib_xlf__xldabs" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_xlf__xldabs" >&5
# Line 6499  else Line 6951  else
6951    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
6952  LIBS="-lxlfutil $F77LIBS $LIBS"  LIBS="-lxlfutil $F77LIBS $LIBS"
6953  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
6954  /* confdefs.h.  */  /* confdefs.h.  */
6955  _ACEOF  _ACEOF
6956  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6523  srand_ (); Line 6974  srand_ ();
6974  _ACEOF  _ACEOF
6975  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
6976  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6977    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
6978    ac_status=$?    ac_status=$?
6979      grep -v '^ *+' conftest.er1 >conftest.err
6980      rm -f conftest.er1
6981      cat conftest.err >&5
6982    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983    (exit $ac_status); } &&    (exit $ac_status); } &&
6984           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
6985                 || test ! -s conftest.err'
6986      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6987      (eval $ac_try) 2>&5
6988      ac_status=$?
6989      echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990      (exit $ac_status); }; } &&
6991         { ac_try='test -s conftest$ac_exeext'
6992    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
6994    ac_status=$?    ac_status=$?
# Line 6540  sed 's/^/| /' conftest.$ac_ext >&5 Line 7001  sed 's/^/| /' conftest.$ac_ext >&5
7001    
7002  ac_cv_lib_xlfutil_srand_=no  ac_cv_lib_xlfutil_srand_=no
7003  fi  fi
7004  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7005          conftest$ac_exeext conftest.$ac_ext
7006  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7007  fi  fi
7008  echo "$as_me:$LINENO: result: $ac_cv_lib_xlfutil_srand_" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_xlfutil_srand_" >&5
# Line 6557  else Line 7019  else
7019    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7020  LIBS="-lxlf90 $F77LIBS $LIBS"  LIBS="-lxlf90 $F77LIBS $LIBS"
7021  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7022  /* confdefs.h.  */  /* confdefs.h.  */
7023  _ACEOF  _ACEOF
7024  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6581  printf (); Line 7042  printf ();
7042  _ACEOF  _ACEOF
7043  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7044  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7045    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7046    ac_status=$?    ac_status=$?
7047      grep -v '^ *+' conftest.er1 >conftest.err
7048      rm -f conftest.er1
7049      cat conftest.err >&5
7050    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051    (exit $ac_status); } &&    (exit $ac_status); } &&
7052           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7053                 || test ! -s conftest.err'
7054      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055      (eval $ac_try) 2>&5
7056      ac_status=$?
7057      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058      (exit $ac_status); }; } &&
7059         { ac_try='test -s conftest$ac_exeext'
7060    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7061    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7062    ac_status=$?    ac_status=$?
# Line 6598  sed 's/^/| /' conftest.$ac_ext >&5 Line 7069  sed 's/^/| /' conftest.$ac_ext >&5
7069    
7070  ac_cv_lib_xlf90_printf=no  ac_cv_lib_xlf90_printf=no
7071  fi  fi
7072  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7073          conftest$ac_exeext conftest.$ac_ext
7074  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7075  fi  fi
7076  echo "$as_me:$LINENO: result: $ac_cv_lib_xlf90_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_xlf90_printf" >&5
# Line 6617  else Line 7089  else
7089    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7090  LIBS="-lf2c $F77LIBS $LIBS"  LIBS="-lf2c $F77LIBS $LIBS"
7091  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7092  /* confdefs.h.  */  /* confdefs.h.  */
7093  _ACEOF  _ACEOF
7094  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6641  pow_dd (); Line 7112  pow_dd ();
7112  _ACEOF  _ACEOF
7113  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7114  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7116    ac_status=$?    ac_status=$?
7117      grep -v '^ *+' conftest.er1 >conftest.err
7118      rm -f conftest.er1
7119      cat conftest.err >&5
7120    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121    (exit $ac_status); } &&    (exit $ac_status); } &&
7122           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7123                 || test ! -s conftest.err'
7124      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125      (eval $ac_try) 2>&5
7126      ac_status=$?
7127      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128      (exit $ac_status); }; } &&
7129         { ac_try='test -s conftest$ac_exeext'
7130    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7132    ac_status=$?    ac_status=$?
# Line 6658  sed 's/^/| /' conftest.$ac_ext >&5 Line 7139  sed 's/^/| /' conftest.$ac_ext >&5
7139    
7140  ac_cv_lib_f2c_pow_dd=no  ac_cv_lib_f2c_pow_dd=no
7141  fi  fi
7142  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7143          conftest$ac_exeext conftest.$ac_ext
7144  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7145  fi  fi
7146  echo "$as_me:$LINENO: result: $ac_cv_lib_f2c_pow_dd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_f2c_pow_dd" >&5
# Line 6675  else Line 7157  else
7157    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7158  LIBS="-lg2c $F77LIBS $LIBS"  LIBS="-lg2c $F77LIBS $LIBS"
7159  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7160  /* confdefs.h.  */  /* confdefs.h.  */
7161  _ACEOF  _ACEOF
7162  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6699  pow_dd (); Line 7180  pow_dd ();
7180  _ACEOF  _ACEOF
7181  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7182  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7183    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7184    ac_status=$?    ac_status=$?
7185      grep -v '^ *+' conftest.er1 >conftest.err
7186      rm -f conftest.er1
7187      cat conftest.err >&5
7188    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189    (exit $ac_status); } &&    (exit $ac_status); } &&
7190           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7191                 || test ! -s conftest.err'
7192      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7193      (eval $ac_try) 2>&5
7194      ac_status=$?
7195      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196      (exit $ac_status); }; } &&
7197         { ac_try='test -s conftest$ac_exeext'
7198    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7199    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7200    ac_status=$?    ac_status=$?
# Line 6716  sed 's/^/| /' conftest.$ac_ext >&5 Line 7207  sed 's/^/| /' conftest.$ac_ext >&5
7207    
7208  ac_cv_lib_g2c_pow_dd=no  ac_cv_lib_g2c_pow_dd=no
7209  fi  fi
7210  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7211          conftest$ac_exeext conftest.$ac_ext
7212  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7213  fi  fi
7214  echo "$as_me:$LINENO: result: $ac_cv_lib_g2c_pow_dd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_g2c_pow_dd" >&5
# Line 6738  else Line 7230  else
7230    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7231  LIBS="-lsunmath  $LIBS"  LIBS="-lsunmath  $LIBS"
7232  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7233  /* confdefs.h.  */  /* confdefs.h.  */
7234  _ACEOF  _ACEOF
7235  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6762  d_sqrt_ (); Line 7253  d_sqrt_ ();
7253  _ACEOF  _ACEOF
7254  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7255  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7256    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7257    ac_status=$?    ac_status=$?
7258      grep -v '^ *+' conftest.er1 >conftest.err
7259      rm -f conftest.er1
7260      cat conftest.err >&5
7261    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262    (exit $ac_status); } &&    (exit $ac_status); } &&
7263           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7264                 || test ! -s conftest.err'
7265      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266      (eval $ac_try) 2>&5
7267      ac_status=$?
7268      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7269      (exit $ac_status); }; } &&
7270         { ac_try='test -s conftest$ac_exeext'
7271    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7272    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7273    ac_status=$?    ac_status=$?
# Line 6779  sed 's/^/| /' conftest.$ac_ext >&5 Line 7280  sed 's/^/| /' conftest.$ac_ext >&5
7280    
7281  ac_cv_lib_sunmath_d_sqrt_=no  ac_cv_lib_sunmath_d_sqrt_=no
7282  fi  fi
7283  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7284          conftest$ac_exeext conftest.$ac_ext
7285  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7286  fi  fi
7287  echo "$as_me:$LINENO: result: $ac_cv_lib_sunmath_d_sqrt_" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_sunmath_d_sqrt_" >&5
# Line 6796  else Line 7298  else
7298    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7299  LIBS="-lF77 $F77LIBS $MATH_LIBS $LIBS"  LIBS="-lF77 $F77LIBS $MATH_LIBS $LIBS"
7300  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7301  /* confdefs.h.  */  /* confdefs.h.  */
7302  _ACEOF  _ACEOF
7303  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6820  f77_init (); Line 7321  f77_init ();
7321  _ACEOF  _ACEOF
7322  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7323  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7324    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7325    ac_status=$?    ac_status=$?
7326      grep -v '^ *+' conftest.er1 >conftest.err
7327      rm -f conftest.er1
7328      cat conftest.err >&5
7329    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330    (exit $ac_status); } &&    (exit $ac_status); } &&
7331           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7332                 || test ! -s conftest.err'
7333      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7334      (eval $ac_try) 2>&5
7335      ac_status=$?
7336      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337      (exit $ac_status); }; } &&
7338         { ac_try='test -s conftest$ac_exeext'
7339    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7340    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7341    ac_status=$?    ac_status=$?
# Line 6837  sed 's/^/| /' conftest.$ac_ext >&5 Line 7348  sed 's/^/| /' conftest.$ac_ext >&5
7348    
7349  ac_cv_lib_F77_f77_init=no  ac_cv_lib_F77_f77_init=no
7350  fi  fi
7351  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7352          conftest$ac_exeext conftest.$ac_ext
7353  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7354  fi  fi
7355  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_f77_init" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_f77_init" >&5
# Line 6854  else Line 7366  else
7366    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7367  LIBS="-lM77 $F77LIBS $MATH_LIBS $LIBS"  LIBS="-lM77 $F77LIBS $MATH_LIBS $LIBS"
7368  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7369  /* confdefs.h.  */  /* confdefs.h.  */
7370  _ACEOF  _ACEOF
7371  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6878  inmax_ (); Line 7389  inmax_ ();
7389  _ACEOF  _ACEOF
7390  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7391  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7392    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7393    ac_status=$?    ac_status=$?
7394      grep -v '^ *+' conftest.er1 >conftest.err
7395      rm -f conftest.er1
7396      cat conftest.err >&5
7397    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7398    (exit $ac_status); } &&    (exit $ac_status); } &&
7399           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7400                 || test ! -s conftest.err'
7401      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402      (eval $ac_try) 2>&5
7403      ac_status=$?
7404      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405      (exit $ac_status); }; } &&
7406         { ac_try='test -s conftest$ac_exeext'
7407    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7408    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7409    ac_status=$?    ac_status=$?
# Line 6895  sed 's/^/| /' conftest.$ac_ext >&5 Line 7416  sed 's/^/| /' conftest.$ac_ext >&5
7416    
7417  ac_cv_lib_M77_inmax_=no  ac_cv_lib_M77_inmax_=no
7418  fi  fi
7419  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7420          conftest$ac_exeext conftest.$ac_ext
7421  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7422  fi  fi
7423  echo "$as_me:$LINENO: result: $ac_cv_lib_M77_inmax_" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_M77_inmax_" >&5
# Line 6917  else Line 7439  else
7439    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7440  LIBS="-lF77 $F77LIBS $LIBS"  LIBS="-lF77 $F77LIBS $LIBS"
7441  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7442  /* confdefs.h.  */  /* confdefs.h.  */
7443  _ACEOF  _ACEOF
7444  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6941  f77_init (); Line 7462  f77_init ();
7462  _ACEOF  _ACEOF
7463  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7464  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7465    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7466    ac_status=$?    ac_status=$?
7467      grep -v '^ *+' conftest.er1 >conftest.err
7468      rm -f conftest.er1
7469      cat conftest.err >&5
7470    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7471    (exit $ac_status); } &&    (exit $ac_status); } &&
7472           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7473                 || test ! -s conftest.err'
7474      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7475      (eval $ac_try) 2>&5
7476      ac_status=$?
7477      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478      (exit $ac_status); }; } &&
7479         { ac_try='test -s conftest$ac_exeext'
7480    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7482    ac_status=$?    ac_status=$?
# Line 6958  sed 's/^/| /' conftest.$ac_ext >&5 Line 7489  sed 's/^/| /' conftest.$ac_ext >&5
7489    
7490  ac_cv_lib_F77_f77_init=no  ac_cv_lib_F77_f77_init=no
7491  fi  fi
7492  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7493          conftest$ac_exeext conftest.$ac_ext
7494  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7495  fi  fi
7496  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_f77_init" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_f77_init" >&5
# Line 6975  else Line 7507  else
7507    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7508  LIBS="-lM77 $F77LIBS $LIBS"  LIBS="-lM77 $F77LIBS $LIBS"
7509  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7510  /* confdefs.h.  */  /* confdefs.h.  */
7511  _ACEOF  _ACEOF
7512  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 6999  inmax_ (); Line 7530  inmax_ ();
7530  _ACEOF  _ACEOF
7531  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7532  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7533    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7534    ac_status=$?    ac_status=$?
7535      grep -v '^ *+' conftest.er1 >conftest.err
7536      rm -f conftest.er1
7537      cat conftest.err >&5
7538    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539    (exit $ac_status); } &&    (exit $ac_status); } &&
7540           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7541                 || test ! -s conftest.err'
7542      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7543      (eval $ac_try) 2>&5
7544      ac_status=$?
7545      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546      (exit $ac_status); }; } &&
7547         { ac_try='test -s conftest$ac_exeext'
7548    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7549    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7550    ac_status=$?    ac_status=$?
# Line 7016  sed 's/^/| /' conftest.$ac_ext >&5 Line 7557  sed 's/^/| /' conftest.$ac_ext >&5
7557    
7558  ac_cv_lib_M77_inmax_=no  ac_cv_lib_M77_inmax_=no
7559  fi  fi
7560  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7561          conftest$ac_exeext conftest.$ac_ext
7562  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7563  fi  fi
7564  echo "$as_me:$LINENO: result: $ac_cv_lib_M77_inmax_" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_M77_inmax_" >&5
# Line 7035  else Line 7577  else
7577    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7578  LIBS="-lF77 $F77LIBS $LIBS"  LIBS="-lF77 $F77LIBS $LIBS"
7579  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7580  /* confdefs.h.  */  /* confdefs.h.  */
7581  _ACEOF  _ACEOF
7582  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7059  s_copy (); Line 7600  s_copy ();
7600  _ACEOF  _ACEOF
7601  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7602  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7603    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7604    ac_status=$?    ac_status=$?
7605      grep -v '^ *+' conftest.er1 >conftest.err
7606      rm -f conftest.er1
7607      cat conftest.err >&5
7608    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609    (exit $ac_status); } &&    (exit $ac_status); } &&
7610           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7611                 || test ! -s conftest.err'
7612      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7613      (eval $ac_try) 2>&5
7614      ac_status=$?
7615      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616      (exit $ac_status); }; } &&
7617         { ac_try='test -s conftest$ac_exeext'
7618    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7619    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7620    ac_status=$?    ac_status=$?
# Line 7076  sed 's/^/| /' conftest.$ac_ext >&5 Line 7627  sed 's/^/| /' conftest.$ac_ext >&5
7627    
7628  ac_cv_lib_F77_s_copy=no  ac_cv_lib_F77_s_copy=no
7629  fi  fi
7630  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7631          conftest$ac_exeext conftest.$ac_ext
7632  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7633  fi  fi
7634  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_s_copy" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_s_copy" >&5
# Line 7093  else Line 7645  else
7645    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7646  LIBS="-lI77 $F77LIBS $LIBS"  LIBS="-lI77 $F77LIBS $LIBS"
7647  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7648  /* confdefs.h.  */  /* confdefs.h.  */
7649  _ACEOF  _ACEOF
7650  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7117  f_exit (); Line 7668  f_exit ();
7668  _ACEOF  _ACEOF
7669  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7670  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7671    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7672    ac_status=$?    ac_status=$?
7673      grep -v '^ *+' conftest.er1 >conftest.err
7674      rm -f conftest.er1
7675      cat conftest.err >&5
7676    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7677    (exit $ac_status); } &&    (exit $ac_status); } &&
7678           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7679                 || test ! -s conftest.err'
7680      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681      (eval $ac_try) 2>&5
7682      ac_status=$?
7683      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684      (exit $ac_status); }; } &&
7685         { ac_try='test -s conftest$ac_exeext'
7686    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7688    ac_status=$?    ac_status=$?
# Line 7134  sed 's/^/| /' conftest.$ac_ext >&5 Line 7695  sed 's/^/| /' conftest.$ac_ext >&5
7695    
7696  ac_cv_lib_I77_f_exit=no  ac_cv_lib_I77_f_exit=no
7697  fi  fi
7698  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7699          conftest$ac_exeext conftest.$ac_ext
7700  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7701  fi  fi
7702  echo "$as_me:$LINENO: result: $ac_cv_lib_I77_f_exit" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_I77_f_exit" >&5
# Line 7151  else Line 7713  else
7713    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7714  LIBS="-lisam $F77LIBS $LIBS"  LIBS="-lisam $F77LIBS $LIBS"
7715  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7716  /* confdefs.h.  */  /* confdefs.h.  */
7717  _ACEOF  _ACEOF
7718  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7175  mkidxname (); Line 7736  mkidxname ();
7736  _ACEOF  _ACEOF
7737  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7738  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7739    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7740    ac_status=$?    ac_status=$?
7741      grep -v '^ *+' conftest.er1 >conftest.err
7742      rm -f conftest.er1
7743      cat conftest.err >&5
7744    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745    (exit $ac_status); } &&    (exit $ac_status); } &&
7746           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7747                 || test ! -s conftest.err'
7748      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749      (eval $ac_try) 2>&5
7750      ac_status=$?
7751      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752      (exit $ac_status); }; } &&
7753         { ac_try='test -s conftest$ac_exeext'
7754    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7756    ac_status=$?    ac_status=$?
# Line 7192  sed 's/^/| /' conftest.$ac_ext >&5 Line 7763  sed 's/^/| /' conftest.$ac_ext >&5
7763    
7764  ac_cv_lib_isam_mkidxname=no  ac_cv_lib_isam_mkidxname=no
7765  fi  fi
7766  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7767          conftest$ac_exeext conftest.$ac_ext
7768  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7769  fi  fi
7770  echo "$as_me:$LINENO: result: $ac_cv_lib_isam_mkidxname" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_isam_mkidxname" >&5
# Line 7211  else Line 7783  else
7783    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7784  LIBS="-lF77 $F77LIBS $LIBS"  LIBS="-lF77 $F77LIBS $LIBS"
7785  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7786  /* confdefs.h.  */  /* confdefs.h.  */
7787  _ACEOF  _ACEOF
7788  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7235  printf (); Line 7806  printf ();
7806  _ACEOF  _ACEOF
7807  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7808  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7809    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7810    ac_status=$?    ac_status=$?
7811      grep -v '^ *+' conftest.er1 >conftest.err
7812      rm -f conftest.er1
7813      cat conftest.err >&5
7814    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7815    (exit $ac_status); } &&    (exit $ac_status); } &&
7816           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7817                 || test ! -s conftest.err'
7818      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7819      (eval $ac_try) 2>&5
7820      ac_status=$?
7821      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822      (exit $ac_status); }; } &&
7823         { ac_try='test -s conftest$ac_exeext'
7824    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7825    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7826    ac_status=$?    ac_status=$?
# Line 7252  sed 's/^/| /' conftest.$ac_ext >&5 Line 7833  sed 's/^/| /' conftest.$ac_ext >&5
7833    
7834  ac_cv_lib_F77_printf=no  ac_cv_lib_F77_printf=no
7835  fi  fi
7836  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7837          conftest$ac_exeext conftest.$ac_ext
7838  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7839  fi  fi
7840  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_F77_printf" >&5
# Line 7269  else Line 7851  else
7851    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7852  LIBS="-lM77 $F77LIBS $LIBS"  LIBS="-lM77 $F77LIBS $LIBS"
7853  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7854  /* confdefs.h.  */  /* confdefs.h.  */
7855  _ACEOF  _ACEOF
7856  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7293  printf (); Line 7874  printf ();
7874  _ACEOF  _ACEOF
7875  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7876  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7878    ac_status=$?    ac_status=$?
7879      grep -v '^ *+' conftest.er1 >conftest.err
7880      rm -f conftest.er1
7881      cat conftest.err >&5
7882    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7883    (exit $ac_status); } &&    (exit $ac_status); } &&
7884           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7885                 || test ! -s conftest.err'
7886      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887      (eval $ac_try) 2>&5
7888      ac_status=$?
7889      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890      (exit $ac_status); }; } &&
7891         { ac_try='test -s conftest$ac_exeext'
7892    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7893    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7894    ac_status=$?    ac_status=$?
# Line 7310  sed 's/^/| /' conftest.$ac_ext >&5 Line 7901  sed 's/^/| /' conftest.$ac_ext >&5
7901    
7902  ac_cv_lib_M77_printf=no  ac_cv_lib_M77_printf=no
7903  fi  fi
7904  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7905          conftest$ac_exeext conftest.$ac_ext
7906  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7907  fi  fi
7908  echo "$as_me:$LINENO: result: $ac_cv_lib_M77_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_M77_printf" >&5
# Line 7327  else Line 7919  else
7919    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7920  LIBS="-lf2c $F77LIBS $LIBS"  LIBS="-lf2c $F77LIBS $LIBS"
7921  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7922  /* confdefs.h.  */  /* confdefs.h.  */
7923  _ACEOF  _ACEOF
7924  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7351  pow_dd (); Line 7942  pow_dd ();
7942  _ACEOF  _ACEOF
7943  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
7944  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7945    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
7946    ac_status=$?    ac_status=$?
7947      grep -v '^ *+' conftest.er1 >conftest.err
7948      rm -f conftest.er1
7949      cat conftest.err >&5
7950    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7951    (exit $ac_status); } &&    (exit $ac_status); } &&
7952           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
7953                 || test ! -s conftest.err'
7954      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7955      (eval $ac_try) 2>&5
7956      ac_status=$?
7957      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958      (exit $ac_status); }; } &&
7959         { ac_try='test -s conftest$ac_exeext'
7960    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7961    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
7962    ac_status=$?    ac_status=$?
# Line 7368  sed 's/^/| /' conftest.$ac_ext >&5 Line 7969  sed 's/^/| /' conftest.$ac_ext >&5
7969    
7970  ac_cv_lib_f2c_pow_dd=no  ac_cv_lib_f2c_pow_dd=no
7971  fi  fi
7972  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
7973          conftest$ac_exeext conftest.$ac_ext
7974  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
7975  fi  fi
7976  echo "$as_me:$LINENO: result: $ac_cv_lib_f2c_pow_dd" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_f2c_pow_dd" >&5
# Line 7385  else Line 7987  else
7987    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
7988  LIBS="-lf77 $F77LIBS $LIBS"  LIBS="-lf77 $F77LIBS $LIBS"
7989  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
7990  /* confdefs.h.  */  /* confdefs.h.  */
7991  _ACEOF  _ACEOF
7992  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7409  printf (); Line 8010  printf ();
8010  _ACEOF  _ACEOF
8011  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8012  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8013    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8014    ac_status=$?    ac_status=$?
8015      grep -v '^ *+' conftest.er1 >conftest.err
8016      rm -f conftest.er1
8017      cat conftest.err >&5
8018    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019    (exit $ac_status); } &&    (exit $ac_status); } &&
8020           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8021                 || test ! -s conftest.err'
8022      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023      (eval $ac_try) 2>&5
8024      ac_status=$?
8025      echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026      (exit $ac_status); }; } &&
8027         { ac_try='test -s conftest$ac_exeext'
8028    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029    (eval $ac_try) 2>&5    (eval $ac_try) 2>&5
8030    ac_status=$?    ac_status=$?
# Line 7426  sed 's/^/| /' conftest.$ac_ext >&5 Line 8037  sed 's/^/| /' conftest.$ac_ext >&5
8037    
8038  ac_cv_lib_f77_printf=no  ac_cv_lib_f77_printf=no
8039  fi  fi
8040  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.err conftest.$ac_objext \
8041          conftest$ac_exeext conftest.$ac_ext
8042  LIBS=$ac_check_lib_save_LIBS  LIBS=$ac_check_lib_save_LIBS
8043  fi  fi
8044  echo "$as_me:$LINENO: result: $ac_cv_lib_f77_printf" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_f77_printf" >&5
# Line 7443  else Line 8055  else
8055    ac_check_lib_save_LIBS=$LIBS    ac_check_lib_save_LIBS=$LIBS
8056  LIBS="-lfor $F77LIBS $LIBS"  LIBS="-lfor $F77LIBS $LIBS"
8057  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"  
8058  /* confdefs.h.  */  /* confdefs.h.  */
8059  _ACEOF  _ACEOF
8060  cat confdefs.h >>conftest.$ac_ext  cat confdefs.h >>conftest.$ac_ext
# Line 7467  printf (); Line 8078  printf ();
8078  _ACEOF  _ACEOF
8079  rm -f conftest.$ac_objext conftest$ac_exeext  rm -f conftest.$ac_objext conftest$ac_exeext
8080  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8081    (eval $ac_link) 2>&5    (eval $ac_link) 2>conftest.er1
8082    ac_status=$?    ac_status=$?
8083      grep -v '^ *+' conftest.er1 >conftest.err
8084      rm -f conftest.er1
8085      cat conftest.err >&5
8086    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087    (exit $ac_status); } &&    (exit $ac_status); } &&
8088           { ac_try='test -s conftest$ac_exeext'       { ac_try='test -z "$ac_c_werror_flag"
8089                 || test ! -s conftest.err'
8090      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8091     &