/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.102 by mjthomas, Wed Feb 19 03:29:07 2003 UTC revision 1.103 by mjthomas, Sat Feb 22 07:14:20 2003 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.53.  # Generated by GNU Autoconf 2.57.
4  #  #
5  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002  # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6  # Free Software Foundation, Inc.  # Free Software Foundation, Inc.
7  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
8  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
   
 if expr a : '\(a\)' >/dev/null 2>&1; then  
   as_expr=expr  
 else  
   as_expr=false  
 fi  
   
   
9  ## --------------------- ##  ## --------------------- ##
10  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
11  ## --------------------- ##  ## --------------------- ##
# Line 22  fi Line 14  fi
14  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15    emulate sh    emulate sh
16    NULLCMD=:    NULLCMD=:
17      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18      # is contrary to our usage.  Disable this feature.
19      alias -g '${1+"$@"}'='"$@"'
20  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
21    set -o posix    set -o posix
22  fi  fi
23    
 # NLS nuisances.  
24  # Support unset when possible.  # Support unset when possible.
25  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26    as_unset=unset    as_unset=unset
# Line 34  else Line 28  else
28    as_unset=false    as_unset=false
29  fi  fi
30    
31  (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&  
32      { $as_unset LANG || test "${LANG+set}" != set; } ||  # Work around bugs in pre-3.0 UWIN ksh.
33        { LANG=C; export LANG; }  $as_unset ENV MAIL MAILPATH
34  (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&  PS1='$ '
35      { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||  PS2='> '
36        { LC_ALL=C; export LC_ALL; }  PS4='+ '
37  (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&  
38      { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||  # NLS nuisances.
39        { LC_TIME=C; export LC_TIME; }  for as_var in \
40  (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41      { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42        { LC_CTYPE=C; export LC_CTYPE; }    LC_TELEPHONE LC_TIME
43  (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&  do
44      { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45        { LANGUAGE=C; export LANGUAGE; }      eval $as_var=C; export $as_var
46  (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&    else
47      { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||      $as_unset $as_var
48        { LC_COLLATE=C; export LC_COLLATE; }    fi
49  (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&  done
50      { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||  
51        { LC_NUMERIC=C; export LC_NUMERIC; }  # Required to use basename.
52  (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&  if expr a : '\(a\)' >/dev/null 2>&1; then
53      { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||    as_expr=expr
54        { LC_MESSAGES=C; export LC_MESSAGES; }  else
55      as_expr=false
56    fi
57    
58    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59      as_basename=basename
60    else
61      as_basename=false
62    fi
63    
64    
65  # Name of the executable.  # Name of the executable.
66  as_me=`(basename "$0") 2>/dev/null ||  as_me=`$as_basename "$0" ||
67  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
69           X"$0" : 'X\(/\)$' \| \           X"$0" : 'X\(/\)$' \| \
# Line 72  echo X/"$0" | Line 74  echo X/"$0" |
74            /^X\/\(\/\).*/{ s//\1/; q; }            /^X\/\(\/\).*/{ s//\1/; q; }
75            s/.*/./; q'`            s/.*/./; q'`
76    
77    
78  # PATH needs CR, and LINENO needs CR and PATH.  # PATH needs CR, and LINENO needs CR and PATH.
79  # Avoid depending upon Character Ranges.  # Avoid depending upon Character Ranges.
80  as_cr_letters='abcdefghijklmnopqrstuvwxyz'  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
# Line 82  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 85  as_cr_alnum=$as_cr_Letters$as_cr_digits
85    
86  # The user is always right.  # The user is always right.
87  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
88    echo "#! /bin/sh" >conftest.sh    echo "#! /bin/sh" >conf$$.sh
89    echo  "exit 0"   >>conftest.sh    echo  "exit 0"   >>conf$$.sh
90    chmod +x conftest.sh    chmod +x conf$$.sh
91    if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92      PATH_SEPARATOR=';'      PATH_SEPARATOR=';'
93    else    else
94      PATH_SEPARATOR=:      PATH_SEPARATOR=:
95    fi    fi
96    rm -f conftest.sh    rm -f conf$$.sh
97  fi  fi
98    
99    
# Line 138  do Line 141  do
141    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142    test "x$as_lineno_1" != "x$as_lineno_2" &&    test "x$as_lineno_1" != "x$as_lineno_2" &&
143    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146               CONFIG_SHELL=$as_dir/$as_base               CONFIG_SHELL=$as_dir/$as_base
147               export CONFIG_SHELL               export CONFIG_SHELL
148               exec "$CONFIG_SHELL" "$0" ${1+"$@"}               exec "$CONFIG_SHELL" "$0" ${1+"$@"}
# Line 210  else Line 215  else
215  fi  fi
216  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
217    
218    if mkdir -p . 2>/dev/null; then
219      as_mkdir_p=:
220    else
221      as_mkdir_p=false
222    fi
223    
224  as_executable_p="test -f"  as_executable_p="test -f"
225    
226  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
# Line 226  as_nl=' Line 237  as_nl='
237  IFS="   $as_nl"  IFS="   $as_nl"
238    
239  # CDPATH.  # CDPATH.
240  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }  $as_unset CDPATH
241    
242    
243  # Name of the host.  # Name of the host.
# Line 240  exec 6>&1 Line 251  exec 6>&1
251  # Initializations.  # Initializations.
252  #  #
253  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
254    ac_config_libobj_dir=.
255  cross_compiling=no  cross_compiling=no
256  subdirs=  subdirs=
257  MFLAGS=  MFLAGS=
# Line 295  ac_includes_default="\ Line 307  ac_includes_default="\
307  # include <unistd.h>  # include <unistd.h>
308  #endif"  #endif"
309    
310    ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS VERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os PROCESSOR_FLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP AWK MAKEINFO EGREP GMP GMPDIR X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS BUILD_BFD LITTLE_END HAVE_LONG_LONG FLISP PAGEWIDTH RL_OBJS RL_LIB NO_PROFILE HAVE_SETENV HAVE_PUTENV USE_CLEANUP ENDIAN_ALREADY_DEFINED HAVE_SV_ONSTACK HAVE_SIGSYS HAVE_SIGEMT EMACS EMACS_SITE_LISP EMACS_DEFAULT_EL INFO_DIR TCLSH TK_CONFIG_PREFIX TK_LIBRARY TCL_LIBRARY TK_XINCLUDES TK_INCLUDE TCL_INCLUDE TK_LIB_SPEC TK_BUILD_LIB_SPEC TK_XLIBSW TCL_LIB_SPEC TCL_DL_LIBS TCL_LIBS NOTIFY BROKEN_O4_OPT FINAL_CFLAGS O3FLAGS O2FLAGS EXTRA_LOBJS use LIBOBJS LTLIBOBJS'
311    ac_subst_files=''
312    
313  # Initialize some variables set by options.  # Initialize some variables set by options.
314  ac_init_help=  ac_init_help=
# Line 718  if test ! -r $srcdir/$ac_unique_file; th Line 732  if test ! -r $srcdir/$ac_unique_file; th
732     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
733    fi    fi
734  fi  fi
735    (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
736      { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
737       { (exit 1); exit 1; }; }
738  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`  srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
739  ac_env_build_alias_set=${build_alias+set}  ac_env_build_alias_set=${build_alias+set}
740  ac_env_build_alias_value=$build_alias  ac_env_build_alias_value=$build_alias
# Line 914  esac Line 931  esac
931  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
932  # absolute.  # absolute.
933  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
934  ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
935  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
936  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
937    
# Line 954  This file contains any messages produced Line 971  This file contains any messages produced
971  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
972    
973  It was created by $as_me, which was  It was created by $as_me, which was
974  generated by GNU Autoconf 2.53.  Invocation command line was  generated by GNU Autoconf 2.57.  Invocation command line was
975    
976    $ $0 $@    $ $0 $@
977    
# Line 1006  _ACEOF Line 1023  _ACEOF
1023    
1024  # Keep a trace of the command line.  # Keep a trace of the command line.
1025  # Strip out --no-create and --no-recursion so they do not pile up.  # Strip out --no-create and --no-recursion so they do not pile up.
1026    # Strip out --silent because we don't want to record it for future runs.
1027  # Also quote any args containing shell meta-characters.  # Also quote any args containing shell meta-characters.
1028    # Make two passes to allow for proper duplicate-argument suppression.
1029  ac_configure_args=  ac_configure_args=
1030    ac_configure_args0=
1031    ac_configure_args1=
1032  ac_sep=  ac_sep=
1033  for ac_arg  ac_must_keep_next=false
1034    for ac_pass in 1 2
1035  do  do
1036    case $ac_arg in    for ac_arg
1037    -no-create | --no-create | --no-creat | --no-crea | --no-cre \    do
1038    | --no-cr | --no-c | -n ) continue ;;      case $ac_arg in
1039    -no-recursion | --no-recursion | --no-recursio | --no-recursi \      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1040    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1041      continue ;;      | -silent | --silent | --silen | --sile | --sil)
1042    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)        continue ;;
1043      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;      *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1044    esac        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1045    case " $ac_configure_args " in      esac
1046      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.      case $ac_pass in
1047      *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1048         ac_sep=" " ;;      2)
1049    esac        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1050    # Get rid of the leading space.        if test $ac_must_keep_next = true; then
1051            ac_must_keep_next=false # Got value, back to normal.
1052          else
1053            case $ac_arg in
1054              *=* | --config-cache | -C | -disable-* | --disable-* \
1055              | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1056              | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1057              | -with-* | --with-* | -without-* | --without-* | --x)
1058                case "$ac_configure_args0 " in
1059                  "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1060                esac
1061                ;;
1062              -* ) ac_must_keep_next=true ;;
1063            esac
1064          fi
1065          ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1066          # Get rid of the leading space.
1067          ac_sep=" "
1068          ;;
1069        esac
1070      done
1071  done  done
1072    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1073    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1074    
1075  # When interrupted or exit'd, cleanup temporary files, and complete  # When interrupted or exit'd, cleanup temporary files, and complete
1076  # config.log.  We remove comments because anyway the quotes in there  # config.log.  We remove comments because anyway the quotes in there
# Line 1037  trap 'exit_status=$? Line 1081  trap 'exit_status=$?
1081    # Save into config.log some information that might help in debugging.    # Save into config.log some information that might help in debugging.
1082    {    {
1083      echo      echo
1084    
1085      cat <<\_ASBOX      cat <<\_ASBOX
1086  ## ---------------- ##  ## ---------------- ##
1087  ## Cache variables. ##  ## Cache variables. ##
# Line 1059  _ASBOX Line 1104  _ASBOX
1104      esac;      esac;
1105  }  }
1106      echo      echo
1107    
1108        cat <<\_ASBOX
1109    ## ----------------- ##
1110    ## Output variables. ##
1111    ## ----------------- ##
1112    _ASBOX
1113        echo
1114        for ac_var in $ac_subst_vars
1115        do
1116          eval ac_val=$`echo $ac_var`
1117          echo "$ac_var='"'"'$ac_val'"'"'"
1118        done | sort
1119        echo
1120    
1121        if test -n "$ac_subst_files"; then
1122          cat <<\_ASBOX
1123    ## ------------- ##
1124    ## Output files. ##
1125    ## ------------- ##
1126    _ASBOX
1127          echo
1128          for ac_var in $ac_subst_files
1129          do
1130            eval ac_val=$`echo $ac_var`
1131            echo "$ac_var='"'"'$ac_val'"'"'"
1132          done | sort
1133          echo
1134        fi
1135    
1136      if test -s confdefs.h; then      if test -s confdefs.h; then
1137        cat <<\_ASBOX        cat <<\_ASBOX
1138  ## ----------- ##  ## ----------- ##
# Line 1066  _ASBOX Line 1140  _ASBOX
1140  ## ----------- ##  ## ----------- ##
1141  _ASBOX  _ASBOX
1142        echo        echo
1143        sed "/^$/d" confdefs.h        sed "/^$/d" confdefs.h | sort
1144        echo        echo
1145      fi      fi
1146      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
# Line 1223  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1297  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1297    
1298    
1299    
1300  ac_config_headers="$ac_config_headers h/gclincl.h"  
1301              ac_config_headers="$ac_config_headers h/gclincl.h"
1302    
1303    
1304  VERSION=2.5.0  VERSION=2.5.0
# Line 1927  if test $ac_prog_rejected = yes; then Line 2002  if test $ac_prog_rejected = yes; then
2002      # However, it has the same basename, so the bogon will be chosen      # However, it has the same basename, so the bogon will be chosen
2003      # first if we set CC to just the basename; use the full file name.      # first if we set CC to just the basename; use the full file name.
2004      shift      shift
2005      set dummy "$as_dir/$ac_word" ${1+"$@"}      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     shift  
     ac_cv_prog_CC="$@"  
2006    fi    fi
2007  fi  fi
2008  fi  fi
# Line 2034  fi Line 2107  fi
2107  fi  fi
2108    
2109    
2110  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2111  echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}  See \`config.log' for more details." >&5
2112    echo "$as_me: error: no acceptable C compiler found in \$PATH
2113    See \`config.log' for more details." >&2;}
2114     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2115    
2116  # Provide some information about the compiler.  # Provide some information about the compiler.
# Line 2060  ac_compiler=`set X $ac_compile; echo $2` Line 2135  ac_compiler=`set X $ac_compile; echo $2`
2135    
2136  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
2137  #line $LINENO "configure"  #line $LINENO "configure"
2138  #include "confdefs.h"  /* confdefs.h.  */
2139    _ACEOF
2140    cat confdefs.h >>conftest.$ac_ext
2141    cat >>conftest.$ac_ext <<_ACEOF
2142    /* end confdefs.h.  */
2143    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2144  int  int
2145  main ()  main ()
2146  {  {
# Line 2077  main () Line 2150  main ()
2150  }  }
2151  _ACEOF  _ACEOF
2152  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2153  ac_clean_files="$ac_clean_files a.out a.exe"  ac_clean_files="$ac_clean_files a.out a.exe b.out"
2154  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2155  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2156  # of exeext.  # of exeext.
# Line 2096  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 2169  if { (eval echo "$as_me:$LINENO: \"$ac_l
2169  # Be careful to initialize this variable, since it used to be cached.  # Be careful to initialize this variable, since it used to be cached.
2170  # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.  # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2171  ac_cv_exeext=  ac_cv_exeext=
2172  for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;  # b.out is created by i960 compilers.
2173                  ls a.out conftest 2>/dev/null;  for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2174                  ls a.* conftest.* 2>/dev/null`; do  do
2175      test -f "$ac_file" || continue
2176    case $ac_file in    case $ac_file in
2177      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2178      a.out ) # We found the default executable, but exeext='' is most          ;;
2179              # certainly right.      conftest.$ac_ext )
2180              break;;          # This is the source file.
2181      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`          ;;
2182            # FIXME: I believe we export ac_cv_exeext for Libtool --akim.      [ab].out )
2183            export ac_cv_exeext          # We found the default executable, but exeext='' is most
2184            break;;          # certainly right.
2185      * ) break;;          break;;
2186        *.* )
2187            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2188            # FIXME: I believe we export ac_cv_exeext for Libtool,
2189            # but it would be cool to find out if it's true.  Does anybody
2190            # maintain Libtool? --akim.
2191            export ac_cv_exeext
2192            break;;
2193        * )
2194            break;;
2195    esac    esac
2196  done  done
2197  else  else
2198    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2199  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2200  { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5  
2201  echo "$as_me: error: C compiler cannot create executables" >&2;}  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2202    See \`config.log' for more details." >&5
2203    echo "$as_me: error: C compiler cannot create executables
2204    See \`config.log' for more details." >&2;}
2205     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }
2206  fi  fi
2207    
# Line 2142  if test "$cross_compiling" != yes; then Line 2228  if test "$cross_compiling" != yes; then
2228          cross_compiling=yes          cross_compiling=yes
2229      else      else
2230          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2231  If you meant to cross compile, use \`--host'." >&5  If you meant to cross compile, use \`--host'.
2232    See \`config.log' for more details." >&5
2233  echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2234  If you meant to cross compile, use \`--host'." >&2;}  If you meant to cross compile, use \`--host'.
2235    See \`config.log' for more details." >&2;}
2236     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2237      fi      fi
2238    fi    fi
# Line 2152  fi Line 2240  fi
2240  echo "$as_me:$LINENO: result: yes" >&5  echo "$as_me:$LINENO: result: yes" >&5
2241  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
2242    
2243  rm -f a.out a.exe conftest$ac_cv_exeext  rm -f a.out a.exe conftest$ac_cv_exeext b.out
2244  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2245  # Check the compiler produces executables we can run.  If not, either  # Check the compiler produces executables we can run.  If not, either
2246  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
# Line 2172  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 2260  if { (eval echo "$as_me:$LINENO: \"$ac_l
2260  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2261  # work properly (i.e., refer to `conftest.exe'), while it won't with  # work properly (i.e., refer to `conftest.exe'), while it won't with
2262  # `rm'.  # `rm'.
2263  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do  for ac_file in conftest.exe conftest conftest.*; do
2264      test -f "$ac_file" || continue
2265    case $ac_file in    case $ac_file in
2266      *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2267      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2268            export ac_cv_exeext            export ac_cv_exeext
2269            break;;            break;;
# Line 2182  for ac_file in `(ls conftest.exe; ls con Line 2271  for ac_file in `(ls conftest.exe; ls con
2271    esac    esac
2272  done  done
2273  else  else
2274    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2275  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}  See \`config.log' for more details." >&5
2276    echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2277    See \`config.log' for more details." >&2;}
2278     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2279  fi  fi
2280    
# Line 2201  if test "${ac_cv_objext+set}" = set; the Line 2292  if test "${ac_cv_objext+set}" = set; the
2292  else  else
2293    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2294  #line $LINENO "configure"  #line $LINENO "configure"
2295  #include "confdefs.h"  /* confdefs.h.  */
2296    _ACEOF
2297    cat confdefs.h >>conftest.$ac_ext
2298    cat >>conftest.$ac_ext <<_ACEOF
2299    /* end confdefs.h.  */
2300    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2301  int  int
2302  main ()  main ()
2303  {  {
# Line 2225  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2314  if { (eval echo "$as_me:$LINENO: \"$ac_c
2314    (exit $ac_status); }; then    (exit $ac_status); }; then
2315    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2316    case $ac_file in    case $ac_file in
2317      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2318      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2319         break;;         break;;
2320    esac    esac
2321  done  done
2322  else  else
2323    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2324  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2325  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5  
2326  echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2327    See \`config.log' for more details." >&5
2328    echo "$as_me: error: cannot compute suffix of object files: cannot compile
2329    See \`config.log' for more details." >&2;}
2330     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2331  fi  fi
2332    
# Line 2251  if test "${ac_cv_c_compiler_gnu+set}" = Line 2343  if test "${ac_cv_c_compiler_gnu+set}" =
2343  else  else
2344    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2345  #line $LINENO "configure"  #line $LINENO "configure"
2346  #include "confdefs.h"  /* confdefs.h.  */
2347    _ACEOF
2348    cat confdefs.h >>conftest.$ac_ext
2349    cat >>conftest.$ac_ext <<_ACEOF
2350    /* end confdefs.h.  */
2351    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2352  int  int
2353  main ()  main ()
2354  {  {
# Line 2285  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2375  if { (eval echo "$as_me:$LINENO: \"$ac_c
2375    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2376  else  else
2377    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2378  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2379    
2380  ac_compiler_gnu=no  ac_compiler_gnu=no
2381  fi  fi
2382  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 2305  if test "${ac_cv_prog_cc_g+set}" = set; Line 2396  if test "${ac_cv_prog_cc_g+set}" = set;
2396  else  else
2397    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2398  #line $LINENO "configure"  #line $LINENO "configure"
2399  #include "confdefs.h"  /* confdefs.h.  */
2400    _ACEOF
2401    cat confdefs.h >>conftest.$ac_ext
2402    cat >>conftest.$ac_ext <<_ACEOF
2403    /* end confdefs.h.  */
2404    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2405  int  int
2406  main ()  main ()
2407  {  {
# Line 2336  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2425  if { (eval echo "$as_me:$LINENO: \"$ac_c
2425    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2426  else  else
2427    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2428  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2429    
2430  ac_cv_prog_cc_g=no  ac_cv_prog_cc_g=no
2431  fi  fi
2432  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 2358  else Line 2448  else
2448      CFLAGS=      CFLAGS=
2449    fi    fi
2450  fi  fi
2451    echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2452    echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2453    if test "${ac_cv_prog_cc_stdc+set}" = set; then
2454      echo $ECHO_N "(cached) $ECHO_C" >&6
2455    else
2456      ac_cv_prog_cc_stdc=no
2457    ac_save_CC=$CC
2458    cat >conftest.$ac_ext <<_ACEOF
2459    #line $LINENO "configure"
2460    /* confdefs.h.  */
2461    _ACEOF
2462    cat confdefs.h >>conftest.$ac_ext
2463    cat >>conftest.$ac_ext <<_ACEOF
2464    /* end confdefs.h.  */
2465    #include <stdarg.h>
2466    #include <stdio.h>
2467    #include <sys/types.h>
2468    #include <sys/stat.h>
2469    /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2470    struct buf { int x; };
2471    FILE * (*rcsopen) (struct buf *, struct stat *, int);
2472    static char *e (p, i)
2473         char **p;
2474         int i;
2475    {
2476      return p[i];
2477    }
2478    static char *f (char * (*g) (char **, int), char **p, ...)
2479    {
2480      char *s;
2481      va_list v;
2482      va_start (v,p);
2483      s = g (p, va_arg (v,int));
2484      va_end (v);
2485      return s;
2486    }
2487    int test (int i, double x);
2488    struct s1 {int (*f) (int a);};
2489    struct s2 {int (*f) (double a);};
2490    int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2491    int argc;
2492    char **argv;
2493    int
2494    main ()
2495    {
2496    return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2497      ;
2498      return 0;
2499    }
2500    _ACEOF
2501    # Don't try gcc -ansi; that turns off useful extensions and
2502    # breaks some systems' header files.
2503    # AIX                   -qlanglvl=ansi
2504    # Ultrix and OSF/1      -std1
2505    # HP-UX 10.20 and later -Ae
2506    # HP-UX older versions  -Aa -D_HPUX_SOURCE
2507    # SVR4                  -Xc -D__EXTENSIONS__
2508    for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2509    do
2510      CC="$ac_save_CC $ac_arg"
2511      rm -f conftest.$ac_objext
2512    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513      (eval $ac_compile) 2>&5
2514      ac_status=$?
2515      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516      (exit $ac_status); } &&
2517             { ac_try='test -s conftest.$ac_objext'
2518      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519      (eval $ac_try) 2>&5
2520      ac_status=$?
2521      echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522      (exit $ac_status); }; }; then
2523      ac_cv_prog_cc_stdc=$ac_arg
2524    break
2525    else
2526      echo "$as_me: failed program was:" >&5
2527    sed 's/^/| /' conftest.$ac_ext >&5
2528    
2529    fi
2530    rm -f conftest.$ac_objext
2531    done
2532    rm -f conftest.$ac_ext conftest.$ac_objext
2533    CC=$ac_save_CC
2534    
2535    fi
2536    
2537    case "x$ac_cv_prog_cc_stdc" in
2538      x|xno)
2539        echo "$as_me:$LINENO: result: none needed" >&5
2540    echo "${ECHO_T}none needed" >&6 ;;
2541      *)
2542        echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2543    echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2544        CC="$CC $ac_cv_prog_cc_stdc" ;;
2545    esac
2546    
2547  # Some people use a C++ compiler to compile C.  Since we use `exit',  # Some people use a C++ compiler to compile C.  Since we use `exit',
2548  # in C++ we need to declare it.  In case someone uses the same compiler  # in C++ we need to declare it.  In case someone uses the same compiler
2549  # for both compiling C and C++ we need to have the C++ compiler decide  # for both compiling C and C++ we need to have the C++ compiler decide
# Line 2390  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2576  if { (eval echo "$as_me:$LINENO: \"$ac_c
2576  do  do
2577    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2578  #line $LINENO "configure"  #line $LINENO "configure"
2579  #include "confdefs.h"  /* confdefs.h.  */
2580    _ACEOF
2581    cat confdefs.h >>conftest.$ac_ext
2582    cat >>conftest.$ac_ext <<_ACEOF
2583    /* end confdefs.h.  */
2584  #include <stdlib.h>  #include <stdlib.h>
2585  $ac_declaration  $ac_declaration
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2586  int  int
2587  main ()  main ()
2588  {  {
# Line 2422  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2606  if { (eval echo "$as_me:$LINENO: \"$ac_c
2606    :    :
2607  else  else
2608    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2609  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2610    
2611  continue  continue
2612  fi  fi
2613  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2614    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2615  #line $LINENO "configure"  #line $LINENO "configure"
2616  #include "confdefs.h"  /* confdefs.h.  */
2617    _ACEOF
2618    cat confdefs.h >>conftest.$ac_ext
2619    cat >>conftest.$ac_ext <<_ACEOF
2620    /* end confdefs.h.  */
2621  $ac_declaration  $ac_declaration
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
2622  int  int
2623  main ()  main ()
2624  {  {
# Line 2459  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 2642  if { (eval echo "$as_me:$LINENO: \"$ac_c
2642    break    break
2643  else  else
2644    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2645  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2646    
2647  fi  fi
2648  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2649  done  done
# Line 2472  fi Line 2656  fi
2656    
2657  else  else
2658    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2659  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2660    
2661  fi  fi
2662  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
2663  ac_ext=c  ac_ext=c
# Line 2504  for ac_c_preproc_warn_flag in '' yes Line 2689  for ac_c_preproc_warn_flag in '' yes
2689  do  do
2690    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
2691    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
2692      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2693      # <limits.h> exists even on freestanding compilers.
2694    # 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,
2695    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
2696    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2697  #line $LINENO "configure"  #line $LINENO "configure"
2698  #include "confdefs.h"  /* confdefs.h.  */
2699  #include <assert.h>  _ACEOF
2700    cat confdefs.h >>conftest.$ac_ext
2701    cat >>conftest.$ac_ext <<_ACEOF
2702    /* end confdefs.h.  */
2703    #ifdef __STDC__
2704    # include <limits.h>
2705    #else
2706    # include <assert.h>
2707    #endif
2708                       Syntax error                       Syntax error
2709  _ACEOF  _ACEOF
2710  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2711    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2712    ac_status=$?    ac_status=$?
2713    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2714    rm -f conftest.er1    rm -f conftest.er1
2715    cat conftest.err >&5    cat conftest.err >&5
2716    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 2532  if test -z "$ac_cpp_err"; then Line 2727  if test -z "$ac_cpp_err"; then
2727    :    :
2728  else  else
2729    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2730    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2731    
2732    # Broken: fails on valid input.    # Broken: fails on valid input.
2733  continue  continue
2734  fi  fi
# Line 2542  rm -f conftest.err conftest.$ac_ext Line 2738  rm -f conftest.err conftest.$ac_ext
2738    # can be detected and how.    # can be detected and how.
2739    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2740  #line $LINENO "configure"  #line $LINENO "configure"
2741  #include "confdefs.h"  /* confdefs.h.  */
2742    _ACEOF
2743    cat confdefs.h >>conftest.$ac_ext
2744    cat >>conftest.$ac_ext <<_ACEOF
2745    /* end confdefs.h.  */
2746  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
2747  _ACEOF  _ACEOF
2748  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2749    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2750    ac_status=$?    ac_status=$?
2751    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2752    rm -f conftest.er1    rm -f conftest.er1
2753    cat conftest.err >&5    cat conftest.err >&5
2754    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 2566  if test -z "$ac_cpp_err"; then Line 2766  if test -z "$ac_cpp_err"; then
2766  continue  continue
2767  else  else
2768    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2769    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2770    
2771    # Passes both tests.    # Passes both tests.
2772  ac_preproc_ok=:  ac_preproc_ok=:
2773  break  break
# Line 2595  for ac_c_preproc_warn_flag in '' yes Line 2796  for ac_c_preproc_warn_flag in '' yes
2796  do  do
2797    # Use a header file that comes with gcc, so configuring glibc    # Use a header file that comes with gcc, so configuring glibc
2798    # with a fresh cross-compiler works.    # with a fresh cross-compiler works.
2799      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2800      # <limits.h> exists even on freestanding compilers.
2801    # 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,
2802    # not just through cpp. "Syntax error" is here to catch this case.    # not just through cpp. "Syntax error" is here to catch this case.
2803    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2804  #line $LINENO "configure"  #line $LINENO "configure"
2805  #include "confdefs.h"  /* confdefs.h.  */
2806  #include <assert.h>  _ACEOF
2807    cat confdefs.h >>conftest.$ac_ext
2808    cat >>conftest.$ac_ext <<_ACEOF
2809    /* end confdefs.h.  */
2810    #ifdef __STDC__
2811    # include <limits.h>
2812    #else
2813    # include <assert.h>
2814    #endif
2815                       Syntax error                       Syntax error
2816  _ACEOF  _ACEOF
2817  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2818    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2819    ac_status=$?    ac_status=$?
2820    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2821    rm -f conftest.er1    rm -f conftest.er1
2822    cat conftest.err >&5    cat conftest.err >&5
2823    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 2623  if test -z "$ac_cpp_err"; then Line 2834  if test -z "$ac_cpp_err"; then
2834    :    :
2835  else  else
2836    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2837    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2838    
2839    # Broken: fails on valid input.    # Broken: fails on valid input.
2840  continue  continue
2841  fi  fi
# Line 2633  rm -f conftest.err conftest.$ac_ext Line 2845  rm -f conftest.err conftest.$ac_ext
2845    # can be detected and how.    # can be detected and how.
2846    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2847  #line $LINENO "configure"  #line $LINENO "configure"
2848  #include "confdefs.h"  /* confdefs.h.  */
2849    _ACEOF
2850    cat confdefs.h >>conftest.$ac_ext
2851    cat >>conftest.$ac_ext <<_ACEOF
2852    /* end confdefs.h.  */
2853  #include <ac_nonexistent.h>  #include <ac_nonexistent.h>
2854  _ACEOF  _ACEOF
2855  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2856    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2857    ac_status=$?    ac_status=$?
2858    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2859    rm -f conftest.er1    rm -f conftest.er1
2860    cat conftest.err >&5    cat conftest.err >&5
2861    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 2657  if test -z "$ac_cpp_err"; then Line 2873  if test -z "$ac_cpp_err"; then
2873  continue  continue
2874  else  else
2875    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2876    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2877    
2878    # Passes both tests.    # Passes both tests.
2879  ac_preproc_ok=:  ac_preproc_ok=:
2880  break  break
# Line 2670  rm -f conftest.err conftest.$ac_ext Line 2887  rm -f conftest.err conftest.$ac_ext
2887  if $ac_preproc_ok; then  if $ac_preproc_ok; then
2888    :    :
2889  else  else
2890    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2891  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}  See \`config.log' for more details." >&5
2892    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2893    See \`config.log' for more details." >&2;}
2894     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2895  fi  fi
2896    
# Line 2897  echo $ECHO_N "checking use_gmp=yes, doin Line 3116  echo $ECHO_N "checking use_gmp=yes, doin
3116   PATCHED_SYMBOLS=""   PATCHED_SYMBOLS=""
3117   if test "$enable_dynsysgmp" = "yes" ; then   if test "$enable_dynsysgmp" = "yes" ; then
3118    
3119    echo "$as_me:$LINENO: checking for egrep" >&5
3120    echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3121    if test "${ac_cv_prog_egrep+set}" = set; then
3122      echo $ECHO_N "(cached) $ECHO_C" >&6
3123    else
3124      if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3125        then ac_cv_prog_egrep='grep -E'
3126        else ac_cv_prog_egrep='egrep'
3127        fi
3128    fi
3129    echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3130    echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3131     EGREP=$ac_cv_prog_egrep
3132    
3133    
3134  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3135  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3136  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
# Line 2904  if test "${ac_cv_header_stdc+set}" = set Line 3138  if test "${ac_cv_header_stdc+set}" = set
3138  else  else
3139    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3140  #line $LINENO "configure"  #line $LINENO "configure"
3141  #include "confdefs.h"  /* confdefs.h.  */
3142    _ACEOF
3143    cat confdefs.h >>conftest.$ac_ext
3144    cat >>conftest.$ac_ext <<_ACEOF
3145    /* end confdefs.h.  */
3146  #include <stdlib.h>  #include <stdlib.h>
3147  #include <stdarg.h>  #include <stdarg.h>
3148  #include <string.h>  #include <string.h>
3149  #include <float.h>  #include <float.h>
3150    
3151    int
3152    main ()
3153    {
3154    
3155      ;
3156      return 0;
3157    }
3158  _ACEOF  _ACEOF
3159  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  rm -f conftest.$ac_objext
3160    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3161      (eval $ac_compile) 2>&5
3162    ac_status=$?    ac_status=$?
   egrep -v '^ *\+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
3163    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164    (exit $ac_status); } >/dev/null; then    (exit $ac_status); } &&
3165    if test -s conftest.err; then           { ac_try='test -s conftest.$ac_objext'
3166      ac_cpp_err=$ac_c_preproc_warn_flag    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167    else    (eval $ac_try) 2>&5
3168      ac_cpp_err=    ac_status=$?
3169    fi    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170  else    (exit $ac_status); }; }; then
   ac_cpp_err=yes  
 fi  
 if test -z "$ac_cpp_err"; then  
3171    ac_cv_header_stdc=yes    ac_cv_header_stdc=yes
3172  else  else
3173    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3174    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3175    ac_cv_header_stdc=no  
3176    ac_cv_header_stdc=no
3177  fi  fi
3178  rm -f conftest.err conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
3179    
3180  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
3181    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3182    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3183  #line $LINENO "configure"  #line $LINENO "configure"
3184  #include "confdefs.h"  /* confdefs.h.  */
3185    _ACEOF
3186    cat confdefs.h >>conftest.$ac_ext
3187    cat >>conftest.$ac_ext <<_ACEOF
3188    /* end confdefs.h.  */
3189  #include <string.h>  #include <string.h>
3190    
3191  _ACEOF  _ACEOF
3192  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3193    egrep "memchr" >/dev/null 2>&1; then    $EGREP "memchr" >/dev/null 2>&1; then
3194    :    :
3195  else  else
3196    ac_cv_header_stdc=no    ac_cv_header_stdc=no
# Line 2958  if test $ac_cv_header_stdc = yes; then Line 3203  if test $ac_cv_header_stdc = yes; then
3203    # 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.
3204    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3205  #line $LINENO "configure"  #line $LINENO "configure"
3206  #include "confdefs.h"  /* confdefs.h.  */
3207    _ACEOF
3208    cat confdefs.h >>conftest.$ac_ext
3209    cat >>conftest.$ac_ext <<_ACEOF
3210    /* end confdefs.h.  */
3211  #include <stdlib.h>  #include <stdlib.h>
3212    
3213  _ACEOF  _ACEOF
3214  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3215    egrep "free" >/dev/null 2>&1; then    $EGREP "free" >/dev/null 2>&1; then
3216    :    :
3217  else  else
3218    ac_cv_header_stdc=no    ac_cv_header_stdc=no
# Line 2979  if test $ac_cv_header_stdc = yes; then Line 3228  if test $ac_cv_header_stdc = yes; then
3228  else  else
3229    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3230  #line $LINENO "configure"  #line $LINENO "configure"
3231  #include "confdefs.h"  /* confdefs.h.  */
3232    _ACEOF
3233    cat confdefs.h >>conftest.$ac_ext
3234    cat >>conftest.$ac_ext <<_ACEOF
3235    /* end confdefs.h.  */
3236  #include <ctype.h>  #include <ctype.h>
3237  #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
3238  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3239  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3240  #else  #else
3241  # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \  # define ISLOWER(c) \
3242                       (('a' <= (c) && (c) <= 'i') \
3243                       || ('j' <= (c) && (c) <= 'r') \                       || ('j' <= (c) && (c) <= 'r') \
3244                       || ('s' <= (c) && (c) <= 'z'))                       || ('s' <= (c) && (c) <= 'z'))
3245  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
# Line 3018  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 3272  if { (eval echo "$as_me:$LINENO: \"$ac_l
3272  else  else
3273    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
3274  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
3275  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3276    
3277  ( exit $ac_status )  ( exit $ac_status )
3278  ac_cv_header_stdc=no  ac_cv_header_stdc=no
3279  fi  fi
3280  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3281  fi  fi
3282  fi  fi
3283  fi  fi
# Line 3057  if eval "test \"\${$as_ac_Header+set}\" Line 3312  if eval "test \"\${$as_ac_Header+set}\"
3312  else  else
3313    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3314  #line $LINENO "configure"  #line $LINENO "configure"
3315  #include "confdefs.h"  /* confdefs.h.  */
3316    _ACEOF
3317    cat confdefs.h >>conftest.$ac_ext
3318    cat >>conftest.$ac_ext <<_ACEOF
3319    /* end confdefs.h.  */
3320  $ac_includes_default  $ac_includes_default
3321    
3322  #include <$ac_header>  #include <$ac_header>
# Line 3077  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3336  if { (eval echo "$as_me:$LINENO: \"$ac_c
3336    eval "$as_ac_Header=yes"    eval "$as_ac_Header=yes"
3337  else  else
3338    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3339  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3340    
3341  eval "$as_ac_Header=no"  eval "$as_ac_Header=no"
3342  fi  fi
3343  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3108  echo "$as_me:$LINENO: checking gmp.h usa Line 3368  echo "$as_me:$LINENO: checking gmp.h usa
3368  echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6  echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
3369  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3370  #line $LINENO "configure"  #line $LINENO "configure"
3371  #include "confdefs.h"  /* confdefs.h.  */
3372    _ACEOF
3373    cat confdefs.h >>conftest.$ac_ext
3374    cat >>conftest.$ac_ext <<_ACEOF
3375    /* end confdefs.h.  */
3376  $ac_includes_default  $ac_includes_default
3377  #include <gmp.h>  #include <gmp.h>
3378  _ACEOF  _ACEOF
# Line 3127  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 3391  if { (eval echo "$as_me:$LINENO: \"$ac_c
3391    ac_header_compiler=yes    ac_header_compiler=yes
3392  else  else
3393    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3394  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3395    
3396  ac_header_compiler=no  ac_header_compiler=no
3397  fi  fi
3398  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3139  echo "$as_me:$LINENO: checking gmp.h pre Line 3404  echo "$as_me:$LINENO: checking gmp.h pre
3404  echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6  echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
3405  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3406  #line $LINENO "configure"  #line $LINENO "configure"
3407  #include "confdefs.h"  /* confdefs.h.  */
3408    _ACEOF
3409    cat confdefs.h >>conftest.$ac_ext
3410    cat >>conftest.$ac_ext <<_ACEOF
3411    /* end confdefs.h.  */
3412  #include <gmp.h>  #include <gmp.h>
3413  _ACEOF  _ACEOF
3414  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3415    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3416    ac_status=$?    ac_status=$?
3417    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3418    rm -f conftest.er1    rm -f conftest.er1
3419    cat conftest.err >&5    cat conftest.err >&5
3420    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 3162  if test -z "$ac_cpp_err"; then Line 3431  if test -z "$ac_cpp_err"; then
3431    ac_header_preproc=yes    ac_header_preproc=yes
3432  else  else
3433    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3434    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3435    
3436    ac_header_preproc=no    ac_header_preproc=no
3437  fi  fi
3438  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 3175  case $ac_header_compiler:$ac_header_prep Line 3445  case $ac_header_compiler:$ac_header_prep
3445      { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
3446  echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3447      { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
3448  echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
3449        (
3450          cat <<\_ASBOX
3451    ## ------------------------------------ ##
3452    ## Report this to bug-autoconf@gnu.org. ##
3453    ## ------------------------------------ ##
3454    _ASBOX
3455        ) |
3456          sed "s/^/$as_me: WARNING:     /" >&2
3457        ;;
3458    no:yes )    no:yes )
3459      { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
3460  echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
3461      { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
3462  echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
3463      { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
3464  echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
3465        (
3466          cat <<\_ASBOX
3467    ## ------------------------------------ ##
3468    ## Report this to bug-autoconf@gnu.org. ##
3469    ## ------------------------------------ ##
3470    _ASBOX
3471        ) |
3472          sed "s/^/$as_me: WARNING:     /" >&2
3473        ;;
3474  esac  esac
3475  echo "$as_me:$LINENO: checking for gmp.h" >&5  echo "$as_me:$LINENO: checking for gmp.h" >&5
3476  echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6  echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
# Line 3206  LIBS="-lgmp  $LIBS" Line 3494  LIBS="-lgmp  $LIBS"
3494    
3495  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
3496  #line $LINENO "configure"  #line $LINENO "configure"
3497  #include "confdefs.h"  /* confdefs.h.  */
3498    _ACEOF
3499    cat confdefs.h >>conftest.$ac_ext
3500    cat >>conftest.$ac_ext <<_ACEOF
3501    /* end confdefs.h.  */
3502    
3503  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
3504  #ifdef __cplusplus  #ifdef __cplusplus
# Line 3215  extern "C" Line 3507  extern "C"
3507  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
3508     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
3509  char __gmpz_init ();  char __gmpz_init ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
3510  int  int
3511  main ()  main ()
3512  {  {
# Line 3244  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 3530  if { (eval echo "$as_me:$LINENO: \"$ac_l
3530    ac_cv_lib_gmp___gmpz_init=yes    ac_cv_lib_gmp___gmpz_init=yes
3531  else  else
3532    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3533  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3534    
3535  ac_cv_lib_gmp___gmpz_init=no  ac_cv_lib_gmp___gmpz_init=no
3536  fi  fi
3537  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 3289  echo $ECHO_N "checking \"for size of gmp Line 3576  echo $ECHO_N "checking \"for size of gmp
3576  else  else
3577    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3578  #line $LINENO "configure"  #line $LINENO "configure"
3579  #include "confdefs.h"  /* confdefs.h.  */
3580    _ACEOF
3581    cat confdefs.h >>conftest.$ac_ext
3582    cat >>conftest.$ac_ext <<_ACEOF
3583    /* end confdefs.h.  */
3584  #include <stdio.h>  #include <stdio.h>
3585          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
3586          int main() {          int main() {
# Line 3314  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 3605  if { (eval echo "$as_me:$LINENO: \"$ac_l
3605  else  else
3606    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
3607  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
3608  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3609    
3610  ( exit $ac_status )  ( exit $ac_status )
3611  mpsize=0  mpsize=0
3612  fi  fi
3613  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3614  fi  fi
3615   if test "$mpsize" = "0" ; then   if test "$mpsize" = "0" ; then
3616          echo "Cannot determine mpsize"          echo "Cannot determine mpsize"
# Line 3339  echo "${ECHO_T}no" >&6 Line 3631  echo "${ECHO_T}no" >&6
3631  else  else
3632    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3633  #line $LINENO "configure"  #line $LINENO "configure"
3634  #include "confdefs.h"  /* confdefs.h.  */
3635    _ACEOF
3636    cat confdefs.h >>conftest.$ac_ext
3637    cat >>conftest.$ac_ext <<_ACEOF
3638    /* end confdefs.h.  */
3639  #include <stdio.h>  #include <stdio.h>
3640          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
3641          int main() {          int main() {
# Line 3369  echo "${ECHO_T}yes" >&6 Line 3665  echo "${ECHO_T}yes" >&6
3665  else  else
3666    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
3667  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
3668  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3669    
3670  ( exit $ac_status )  ( exit $ac_status )
3671  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
3672  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3673  fi  fi
3674  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3675  fi  fi
3676   echo "$as_me:$LINENO: checking \"_LONG_LONG_LIMB\"" >&5   echo "$as_me:$LINENO: checking \"_LONG_LONG_LIMB\"" >&5
3677  echo $ECHO_N "checking \"_LONG_LONG_LIMB\"... $ECHO_C" >&6  echo $ECHO_N "checking \"_LONG_LONG_LIMB\"... $ECHO_C" >&6
# Line 3384  echo "${ECHO_T}no" >&6 Line 3681  echo "${ECHO_T}no" >&6
3681  else  else
3682    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3683  #line $LINENO "configure"  #line $LINENO "configure"
3684  #include "confdefs.h"  /* confdefs.h.  */
3685    _ACEOF
3686    cat confdefs.h >>conftest.$ac_ext
3687    cat >>conftest.$ac_ext <<_ACEOF
3688    /* end confdefs.h.  */
3689  #include <stdio.h>  #include <stdio.h>
3690          #include "$MP_INCLUDE"          #include "$MP_INCLUDE"
3691          int main() {          int main() {
# Line 3414  echo "${ECHO_T}yes" >&6 Line 3715  echo "${ECHO_T}yes" >&6
3715  else  else
3716    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
3717  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
3718  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3719    
3720  ( exit $ac_status )  ( exit $ac_status )
3721  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
3722  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
3723  fi  fi
3724  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3725  fi  fi
3726    
3727   GMP=1   GMP=1
# Line 3539  if test "$ac_x_includes" = no; then Line 3841  if test "$ac_x_includes" = no; then
3841    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
3842    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3843  #line $LINENO "configure"  #line $LINENO "configure"
3844  #include "confdefs.h"  /* confdefs.h.  */
3845    _ACEOF
3846    cat confdefs.h >>conftest.$ac_ext
3847    cat >>conftest.$ac_ext <<_ACEOF
3848    /* end confdefs.h.  */
3849  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
3850  _ACEOF  _ACEOF
3851  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3852    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3853    ac_status=$?    ac_status=$?
3854    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
3855    rm -f conftest.er1    rm -f conftest.er1
3856    cat conftest.err >&5    cat conftest.err >&5
3857    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 3563  if test -z "$ac_cpp_err"; then Line 3869  if test -z "$ac_cpp_err"; then
3869  ac_x_includes=  ac_x_includes=
3870  else  else
3871    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3872    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3873    
3874    for ac_dir in $ac_x_header_dirs; do    for ac_dir in $ac_x_header_dirs; do
3875    if test -r "$ac_dir/X11/Intrinsic.h"; then    if test -r "$ac_dir/X11/Intrinsic.h"; then
3876      ac_x_includes=$ac_dir      ac_x_includes=$ac_dir
# Line 3582  if test "$ac_x_libraries" = no; then Line 3889  if test "$ac_x_libraries" = no; then
3889    LIBS="-lXt $LIBS"    LIBS="-lXt $LIBS"
3890    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
3891  #line $LINENO "configure"  #line $LINENO "configure"
3892  #include "confdefs.h"  /* confdefs.h.  */
3893    _ACEOF
3894    cat confdefs.h >>conftest.$ac_ext
3895    cat >>conftest.$ac_ext <<_ACEOF
3896    /* end confdefs.h.  */
3897  #include <X11/Intrinsic.h>  #include <X11/Intrinsic.h>
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
3898  int  int
3899  main ()  main ()
3900  {  {
# Line 3615  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 3920  if { (eval echo "$as_me:$LINENO: \"$ac_l
3920  ac_x_libraries=  ac_x_libraries=
3921  else  else
3922    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
3923  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
3924    
3925  LIBS=$ac_save_LIBS  LIBS=$ac_save_LIBS
3926  for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`  for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3927  do  do
# Line 3685  echo $ECHO_N "checking whether -R must b Line 3991  echo $ECHO_N "checking whether -R must b
3991        ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3992        cat >conftest.$ac_ext <<_ACEOF        cat >conftest.$ac_ext <<_ACEOF
3993  #line $LINENO "configure"  #line $LINENO "configure"
3994  #include "confdefs.h"  /* confdefs.h.  */
3995    _ACEOF
3996    cat confdefs.h >>conftest.$ac_ext
3997    cat >>conftest.$ac_ext <<_ACEOF
3998    /* end confdefs.h.  */
3999    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4000  int  int
4001  main ()  main ()
4002  {  {
# Line 3716  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4020  if { (eval echo "$as_me:$LINENO: \"$ac_l
4020    ac_R_nospace=yes    ac_R_nospace=yes
4021  else  else
4022    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4023  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4024    
4025  ac_R_nospace=no  ac_R_nospace=no
4026  fi  fi
4027  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 3728  echo "${ECHO_T}no" >&6 Line 4033  echo "${ECHO_T}no" >&6
4033          LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
4034          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
4035  #line $LINENO "configure"  #line $LINENO "configure"
4036  #include "confdefs.h"  /* confdefs.h.  */
4037    _ACEOF
4038    cat confdefs.h >>conftest.$ac_ext
4039    cat >>conftest.$ac_ext <<_ACEOF
4040    /* end confdefs.h.  */
4041    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4042  int  int
4043  main ()  main ()
4044  {  {
# Line 3759  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4062  if { (eval echo "$as_me:$LINENO: \"$ac_l
4062    ac_R_space=yes    ac_R_space=yes
4063  else  else
4064    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4065  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4066    
4067  ac_R_space=no  ac_R_space=no
4068  fi  fi
4069  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 3789  echo "${ECHO_T}neither works" >&6 Line 4093  echo "${ECHO_T}neither works" >&6
4093      ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"      ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4094      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
4095  #line $LINENO "configure"  #line $LINENO "configure"
4096  #include "confdefs.h"  /* confdefs.h.  */
4097    _ACEOF
4098    cat confdefs.h >>conftest.$ac_ext
4099    cat >>conftest.$ac_ext <<_ACEOF
4100    /* end confdefs.h.  */
4101    
4102  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4103  #ifdef __cplusplus  #ifdef __cplusplus
# Line 3798  extern "C" Line 4106  extern "C"
4106  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4107     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4108  char XOpenDisplay ();  char XOpenDisplay ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4109  int  int
4110  main ()  main ()
4111  {  {
# Line 3827  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4129  if { (eval echo "$as_me:$LINENO: \"$ac_l
4129    :    :
4130  else  else
4131    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4132  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4133    
4134  echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5  echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4135  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6  echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
4136  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then  if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
# Line 3837  else Line 4140  else
4140  LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
4141  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4142  #line $LINENO "configure"  #line $LINENO "configure"
4143  #include "confdefs.h"  /* confdefs.h.  */
4144    _ACEOF
4145    cat confdefs.h >>conftest.$ac_ext
4146    cat >>conftest.$ac_ext <<_ACEOF
4147    /* end confdefs.h.  */
4148    
4149  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4150  #ifdef __cplusplus  #ifdef __cplusplus
# Line 3846  extern "C" Line 4153  extern "C"
4153  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4154     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4155  char dnet_ntoa ();  char dnet_ntoa ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4156  int  int
4157  main ()  main ()
4158  {  {
# Line 3875  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4176  if { (eval echo "$as_me:$LINENO: \"$ac_l
4176    ac_cv_lib_dnet_dnet_ntoa=yes    ac_cv_lib_dnet_dnet_ntoa=yes
4177  else  else
4178    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4179  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4180    
4181  ac_cv_lib_dnet_dnet_ntoa=no  ac_cv_lib_dnet_dnet_ntoa=no
4182  fi  fi
4183  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 3897  else Line 4199  else
4199  LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
4200  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4201  #line $LINENO "configure"  #line $LINENO "configure"
4202  #include "confdefs.h"  /* confdefs.h.  */
4203    _ACEOF
4204    cat confdefs.h >>conftest.$ac_ext
4205    cat >>conftest.$ac_ext <<_ACEOF
4206    /* end confdefs.h.  */
4207    
4208  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4209  #ifdef __cplusplus  #ifdef __cplusplus
# Line 3906  extern "C" Line 4212  extern "C"
4212  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4213     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4214  char dnet_ntoa ();  char dnet_ntoa ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4215  int  int
4216  main ()  main ()
4217  {  {
# Line 3935  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4235  if { (eval echo "$as_me:$LINENO: \"$ac_l
4235    ac_cv_lib_dnet_stub_dnet_ntoa=yes    ac_cv_lib_dnet_stub_dnet_ntoa=yes
4236  else  else
4237    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4238  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4239    
4240  ac_cv_lib_dnet_stub_dnet_ntoa=no  ac_cv_lib_dnet_stub_dnet_ntoa=no
4241  fi  fi
4242  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 3967  if test "${ac_cv_func_gethostbyname+set} Line 4268  if test "${ac_cv_func_gethostbyname+set}
4268  else  else
4269    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4270  #line $LINENO "configure"  #line $LINENO "configure"
4271  #include "confdefs.h"  /* confdefs.h.  */
4272    _ACEOF
4273    cat confdefs.h >>conftest.$ac_ext
4274    cat >>conftest.$ac_ext <<_ACEOF
4275    /* end confdefs.h.  */
4276  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4277      which can conflict with char gethostbyname (); below.  */      which can conflict with char gethostbyname (); below.
4278  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4279        <limits.h> exists even on freestanding compilers.  */
4280    #ifdef __STDC__
4281    # include <limits.h>
4282    #else
4283    # include <assert.h>
4284    #endif
4285  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4286  #ifdef __cplusplus  #ifdef __cplusplus
4287  extern "C"  extern "C"
4288    {
4289  #endif  #endif
4290  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4291     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4292  char gethostbyname ();  char gethostbyname ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
4293  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
4294      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
4295      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
4296  #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)  #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
4297  choke me  choke me
4298  #else  #else
4299  f = gethostbyname;  char (*f) () = gethostbyname;
4300    #endif
4301    #ifdef __cplusplus
4302    }
4303  #endif  #endif
4304    
4305    int
4306    main ()
4307    {
4308    return f != gethostbyname;
4309    ;    ;
4310    return 0;    return 0;
4311  }  }
# Line 4017  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4325  if { (eval echo "$as_me:$LINENO: \"$ac_l
4325    ac_cv_func_gethostbyname=yes    ac_cv_func_gethostbyname=yes
4326  else  else
4327    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4328  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4329    
4330  ac_cv_func_gethostbyname=no  ac_cv_func_gethostbyname=no
4331  fi  fi
4332  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4035  else Line 4344  else
4344  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
4345  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4346  #line $LINENO "configure"  #line $LINENO "configure"
4347  #include "confdefs.h"  /* confdefs.h.  */
4348    _ACEOF
4349    cat confdefs.h >>conftest.$ac_ext
4350    cat >>conftest.$ac_ext <<_ACEOF
4351    /* end confdefs.h.  */
4352    
4353  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4354  #ifdef __cplusplus  #ifdef __cplusplus
# Line 4044  extern "C" Line 4357  extern "C"
4357  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4358     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4359  char gethostbyname ();  char gethostbyname ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4360  int  int
4361  main ()  main ()
4362  {  {
# Line 4073  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4380  if { (eval echo "$as_me:$LINENO: \"$ac_l
4380    ac_cv_lib_nsl_gethostbyname=yes    ac_cv_lib_nsl_gethostbyname=yes
4381  else  else
4382    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4383  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4384    
4385  ac_cv_lib_nsl_gethostbyname=no  ac_cv_lib_nsl_gethostbyname=no
4386  fi  fi
4387  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4095  else Line 4403  else
4403  LIBS="-lbsd  $LIBS"  LIBS="-lbsd  $LIBS"
4404  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4405  #line $LINENO "configure"  #line $LINENO "configure"
4406  #include "confdefs.h"  /* confdefs.h.  */
4407    _ACEOF
4408    cat confdefs.h >>conftest.$ac_ext
4409    cat >>conftest.$ac_ext <<_ACEOF
4410    /* end confdefs.h.  */
4411    
4412  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4413  #ifdef __cplusplus  #ifdef __cplusplus
# Line 4104  extern "C" Line 4416  extern "C"
4416  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4417     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4418  char gethostbyname ();  char gethostbyname ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4419  int  int
4420  main ()  main ()
4421  {  {
# Line 4133  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4439  if { (eval echo "$as_me:$LINENO: \"$ac_l
4439    ac_cv_lib_bsd_gethostbyname=yes    ac_cv_lib_bsd_gethostbyname=yes
4440  else  else
4441    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4442  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4443    
4444  ac_cv_lib_bsd_gethostbyname=no  ac_cv_lib_bsd_gethostbyname=no
4445  fi  fi
4446  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4152  fi Line 4459  fi
4459      # socket/setsockopt and other routines are undefined under SCO ODT      # socket/setsockopt and other routines are undefined under SCO ODT
4460      # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary      # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
4461      # on later versions), says Simon Leinen: it contains gethostby*      # on later versions), says Simon Leinen: it contains gethostby*
4462      # variants that don't use the nameserver (or something).  -lsocket      # variants that don't use the name server (or something).  -lsocket
4463      # must be given before -lnsl if both are needed.  We assume that      # must be given before -lnsl if both are needed.  We assume that
4464      # if connect needs -lnsl, so does gethostbyname.      # if connect needs -lnsl, so does gethostbyname.
4465      echo "$as_me:$LINENO: checking for connect" >&5      echo "$as_me:$LINENO: checking for connect" >&5
# Line 4162  if test "${ac_cv_func_connect+set}" = se Line 4469  if test "${ac_cv_func_connect+set}" = se
4469  else  else
4470    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4471  #line $LINENO "configure"  #line $LINENO "configure"
4472  #include "confdefs.h"  /* confdefs.h.  */
4473    _ACEOF
4474    cat confdefs.h >>conftest.$ac_ext
4475    cat >>conftest.$ac_ext <<_ACEOF
4476    /* end confdefs.h.  */
4477  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4478      which can conflict with char connect (); below.  */      which can conflict with char connect (); below.
4479  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480        <limits.h> exists even on freestanding compilers.  */
4481    #ifdef __STDC__
4482    # include <limits.h>
4483    #else
4484    # include <assert.h>
4485    #endif
4486  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4487  #ifdef __cplusplus  #ifdef __cplusplus
4488  extern "C"  extern "C"
4489    {
4490  #endif  #endif
4491  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4492     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4493  char connect ();  char connect ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
4494  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
4495      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
4496      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
4497  #if defined (__stub_connect) || defined (__stub___connect)  #if defined (__stub_connect) || defined (__stub___connect)
4498  choke me  choke me
4499  #else  #else
4500  f = connect;  char (*f) () = connect;
4501    #endif
4502    #ifdef __cplusplus
4503    }
4504  #endif  #endif
4505    
4506    int
4507    main ()
4508    {
4509    return f != connect;
4510    ;    ;
4511    return 0;    return 0;
4512  }  }
# Line 4212  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4526  if { (eval echo "$as_me:$LINENO: \"$ac_l
4526    ac_cv_func_connect=yes    ac_cv_func_connect=yes
4527  else  else
4528    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4529  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4530    
4531  ac_cv_func_connect=no  ac_cv_func_connect=no
4532  fi  fi
4533  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4230  else Line 4545  else
4545  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4546  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4547  #line $LINENO "configure"  #line $LINENO "configure"
4548  #include "confdefs.h"  /* confdefs.h.  */
4549    _ACEOF
4550    cat confdefs.h >>conftest.$ac_ext
4551    cat >>conftest.$ac_ext <<_ACEOF
4552    /* end confdefs.h.  */
4553    
4554  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4555  #ifdef __cplusplus  #ifdef __cplusplus
# Line 4239  extern "C" Line 4558  extern "C"
4558  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4559     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4560  char connect ();  char connect ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4561  int  int
4562  main ()  main ()
4563  {  {
# Line 4268  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4581  if { (eval echo "$as_me:$LINENO: \"$ac_l
4581    ac_cv_lib_socket_connect=yes    ac_cv_lib_socket_connect=yes
4582  else  else
4583    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4584  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4585    
4586  ac_cv_lib_socket_connect=no  ac_cv_lib_socket_connect=no
4587  fi  fi
4588  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4290  if test "${ac_cv_func_remove+set}" = set Line 4604  if test "${ac_cv_func_remove+set}" = set
4604  else  else
4605    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4606  #line $LINENO "configure"  #line $LINENO "configure"
4607  #include "confdefs.h"  /* confdefs.h.  */
4608    _ACEOF
4609    cat confdefs.h >>conftest.$ac_ext
4610    cat >>conftest.$ac_ext <<_ACEOF
4611    /* end confdefs.h.  */
4612  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4613      which can conflict with char remove (); below.  */      which can conflict with char remove (); below.
4614  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615        <limits.h> exists even on freestanding compilers.  */
4616    #ifdef __STDC__
4617    # include <limits.h>
4618    #else
4619    # include <assert.h>
4620    #endif
4621  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4622  #ifdef __cplusplus  #ifdef __cplusplus
4623  extern "C"  extern "C"
4624    {
4625  #endif  #endif
4626  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4627     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4628  char remove ();  char remove ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
4629  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
4630      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
4631      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
4632  #if defined (__stub_remove) || defined (__stub___remove)  #if defined (__stub_remove) || defined (__stub___remove)
4633  choke me  choke me
4634  #else  #else
4635  f = remove;  char (*f) () = remove;
4636    #endif
4637    #ifdef __cplusplus
4638    }
4639  #endif  #endif
4640    
4641    int
4642    main ()
4643    {
4644    return f != remove;
4645    ;    ;
4646    return 0;    return 0;
4647  }  }
# Line 4340  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4661  if { (eval echo "$as_me:$LINENO: \"$ac_l
4661    ac_cv_func_remove=yes    ac_cv_func_remove=yes
4662  else  else
4663    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4664  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4665    
4666  ac_cv_func_remove=no  ac_cv_func_remove=no
4667  fi  fi
4668  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4358  else Line 4680  else
4680  LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
4681  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4682  #line $LINENO "configure"  #line $LINENO "configure"
4683  #include "confdefs.h"  /* confdefs.h.  */
4684    _ACEOF
4685    cat confdefs.h >>conftest.$ac_ext
4686    cat >>conftest.$ac_ext <<_ACEOF
4687    /* end confdefs.h.  */
4688    
4689  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4690  #ifdef __cplusplus  #ifdef __cplusplus
# Line 4367  extern "C" Line 4693  extern "C"
4693  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4694     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4695  char remove ();  char remove ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4696  int  int
4697  main ()  main ()
4698  {  {
# Line 4396  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4716  if { (eval echo "$as_me:$LINENO: \"$ac_l
4716    ac_cv_lib_posix_remove=yes    ac_cv_lib_posix_remove=yes
4717  else  else
4718    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4719  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4720    
4721  ac_cv_lib_posix_remove=no  ac_cv_lib_posix_remove=no
4722  fi  fi
4723  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4418  if test "${ac_cv_func_shmat+set}" = set; Line 4739  if test "${ac_cv_func_shmat+set}" = set;
4739  else  else
4740    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
4741  #line $LINENO "configure"  #line $LINENO "configure"
4742  #include "confdefs.h"  /* confdefs.h.  */
4743    _ACEOF
4744    cat confdefs.h >>conftest.$ac_ext
4745    cat >>conftest.$ac_ext <<_ACEOF
4746    /* end confdefs.h.  */
4747  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
4748      which can conflict with char shmat (); below.  */      which can conflict with char shmat (); below.
4749  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4750        <limits.h> exists even on freestanding compilers.  */
4751    #ifdef __STDC__
4752    # include <limits.h>
4753    #else
4754    # include <assert.h>
4755    #endif
4756  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4757  #ifdef __cplusplus  #ifdef __cplusplus
4758  extern "C"  extern "C"
4759    {
4760  #endif  #endif
4761  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4762     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4763  char shmat ();  char shmat ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
4764  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
4765      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
4766      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
4767  #if defined (__stub_shmat) || defined (__stub___shmat)  #if defined (__stub_shmat) || defined (__stub___shmat)
4768  choke me  choke me
4769  #else  #else
4770  f = shmat;  char (*f) () = shmat;
4771    #endif
4772    #ifdef __cplusplus
4773    }
4774  #endif  #endif
4775    
4776    int
4777    main ()
4778    {
4779    return f != shmat;
4780    ;    ;
4781    return 0;    return 0;
4782  }  }
# Line 4468  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4796  if { (eval echo "$as_me:$LINENO: \"$ac_l
4796    ac_cv_func_shmat=yes    ac_cv_func_shmat=yes
4797  else  else
4798    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4799  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4800    
4801  ac_cv_func_shmat=no  ac_cv_func_shmat=no
4802  fi  fi
4803  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4486  else Line 4815  else
4815  LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
4816  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4817  #line $LINENO "configure"  #line $LINENO "configure"
4818  #include "confdefs.h"  /* confdefs.h.  */
4819    _ACEOF
4820    cat confdefs.h >>conftest.$ac_ext
4821    cat >>conftest.$ac_ext <<_ACEOF
4822    /* end confdefs.h.  */
4823    
4824  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4825  #ifdef __cplusplus  #ifdef __cplusplus
# Line 4495  extern "C" Line 4828  extern "C"
4828  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4829     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4830  char shmat ();  char shmat ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4831  int  int
4832  main ()  main ()
4833  {  {
# Line 4524  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4851  if { (eval echo "$as_me:$LINENO: \"$ac_l
4851    ac_cv_lib_ipc_shmat=yes    ac_cv_lib_ipc_shmat=yes
4852  else  else
4853    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4854  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4855    
4856  ac_cv_lib_ipc_shmat=no  ac_cv_lib_ipc_shmat=no
4857  fi  fi
4858  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4557  else Line 4885  else
4885  LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4886  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4887  #line $LINENO "configure"  #line $LINENO "configure"
4888  #include "confdefs.h"  /* confdefs.h.  */
4889    _ACEOF
4890    cat confdefs.h >>conftest.$ac_ext
4891    cat >>conftest.$ac_ext <<_ACEOF
4892    /* end confdefs.h.  */
4893    
4894  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
4895  #ifdef __cplusplus  #ifdef __cplusplus
# Line 4566  extern "C" Line 4898  extern "C"
4898  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
4899     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
4900  char IceConnectionNumber ();  char IceConnectionNumber ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4901  int  int
4902  main ()  main ()
4903  {  {
# Line 4595  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4921  if { (eval echo "$as_me:$LINENO: \"$ac_l
4921    ac_cv_lib_ICE_IceConnectionNumber=yes    ac_cv_lib_ICE_IceConnectionNumber=yes
4922  else  else
4923    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4924  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4925    
4926  ac_cv_lib_ICE_IceConnectionNumber=no  ac_cv_lib_ICE_IceConnectionNumber=no
4927  fi  fi
4928  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4626  else Line 4953  else
4953  LIBS="-lXmu $X_LIBS $LIBS"  LIBS="-lXmu $X_LIBS $LIBS"
4954  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
4955  #line $LINENO "configure"  #line $LINENO "configure"
4956  #include "confdefs.h"  /* confdefs.h.  */
4957    _ACEOF
4958    cat confdefs.h >>conftest.$ac_ext
4959    cat >>conftest.$ac_ext <<_ACEOF
4960    /* end confdefs.h.  */
4961    
4962    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
4963  int  int
4964  main ()  main ()
4965  {  {
# Line 4658  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 4983  if { (eval echo "$as_me:$LINENO: \"$ac_l
4983    ac_cv_lib_Xmu_main=yes    ac_cv_lib_Xmu_main=yes
4984  else  else
4985    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
4986  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
4987    
4988  ac_cv_lib_Xmu_main=no  ac_cv_lib_Xmu_main=no
4989  fi  fi
4990  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4681  else Line 5007  else
5007  LIBS="-lXt $X_LIBS $LIBS"  LIBS="-lXt $X_LIBS $LIBS"
5008  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5009  #line $LINENO "configure"  #line $LINENO "configure"
5010  #include "confdefs.h"  /* confdefs.h.  */
5011    _ACEOF
5012    cat confdefs.h >>conftest.$ac_ext
5013    cat >>conftest.$ac_ext <<_ACEOF
5014    /* end confdefs.h.  */
5015    
5016    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5017  int  int
5018  main ()  main ()
5019  {  {
# Line 4713  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5037  if { (eval echo "$as_me:$LINENO: \"$ac_l
5037    ac_cv_lib_Xt_main=yes    ac_cv_lib_Xt_main=yes
5038  else  else
5039    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5040  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5041    
5042  ac_cv_lib_Xt_main=no  ac_cv_lib_Xt_main=no
5043  fi  fi
5044  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4736  else Line 5061  else
5061  LIBS="-lXext $X_LIBS $LIBS"  LIBS="-lXext $X_LIBS $LIBS"
5062  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5063  #line $LINENO "configure"  #line $LINENO "configure"
5064  #include "confdefs.h"  /* confdefs.h.  */
5065    _ACEOF
5066    cat confdefs.h >>conftest.$ac_ext
5067    cat >>conftest.$ac_ext <<_ACEOF
5068    /* end confdefs.h.  */
5069    
5070    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5071  int  int
5072  main ()  main ()
5073  {  {
# Line 4768  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5091  if { (eval echo "$as_me:$LINENO: \"$ac_l
5091    ac_cv_lib_Xext_main=yes    ac_cv_lib_Xext_main=yes
5092  else  else
5093    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5094  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5095    
5096  ac_cv_lib_Xext_main=no  ac_cv_lib_Xext_main=no
5097  fi  fi
5098  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4791  else Line 5115  else
5115  LIBS="-lXaw $X_LIBS $LIBS"  LIBS="-lXaw $X_LIBS $LIBS"
5116  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5117  #line $LINENO "configure"  #line $LINENO "configure"
5118  #include "confdefs.h"  /* confdefs.h.  */
5119    _ACEOF
5120    cat confdefs.h >>conftest.$ac_ext
5121    cat >>conftest.$ac_ext <<_ACEOF
5122    /* end confdefs.h.  */
5123    
5124    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5125  int  int
5126  main ()  main ()
5127  {  {
# Line 4823  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5145  if { (eval echo "$as_me:$LINENO: \"$ac_l
5145    ac_cv_lib_Xaw_main=yes    ac_cv_lib_Xaw_main=yes
5146  else  else
5147    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5148  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5149    
5150  ac_cv_lib_Xaw_main=no  ac_cv_lib_Xaw_main=no
5151  fi  fi
5152  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4846  else Line 5169  else
5169  LIBS="-lX11 $X_LIBS $LIBS"  LIBS="-lX11 $X_LIBS $LIBS"
5170  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5171  #line $LINENO "configure"  #line $LINENO "configure"
5172  #include "confdefs.h"  /* confdefs.h.  */
5173    _ACEOF
5174    cat confdefs.h >>conftest.$ac_ext
5175    cat >>conftest.$ac_ext <<_ACEOF
5176    /* end confdefs.h.  */
5177    
5178    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5179  int  int
5180  main ()  main ()
5181  {  {
# Line 4878  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5199  if { (eval echo "$as_me:$LINENO: \"$ac_l
5199    ac_cv_lib_X11_main=yes    ac_cv_lib_X11_main=yes
5200  else  else
5201    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5202  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5203    
5204  ac_cv_lib_X11_main=no  ac_cv_lib_X11_main=no
5205  fi  fi
5206  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4918  else Line 5240  else
5240  LIBS="-ldl  $LIBS"  LIBS="-ldl  $LIBS"
5241  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5242  #line $LINENO "configure"  #line $LINENO "configure"
5243  #include "confdefs.h"  /* confdefs.h.  */
5244    _ACEOF
5245    cat confdefs.h >>conftest.$ac_ext
5246    cat >>conftest.$ac_ext <<_ACEOF
5247    /* end confdefs.h.  */
5248    
5249  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5250  #ifdef __cplusplus  #ifdef __cplusplus
# Line 4927  extern "C" Line 5253  extern "C"
5253  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
5254     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
5255  char dlopen ();  char dlopen ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5256  int  int
5257  main ()  main ()
5258  {  {
# Line 4956  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5276  if { (eval echo "$as_me:$LINENO: \"$ac_l
5276    ac_cv_lib_dl_dlopen=yes    ac_cv_lib_dl_dlopen=yes
5277  else  else
5278    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5279  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5280    
5281  ac_cv_lib_dl_dlopen=no  ac_cv_lib_dl_dlopen=no
5282  fi  fi
5283  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 4997  echo "$as_me:$LINENO: checking bfd.h usa Line 5318  echo "$as_me:$LINENO: checking bfd.h usa
5318  echo $ECHO_N "checking bfd.h usability... $ECHO_C" >&6  echo $ECHO_N "checking bfd.h usability... $ECHO_C" >&6
5319  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5320  #line $LINENO "configure"  #line $LINENO "configure"
5321  #include "confdefs.h"  /* confdefs.h.  */
5322    _ACEOF
5323    cat confdefs.h >>conftest.$ac_ext
5324    cat >>conftest.$ac_ext <<_ACEOF
5325    /* end confdefs.h.  */
5326  $ac_includes_default  $ac_includes_default
5327  #include <bfd.h>  #include <bfd.h>
5328  _ACEOF  _ACEOF
# Line 5016  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5341  if { (eval echo "$as_me:$LINENO: \"$ac_c
5341    ac_header_compiler=yes    ac_header_compiler=yes
5342  else  else
5343    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5344  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5345    
5346  ac_header_compiler=no  ac_header_compiler=no
5347  fi  fi
5348  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 5028  echo "$as_me:$LINENO: checking bfd.h pre Line 5354  echo "$as_me:$LINENO: checking bfd.h pre
5354  echo $ECHO_N "checking bfd.h presence... $ECHO_C" >&6  echo $ECHO_N "checking bfd.h presence... $ECHO_C" >&6
5355  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5356  #line $LINENO "configure"  #line $LINENO "configure"
5357  #include "confdefs.h"  /* confdefs.h.  */
5358    _ACEOF
5359    cat confdefs.h >>conftest.$ac_ext
5360    cat >>conftest.$ac_ext <<_ACEOF
5361    /* end confdefs.h.  */
5362  #include <bfd.h>  #include <bfd.h>
5363  _ACEOF  _ACEOF
5364  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5365    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5366    ac_status=$?    ac_status=$?
5367    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
5368    rm -f conftest.er1    rm -f conftest.er1
5369    cat conftest.err >&5    cat conftest.err >&5
5370    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 5051  if test -z "$ac_cpp_err"; then Line 5381  if test -z "$ac_cpp_err"; then
5381    ac_header_preproc=yes    ac_header_preproc=yes
5382  else  else
5383    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5384    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5385    
5386    ac_header_preproc=no    ac_header_preproc=no
5387  fi  fi
5388  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 5064  case $ac_header_compiler:$ac_header_prep Line 5395  case $ac_header_compiler:$ac_header_prep
5395      { echo "$as_me:$LINENO: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&5
5396  echo "$as_me: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: bfd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5397      { echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5
5398  echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;}
5399        (
5400          cat <<\_ASBOX
5401    ## ------------------------------------ ##
5402    ## Report this to bug-autoconf@gnu.org. ##
5403    ## ------------------------------------ ##
5404    _ASBOX
5405        ) |
5406          sed "s/^/$as_me: WARNING:     /" >&2
5407        ;;
5408    no:yes )    no:yes )
5409      { echo "$as_me:$LINENO: WARNING: bfd.h: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: bfd.h: present but cannot be compiled" >&5
5410  echo "$as_me: WARNING: bfd.h: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: bfd.h: present but cannot be compiled" >&2;}
5411      { echo "$as_me:$LINENO: WARNING: bfd.h: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: bfd.h: check for missing prerequisite headers?" >&5
5412  echo "$as_me: WARNING: bfd.h: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: bfd.h: check for missing prerequisite headers?" >&2;}
5413      { echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: bfd.h: proceeding with the preprocessor's result" >&5
5414  echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: bfd.h: proceeding with the preprocessor's result" >&2;}
5415        (
5416          cat <<\_ASBOX
5417    ## ------------------------------------ ##
5418    ## Report this to bug-autoconf@gnu.org. ##
5419    ## ------------------------------------ ##
5420    _ASBOX
5421        ) |
5422          sed "s/^/$as_me: WARNING:     /" >&2
5423        ;;
5424  esac  esac
5425  echo "$as_me:$LINENO: checking for bfd.h" >&5  echo "$as_me:$LINENO: checking for bfd.h" >&5
5426  echo $ECHO_N "checking for bfd.h... $ECHO_C" >&6  echo $ECHO_N "checking for bfd.h... $ECHO_C" >&6
# Line 5094  else Line 5443  else
5443  LIBS="-lbfd -liberty $LIBS"  LIBS="-lbfd -liberty $LIBS"
5444  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5445  #line $LINENO "configure"  #line $LINENO "configure"
5446  #include "confdefs.h"  /* confdefs.h.  */
5447    _ACEOF
5448    cat confdefs.h >>conftest.$ac_ext
5449    cat >>conftest.$ac_ext <<_ACEOF
5450    /* end confdefs.h.  */
5451    
5452  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
5453  #ifdef __cplusplus  #ifdef __cplusplus
# Line 5103  extern "C" Line 5456  extern "C"
5456  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
5457     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
5458  char bfd_init ();  char bfd_init ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5459  int  int
5460  main ()  main ()
5461  {  {
# Line 5132  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 5479  if { (eval echo "$as_me:$LINENO: \"$ac_l
5479    ac_cv_lib_bfd_bfd_init=yes    ac_cv_lib_bfd_bfd_init=yes
5480  else  else
5481    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5482  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5483    
5484  ac_cv_lib_bfd_bfd_init=no  ac_cv_lib_bfd_bfd_init=no
5485  fi  fi
5486  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 5152  echo "${ECHO_T}cannot use bfd" >&6 exit Line 5500  echo "${ECHO_T}cannot use bfd" >&6 exit
5500  else  else
5501    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5502  #line $LINENO "configure"  #line $LINENO "configure"
5503  #include "confdefs.h"  /* confdefs.h.  */
5504    _ACEOF
5505    cat confdefs.h >>conftest.$ac_ext
5506    cat >>conftest.$ac_ext <<_ACEOF
5507    /* end confdefs.h.  */
5508  #define IN_GCC  #define IN_GCC
5509                                      #include <bfd.h>                                      #include <bfd.h>
5510                                      int main() { symbol_info t; return 0;}                                      int main() { symbol_info t; return 0;}
# Line 5173  echo "${ECHO_T}no" >&6 Line 5525  echo "${ECHO_T}no" >&6
5525  else  else
5526    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
5527  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
5528  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5529    
5530  ( exit $ac_status )  ( exit $ac_status )
5531  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
5532    echo "$as_me:$LINENO: result: cannot use bfd" >&5    echo "$as_me:$LINENO: result: cannot use bfd" >&5
# Line 5181  echo "${ECHO_T}cannot use bfd" >&6 exit Line 5534  echo "${ECHO_T}cannot use bfd" >&6 exit
5534  else  else
5535    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5536  #line $LINENO "configure"  #line $LINENO "configure"
5537  #include "confdefs.h"  /* confdefs.h.  */
5538    _ACEOF
5539    cat confdefs.h >>conftest.$ac_ext
5540    cat >>conftest.$ac_ext <<_ACEOF
5541    /* end confdefs.h.  */
5542  #define CONST const  #define CONST const
5543                                              #define IN_GCC                                              #define IN_GCC
5544                                              #include <bfd.h>                                              #include <bfd.h>
# Line 5207  _ACEOF Line 5564  _ACEOF
5564  else  else
5565    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
5566  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
5567  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5568    
5569  ( exit $ac_status )  ( exit $ac_status )
5570  echo "$as_me:$LINENO: result: cannot use bfd" >&5  echo "$as_me:$LINENO: result: cannot use bfd" >&5
5571  echo "${ECHO_T}cannot use bfd" >&6 exit 1;  echo "${ECHO_T}cannot use bfd" >&6 exit 1;
5572  fi  fi
5573  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5574  fi  fi
5575  fi  fi
5576  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5577  fi  fi
5578    
5579  fi  fi
# Line 5241  echo "${ECHO_T}no" >&6 Line 5599  echo "${ECHO_T}no" >&6
5599  else  else
5600    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5601  #line $LINENO "configure"  #line $LINENO "configure"
5602  #include "confdefs.h"  /* confdefs.h.  */
5603    _ACEOF
5604    cat confdefs.h >>conftest.$ac_ext
5605    cat >>conftest.$ac_ext <<_ACEOF
5606    /* end confdefs.h.  */
5607  #define IN_GCC  #define IN_GCC
5608                      #include <bfd.h>                      #include <bfd.h>
5609                      bfd_boolean foo() {return FALSE;}                      bfd_boolean foo() {return FALSE;}
# Line 5267  _ACEOF Line 5629  _ACEOF
5629  else  else
5630    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
5631  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
5632  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5633    
5634  ( exit $ac_status )  ( exit $ac_status )
5635  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
5636  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
5637  fi  fi
5638  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5639  fi  fi
5640    
5641    
# Line 5351  if test "${ac_cv_type_long_p+set}" = set Line 5714  if test "${ac_cv_type_long_p+set}" = set
5714  else  else
5715    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5716  #line $LINENO "configure"  #line $LINENO "configure"
5717  #include "confdefs.h"  /* confdefs.h.  */
5718    _ACEOF
5719    cat confdefs.h >>conftest.$ac_ext
5720    cat >>conftest.$ac_ext <<_ACEOF
5721    /* end confdefs.h.  */
5722  $ac_includes_default  $ac_includes_default
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5723  int  int
5724  main ()  main ()
5725  {  {
# Line 5385  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5746  if { (eval echo "$as_me:$LINENO: \"$ac_c
5746    ac_cv_type_long_p=yes    ac_cv_type_long_p=yes
5747  else  else
5748    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5749  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5750    
5751  ac_cv_type_long_p=no  ac_cv_type_long_p=no
5752  fi  fi
5753  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 5407  else Line 5769  else
5769    # Depending upon the size, compute the lo and hi bounds.    # Depending upon the size, compute the lo and hi bounds.
5770  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5771  #line $LINENO "configure"  #line $LINENO "configure"
5772  #include "confdefs.h"  /* confdefs.h.  */
5773    _ACEOF
5774    cat confdefs.h >>conftest.$ac_ext
5775    cat >>conftest.$ac_ext <<_ACEOF
5776    /* end confdefs.h.  */
5777  $ac_includes_default  $ac_includes_default
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5778  int  int
5779  main ()  main ()
5780  {  {
# Line 5441  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5801  if { (eval echo "$as_me:$LINENO: \"$ac_c
5801    while :; do    while :; do
5802      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
5803  #line $LINENO "configure"  #line $LINENO "configure"
5804  #include "confdefs.h"  /* confdefs.h.  */
5805    _ACEOF
5806    cat confdefs.h >>conftest.$ac_ext
5807    cat >>conftest.$ac_ext <<_ACEOF
5808    /* end confdefs.h.  */
5809  $ac_includes_default  $ac_includes_default
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5810  int  int
5811  main ()  main ()
5812  {  {
# Line 5474  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5832  if { (eval echo "$as_me:$LINENO: \"$ac_c
5832    ac_hi=$ac_mid; break    ac_hi=$ac_mid; break
5833  else  else
5834    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5835  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5836    
5837  ac_lo=`expr $ac_mid + 1`  ac_lo=`expr $ac_mid + 1`
5838                      if test $ac_lo -le $ac_mid; then                      if test $ac_lo -le $ac_mid; then
5839                        ac_lo= ac_hi=                        ac_lo= ac_hi=
# Line 5486  rm -f conftest.$ac_objext conftest.$ac_e Line 5845  rm -f conftest.$ac_objext conftest.$ac_e
5845    done    done
5846  else  else
5847    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5848  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5849    
5850  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
5851  #line $LINENO "configure"  #line $LINENO "configure"
5852  #include "confdefs.h"  /* confdefs.h.  */
5853    _ACEOF
5854    cat confdefs.h >>conftest.$ac_ext
5855    cat >>conftest.$ac_ext <<_ACEOF
5856    /* end confdefs.h.  */
5857  $ac_includes_default  $ac_includes_default
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5858  int  int
5859  main ()  main ()
5860  {  {
# Line 5523  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5881  if { (eval echo "$as_me:$LINENO: \"$ac_c
5881    while :; do    while :; do
5882      cat >conftest.$ac_ext <<_ACEOF      cat >conftest.$ac_ext <<_ACEOF
5883  #line $LINENO "configure"  #line $LINENO "configure"
5884  #include "confdefs.h"  /* confdefs.h.  */
5885    _ACEOF
5886    cat confdefs.h >>conftest.$ac_ext
5887    cat >>conftest.$ac_ext <<_ACEOF
5888    /* end confdefs.h.  */
5889  $ac_includes_default  $ac_includes_default
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5890  int  int
5891  main ()  main ()
5892  {  {
# Line 5556  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5912  if { (eval echo "$as_me:$LINENO: \"$ac_c
5912    ac_lo=$ac_mid; break    ac_lo=$ac_mid; break
5913  else  else
5914    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5915  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5916    
5917  ac_hi=`expr '(' $ac_mid ')' - 1`  ac_hi=`expr '(' $ac_mid ')' - 1`
5918                         if test $ac_mid -le $ac_hi; then                         if test $ac_mid -le $ac_hi; then
5919                           ac_lo= ac_hi=                           ac_lo= ac_hi=
# Line 5568  rm -f conftest.$ac_objext conftest.$ac_e Line 5925  rm -f conftest.$ac_objext conftest.$ac_e
5925    done    done
5926  else  else
5927    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5928  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5929    
5930  ac_lo= ac_hi=  ac_lo= ac_hi=
5931  fi  fi
5932  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 5579  while test "x$ac_lo" != "x$ac_hi"; do Line 5937  while test "x$ac_lo" != "x$ac_hi"; do
5937    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`    ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5938    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5939  #line $LINENO "configure"  #line $LINENO "configure"
5940  #include "confdefs.h"  /* confdefs.h.  */
5941    _ACEOF
5942    cat confdefs.h >>conftest.$ac_ext
5943    cat >>conftest.$ac_ext <<_ACEOF
5944    /* end confdefs.h.  */
5945  $ac_includes_default  $ac_includes_default
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
5946  int  int
5947  main ()  main ()
5948  {  {
# Line 5612  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 5968  if { (eval echo "$as_me:$LINENO: \"$ac_c
5968    ac_hi=$ac_mid    ac_hi=$ac_mid
5969  else  else
5970    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
5971  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
5972    
5973  ac_lo=`expr '(' $ac_mid ')' + 1`  ac_lo=`expr '(' $ac_mid ')' + 1`
5974  fi  fi
5975  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
5976  done  done
5977  case $ac_lo in  case $ac_lo in
5978  ?*) ac_cv_sizeof_long_p=$ac_lo;;  ?*) ac_cv_sizeof_long_p=$ac_lo;;
5979  '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long *), 77" >&5  '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long *), 77
5980  echo "$as_me: error: cannot compute sizeof (long *), 77" >&2;}  See \`config.log' for more details." >&5
5981    echo "$as_me: error: cannot compute sizeof (long *), 77
5982    See \`config.log' for more details." >&2;}
5983     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
5984  esac  esac
5985  else  else
5986    if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
5987    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5    { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5988  echo "$as_me: error: cannot run test program while cross compiling" >&2;}  See \`config.log' for more details." >&5
5989    echo "$as_me: error: cannot run test program while cross compiling
5990    See \`config.log' for more details." >&2;}
5991     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5992  else  else
5993    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
5994  #line $LINENO "configure"  #line $LINENO "configure"
5995  #include "confdefs.h"  /* confdefs.h.  */
5996    _ACEOF
5997    cat confdefs.h >>conftest.$ac_ext
5998    cat >>conftest.$ac_ext <<_ACEOF
5999    /* end confdefs.h.  */
6000  $ac_includes_default  $ac_includes_default
6001  long longval () { return (long) (sizeof (long *)); }  long longval () { return (long) (sizeof (long *)); }
6002  unsigned long ulongval () { return (long) (sizeof (long *)); }  unsigned long ulongval () { return (long) (sizeof (long *)); }
6003  #include <stdio.h>  #include <stdio.h>
6004  #include <stdlib.h>  #include <stdlib.h>
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
6005  int  int
6006  main ()  main ()
6007  {  {
# Line 5685  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6044  if { (eval echo "$as_me:$LINENO: \"$ac_l
6044  else  else
6045    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
6046  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
6047  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6048    
6049  ( exit $ac_status )  ( exit $ac_status )
6050  { { echo "$as_me:$LINENO: error: cannot compute sizeof (long *), 77" >&5  { { echo "$as_me:$LINENO: error: cannot compute sizeof (long *), 77
6051  echo "$as_me: error: cannot compute sizeof (long *), 77" >&2;}  See \`config.log' for more details." >&5
6052    echo "$as_me: error: cannot compute sizeof (long *), 77
6053    See \`config.log' for more details." >&2;}
6054     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6055  fi  fi
6056  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6057  fi  fi
6058  fi  fi
6059  rm -f conftest.val  rm -f conftest.val
# Line 5725  echo "$as_me:$LINENO: checking $ac_heade Line 6087  echo "$as_me:$LINENO: checking $ac_heade
6087  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6088  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6089  #line $LINENO "configure"  #line $LINENO "configure"
6090  #include "confdefs.h"  /* confdefs.h.  */
6091    _ACEOF
6092    cat confdefs.h >>conftest.$ac_ext
6093    cat >>conftest.$ac_ext <<_ACEOF
6094    /* end confdefs.h.  */
6095  $ac_includes_default  $ac_includes_default
6096  #include <$ac_header>  #include <$ac_header>
6097  _ACEOF  _ACEOF
# Line 5744  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6110  if { (eval echo "$as_me:$LINENO: \"$ac_c
6110    ac_header_compiler=yes    ac_header_compiler=yes
6111  else  else
6112    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6113  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6114    
6115  ac_header_compiler=no  ac_header_compiler=no
6116  fi  fi
6117  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 5756  echo "$as_me:$LINENO: checking $ac_heade Line 6123  echo "$as_me:$LINENO: checking $ac_heade
6123  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6124  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6125  #line $LINENO "configure"  #line $LINENO "configure"
6126  #include "confdefs.h"  /* confdefs.h.  */
6127    _ACEOF
6128    cat confdefs.h >>conftest.$ac_ext
6129    cat >>conftest.$ac_ext <<_ACEOF
6130    /* end confdefs.h.  */
6131  #include <$ac_header>  #include <$ac_header>
6132  _ACEOF  _ACEOF
6133  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6134    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6135    ac_status=$?    ac_status=$?
6136    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
6137    rm -f conftest.er1    rm -f conftest.er1
6138    cat conftest.err >&5    cat conftest.err >&5
6139    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 5779  if test -z "$ac_cpp_err"; then Line 6150  if test -z "$ac_cpp_err"; then
6150    ac_header_preproc=yes    ac_header_preproc=yes
6151  else  else
6152    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6153    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6154    
6155    ac_header_preproc=no    ac_header_preproc=no
6156  fi  fi
6157  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 5792  case $ac_header_compiler:$ac_header_prep Line 6164  case $ac_header_compiler:$ac_header_prep
6164      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6165  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6166      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6167  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6168        (
6169          cat <<\_ASBOX
6170    ## ------------------------------------ ##
6171    ## Report this to bug-autoconf@gnu.org. ##
6172    ## ------------------------------------ ##
6173    _ASBOX
6174        ) |
6175          sed "s/^/$as_me: WARNING:     /" >&2
6176        ;;
6177    no:yes )    no:yes )
6178      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6179  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6180      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6181  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6182      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6183  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6184        (
6185          cat <<\_ASBOX
6186    ## ------------------------------------ ##
6187    ## Report this to bug-autoconf@gnu.org. ##
6188    ## ------------------------------------ ##
6189    _ASBOX
6190        ) |
6191          sed "s/^/$as_me: WARNING:     /" >&2
6192        ;;
6193  esac  esac
6194  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
6195  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 5824  echo "${ECHO_T}big" >&6 Line 6214  echo "${ECHO_T}big" >&6
6214  else  else
6215    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6216  #line $LINENO "configure"  #line $LINENO "configure"
6217  #include "confdefs.h"  /* confdefs.h.  */
6218    _ACEOF
6219    cat confdefs.h >>conftest.$ac_ext
6220    cat >>conftest.$ac_ext <<_ACEOF
6221    /* end confdefs.h.  */
6222  #define __ARMEB__  #define __ARMEB__
6223                  #include <endian.h>                  #include <endian.h>
6224                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
# Line 5848  echo "${ECHO_T}little" >&6 Line 6242  echo "${ECHO_T}little" >&6
6242  else  else
6243    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
6244  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
6245  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6246    
6247  ( exit $ac_status )  ( exit $ac_status )
6248  echo "$as_me:$LINENO: result: big" >&5  echo "$as_me:$LINENO: result: big" >&5
6249  echo "${ECHO_T}big" >&6  echo "${ECHO_T}big" >&6
6250  fi  fi
6251  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6252  fi  fi
6253  fi  fi
6254    
# Line 5868  if test "$cross_compiling" = yes; then Line 6263  if test "$cross_compiling" = yes; then
6263  else  else
6264    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6265  #line $LINENO "configure"  #line $LINENO "configure"
6266  #include "confdefs.h"  /* confdefs.h.  */
6267    _ACEOF
6268    cat confdefs.h >>conftest.$ac_ext
6269    cat >>conftest.$ac_ext <<_ACEOF
6270    /* end confdefs.h.  */
6271  #include <stdio.h>  #include <stdio.h>
6272              #include <stdlib.h>              #include <stdlib.h>
6273  main()  main()
# Line 5899  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6298  if { (eval echo "$as_me:$LINENO: \"$ac_l
6298  else  else
6299    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
6300  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
6301  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6302    
6303  ( exit $ac_status )  ( exit $ac_status )
6304  dbegin=0  dbegin=0
6305  fi  fi
6306  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6307  fi  fi
6308  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
6309  #define DBEGIN $dbegin \  #define DBEGIN $dbegin \
# Line 5922  if test "$cross_compiling" = yes; then Line 6322  if test "$cross_compiling" = yes; then
6322  else  else
6323    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6324  #line $LINENO "configure"  #line $LINENO "configure"
6325  #include "confdefs.h"  /* confdefs.h.  */
6326    _ACEOF
6327    cat confdefs.h >>conftest.$ac_ext
6328    cat >>conftest.$ac_ext <<_ACEOF
6329    /* end confdefs.h.  */
6330  #include <stdio.h>  #include <stdio.h>
6331  main()  main()
6332  {  {
# Line 5948  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6352  if { (eval echo "$as_me:$LINENO: \"$ac_l
6352  else  else
6353    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
6354  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
6355  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6356    
6357  ( exit $ac_status )  ( exit $ac_status )
6358  cstack_address=0  cstack_address=0
6359  fi  fi
6360  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6361  fi  fi
6362  cat >>confdefs.h <<_ACEOF  cat >>confdefs.h <<_ACEOF
6363  #define CSTACK_ADDRESS $cstack_address \  #define CSTACK_ADDRESS $cstack_address \
# Line 5973  echo "${ECHO_T}no" >&6 Line 6378  echo "${ECHO_T}no" >&6
6378  else  else
6379    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6380  #line $LINENO "configure"  #line $LINENO "configure"
6381  #include "confdefs.h"  /* confdefs.h.  */
6382    _ACEOF
6383    cat confdefs.h >>conftest.$ac_ext
6384    cat >>conftest.$ac_ext <<_ACEOF
6385    /* end confdefs.h.  */
6386  #include <stdio.h>  #include <stdio.h>
6387  main()  main()
6388  {  {
# Line 6002  echo "${ECHO_T}yes" >&6 Line 6411  echo "${ECHO_T}yes" >&6
6411  else  else
6412    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
6413  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
6414  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6415    
6416  ( exit $ac_status )  ( exit $ac_status )
6417  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
6418  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
6419  fi  fi
6420  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6421  fi  fi
6422    
6423    
# Line 6050  if test "$cross_compiling" = yes; then Line 6460  if test "$cross_compiling" = yes; then
6460  else  else
6461    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6462  #line $LINENO "configure"  #line $LINENO "configure"
6463  #include "confdefs.h"  /* confdefs.h.  */
6464    _ACEOF
6465    cat confdefs.h >>conftest.$ac_ext
6466    cat >>conftest.$ac_ext <<_ACEOF
6467    /* end confdefs.h.  */
6468  #include <stdio.h>  #include <stdio.h>
6469              #include <unistd.h>              #include <unistd.h>
6470  int main() {size_t i=getpagesize(),j;  int main() {size_t i=getpagesize(),j;
# Line 6074  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6488  if { (eval echo "$as_me:$LINENO: \"$ac_l
6488  else  else
6489    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
6490  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
6491  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6492    
6493  ( exit $ac_status )  ( exit $ac_status )
6494  PAGEWIDTH=0  PAGEWIDTH=0
6495  fi  fi
6496  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6497  fi  fi
6498  echo "$as_me:$LINENO: result: $PAGEWIDTH" >&5  echo "$as_me:$LINENO: result: $PAGEWIDTH" >&5
6499  echo "${ECHO_T}$PAGEWIDTH" >&6  echo "${ECHO_T}$PAGEWIDTH" >&6
# Line 6104  if eval "test \"\${$as_ac_var+set}\" = s Line 6519  if eval "test \"\${$as_ac_var+set}\" = s
6519  else  else
6520    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6521  #line $LINENO "configure"  #line $LINENO "configure"
6522  #include "confdefs.h"  /* confdefs.h.  */
6523    _ACEOF
6524    cat confdefs.h >>conftest.$ac_ext
6525    cat >>conftest.$ac_ext <<_ACEOF
6526    /* end confdefs.h.  */
6527  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6528      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.
6529  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6530        <limits.h> exists even on freestanding compilers.  */
6531    #ifdef __STDC__
6532    # include <limits.h>
6533    #else
6534    # include <assert.h>
6535    #endif
6536  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6537  #ifdef __cplusplus  #ifdef __cplusplus
6538  extern "C"  extern "C"
6539    {
6540  #endif  #endif
6541  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
6542     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
6543  char $ac_func ();  char $ac_func ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
6544  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
6545      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
6546      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
6547  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6548  choke me  choke me
6549  #else  #else
6550  f = $ac_func;  char (*f) () = $ac_func;
6551    #endif
6552    #ifdef __cplusplus
6553    }
6554  #endif  #endif
6555    
6556    int
6557    main ()
6558    {
6559    return f != $ac_func;
6560    ;    ;
6561    return 0;    return 0;
6562  }  }
# Line 6154  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6576  if { (eval echo "$as_me:$LINENO: \"$ac_l
6576    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6577  else  else
6578    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6579  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6580    
6581  eval "$as_ac_var=no"  eval "$as_ac_var=no"
6582  fi  fi
6583  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6180  if eval "test \"\${$as_ac_var+set}\" = s Line 6603  if eval "test \"\${$as_ac_var+set}\" = s
6603  else  else
6604    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6605  #line $LINENO "configure"  #line $LINENO "configure"
6606  #include "confdefs.h"  /* confdefs.h.  */
6607    _ACEOF
6608    cat confdefs.h >>conftest.$ac_ext
6609    cat >>conftest.$ac_ext <<_ACEOF
6610    /* end confdefs.h.  */
6611  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6612      which can conflict with char $ac_func (); below.  */      which can conflict with char $ac_func (); below.
6613  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6614        <limits.h> exists even on freestanding compilers.  */
6615    #ifdef __STDC__
6616    # include <limits.h>
6617    #else
6618    # include <assert.h>
6619    #endif
6620  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6621  #ifdef __cplusplus  #ifdef __cplusplus
6622  extern "C"  extern "C"
6623    {
6624  #endif  #endif
6625  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
6626     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
6627  char $ac_func ();  char $ac_func ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
6628  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
6629      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
6630      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
6631  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)  #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6632  choke me  choke me
6633  #else  #else
6634  f = $ac_func;  char (*f) () = $ac_func;
6635    #endif
6636    #ifdef __cplusplus
6637    }
6638  #endif  #endif
6639    
6640    int
6641    main ()
6642    {
6643    return f != $ac_func;
6644    ;    ;
6645    return 0;    return 0;
6646  }  }
# Line 6230  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6660  if { (eval echo "$as_me:$LINENO: \"$ac_l
6660    eval "$as_ac_var=yes"    eval "$as_ac_var=yes"
6661  else  else
6662    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6663  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6664    
6665  eval "$as_ac_var=no"  eval "$as_ac_var=no"
6666  fi  fi
6667  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6252  if test "${ac_cv_func_uname+set}" = set; Line 6683  if test "${ac_cv_func_uname+set}" = set;
6683  else  else
6684    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6685  #line $LINENO "configure"  #line $LINENO "configure"
6686  #include "confdefs.h"  /* confdefs.h.  */
6687    _ACEOF
6688    cat confdefs.h >>conftest.$ac_ext
6689    cat >>conftest.$ac_ext <<_ACEOF
6690    /* end confdefs.h.  */
6691  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6692      which can conflict with char uname (); below.  */      which can conflict with char uname (); below.
6693  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6694        <limits.h> exists even on freestanding compilers.  */
6695    #ifdef __STDC__
6696    # include <limits.h>
6697    #else
6698    # include <assert.h>
6699    #endif
6700  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6701  #ifdef __cplusplus  #ifdef __cplusplus
6702  extern "C"  extern "C"
6703    {
6704  #endif  #endif
6705  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
6706     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
6707  char uname ();  char uname ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
6708  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
6709      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
6710      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
6711  #if defined (__stub_uname) || defined (__stub___uname)  #if defined (__stub_uname) || defined (__stub___uname)
6712  choke me  choke me
6713  #else  #else
6714  f = uname;  char (*f) () = uname;
6715    #endif
6716    #ifdef __cplusplus
6717    }
6718  #endif  #endif
6719    
6720    int
6721    main ()
6722    {
6723    return f != uname;
6724    ;    ;
6725    return 0;    return 0;
6726  }  }
# Line 6302  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6740  if { (eval echo "$as_me:$LINENO: \"$ac_l
6740    ac_cv_func_uname=yes    ac_cv_func_uname=yes
6741  else  else
6742    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6743  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6744    
6745  ac_cv_func_uname=no  ac_cv_func_uname=no
6746  fi  fi
6747  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6325  if test "${ac_cv_func_gettimeofday+set}" Line 6764  if test "${ac_cv_func_gettimeofday+set}"
6764  else  else
6765    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
6766  #line $LINENO "configure"  #line $LINENO "configure"
6767  #include "confdefs.h"  /* confdefs.h.  */
6768    _ACEOF
6769    cat confdefs.h >>conftest.$ac_ext
6770    cat >>conftest.$ac_ext <<_ACEOF
6771    /* end confdefs.h.  */
6772  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
6773      which can conflict with char gettimeofday (); below.  */      which can conflict with char gettimeofday (); below.
6774  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6775        <limits.h> exists even on freestanding compilers.  */
6776    #ifdef __STDC__
6777    # include <limits.h>
6778    #else
6779    # include <assert.h>
6780    #endif
6781  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
6782  #ifdef __cplusplus  #ifdef __cplusplus
6783  extern "C"  extern "C"
6784    {
6785  #endif  #endif
6786  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
6787     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
6788  char gettimeofday ();  char gettimeofday ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
6789  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
6790      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
6791      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
6792  #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)  #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
6793  choke me  choke me
6794  #else  #else
6795  f = gettimeofday;  char (*f) () = gettimeofday;
6796    #endif
6797    #ifdef __cplusplus
6798    }
6799  #endif  #endif
6800    
6801    int
6802    main ()
6803    {
6804    return f != gettimeofday;
6805    ;    ;
6806    return 0;    return 0;
6807  }  }
# Line 6375  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 6821  if { (eval echo "$as_me:$LINENO: \"$ac_l
6821    ac_cv_func_gettimeofday=yes    ac_cv_func_gettimeofday=yes
6822  else  else
6823    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6824  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6825    
6826  ac_cv_func_gettimeofday=no  ac_cv_func_gettimeofday=no
6827  fi  fi
6828  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6411  echo "$as_me:$LINENO: checking $ac_heade Line 6858  echo "$as_me:$LINENO: checking $ac_heade
6858  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6859  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6860  #line $LINENO "configure"  #line $LINENO "configure"
6861  #include "confdefs.h"  /* confdefs.h.  */
6862    _ACEOF
6863    cat confdefs.h >>conftest.$ac_ext
6864    cat >>conftest.$ac_ext <<_ACEOF
6865    /* end confdefs.h.  */
6866  $ac_includes_default  $ac_includes_default
6867  #include <$ac_header>  #include <$ac_header>
6868  _ACEOF  _ACEOF
# Line 6430  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 6881  if { (eval echo "$as_me:$LINENO: \"$ac_c
6881    ac_header_compiler=yes    ac_header_compiler=yes
6882  else  else
6883    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6884  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6885    
6886  ac_header_compiler=no  ac_header_compiler=no
6887  fi  fi
6888  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 6442  echo "$as_me:$LINENO: checking $ac_heade Line 6894  echo "$as_me:$LINENO: checking $ac_heade
6894  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6895  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
6896  #line $LINENO "configure"  #line $LINENO "configure"
6897  #include "confdefs.h"  /* confdefs.h.  */
6898    _ACEOF
6899    cat confdefs.h >>conftest.$ac_ext
6900    cat >>conftest.$ac_ext <<_ACEOF
6901    /* end confdefs.h.  */
6902  #include <$ac_header>  #include <$ac_header>
6903  _ACEOF  _ACEOF
6904  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6905    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6906    ac_status=$?    ac_status=$?
6907    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
6908    rm -f conftest.er1    rm -f conftest.er1
6909    cat conftest.err >&5    cat conftest.err >&5
6910    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 6465  if test -z "$ac_cpp_err"; then Line 6921  if test -z "$ac_cpp_err"; then
6921    ac_header_preproc=yes    ac_header_preproc=yes
6922  else  else
6923    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
6924    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
6925    
6926    ac_header_preproc=no    ac_header_preproc=no
6927  fi  fi
6928  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 6478  case $ac_header_compiler:$ac_header_prep Line 6935  case $ac_header_compiler:$ac_header_prep
6935      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6936  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6937      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6938  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6939        (
6940          cat <<\_ASBOX
6941    ## ------------------------------------ ##
6942    ## Report this to bug-autoconf@gnu.org. ##
6943    ## ------------------------------------ ##
6944    _ASBOX
6945        ) |
6946          sed "s/^/$as_me: WARNING:     /" >&2
6947        ;;
6948    no:yes )    no:yes )
6949      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6950  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6951      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6952  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6953      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6954  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6955        (
6956          cat <<\_ASBOX
6957    ## ------------------------------------ ##
6958    ## Report this to bug-autoconf@gnu.org. ##
6959    ## ------------------------------------ ##
6960    _ASBOX
6961        ) |
6962          sed "s/^/$as_me: WARNING:     /" >&2
6963        ;;
6964  esac  esac
6965  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
6966  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 6527  if test "${ac_cv_func_BSDgettimeofday+se Line 7002  if test "${ac_cv_func_BSDgettimeofday+se
7002  else  else
7003    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7004  #line $LINENO "configure"  #line $LINENO "configure"
7005  #include "confdefs.h"  /* confdefs.h.  */
7006    _ACEOF
7007    cat confdefs.h >>conftest.$ac_ext
7008    cat >>conftest.$ac_ext <<_ACEOF
7009    /* end confdefs.h.  */
7010  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7011      which can conflict with char BSDgettimeofday (); below.  */      which can conflict with char BSDgettimeofday (); below.
7012  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7013        <limits.h> exists even on freestanding compilers.  */
7014    #ifdef __STDC__
7015    # include <limits.h>
7016    #else
7017    # include <assert.h>
7018    #endif
7019  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7020  #ifdef __cplusplus  #ifdef __cplusplus
7021  extern "C"  extern "C"
7022    {
7023  #endif  #endif
7024  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7025     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7026  char BSDgettimeofday ();  char BSDgettimeofday ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
7027  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
7028      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
7029      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
7030  #if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday)  #if defined (__stub_BSDgettimeofday) || defined (__stub___BSDgettimeofday)
7031  choke me  choke me
7032  #else  #else
7033  f = BSDgettimeofday;  char (*f) () = BSDgettimeofday;
7034    #endif
7035    #ifdef __cplusplus
7036    }
7037  #endif  #endif
7038    
7039    int
7040    main ()
7041    {
7042    return f != BSDgettimeofday;
7043    ;    ;
7044    return 0;    return 0;
7045  }  }
# Line 6577  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7059  if { (eval echo "$as_me:$LINENO: \"$ac_l
7059    ac_cv_func_BSDgettimeofday=yes    ac_cv_func_BSDgettimeofday=yes
7060  else  else
7061    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7062  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7063    
7064  ac_cv_func_BSDgettimeofday=no  ac_cv_func_BSDgettimeofday=no
7065  fi  fi
7066  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6597  if test "${ac_cv_func_gettimeofday+set}" Line 7080  if test "${ac_cv_func_gettimeofday+set}"
7080  else  else
7081    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7082  #line $LINENO "configure"  #line $LINENO "configure"
7083  #include "confdefs.h"  /* confdefs.h.  */
7084    _ACEOF
7085    cat confdefs.h >>conftest.$ac_ext
7086    cat >>conftest.$ac_ext <<_ACEOF
7087    /* end confdefs.h.  */
7088  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
7089      which can conflict with char gettimeofday (); below.  */      which can conflict with char gettimeofday (); below.
7090  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7091        <limits.h> exists even on freestanding compilers.  */
7092    #ifdef __STDC__
7093    # include <limits.h>
7094    #else
7095    # include <assert.h>
7096    #endif
7097  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7098  #ifdef __cplusplus  #ifdef __cplusplus
7099  extern "C"  extern "C"
7100    {
7101  #endif  #endif
7102  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7103     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7104  char gettimeofday ();  char gettimeofday ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
7105  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
7106      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
7107      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
7108  #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)  #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
7109  choke me  choke me
7110  #else  #else
7111  f = gettimeofday;  char (*f) () = gettimeofday;
7112    #endif
7113    #ifdef __cplusplus
7114    }
7115  #endif  #endif
7116    
7117    int
7118    main ()
7119    {
7120    return f != gettimeofday;
7121    ;    ;
7122    return 0;    return 0;
7123  }  }
# Line 6647  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7137  if { (eval echo "$as_me:$LINENO: \"$ac_l
7137    ac_cv_func_gettimeofday=yes    ac_cv_func_gettimeofday=yes
7138  else  else
7139    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7140  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7141    
7142  ac_cv_func_gettimeofday=no  ac_cv_func_gettimeofday=no
7143  fi  fi
7144  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6671  echo $ECHO_N "checking for gettimeofday Line 7162  echo $ECHO_N "checking for gettimeofday
7162    
7163  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7164  #line $LINENO "configure"  #line $LINENO "configure"
7165  #include "confdefs.h"  /* confdefs.h.  */
7166    _ACEOF
7167    cat confdefs.h >>conftest.$ac_ext
7168    cat >>conftest.$ac_ext <<_ACEOF
7169    /* end confdefs.h.  */
7170  #include <sys/time.h>  #include <sys/time.h>
7171    
7172  _ACEOF  _ACEOF
7173  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7174    egrep "gettimeofday" >/dev/null 2>&1; then    $EGREP "gettimeofday" >/dev/null 2>&1; then
7175    echo "$as_me:$LINENO: result: present" >&5    echo "$as_me:$LINENO: result: present" >&5
7176  echo "${ECHO_T}present" >&6  echo "${ECHO_T}present" >&6
7177  else  else
# Line 6700  else Line 7195  else
7195  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
7196  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7197  #line $LINENO "configure"  #line $LINENO "configure"
7198  #include "confdefs.h"  /* confdefs.h.  */
7199    _ACEOF
7200    cat confdefs.h >>conftest.$ac_ext
7201    cat >>conftest.$ac_ext <<_ACEOF
7202    /* end confdefs.h.  */
7203    
7204  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
7205  #ifdef __cplusplus  #ifdef __cplusplus
# Line 6709  extern "C" Line 7208  extern "C"
7208  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
7209     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
7210  char sin ();  char sin ();
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
7211  int  int
7212  main ()  main ()
7213  {  {
# Line 6738  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7231  if { (eval echo "$as_me:$LINENO: \"$ac_l
7231    ac_cv_lib_m_sin=yes    ac_cv_lib_m_sin=yes
7232  else  else
7233    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7234  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7235    
7236  ac_cv_lib_m_sin=no  ac_cv_lib_m_sin=no
7237  fi  fi
7238  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6761  else Line 7255  else
7255  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
7256  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7257  #line $LINENO "configure"  #line $LINENO "configure"
7258  #include "confdefs.h"  /* confdefs.h.  */
7259    _ACEOF
7260    cat confdefs.h >>conftest.$ac_ext
7261    cat >>conftest.$ac_ext <<_ACEOF
7262    /* end confdefs.h.  */
7263    
7264    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
7265  int  int
7266  main ()  main ()
7267  {  {
# Line 6793  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 7285  if { (eval echo "$as_me:$LINENO: \"$ac_l
7285    ac_cv_lib_mingwex_main=yes    ac_cv_lib_mingwex_main=yes
7286  else  else
7287    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7288  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7289    
7290  ac_cv_lib_mingwex_main=no  ac_cv_lib_mingwex_main=no
7291  fi  fi
7292  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 6807  else Line 7300  else
7300    true    true
7301  fi  fi
7302    
7303    # AC_CHECK_LIB(japi,j_start,LIBS="${LIBS} -ljapi -lwsock32",true)
7304    
7305    for ac_header in japi.h
7306    do
7307    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7308    if eval "test \"\${$as_ac_Header+set}\" = set"; then
7309      echo "$as_me:$LINENO: checking for $ac_header" >&5
7310    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7311    if eval "test \"\${$as_ac_Header+set}\" = set"; then
7312      echo $ECHO_N "(cached) $ECHO_C" >&6
7313    fi
7314    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7315    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7316    else
7317      # Is the header compilable?
7318    echo "$as_me:$LINENO: checking $ac_header usability" >&5
7319    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7320    cat >conftest.$ac_ext <<_ACEOF
7321    #line $LINENO "configure"
7322    /* confdefs.h.  */
7323    _ACEOF
7324    cat confdefs.h >>conftest.$ac_ext
7325    cat >>conftest.$ac_ext <<_ACEOF
7326    /* end confdefs.h.  */
7327    $ac_includes_default
7328    #include <$ac_header>
7329    _ACEOF
7330    rm -f conftest.$ac_objext
7331    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7332      (eval $ac_compile) 2>&5
7333      ac_status=$?
7334      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335      (exit $ac_status); } &&
7336             { ac_try='test -s conftest.$ac_objext'
7337      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338      (eval $ac_try) 2>&5
7339      ac_status=$?
7340      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341      (exit $ac_status); }; }; then
7342      ac_header_compiler=yes
7343    else
7344      echo "$as_me: failed program was:" >&5
7345    sed 's/^/| /' conftest.$ac_ext >&5
7346    
7347    ac_header_compiler=no
7348    fi
7349    rm -f conftest.$ac_objext conftest.$ac_ext
7350    echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7351    echo "${ECHO_T}$ac_header_compiler" >&6
7352    
7353    # Is the header present?
7354    echo "$as_me:$LINENO: checking $ac_header presence" >&5
7355    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7356    cat >conftest.$ac_ext <<_ACEOF
7357    #line $LINENO "configure"
7358    /* confdefs.h.  */
7359    _ACEOF
7360    cat confdefs.h >>conftest.$ac_ext
7361    cat >>conftest.$ac_ext <<_ACEOF
7362    /* end confdefs.h.  */
7363    #include <$ac_header>
7364    _ACEOF
7365    if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7366      (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7367      ac_status=$?
7368      grep -v '^ *+' conftest.er1 >conftest.err
7369      rm -f conftest.er1
7370      cat conftest.err >&5
7371      echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372      (exit $ac_status); } >/dev/null; then
7373      if test -s conftest.err; then
7374        ac_cpp_err=$ac_c_preproc_warn_flag
7375      else
7376        ac_cpp_err=
7377      fi
7378    else
7379      ac_cpp_err=yes
7380    fi
7381    if test -z "$ac_cpp_err"; then
7382      ac_header_preproc=yes
7383    else
7384      echo "$as_me: failed program was:" >&5
7385    sed 's/^/| /' conftest.$ac_ext >&5
7386    
7387      ac_header_preproc=no
7388    fi
7389    rm -f conftest.err conftest.$ac_ext
7390    echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7391    echo "${ECHO_T}$ac_header_preproc" >&6
7392    
7393    # So?  What about this header?
7394    case $ac_header_compiler:$ac_header_preproc in
7395      yes:no )
7396        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7397    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7398        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7399    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7400        (
7401          cat <<\_ASBOX
7402    ## ------------------------------------ ##
7403    ## Report this to bug-autoconf@gnu.org. ##
7404    ## ------------------------------------ ##
7405    _ASBOX
7406        ) |
7407          sed "s/^/$as_me: WARNING:     /" >&2
7408        ;;
7409      no:yes )
7410        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7411    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7412        { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7413    echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7414        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7415    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7416        (
7417          cat <<\_ASBOX
7418    ## ------------------------------------ ##
7419    ## Report this to bug-autoconf@gnu.org. ##
7420    ## ------------------------------------ ##
7421    _ASBOX
7422        ) |
7423          sed "s/^/$as_me: WARNING:     /" >&2
7424        ;;
7425    esac
7426    echo "$as_me:$LINENO: checking for $ac_header" >&5
7427    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7428    if eval "test \"\${$as_ac_Header+set}\" = set"; then
7429      echo $ECHO_N "(cached) $ECHO_C" >&6
7430    else
7431      eval "$as_ac_Header=$ac_header_preproc"
7432    fi
7433    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7434    echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7435    
7436    fi
7437    if test `eval echo '${'$as_ac_Header'}'` = yes; then
7438      cat >>confdefs.h <<_ACEOF
7439    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7440    _ACEOF
7441     cat >>confdefs.h <<\_ACEOF
7442    #define HAVE_JAPI_H 1
7443    _ACEOF
7444    
7445                             EXTRA_LOBJS="${EXTRA_LOBJS} japi.o"
7446                             LIBS="${LIBS} -ljapi -lwsock32"
7447    fi
7448    
7449    done
7450    
7451    
7452  # Should really find a way to check for prototypes, but this  # Should really find a way to check for prototypes, but this
7453  # basically works for now.  CM  # basically works for now.  CM
# Line 6829  echo "$as_me:$LINENO: checking $ac_heade Line 7470  echo "$as_me:$LINENO: checking $ac_heade
7470  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7471  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7472  #line $LINENO "configure"  #line $LINENO "configure"
7473  #include "confdefs.h"  /* confdefs.h.  */
7474    _ACEOF
7475    cat confdefs.h >>conftest.$ac_ext
7476    cat >>conftest.$ac_ext <<_ACEOF
7477    /* end confdefs.h.  */
7478  $ac_includes_default  $ac_includes_default
7479  #include <$ac_header>  #include <$ac_header>
7480  _ACEOF  _ACEOF
# Line 6848  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 7493  if { (eval echo "$as_me:$LINENO: \"$ac_c
7493    ac_header_compiler=yes    ac_header_compiler=yes
7494  else  else
7495    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7496  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7497    
7498  ac_header_compiler=no  ac_header_compiler=no
7499  fi  fi
7500  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 6860  echo "$as_me:$LINENO: checking $ac_heade Line 7506  echo "$as_me:$LINENO: checking $ac_heade
7506  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7507  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7508  #line $LINENO "configure"  #line $LINENO "configure"
7509  #include "confdefs.h"  /* confdefs.h.  */
7510    _ACEOF
7511    cat confdefs.h >>conftest.$ac_ext
7512    cat >>conftest.$ac_ext <<_ACEOF
7513    /* end confdefs.h.  */
7514  #include <$ac_header>  #include <$ac_header>
7515  _ACEOF  _ACEOF
7516  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7517    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7518    ac_status=$?    ac_status=$?
7519    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
7520    rm -f conftest.er1    rm -f conftest.er1
7521    cat conftest.err >&5    cat conftest.err >&5
7522    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 6883  if test -z "$ac_cpp_err"; then Line 7533  if test -z "$ac_cpp_err"; then
7533    ac_header_preproc=yes    ac_header_preproc=yes
7534  else  else
7535    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7536    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7537    
7538    ac_header_preproc=no    ac_header_preproc=no
7539  fi  fi
7540  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 6896  case $ac_header_compiler:$ac_header_prep Line 7547  case $ac_header_compiler:$ac_header_prep
7547      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7548  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7549      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7550  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7551        (
7552          cat <<\_ASBOX
7553    ## ------------------------------------ ##
7554    ## Report this to bug-autoconf@gnu.org. ##
7555    ## ------------------------------------ ##
7556    _ASBOX
7557        ) |
7558          sed "s/^/$as_me: WARNING:     /" >&2
7559        ;;
7560    no:yes )    no:yes )
7561      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7562  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7563      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7564  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7565      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7566  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7567        (
7568          cat <<\_ASBOX
7569    ## ------------------------------------ ##
7570    ## Report this to bug-autoconf@gnu.org. ##
7571    ## ------------------------------------ ##
7572    _ASBOX
7573        ) |
7574          sed "s/^/$as_me: WARNING:     /" >&2
7575        ;;
7576  esac  esac
7577  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
7578  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 6950  echo "$as_me:$LINENO: checking $ac_heade Line 7619  echo "$as_me:$LINENO: checking $ac_heade
7619  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7620  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7621  #line $LINENO "configure"  #line $LINENO "configure"
7622  #include "confdefs.h"  /* confdefs.h.  */
7623    _ACEOF
7624    cat confdefs.h >>conftest.$ac_ext
7625    cat >>conftest.$ac_ext <<_ACEOF
7626    /* end confdefs.h.  */
7627  $ac_includes_default  $ac_includes_default
7628  #include <$ac_header>  #include <$ac_header>
7629  _ACEOF  _ACEOF
# Line 6969  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 7642  if { (eval echo "$as_me:$LINENO: \"$ac_c
7642    ac_header_compiler=yes    ac_header_compiler=yes
7643  else  else
7644    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7645  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7646    
7647  ac_header_compiler=no  ac_header_compiler=no
7648  fi  fi
7649  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 6981  echo "$as_me:$LINENO: checking $ac_heade Line 7655  echo "$as_me:$LINENO: checking $ac_heade
7655  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7656  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7657  #line $LINENO "configure"  #line $LINENO "configure"
7658  #include "confdefs.h"  /* confdefs.h.  */
7659    _ACEOF
7660    cat confdefs.h >>conftest.$ac_ext
7661    cat >>conftest.$ac_ext <<_ACEOF
7662    /* end confdefs.h.  */
7663  #include <$ac_header>  #include <$ac_header>
7664  _ACEOF  _ACEOF
7665  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7666    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7667    ac_status=$?    ac_status=$?
7668    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
7669    rm -f conftest.er1    rm -f conftest.er1
7670    cat conftest.err >&5    cat conftest.err >&5
7671    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 7004  if test -z "$ac_cpp_err"; then Line 7682  if test -z "$ac_cpp_err"; then
7682    ac_header_preproc=yes    ac_header_preproc=yes
7683  else  else
7684    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7685    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7686    
7687    ac_header_preproc=no    ac_header_preproc=no
7688  fi  fi
7689  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 7017  case $ac_header_compiler:$ac_header_prep Line 7696  case $ac_header_compiler:$ac_header_prep
7696      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7697  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7698      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7699  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7700        (
7701          cat <<\_ASBOX
7702    ## ------------------------------------ ##
7703    ## Report this to bug-autoconf@gnu.org. ##
7704    ## ------------------------------------ ##
7705    _ASBOX
7706        ) |
7707          sed "s/^/$as_me: WARNING:     /" >&2
7708        ;;
7709    no:yes )    no:yes )
7710      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7711  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7712      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7713  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7714      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7715  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7716        (
7717          cat <<\_ASBOX
7718    ## ------------------------------------ ##
7719    ## Report this to bug-autoconf@gnu.org. ##
7720    ## ------------------------------------ ##
7721    _ASBOX
7722        ) |
7723          sed "s/^/$as_me: WARNING:     /" >&2
7724        ;;
7725  esac  esac
7726  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
7727  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 7071  echo "$as_me:$LINENO: checking $ac_heade Line 7768  echo "$as_me:$LINENO: checking $ac_heade
7768  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7769  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7770  #line $LINENO "configure"  #line $LINENO "configure"
7771  #include "confdefs.h"  /* confdefs.h.  */
7772    _ACEOF
7773    cat confdefs.h >>conftest.$ac_ext
7774    cat >>conftest.$ac_ext <<_ACEOF
7775    /* end confdefs.h.  */
7776  $ac_includes_default  $ac_includes_default
7777  #include <$ac_header>  #include <$ac_header>
7778  _ACEOF  _ACEOF
# Line 7090  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 7791  if { (eval echo "$as_me:$LINENO: \"$ac_c
7791    ac_header_compiler=yes    ac_header_compiler=yes
7792  else  else
7793    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7794  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7795    
7796  ac_header_compiler=no  ac_header_compiler=no
7797  fi  fi
7798  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 7102  echo "$as_me:$LINENO: checking $ac_heade Line 7804  echo "$as_me:$LINENO: checking $ac_heade
7804  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7805  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
7806  #line $LINENO "configure"  #line $LINENO "configure"
7807  #include "confdefs.h"  /* confdefs.h.  */
7808    _ACEOF
7809    cat confdefs.h >>conftest.$ac_ext
7810    cat >>conftest.$ac_ext <<_ACEOF
7811    /* end confdefs.h.  */
7812  #include <$ac_header>  #include <$ac_header>
7813  _ACEOF  _ACEOF
7814  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7815    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7816    ac_status=$?    ac_status=$?
7817    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
7818    rm -f conftest.er1    rm -f conftest.er1
7819    cat conftest.err >&5    cat conftest.err >&5
7820    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 7125  if test -z "$ac_cpp_err"; then Line 7831  if test -z "$ac_cpp_err"; then
7831    ac_header_preproc=yes    ac_header_preproc=yes
7832  else  else
7833    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
7834    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7835    
7836    ac_header_preproc=no    ac_header_preproc=no
7837  fi  fi
7838  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 7138  case $ac_header_compiler:$ac_header_prep Line 7845  case $ac_header_compiler:$ac_header_prep
7845      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7846  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7847      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7848  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7849        (
7850          cat <<\_ASBOX
7851    ## ------------------------------------ ##
7852    ## Report this to bug-autoconf@gnu.org. ##
7853    ## ------------------------------------ ##
7854    _ASBOX
7855        ) |
7856          sed "s/^/$as_me: WARNING:     /" >&2
7857        ;;
7858    no:yes )    no:yes )
7859      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7860  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7861      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7862  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7863      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7864  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7865        (
7866          cat <<\_ASBOX
7867    ## ------------------------------------ ##
7868    ## Report this to bug-autoconf@gnu.org. ##
7869    ## ------------------------------------ ##
7870    _ASBOX
7871        ) |
7872          sed "s/^/$as_me: WARNING:     /" >&2
7873        ;;
7874  esac  esac
7875  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
7876  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 7184  echo "${ECHO_T}no" >&6 Line 7909  echo "${ECHO_T}no" >&6
7909  else  else
7910    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7911  #line $LINENO "configure"  #line $LINENO "configure"
7912  #include "confdefs.h"  /* confdefs.h.  */
7913    _ACEOF
7914    cat confdefs.h >>conftest.$ac_ext
7915    cat >>conftest.$ac_ext <<_ACEOF
7916    /* end confdefs.h.  */
7917  #define _GNU_SOURCE  #define _GNU_SOURCE
7918              #include <math.h>              #include <math.h>
7919              int main() {              int main() {
# Line 7211  echo "${ECHO_T}yes" >&6 Line 7940  echo "${ECHO_T}yes" >&6
7940  else  else
7941    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
7942  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
7943  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7944    
7945  ( exit $ac_status )  ( exit $ac_status )
7946  echo "$as_me:$LINENO: checking for fpclass in ieeefp.h" >&5  echo "$as_me:$LINENO: checking for fpclass in ieeefp.h" >&5
7947  echo $ECHO_N "checking for fpclass in ieeefp.h... $ECHO_C" >&6  echo $ECHO_N "checking for fpclass in ieeefp.h... $ECHO_C" >&6
# Line 7221  echo "${ECHO_T}no" >&6 Line 7951  echo "${ECHO_T}no" >&6
7951  else  else
7952    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
7953  #line $LINENO "configure"  #line $LINENO "configure"
7954  #include "confdefs.h"  /* confdefs.h.  */
7955    _ACEOF
7956    cat confdefs.h >>conftest.$ac_ext
7957    cat >>conftest.$ac_ext <<_ACEOF
7958    /* end confdefs.h.  */
7959  #include <ieeefp.h>  #include <ieeefp.h>
7960                              int main() {                              int main() {
7961                                  float f;                                  float f;
# Line 7247  echo "${ECHO_T}yes" >&6 Line 7981  echo "${ECHO_T}yes" >&6
7981  else  else
7982    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
7983  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
7984  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
7985    
7986  ( exit $ac_status )  ( exit $ac_status )
7987  HAVE_IEEEFP=0 echo "$as_me:$LINENO: result: no" >&5  HAVE_IEEEFP=0 echo "$as_me:$LINENO: result: no" >&5
7988  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
7989  fi  fi
7990  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7991  fi  fi
7992    
7993  fi  fi
7994  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7995  fi  fi
7996    
7997  echo "$as_me:$LINENO: checking for isfinite" >&5  echo "$as_me:$LINENO: checking for isfinite" >&5
# Line 7267  echo "${ECHO_T}no" >&6 Line 8002  echo "${ECHO_T}no" >&6
8002  else  else
8003    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8004  #line $LINENO "configure"  #line $LINENO "configure"
8005  #include "confdefs.h"  /* confdefs.h.  */
8006    _ACEOF
8007    cat confdefs.h >>conftest.$ac_ext
8008    cat >>conftest.$ac_ext <<_ACEOF
8009    /* end confdefs.h.  */
8010  #define _GNU_SOURCE  #define _GNU_SOURCE
8011              #include <math.h>              #include <math.h>
8012              int main() {              int main() {
# Line 7294  echo "${ECHO_T}yes" >&6 Line 8033  echo "${ECHO_T}yes" >&6
8033  else  else
8034    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
8035  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
8036  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8037    
8038  ( exit $ac_status )  ( exit $ac_status )
8039  echo "$as_me:$LINENO: checking for finite()" >&5  echo "$as_me:$LINENO: checking for finite()" >&5
8040  echo $ECHO_N "checking for finite()... $ECHO_C" >&6  echo $ECHO_N "checking for finite()... $ECHO_C" >&6
# Line 7304  echo "${ECHO_T}no" >&6 Line 8044  echo "${ECHO_T}no" >&6
8044  else  else
8045    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8046  #line $LINENO "configure"  #line $LINENO "configure"
8047  #include "confdefs.h"  /* confdefs.h.  */
8048    _ACEOF
8049    cat confdefs.h >>conftest.$ac_ext
8050    cat >>conftest.$ac_ext <<_ACEOF
8051    /* end confdefs.h.  */
8052  #include <math.h>  #include <math.h>
8053                              #include <ieeefp.h>                              #include <ieeefp.h>
8054                              int main() {                              int main() {
# Line 7331  echo "${ECHO_T}yes" >&6 Line 8075  echo "${ECHO_T}yes" >&6
8075  else  else
8076    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
8077  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
8078  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8079    
8080  ( exit $ac_status )  ( exit $ac_status )
8081  HAVE_FINITE=0 echo "$as_me:$LINENO: result: no" >&5  HAVE_FINITE=0 echo "$as_me:$LINENO: result: no" >&5
8082  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8083  fi  fi
8084  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8085  fi  fi
8086    
8087  fi  fi
8088  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8089  fi  fi
8090    
8091    
# Line 7372  if test "${ac_cv_func_connect+set}" = se Line 8117  if test "${ac_cv_func_connect+set}" = se
8117  else  else
8118    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8119  #line $LINENO "configure"  #line $LINENO "configure"
8120  #include "confdefs.h"  /* confdefs.h.  */
8121    _ACEOF
8122    cat confdefs.h >>conftest.$ac_ext
8123    cat >>conftest.$ac_ext <<_ACEOF
8124    /* end confdefs.h.  */
8125  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8126      which can conflict with char connect (); below.  */      which can conflict with char connect (); below.
8127  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8128        <limits.h> exists even on freestanding compilers.  */
8129    #ifdef __STDC__
8130    # include <limits.h>
8131    #else
8132    # include <assert.h>
8133    #endif
8134  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8135  #ifdef __cplusplus  #ifdef __cplusplus
8136  extern "C"  extern "C"
8137    {
8138  #endif  #endif
8139  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8140     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8141  char connect ();  char connect ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
8142  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
8143      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
8144      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
8145  #if defined (__stub_connect) || defined (__stub___connect)  #if defined (__stub_connect) || defined (__stub___connect)
8146  choke me  choke me
8147  #else  #else
8148  f = connect;  char (*f) () = connect;
8149    #endif
8150    #ifdef __cplusplus
8151    }
8152  #endif  #endif
8153    
8154    int
8155    main ()
8156    {
8157    return f != connect;
8158    ;    ;
8159    return 0;    return 0;
8160  }  }
# Line 7422  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8174  if { (eval echo "$as_me:$LINENO: \"$ac_l
8174    ac_cv_func_connect=yes    ac_cv_func_connect=yes
8175  else  else
8176    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8177  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8178    
8179  ac_cv_func_connect=no  ac_cv_func_connect=no
8180  fi  fi
8181  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7445  else Line 8198  else
8198  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
8199  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8200  #line $LINENO "configure"  #line $LINENO "configure"
8201  #include "confdefs.h"  /* confdefs.h.  */
8202    _ACEOF
8203    cat confdefs.h >>conftest.$ac_ext
8204    cat >>conftest.$ac_ext <<_ACEOF
8205    /* end confdefs.h.  */
8206    
8207    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
8208  int  int
8209  main ()  main ()
8210  {  {
# Line 7477  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8228  if { (eval echo "$as_me:$LINENO: \"$ac_l
8228    ac_cv_lib_socket_main=yes    ac_cv_lib_socket_main=yes
8229  else  else
8230    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8231  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8232    
8233  ac_cv_lib_socket_main=no  ac_cv_lib_socket_main=no
8234  fi  fi
8235  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7504  if test "${ac_cv_func_accept+set}" = set Line 8256  if test "${ac_cv_func_accept+set}" = set
8256  else  else
8257    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8258  #line $LINENO "configure"  #line $LINENO "configure"
8259  #include "confdefs.h"  /* confdefs.h.  */
8260    _ACEOF
8261    cat confdefs.h >>conftest.$ac_ext
8262    cat >>conftest.$ac_ext <<_ACEOF
8263    /* end confdefs.h.  */
8264  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8265      which can conflict with char accept (); below.  */      which can conflict with char accept (); below.
8266  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8267        <limits.h> exists even on freestanding compilers.  */
8268    #ifdef __STDC__
8269    # include <limits.h>
8270    #else
8271    # include <assert.h>
8272    #endif
8273  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8274  #ifdef __cplusplus  #ifdef __cplusplus
8275  extern "C"  extern "C"
8276    {
8277  #endif  #endif
8278  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8279     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8280  char accept ();  char accept ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
8281  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
8282      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
8283      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
8284  #if defined (__stub_accept) || defined (__stub___accept)  #if defined (__stub_accept) || defined (__stub___accept)
8285  choke me  choke me
8286  #else  #else
8287  f = accept;  char (*f) () = accept;
8288    #endif
8289    #ifdef __cplusplus
8290    }
8291  #endif  #endif
8292    
8293    int
8294    main ()
8295    {
8296    return f != accept;
8297    ;    ;
8298    return 0;    return 0;
8299  }  }
# Line 7554  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8313  if { (eval echo "$as_me:$LINENO: \"$ac_l
8313    ac_cv_func_accept=yes    ac_cv_func_accept=yes
8314  else  else
8315    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8316  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8317    
8318  ac_cv_func_accept=no  ac_cv_func_accept=no
8319  fi  fi
8320  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7575  if test "${ac_cv_func_gethostbyname+set} Line 8335  if test "${ac_cv_func_gethostbyname+set}
8335  else  else
8336    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8337  #line $LINENO "configure"  #line $LINENO "configure"
8338  #include "confdefs.h"  /* confdefs.h.  */
8339    _ACEOF
8340    cat confdefs.h >>conftest.$ac_ext
8341    cat >>conftest.$ac_ext <<_ACEOF
8342    /* end confdefs.h.  */
8343  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8344      which can conflict with char gethostbyname (); below.  */      which can conflict with char gethostbyname (); below.
8345  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8346        <limits.h> exists even on freestanding compilers.  */
8347    #ifdef __STDC__
8348    # include <limits.h>
8349    #else
8350    # include <assert.h>
8351    #endif
8352  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8353  #ifdef __cplusplus  #ifdef __cplusplus
8354  extern "C"  extern "C"
8355    {
8356  #endif  #endif
8357  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8358     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8359  char gethostbyname ();  char gethostbyname ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
8360  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
8361      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
8362      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
8363  #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)  #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8364  choke me  choke me
8365  #else  #else
8366  f = gethostbyname;  char (*f) () = gethostbyname;
8367    #endif
8368    #ifdef __cplusplus
8369    }
8370  #endif  #endif
8371    
8372    int
8373    main ()
8374    {
8375    return f != gethostbyname;
8376    ;    ;
8377    return 0;    return 0;
8378  }  }
# Line 7625  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8392  if { (eval echo "$as_me:$LINENO: \"$ac_l
8392    ac_cv_func_gethostbyname=yes    ac_cv_func_gethostbyname=yes
8393  else  else
8394    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8395  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8396    
8397  ac_cv_func_gethostbyname=no  ac_cv_func_gethostbyname=no
8398  fi  fi
8399  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7644  else Line 8412  else
8412  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
8413  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8414  #line $LINENO "configure"  #line $LINENO "configure"
8415  #include "confdefs.h"  /* confdefs.h.  */
8416    _ACEOF
8417    cat confdefs.h >>conftest.$ac_ext
8418    cat >>conftest.$ac_ext <<_ACEOF
8419    /* end confdefs.h.  */
8420    
8421    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
8422  int  int
8423  main ()  main ()
8424  {  {
# Line 7676  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8442  if { (eval echo "$as_me:$LINENO: \"$ac_l
8442    ac_cv_lib_nsl_main=yes    ac_cv_lib_nsl_main=yes
8443  else  else
8444    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8445  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8446    
8447  ac_cv_lib_nsl_main=no  ac_cv_lib_nsl_main=no
8448  fi  fi
8449  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7701  else Line 8468  else
8468  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
8469  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8470  #line $LINENO "configure"  #line $LINENO "configure"
8471  #include "confdefs.h"  /* confdefs.h.  */
8472    _ACEOF
8473    cat confdefs.h >>conftest.$ac_ext
8474    cat >>conftest.$ac_ext <<_ACEOF
8475    /* end confdefs.h.  */
8476    
8477    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
8478  int  int
8479  main ()  main ()
8480  {  {
# Line 7733  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8498  if { (eval echo "$as_me:$LINENO: \"$ac_l
8498    ac_cv_lib_readline_main=yes    ac_cv_lib_readline_main=yes
8499  else  else
8500    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8501  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8502    
8503  ac_cv_lib_readline_main=no  ac_cv_lib_readline_main=no
8504  fi  fi
8505  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7760  echo "$as_me:$LINENO: checking For netwo Line 8526  echo "$as_me:$LINENO: checking For netwo
8526  echo $ECHO_N "checking For network code for nsocket.c... $ECHO_C" >&6  echo $ECHO_N "checking For network code for nsocket.c... $ECHO_C" >&6
8527  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8528  #line $LINENO "configure"  #line $LINENO "configure"
8529  #include "confdefs.h"  /* confdefs.h.  */
8530    _ACEOF
8531    cat confdefs.h >>conftest.$ac_ext
8532    cat >>conftest.$ac_ext <<_ACEOF
8533    /* end confdefs.h.  */
8534    
8535  #include <sys/time.h>  #include <sys/time.h>
8536  #include <sys/types.h>  #include <sys/types.h>
# Line 7779  cat >conftest.$ac_ext <<_ACEOF Line 8549  cat >conftest.$ac_ext <<_ACEOF
8549  #include <arpa/inet.h>          /* inet_ntoa() */  #include <arpa/inet.h>          /* inet_ntoa() */
8550  #include <netdb.h>              /* gethostbyname() */  #include <netdb.h>              /* gethostbyname() */
8551    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
8552  int  int
8553  main ()  main ()
8554  {  {
# Line 7816  _ACEOF Line 8580  _ACEOF
8580  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
8581  else  else
8582    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8583  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8584    
8585  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
8586  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8587  fi  fi
# Line 7827  echo "$as_me:$LINENO: checking check for Line 8592  echo "$as_me:$LINENO: checking check for
8592  echo $ECHO_N "checking check for listen using fcntl... $ECHO_C" >&6  echo $ECHO_N "checking check for listen using fcntl... $ECHO_C" >&6
8593  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8594  #line $LINENO "configure"  #line $LINENO "configure"
8595  #include "confdefs.h"  /* confdefs.h.  */
8596    _ACEOF
8597    cat confdefs.h >>conftest.$ac_ext
8598    cat >>conftest.$ac_ext <<_ACEOF
8599    /* end confdefs.h.  */
8600  #include <stdio.h>  #include <stdio.h>
8601  #include <fcntl.h>  #include <fcntl.h>
8602    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
8603  int  int
8604  main ()  main ()
8605  {  {
# Line 7869  _ACEOF Line 8632  _ACEOF
8632  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
8633  else  else
8634    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8635  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8636    
8637  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
8638  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
8639  fi  fi
# Line 7885  if test "${ac_cv_func_profil+set}" = set Line 8649  if test "${ac_cv_func_profil+set}" = set
8649  else  else
8650    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8651  #line $LINENO "configure"  #line $LINENO "configure"
8652  #include "confdefs.h"  /* confdefs.h.  */
8653    _ACEOF
8654    cat confdefs.h >>conftest.$ac_ext
8655    cat >>conftest.$ac_ext <<_ACEOF
8656    /* end confdefs.h.  */
8657  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8658      which can conflict with char profil (); below.  */      which can conflict with char profil (); below.
8659  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8660        <limits.h> exists even on freestanding compilers.  */
8661    #ifdef __STDC__
8662    # include <limits.h>
8663    #else
8664    # include <assert.h>
8665    #endif
8666  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8667  #ifdef __cplusplus  #ifdef __cplusplus
8668  extern "C"  extern "C"
8669    {
8670  #endif  #endif
8671  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8672     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8673  char profil ();  char profil ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
8674  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
8675      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
8676      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
8677  #if defined (__stub_profil) || defined (__stub___profil)  #if defined (__stub_profil) || defined (__stub___profil)
8678  choke me  choke me
8679  #else  #else
8680  f = profil;  char (*f) () = profil;
8681    #endif
8682    #ifdef __cplusplus
8683    }
8684  #endif  #endif
8685    
8686    int
8687    main ()
8688    {
8689    return f != profil;
8690    ;    ;
8691    return 0;    return 0;
8692  }  }
# Line 7935  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8706  if { (eval echo "$as_me:$LINENO: \"$ac_l
8706    ac_cv_func_profil=yes    ac_cv_func_profil=yes
8707  else  else
8708    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8709  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8710    
8711  ac_cv_func_profil=no  ac_cv_func_profil=no
8712  fi  fi
8713  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 7959  if test "${ac_cv_func_setenv+set}" = set Line 8731  if test "${ac_cv_func_setenv+set}" = set
8731  else  else
8732    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8733  #line $LINENO "configure"  #line $LINENO "configure"
8734  #include "confdefs.h"  /* confdefs.h.  */
8735    _ACEOF
8736    cat confdefs.h >>conftest.$ac_ext
8737    cat >>conftest.$ac_ext <<_ACEOF
8738    /* end confdefs.h.  */
8739  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8740      which can conflict with char setenv (); below.  */      which can conflict with char setenv (); below.
8741  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8742        <limits.h> exists even on freestanding compilers.  */
8743    #ifdef __STDC__
8744    # include <limits.h>
8745    #else
8746    # include <assert.h>
8747    #endif
8748  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8749  #ifdef __cplusplus  #ifdef __cplusplus
8750  extern "C"  extern "C"
8751    {
8752  #endif  #endif
8753  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8754     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8755  char setenv ();  char setenv ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
8756  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
8757      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
8758      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
8759  #if defined (__stub_setenv) || defined (__stub___setenv)  #if defined (__stub_setenv) || defined (__stub___setenv)
8760  choke me  choke me
8761  #else  #else
8762  f = setenv;  char (*f) () = setenv;
8763    #endif
8764    #ifdef __cplusplus
8765    }
8766  #endif  #endif
8767    
8768    int
8769    main ()
8770    {
8771    return f != setenv;
8772    ;    ;
8773    return 0;    return 0;
8774  }  }
# Line 8009  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8788  if { (eval echo "$as_me:$LINENO: \"$ac_l
8788    ac_cv_func_setenv=yes    ac_cv_func_setenv=yes
8789  else  else
8790    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8791  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8792    
8793  ac_cv_func_setenv=no  ac_cv_func_setenv=no
8794  fi  fi
8795  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 8034  if test "${ac_cv_func_putenv+set}" = set Line 8814  if test "${ac_cv_func_putenv+set}" = set
8814  else  else
8815    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8816  #line $LINENO "configure"  #line $LINENO "configure"
8817  #include "confdefs.h"  /* confdefs.h.  */
8818    _ACEOF
8819    cat confdefs.h >>conftest.$ac_ext
8820    cat >>conftest.$ac_ext <<_ACEOF
8821    /* end confdefs.h.  */
8822  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8823      which can conflict with char putenv (); below.  */      which can conflict with char putenv (); below.
8824  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8825        <limits.h> exists even on freestanding compilers.  */
8826    #ifdef __STDC__
8827    # include <limits.h>
8828    #else
8829    # include <assert.h>
8830    #endif
8831  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8832  #ifdef __cplusplus  #ifdef __cplusplus
8833  extern "C"  extern "C"
8834    {
8835  #endif  #endif
8836  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8837     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8838  char putenv ();  char putenv ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
8839  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
8840      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
8841      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
8842  #if defined (__stub_putenv) || defined (__stub___putenv)  #if defined (__stub_putenv) || defined (__stub___putenv)
8843  choke me  choke me
8844  #else  #else
8845  f = putenv;  char (*f) () = putenv;
8846    #endif
8847    #ifdef __cplusplus
8848    }
8849  #endif  #endif
8850    
8851    int
8852    main ()
8853    {
8854    return f != putenv;
8855    ;    ;
8856    return 0;    return 0;
8857  }  }
# Line 8084  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8871  if { (eval echo "$as_me:$LINENO: \"$ac_l
8871    ac_cv_func_putenv=yes    ac_cv_func_putenv=yes
8872  else  else
8873    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8874  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8875    
8876  ac_cv_func_putenv=no  ac_cv_func_putenv=no
8877  fi  fi
8878  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 8108  if test "${ac_cv_func__cleanup+set}" = s Line 8896  if test "${ac_cv_func__cleanup+set}" = s
8896  else  else
8897    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
8898  #line $LINENO "configure"  #line $LINENO "configure"
8899  #include "confdefs.h"  /* confdefs.h.  */
8900    _ACEOF
8901    cat confdefs.h >>conftest.$ac_ext
8902    cat >>conftest.$ac_ext <<_ACEOF
8903    /* end confdefs.h.  */
8904  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
8905      which can conflict with char _cleanup (); below.  */      which can conflict with char _cleanup (); below.
8906  #include <assert.h>      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8907        <limits.h> exists even on freestanding compilers.  */
8908    #ifdef __STDC__
8909    # include <limits.h>
8910    #else
8911    # include <assert.h>
8912    #endif
8913  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
8914  #ifdef __cplusplus  #ifdef __cplusplus
8915  extern "C"  extern "C"
8916    {
8917  #endif  #endif
8918  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
8919     builtin and then its argument prototype would still apply.  */     builtin and then its argument prototype would still apply.  */
8920  char _cleanup ();  char _cleanup ();
 char (*f) ();  
   
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
 int  
 main ()  
 {  
8921  /* The GNU C library defines this for functions which it implements  /* The GNU C library defines this for functions which it implements
8922      to always fail with ENOSYS.  Some functions are actually named      to always fail with ENOSYS.  Some functions are actually named
8923      something starting with __ and the normal name is an alias.  */      something starting with __ and the normal name is an alias.  */
8924  #if defined (__stub__cleanup) || defined (__stub____cleanup)  #if defined (__stub__cleanup) || defined (__stub____cleanup)
8925  choke me  choke me
8926  #else  #else
8927  f = _cleanup;  char (*f) () = _cleanup;
8928    #endif
8929    #ifdef __cplusplus
8930    }
8931  #endif  #endif
8932    
8933    int
8934    main ()
8935    {
8936    return f != _cleanup;
8937    ;    ;
8938    return 0;    return 0;
8939  }  }
# Line 8158  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 8953  if { (eval echo "$as_me:$LINENO: \"$ac_l
8953    ac_cv_func__cleanup=yes    ac_cv_func__cleanup=yes
8954  else  else
8955    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
8956  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
8957    
8958  ac_cv_func__cleanup=no  ac_cv_func__cleanup=no
8959  fi  fi
8960  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 8177  gcl_ok=no Line 8973  gcl_ok=no
8973    
8974  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
8975  #line $LINENO "configure"  #line $LINENO "configure"
8976  #include "confdefs.h"  /* confdefs.h.  */
8977    _ACEOF
8978    cat confdefs.h >>conftest.$ac_ext
8979    cat >>conftest.$ac_ext <<_ACEOF
8980    /* end confdefs.h.  */
8981  #include <ctype.h>  #include <ctype.h>
8982    
8983  _ACEOF  _ACEOF
8984  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8985    egrep "LITTLE_ENDIAN" >/dev/null 2>&1; then    $EGREP "LITTLE_ENDIAN" >/dev/null 2>&1; then
8986    gcl_ok=yes    gcl_ok=yes
8987  else  else
8988    gcl_ok=noo    gcl_ok=noo
# Line 8241  echo "$as_me:$LINENO: checking check for Line 9041  echo "$as_me:$LINENO: checking check for
9041  echo $ECHO_N "checking check for SV_ONSTACK... $ECHO_C" >&6  echo $ECHO_N "checking check for SV_ONSTACK... $ECHO_C" >&6
9042  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9043  #line $LINENO "configure"  #line $LINENO "configure"
9044  #include "confdefs.h"  /* confdefs.h.  */
9045    _ACEOF
9046    cat confdefs.h >>conftest.$ac_ext
9047    cat >>conftest.$ac_ext <<_ACEOF
9048    /* end confdefs.h.  */
9049  #include <signal.h>  #include <signal.h>
9050  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
9051    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
9052  int  int
9053  main ()  main ()
9054  {  {
# Line 8280  _ACEOF Line 9078  _ACEOF
9078  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
9079  else  else
9080    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9081  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9082    
9083  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
9084  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
9085  fi  fi
# Line 8290  echo "$as_me:$LINENO: checking check for Line 9089  echo "$as_me:$LINENO: checking check for
9089  echo $ECHO_N "checking check for SIGSYS... $ECHO_C" >&6  echo $ECHO_N "checking check for SIGSYS... $ECHO_C" >&6
9090  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9091  #line $LINENO "configure"  #line $LINENO "configure"
9092  #include "confdefs.h"  /* confdefs.h.  */
9093    _ACEOF
9094    cat confdefs.h >>conftest.$ac_ext
9095    cat >>conftest.$ac_ext <<_ACEOF
9096    /* end confdefs.h.  */
9097  #include <signal.h>  #include <signal.h>
9098  int joe=SIGSYS;  int joe=SIGSYS;
9099    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
9100  int  int
9101  main ()  main ()
9102  {  {
# Line 8329  _ACEOF Line 9126  _ACEOF
9126  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
9127  else  else
9128    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9129  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9130    
9131  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
9132  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
9133  fi  fi
# Line 8340  echo "$as_me:$LINENO: checking check for Line 9138  echo "$as_me:$LINENO: checking check for
9138  echo $ECHO_N "checking check for SIGEMT... $ECHO_C" >&6  echo $ECHO_N "checking check for SIGEMT... $ECHO_C" >&6
9139  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9140  #line $LINENO "configure"  #line $LINENO "configure"
9141  #include "confdefs.h"  /* confdefs.h.  */
9142    _ACEOF
9143    cat confdefs.h >>conftest.$ac_ext
9144    cat >>conftest.$ac_ext <<_ACEOF
9145    /* end confdefs.h.  */
9146  #include <signal.h>  #include <signal.h>
9147  int joe=SIGEMT;  int joe=SIGEMT;
9148    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
9149  int  int
9150  main ()  main ()
9151  {  {
# Line 8379  _ACEOF Line 9175  _ACEOF
9175  echo "${ECHO_T}yes" >&6  echo "${ECHO_T}yes" >&6
9176  else  else
9177    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9178  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9179    
9180  echo "$as_me:$LINENO: result: no" >&5  echo "$as_me:$LINENO: result: no" >&5
9181  echo "${ECHO_T}no" >&6  echo "${ECHO_T}no" >&6
9182  fi  fi
# Line 8407  echo "$as_me:$LINENO: checking $ac_heade Line 9204  echo "$as_me:$LINENO: checking $ac_heade
9204  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9205  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9206  #line $LINENO "configure"  #line $LINENO "configure"
9207  #include "confdefs.h"  /* confdefs.h.  */
9208    _ACEOF
9209    cat confdefs.h >>conftest.$ac_ext
9210    cat >>conftest.$ac_ext <<_ACEOF
9211    /* end confdefs.h.  */
9212  $ac_includes_default  $ac_includes_default
9213  #include <$ac_header>  #include <$ac_header>
9214  _ACEOF  _ACEOF
# Line 8426  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 9227  if { (eval echo "$as_me:$LINENO: \"$ac_c
9227    ac_header_compiler=yes    ac_header_compiler=yes
9228  else  else
9229    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9230  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9231    
9232  ac_header_compiler=no  ac_header_compiler=no
9233  fi  fi
9234  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 8438  echo "$as_me:$LINENO: checking $ac_heade Line 9240  echo "$as_me:$LINENO: checking $ac_heade
9240  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9241  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9242  #line $LINENO "configure"  #line $LINENO "configure"
9243  #include "confdefs.h"  /* confdefs.h.  */
9244    _ACEOF
9245    cat confdefs.h >>conftest.$ac_ext
9246    cat >>conftest.$ac_ext <<_ACEOF
9247    /* end confdefs.h.  */
9248  #include <$ac_header>  #include <$ac_header>
9249  _ACEOF  _ACEOF
9250  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9251    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9252    ac_status=$?    ac_status=$?
9253    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
9254    rm -f conftest.er1    rm -f conftest.er1
9255    cat conftest.err >&5    cat conftest.err >&5
9256    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 8461  if test -z "$ac_cpp_err"; then Line 9267  if test -z "$ac_cpp_err"; then
9267    ac_header_preproc=yes    ac_header_preproc=yes
9268  else  else
9269    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9270    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9271    
9272    ac_header_preproc=no    ac_header_preproc=no
9273  fi  fi
9274  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 8474  case $ac_header_compiler:$ac_header_prep Line 9281  case $ac_header_compiler:$ac_header_prep
9281      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9282  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9283      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9284  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9285        (
9286          cat <<\_ASBOX
9287    ## ------------------------------------ ##
9288    ## Report this to bug-autoconf@gnu.org. ##
9289    ## ------------------------------------ ##
9290    _ASBOX
9291        ) |
9292          sed "s/^/$as_me: WARNING:     /" >&2
9293        ;;
9294    no:yes )    no:yes )
9295      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9296  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9297      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9298  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9299      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9300  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9301        (
9302          cat <<\_ASBOX
9303    ## ------------------------------------ ##
9304    ## Report this to bug-autoconf@gnu.org. ##
9305    ## ------------------------------------ ##
9306    _ASBOX
9307        ) |
9308          sed "s/^/$as_me: WARNING:     /" >&2
9309        ;;
9310  esac  esac
9311  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
9312  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 8521  echo "$as_me:$LINENO: checking $ac_heade Line 9346  echo "$as_me:$LINENO: checking $ac_heade
9346  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9347  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9348  #line $LINENO "configure"  #line $LINENO "configure"
9349  #include "confdefs.h"  /* confdefs.h.  */
9350    _ACEOF
9351    cat confdefs.h >>conftest.$ac_ext
9352    cat >>conftest.$ac_ext <<_ACEOF
9353    /* end confdefs.h.  */
9354  $ac_includes_default  $ac_includes_default
9355  #include <$ac_header>  #include <$ac_header>
9356  _ACEOF  _ACEOF
# Line 8540  if { (eval echo "$as_me:$LINENO: \"$ac_c Line 9369  if { (eval echo "$as_me:$LINENO: \"$ac_c
9369    ac_header_compiler=yes    ac_header_compiler=yes
9370  else  else
9371    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9372  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9373    
9374  ac_header_compiler=no  ac_header_compiler=no
9375  fi  fi
9376  rm -f conftest.$ac_objext conftest.$ac_ext  rm -f conftest.$ac_objext conftest.$ac_ext
# Line 8552  echo "$as_me:$LINENO: checking $ac_heade Line 9382  echo "$as_me:$LINENO: checking $ac_heade
9382  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9383  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9384  #line $LINENO "configure"  #line $LINENO "configure"
9385  #include "confdefs.h"  /* confdefs.h.  */
9386    _ACEOF
9387    cat confdefs.h >>conftest.$ac_ext
9388    cat >>conftest.$ac_ext <<_ACEOF
9389    /* end confdefs.h.  */
9390  #include <$ac_header>  #include <$ac_header>
9391  _ACEOF  _ACEOF
9392  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5  if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9393    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9394    ac_status=$?    ac_status=$?
9395    egrep -v '^ *\+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
9396    rm -f conftest.er1    rm -f conftest.er1
9397    cat conftest.err >&5    cat conftest.err >&5
9398    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
# Line 8575  if test -z "$ac_cpp_err"; then Line 9409  if test -z "$ac_cpp_err"; then
9409    ac_header_preproc=yes    ac_header_preproc=yes
9410  else  else
9411    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9412    cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9413    
9414    ac_header_preproc=no    ac_header_preproc=no
9415  fi  fi
9416  rm -f conftest.err conftest.$ac_ext  rm -f conftest.err conftest.$ac_ext
# Line 8588  case $ac_header_compiler:$ac_header_prep Line 9423  case $ac_header_compiler:$ac_header_prep
9423      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9424  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9425      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9426  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9427        (
9428          cat <<\_ASBOX
9429    ## ------------------------------------ ##
9430    ## Report this to bug-autoconf@gnu.org. ##
9431    ## ------------------------------------ ##
9432    _ASBOX
9433        ) |
9434          sed "s/^/$as_me: WARNING:     /" >&2
9435        ;;
9436    no:yes )    no:yes )
9437      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9438  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9439      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9440  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}  echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9441      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5      { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9442  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;  echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9443        (
9444          cat <<\_ASBOX
9445    ## ------------------------------------ ##
9446    ## Report this to bug-autoconf@gnu.org. ##
9447    ## ------------------------------------ ##
9448    _ASBOX
9449        ) |
9450          sed "s/^/$as_me: WARNING:     /" >&2
9451        ;;
9452  esac  esac
9453  echo "$as_me:$LINENO: checking for $ac_header" >&5  echo "$as_me:$LINENO: checking for $ac_header" >&5
9454  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
# Line 8619  done Line 9472  done
9472    
9473          cat >conftest.$ac_ext <<_ACEOF          cat >conftest.$ac_ext <<_ACEOF
9474  #line $LINENO "configure"  #line $LINENO "configure"
9475  #include "confdefs.h"  /* confdefs.h.  */
9476    _ACEOF
9477    cat confdefs.h >>conftest.$ac_ext
9478    cat >>conftest.$ac_ext <<_ACEOF
9479    /* end confdefs.h.  */
9480  #include <signal.h>  #include <signal.h>
9481                          long code;                          long code;
9482    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
9483  int  int
9484  main ()  main ()
9485  {  {
# Line 8662  echo "${ECHO_T}\"sigcontext in signal.h\ Line 9513  echo "${ECHO_T}\"sigcontext in signal.h\
9513    
9514  else  else
9515    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9516  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9517    
9518  sigcontext_struct_works=0;  sigcontext_struct_works=0;
9519           echo "$as_me:$LINENO: result: \"sigcontext NOT in signal.h\"" >&5           echo "$as_me:$LINENO: result: \"sigcontext NOT in signal.h\"" >&5
9520  echo "${ECHO_T}\"sigcontext NOT in signal.h\"" >&6  echo "${ECHO_T}\"sigcontext NOT in signal.h\"" >&6
# Line 8672  rm -f conftest.$ac_objext conftest.$ac_e Line 9524  rm -f conftest.$ac_objext conftest.$ac_e
9524         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
9525         cat >conftest.$ac_ext <<_ACEOF         cat >conftest.$ac_ext <<_ACEOF
9526  #line $LINENO "configure"  #line $LINENO "configure"
9527  #include "confdefs.h"  /* confdefs.h.  */
9528    _ACEOF
9529    cat confdefs.h >>conftest.$ac_ext
9530    cat >>conftest.$ac_ext <<_ACEOF
9531    /* end confdefs.h.  */
9532  #include <signal.h>  #include <signal.h>
9533               #ifdef HAVE_ASM_SIGCONTEXT_H               #ifdef HAVE_ASM_SIGCONTEXT_H
9534               #include <asm/sigcontext.h>               #include <asm/sigcontext.h>
# Line 8682  rm -f conftest.$ac_objext conftest.$ac_e Line 9538  rm -f conftest.$ac_objext conftest.$ac_e
9538               #endif               #endif
9539               long code;               long code;
9540    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
9541  int  int
9542  main ()  main ()
9543  {  {
# Line 8721  echo "${ECHO_T}\"use struct sigcontext\" Line 9571  echo "${ECHO_T}\"use struct sigcontext\"
9571    
9572  else  else
9573    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9574  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9575    
9576    
9577          sigcontext_works=0 ;          sigcontext_works=0 ;
9578    
# Line 9008  else Line 9859  else
9859  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
9860  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
9861  #line $LINENO "configure"  #line $LINENO "configure"
9862  #include "confdefs.h"  /* confdefs.h.  */
9863    _ACEOF
9864    cat confdefs.h >>conftest.$ac_ext
9865    cat >>conftest.$ac_ext <<_ACEOF
9866    /* end confdefs.h.  */
9867    
9868    
 #ifdef F77_DUMMY_MAIN  
 #  ifdef __cplusplus  
      extern "C"  
 #  endif  
    int F77_DUMMY_MAIN() { return 1; }  
 #endif  
9869  int  int
9870  main ()  main ()
9871  {  {
# Line 9040  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 9889  if { (eval echo "$as_me:$LINENO: \"$ac_l
9889    ac_cv_lib_lieee_main=yes    ac_cv_lib_lieee_main=yes
9890  else  else
9891    echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
9892  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9893    
9894  ac_cv_lib_lieee_main=no  ac_cv_lib_lieee_main=no
9895  fi  fi
9896  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
# Line 9106  if test "$cross_compiling" = yes; then Line 9956  if test "$cross_compiling" = yes; then
9956  else  else
9957    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
9958  #line $LINENO "configure"  #line $LINENO "configure"
9959  #include "confdefs.h"  /* confdefs.h.  */
9960    _ACEOF
9961    cat confdefs.h >>conftest.$ac_ext
9962    cat >>conftest.$ac_ext <<_ACEOF
9963    /* end confdefs.h.  */
9964  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
9965  _ACEOF  _ACEOF
9966  rm -f conftest$ac_exeext  rm -f conftest$ac_exeext
# Line 9124  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 9978  if { (eval echo "$as_me:$LINENO: \"$ac_l
9978  else  else
9979    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
9980  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
9981  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
9982    
9983  ( exit $ac_status )  ( exit $ac_status )
9984  gcl_ok=yes  gcl_ok=yes
9985  fi  fi
9986  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9987  fi  fi
9988  if test $gcl_ok = yes ; then  if test $gcl_ok = yes ; then
9989      echo "$as_me:$LINENO: result: yes" >&5      echo "$as_me:$LINENO: result: yes" >&5
# Line 9143  else Line 9998  else
9998  else  else
9999    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
10000  #line $LINENO "configure"  #line $LINENO "configure"
10001  #include "confdefs.h"  /* confdefs.h.  */
10002    _ACEOF
10003    cat confdefs.h >>conftest.$ac_ext
10004    cat >>conftest.$ac_ext <<_ACEOF
10005    /* end confdefs.h.  */
10006  #include <alloca.h>  #include <alloca.h>
10007    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
10008  _ACEOF  _ACEOF
# Line 9162  if { (eval echo "$as_me:$LINENO: \"$ac_l Line 10021  if { (eval echo "$as_me:$LINENO: \"$ac_l
10021  else  else
10022    echo "$as_me: program exited with status $ac_status" >&5    echo "$as_me: program exited with status $ac_status" >&5
10023  echo "$as_me: failed program was:" >&5  echo "$as_me: failed program was:" >&5
10024  cat conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
10025    
10026  ( exit $ac_status )  ( exit $ac_status )
10027  gcl_ok=yes  gcl_ok=yes
10028  fi  fi
10029  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext  rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10030  fi  fi
10031   if test $gcl_ok = yes ; then   if test $gcl_ok = yes ; then
10032      echo "$as_me:$LINENO: result: yes" >&5      echo "$as_me:$LINENO: result: yes" >&5
# Line 9248  O3FLAGS=$TO3FLAGS Line 10108  O3FLAGS=$TO3FLAGS
10108  O2FLAGS=$TO2FLAGS  O2FLAGS=$TO2FLAGS
10109    
10110    
10111    
10112  if test -f h/$use.defs  ; then  if test -f h/$use.defs  ; then
10113    
10114    
10115    ac_config_files="$ac_config_files makedefc windows/gcl.iss"                        ac_config_files="$ac_config_files makedefc windows/gcl.iss"
10116  cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
10117  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
10118  # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
# Line 9262  cat >confcache <<\_ACEOF Line 10123  cat >confcache <<\_ACEOF
10123  # config.status only pays attention to the cache file if you give it  # config.status only pays attention to the cache file if you give it
10124  # the --recheck option to rerun configure.  # the --recheck option to rerun configure.
10125  #  #
10126  # `ac_cv_env_foo' variables (set or unset) will be overriden when  # `ac_cv_env_foo' variables (set or unset) will be overridden when
10127  # loading this file, other *unset* `ac_cv_foo' will be assigned the  # loading this file, other *unset* `ac_cv_foo' will be assigned the
10128  # following values.  # following values.
10129    
# Line 9297  _ACEOF Line 10158  _ACEOF
10158       t end       t end
10159       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10160       : end' >>confcache       : end' >>confcache
10161  if cmp -s $cache_file confcache; then :; else  if diff $cache_file confcache >/dev/null 2>&1; then :; else
10162    if test -w $cache_file; then    if test -w $cache_file; then
10163      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10164      cat confcache >$cache_file      cat confcache >$cache_file
# Line 9328  fi Line 10189  fi
10189    
10190  DEFS=-DHAVE_CONFIG_H  DEFS=-DHAVE_CONFIG_H
10191    
10192    ac_libobjs=
10193    ac_ltlibobjs=
10194    for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10195      # 1. Remove the extension, and $U if already installed.
10196      ac_i=`echo "$ac_i" |
10197             sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10198      # 2. Add them.
10199      ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10200      ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10201    done
10202    LIBOBJS=$ac_libobjs
10203    
10204    LTLIBOBJS=$ac_ltlibobjs
10205    
10206    
10207    
10208  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
10209  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
# Line 9342  cat >$CONFIG_STATUS <<_ACEOF Line 10218  cat >$CONFIG_STATUS <<_ACEOF
10218  # configure, is in config.log if it exists.  # configure, is in config.log if it exists.
10219    
10220  debug=false  debug=false
10221    ac_cs_recheck=false
10222    ac_cs_silent=false
10223  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
10224  _ACEOF  _ACEOF
10225    
10226  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF
   
10227  ## --------------------- ##  ## --------------------- ##
10228  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
10229  ## --------------------- ##  ## --------------------- ##
# Line 9355  cat >>$CONFIG_STATUS <<\_ACEOF Line 10232  cat >>$CONFIG_STATUS <<\_ACEOF
10232  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10233    emulate sh    emulate sh
10234    NULLCMD=:    NULLCMD=:
10235      # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10236      # is contrary to our usage.  Disable this feature.
10237      alias -g '${1+"$@"}'='"$@"'
10238  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
10239    set -o posix    set -o posix
10240  fi  fi
10241    
 # NLS nuisances.  
10242  # Support unset when possible.  # Support unset when possible.
10243  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then  if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
10244    as_unset=unset    as_unset=unset
# Line 9367  else Line 10246  else
10246    as_unset=false    as_unset=false
10247  fi  fi
10248    
10249  (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&  
10250      { $as_unset LANG || test "${LANG+set}" != set; } ||  # Work around bugs in pre-3.0 UWIN ksh.
10251        { LANG=C; export LANG; }  $as_unset ENV MAIL MAILPATH
10252  (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&  PS1='$ '
10253      { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||  PS2='> '
10254        { LC_ALL=C; export LC_ALL; }  PS4='+ '
10255  (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&  
10256      { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||  # NLS nuisances.
10257        { LC_TIME=C; export LC_TIME; }  for as_var in \
10258  (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10259      { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10260        { LC_CTYPE=C; export LC_CTYPE; }    LC_TELEPHONE LC_TIME
10261  (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&  do
10262      { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||    if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
10263        { LANGUAGE=C; export LANGUAGE; }      eval $as_var=C; export $as_var
10264  (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&    else
10265      { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||      $as_unset $as_var
10266        { LC_COLLATE=C; export LC_COLLATE; }    fi
10267  (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&  done
10268      { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||  
10269        { LC_NUMERIC=C; export LC_NUMERIC; }  # Required to use basename.
10270  (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&  if expr a : '\(a\)' >/dev/null 2>&1; then
10271      { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||    as_expr=expr
10272        { LC_MESSAGES=C; export LC_MESSAGES; }  else
10273      as_expr=false
10274    fi
10275    
10276    if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10277      as_basename=basename
10278    else
10279      as_basename=false
10280    fi
10281    
10282    
10283  # Name of the executable.  # Name of the executable.
10284  as_me=`(basename "$0") 2>/dev/null ||  as_me=`$as_basename "$0" ||
10285  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10286           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
10287           X"$0" : 'X\(/\)$' \| \           X"$0" : 'X\(/\)$' \| \
# Line 9405  echo X/"$0" | Line 10292  echo X/"$0" |
10292            /^X\/\(\/\).*/{ s//\1/; q; }            /^X\/\(\/\).*/{ s//\1/; q; }
10293            s/.*/./; q'`            s/.*/./; q'`
10294    
10295    
10296  # PATH needs CR, and LINENO needs CR and PATH.  # PATH needs CR, and LINENO needs CR and PATH.
10297  # Avoid depending upon Character Ranges.  # Avoid depending upon Character Ranges.
10298  as_cr_letters='abcdefghijklmnopqrstuvwxyz'  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
# Line 9415  as_cr_alnum=$as_cr_Letters$as_cr_digits Line 10303  as_cr_alnum=$as_cr_Letters$as_cr_digits
10303    
10304  # The user is always right.  # The user is always right.
10305  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
10306    echo "#! /bin/sh" >conftest.sh    echo "#! /bin/sh" >conf$$.sh
10307    echo  "exit 0"   >>conftest.sh    echo  "exit 0"   >>conf$$.sh
10308    chmod +x conftest.sh    chmod +x conf$$.sh
10309    if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10310      PATH_SEPARATOR=';'      PATH_SEPARATOR=';'
10311    else    else
10312      PATH_SEPARATOR=:      PATH_SEPARATOR=:
10313    fi    fi
10314    rm -f conftest.sh    rm -f conf$$.sh
10315  fi  fi
10316    
10317    
# Line 9472  do Line 10360  do
10360    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`    as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10361    test "x$as_lineno_1" != "x$as_lineno_2" &&    test "x$as_lineno_1" != "x$as_lineno_2" &&
10362    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then    test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10363                 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10364                 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10365               CONFIG_SHELL=$as_dir/$as_base               CONFIG_SHELL=$as_dir/$as_base
10366               export CONFIG_SHELL               export CONFIG_SHELL
10367               exec "$CONFIG_SHELL" "$0" ${1+"$@"}               exec "$CONFIG_SHELL" "$0" ${1+"$@"}
# Line 9545  else Line 10435  else
10435  fi  fi
10436  rm -f conf$$ conf$$.exe conf$$.file  rm -f conf$$ conf$$.exe conf$$.file
10437    
10438    if mkdir -p . 2>/dev/null; then
10439      as_mkdir_p=:
10440    else
10441      as_mkdir_p=false
10442    fi
10443    
10444  as_executable_p="test -f"  as_executable_p="test -f"
10445    
10446  # Sed expression to map a string onto a valid CPP name.  # Sed expression to map a string onto a valid CPP name.
# Line 9561  as_nl=' Line 10457  as_nl='
10457  IFS="   $as_nl"  IFS="   $as_nl"
10458    
10459  # CDPATH.  # CDPATH.
10460  $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }  $as_unset CDPATH
10461    
10462  exec 6>&1  exec 6>&1
10463    
# Line 9578  _ASBOX Line 10474  _ASBOX
10474  cat >&5 <<_CSEOF  cat >&5 <<_CSEOF
10475    
10476  This file was extended by $as_me, which was  This file was extended by $as_me, which was
10477  generated by GNU Autoconf 2.53.  Invocation command line was  generated by GNU Autoconf 2.57.  Invocation command line was
10478    
10479    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
10480    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 9618  Usage: $0 [OPTIONS] [FILE]... Line 10514  Usage: $0 [OPTIONS] [FILE]...
10514    
10515    -h, --help       print this help, then exit    -h, --help       print this help, then exit
10516    -V, --version    print version number, then exit    -V, --version    print version number, then exit
10517      -q, --quiet      do not print progress messages
10518    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
10519        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
10520    --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
# Line 9637  _ACEOF Line 10534  _ACEOF
10534  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
10535  ac_cs_version="\\  ac_cs_version="\\
10536  config.status  config.status
10537  configured by $0, generated by GNU Autoconf 2.53,  configured by $0, generated by GNU Autoconf 2.57,
10538    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10539    
10540  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 9657  do Line 10554  do
10554    --*=*)    --*=*)
10555      ac_option=`expr "x$1" : 'x\([^=]*\)='`      ac_option=`expr "x$1" : 'x\([^=]*\)='`
10556      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10557      shift      ac_shift=:
10558      set dummy "$ac_option" "$ac_optarg" ${1+"$@"}      ;;
10559      shift    -*)
10560        ac_option=$1
10561        ac_optarg=$2
10562        ac_shift=shift
10563      ;;      ;;
   -*);;  
10564    *) # This is not an option, so the user has probably given explicit    *) # This is not an option, so the user has probably given explicit
10565       # arguments.       # arguments.
10566         ac_option=$1
10567       ac_need_defaults=false;;       ac_need_defaults=false;;
10568    esac    esac
10569    
10570    case $1 in    case $ac_option in
10571    # Handling of the options.    # Handling of the options.
10572  _ACEOF  _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF  
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)  
     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"  
     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;  
 _ACEOF  
10573  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF
10574      -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10575        ac_cs_recheck=: ;;
10576    --version | --vers* | -V )    --version | --vers* | -V )
10577      echo "$ac_cs_version"; exit 0 ;;      echo "$ac_cs_version"; exit 0 ;;
10578    --he | --h)    --he | --h)
# Line 9690  Try \`$0 --help' for more information." Line 10587  Try \`$0 --help' for more information."
10587    --debug | --d* | -d )    --debug | --d* | -d )
10588      debug=: ;;      debug=: ;;
10589    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
10590      shift      $ac_shift
10591      CONFIG_FILES="$CONFIG_FILES $1"      CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10592      ac_need_defaults=false;;      ac_need_defaults=false;;
10593    --header | --heade | --head | --hea )    --header | --heade | --head | --hea )
10594      shift      $ac_shift
10595      CONFIG_HEADERS="$CONFIG_HEADERS $1"      CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10596      ac_need_defaults=false;;      ac_need_defaults=false;;
10597      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10598      | -silent | --silent | --silen | --sile | --sil | --si | --s)
10599        ac_cs_silent=: ;;
10600    
10601    # This is an error.    # This is an error.
10602    -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1    -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
# Line 9711  Try \`$0 --help' for more information." Line 10611  Try \`$0 --help' for more information."
10611    shift    shift
10612  done  done
10613    
10614    ac_configure_extra_args=
10615    
10616    if $ac_cs_silent; then
10617      exec 6>/dev/null
10618      ac_configure_extra_args="$ac_configure_extra_args --silent"
10619    fi
10620    
10621    _ACEOF
10622    cat >>$CONFIG_STATUS <<_ACEOF
10623    if \$ac_cs_recheck; then
10624      echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10625      exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10626    fi
10627    
10628  _ACEOF  _ACEOF
10629    
10630    
# Line 9740  if $ac_need_defaults; then Line 10654  if $ac_need_defaults; then
10654    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10655  fi  fi
10656    
10657    # Have a temporary directory for convenience.  Make it in the build tree
10658    # simply because there is no reason to put it here, and in addition,
10659    # creating and moving files from /tmp can sometimes cause problems.
10660  # Create a temporary directory, and hook for its removal unless debugging.  # Create a temporary directory, and hook for its removal unless debugging.
10661  $debug ||  $debug ||
10662  {  {
# Line 9748  $debug || Line 10665  $debug ||
10665  }  }
10666    
10667  # Create a (secure) tmp directory for tmp files.  # Create a (secure) tmp directory for tmp files.
10668  : ${TMPDIR=/tmp}  
10669  {  {
10670    tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&    tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10671    test -n "$tmp" && test -d "$tmp"    test -n "$tmp" && test -d "$tmp"
10672  }  ||  }  ||
10673  {  {
10674    tmp=$TMPDIR/cs$$-$RANDOM    tmp=./confstat$$-$RANDOM
10675    (umask 077 && mkdir $tmp)    (umask 077 && mkdir $tmp)
10676  } ||  } ||
10677  {  {
10678     echo "$me: cannot create a temporary directory in $TMPDIR" >&2     echo "$me: cannot create a temporary directory in ." >&2
10679     { (exit 1); exit 1; }     { (exit 1); exit 1; }
10680  }  }
10681    
# Line 9826  s,@OBJEXT@,$OBJEXT,;t t Line 10743  s,@OBJEXT@,$OBJEXT,;t t
10743  s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
10744  s,@AWK@,$AWK,;t t  s,@AWK@,$AWK,;t t
10745  s,@MAKEINFO@,$MAKEINFO,;t t  s,@MAKEINFO@,$MAKEINFO,;t t
10746    s,@EGREP@,$EGREP,;t t
10747  s,@GMP@,$GMP,;t t  s,@GMP@,$GMP,;t t
10748  s,@GMPDIR@,$GMPDIR,;t t  s,@GMPDIR@,$GMPDIR,;t t
10749  s,@X_CFLAGS@,$X_CFLAGS,;t t  s,@X_CFLAGS@,$X_CFLAGS,;t t
# Line 9869  s,@BROKEN_O4_OPT@,$BROKEN_O4_OPT,;t t Line 10787  s,@BROKEN_O4_OPT@,$BROKEN_O4_OPT,;t t
10787  s,@FINAL_CFLAGS@,$FINAL_CFLAGS,;t t  s,@FINAL_CFLAGS@,$FINAL_CFLAGS,;t t
10788  s,@O3FLAGS@,$O3FLAGS,;t t  s,@O3FLAGS@,$O3FLAGS,;t t
10789  s,@O2FLAGS@,$O2FLAGS,;t t  s,@O2FLAGS@,$O2FLAGS,;t t
10790    s,@EXTRA_LOBJS@,$EXTRA_LOBJS,;t t
10791  s,@use@,$use,;t t  s,@use@,$use,;t t
10792    s,@LIBOBJS@,$LIBOBJS,;t t
10793    s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10794  CEOF  CEOF
10795    
10796  _ACEOF  _ACEOF
# Line 9940  echo X"$ac_file" | Line 10861  echo X"$ac_file" |
10861            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
10862            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
10863            s/.*/./; q'`            s/.*/./; q'`
10864    { case "$ac_dir" in    { if $as_mkdir_p; then
10865    [\\/]* | ?:[\\/]* ) as_incr_dir=;;      mkdir -p "$ac_dir"
10866    *)                      as_incr_dir=.;;    else
10867  esac      as_dir="$ac_dir"
10868  as_dummy="$ac_dir"      as_dirs=
10869  for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do      while test ! -d "$as_dir"; do
10870    case $as_mkdir_dir in        as_dirs="$as_dir $as_dirs"
10871      # Skip DOS drivespec        as_dir=`(dirname "$as_dir") 2>/dev/null ||
10872      ?:) as_incr_dir=$as_mkdir_dir ;;  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10873      *)           X"$as_dir" : 'X\(//\)[^/]' \| \
10874        as_incr_dir=$as_incr_dir/$as_mkdir_dir           X"$as_dir" : 'X\(//\)$' \| \
10875        test -d "$as_incr_dir" ||           X"$as_dir" : 'X\(/\)' \| \
10876          mkdir "$as_incr_dir" ||           .     : '\(.\)' 2>/dev/null ||
10877          { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5  echo X"$as_dir" |
10878  echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10879     { (exit 1); exit 1; }; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10880      ;;            /^X\(\/\/\)$/{ s//\1/; q; }
10881    esac            /^X\(\/\).*/{ s//\1/; q; }
10882  done; }            s/.*/./; q'`
10883        done
10884        test ! -n "$as_dirs" || mkdir $as_dirs
10885      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10886    echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10887       { (exit 1); exit 1; }; }; }
10888    
10889    ac_builddir=.    ac_builddir=.
10890    
# Line 9988  esac Line 10914  esac
10914  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be  # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
10915  # absolute.  # absolute.
10916  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`  ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
10917  ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`  ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
10918  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`  ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
10919  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`  ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
10920    
# Line 10173  _ACEOF Line 11099  _ACEOF
11099  # Break up conftest.defines because some shells have a limit on the size  # Break up conftest.defines because some shells have a limit on the size
11100  # of here documents, and old seds have small limits too (100 cmds).  # of here documents, and old seds have small limits too (100 cmds).
11101  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11102  echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS  echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11103  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11104  echo '  :' >>$CONFIG_STATUS  echo '  :' >>$CONFIG_STATUS
11105  rm -f conftest.tail  rm -f conftest.tail
# Line 10197  do Line 11123  do
11123    mv conftest.tail conftest.defines    mv conftest.tail conftest.defines
11124  done  done
11125  rm -f conftest.defines  rm -f conftest.defines
11126  echo '  fi # egrep' >>$CONFIG_STATUS  echo '  fi # grep' >>$CONFIG_STATUS
11127  echo >>$CONFIG_STATUS  echo >>$CONFIG_STATUS
11128    
11129  # Break up conftest.undefs because some shells have a limit on the size  # Break up conftest.undefs because some shells have a limit on the size
# Line 10237  cat >>$CONFIG_STATUS <<\_ACEOF Line 11163  cat >>$CONFIG_STATUS <<\_ACEOF
11163    cat $tmp/in >>$tmp/config.h    cat $tmp/in >>$tmp/config.h
11164    rm -f $tmp/in    rm -f $tmp/in
11165    if test x"$ac_file" != x-; then    if test x"$ac_file" != x-; then
11166      if cmp -s $ac_file $tmp/config.h 2>/dev/null; then      if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11167        { echo "$as_me:$LINENO: $ac_file is unchanged" >&5        { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11168  echo "$as_me: $ac_file is unchanged" >&6;}  echo "$as_me: $ac_file is unchanged" >&6;}
11169      else      else
# Line 10253  echo X"$ac_file" | Line 11179  echo X"$ac_file" |
11179            /^X\(\/\/\)$/{ s//\1/; q; }            /^X\(\/\/\)$/{ s//\1/; q; }
11180            /^X\(\/\).*/{ s//\1/; q; }            /^X\(\/\).*/{ s//\1/; q; }
11181            s/.*/./; q'`            s/.*/./; q'`
11182        { case "$ac_dir" in        { if $as_mkdir_p; then
11183    [\\/]* | ?:[\\/]* ) as_incr_dir=;;      mkdir -p "$ac_dir"
11184    *)                      as_incr_dir=.;;    else
11185  esac      as_dir="$ac_dir"
11186  as_dummy="$ac_dir"      as_dirs=
11187  for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do      while test ! -d "$as_dir"; do
11188    case $as_mkdir_dir in        as_dirs="$as_dir $as_dirs"
11189      # Skip DOS drivespec        as_dir=`(dirname "$as_dir") 2>/dev/null ||
11190      ?:) as_incr_dir=$as_mkdir_dir ;;  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11191      *)           X"$as_dir" : 'X\(//\)[^/]' \| \
11192        as_incr_dir=$as_incr_dir/$as_mkdir_dir           X"$as_dir" : 'X\(//\)$' \| \
11193        test -d "$as_incr_dir" ||           X"$as_dir" : 'X\(/\)' \| \
11194          mkdir "$as_incr_dir" ||           .     : '\(.\)' 2>/dev/null ||
11195          { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5  echo X"$as_dir" |
11196  echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11197     { (exit 1); exit 1; }; }            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11198      ;;            /^X\(\/\/\)$/{ s//\1/; q; }
11199    esac            /^X\(\/\).*/{ s//\1/; q; }
11200  done; }            s/.*/./; q'`
11201        done
11202        test ! -n "$as_dirs" || mkdir $as_dirs
11203      fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11204    echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11205       { (exit 1); exit 1; }; }; }
11206    
11207        rm -f $ac_file        rm -f $ac_file
11208        mv $tmp/config.h $ac_file        mv $tmp/config.h $ac_file
# Line 10301  ac_clean_files=$ac_clean_files_save Line 11232  ac_clean_files=$ac_clean_files_save
11232  # need to make the FD available again.  # need to make the FD available again.
11233  if test "$no_create" != yes; then  if test "$no_create" != yes; then
11234    ac_cs_success=:    ac_cs_success=:
11235      ac_config_status_args=
11236      test "$silent" = yes &&
11237        ac_config_status_args="$ac_config_status_args --quiet"
11238    exec 5>/dev/null    exec 5>/dev/null
11239    $SHELL $CONFIG_STATUS || ac_cs_success=false    $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11240    exec 5>>config.log    exec 5>>config.log
11241    # Use ||, not &&, to avoid exiting from the if with $? = 1, which    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11242    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26