Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2423 Details for
Bug 5318
ghc-5.04.ebuild (Update)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the GHC 5.04 build system
ghc-5.04-gentoo.patch (text/plain), 845.23 KB, created by
Sven Moritz Hallberg
on 2002-07-20 16:33:16 UTC
(
hide
)
Description:
Patch to the GHC 5.04 build system
Filename:
MIME Type:
Creator:
Sven Moritz Hallberg
Created:
2002-07-20 16:33:16 UTC
Size:
845.23 KB
patch
obsolete
>diff -Nur ghc-5.04/configure ghc-5.04-patched/configure >--- ghc-5.04/configure Wed Jul 10 20:39:53 2002 >+++ ghc-5.04-patched/configure Mon Jul 15 23:39:27 2002 >@@ -1,80 +1,329 @@ > #! /bin/sh >- > # Guess values for system-dependent variables and create Makefiles. >-# Generated automatically using autoconf version 2.13 >-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. >+# Generated by GNU Autoconf 2.53a. > # >+# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 >+# Free Software Foundation, Inc. > # This configure script is free software; the Free Software Foundation > # gives unlimited permission to copy, distribute and modify it. >+## --------------------- ## >+## M4sh Initialization. ## >+## --------------------- ## >+ >+# Be Bourne compatible >+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >+ emulate sh >+ NULLCMD=: >+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >+ # is contrary to our usage. Disable this feature. >+ alias -g '${1+"$@"}'='"$@"' >+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then >+ set -o posix >+fi >+ >+# NLS nuisances. >+# Support unset when possible. >+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then >+ as_unset=unset >+else >+ as_unset=false >+fi >+ >+(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && >+ { $as_unset LANG || test "${LANG+set}" != set; } || >+ { LANG=C; export LANG; } >+(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && >+ { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || >+ { LC_ALL=C; export LC_ALL; } >+(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && >+ { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || >+ { LC_TIME=C; export LC_TIME; } >+(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && >+ { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || >+ { LC_CTYPE=C; export LC_CTYPE; } >+(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && >+ { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || >+ { LANGUAGE=C; export LANGUAGE; } >+(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && >+ { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || >+ { LC_COLLATE=C; export LC_COLLATE; } >+(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && >+ { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || >+ { LC_NUMERIC=C; export LC_NUMERIC; } >+(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && >+ { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || >+ { LC_MESSAGES=C; export LC_MESSAGES; } >+ >+ >+# Required to use basename. >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then >+ as_basename=basename >+else >+ as_basename=false >+fi >+ >+ >+# Name of the executable. >+as_me=`$as_basename "$0" || >+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ >+ X"$0" : 'X\(//\)$' \| \ >+ X"$0" : 'X\(/\)$' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X/"$0" | >+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } >+ /^X\/\(\/\/\)$/{ s//\1/; q; } >+ /^X\/\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ >+ >+# PATH needs CR, and LINENO needs CR and PATH. >+# Avoid depending upon Character Ranges. >+as_cr_letters='abcdefghijklmnopqrstuvwxyz' >+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >+as_cr_Letters=$as_cr_letters$as_cr_LETTERS >+as_cr_digits='0123456789' >+as_cr_alnum=$as_cr_Letters$as_cr_digits >+ >+# The user is always right. >+if test "${PATH_SEPARATOR+set}" != set; then >+ echo "#! /bin/sh" >conftest.sh >+ echo "exit 0" >>conftest.sh >+ chmod +x conftest.sh >+ if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then >+ PATH_SEPARATOR=';' >+ else >+ PATH_SEPARATOR=: >+ fi >+ rm -f conftest.sh >+fi >+ >+ >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" || { >+ # Find who we are. Look in the path if we contain no path at all >+ # relative or not. >+ case $0 in >+ *[\\/]* ) as_myself=$0 ;; >+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >+done >+ >+ ;; >+ esac >+ # We did not find ourselves, most probably we were run as `sh COMMAND' >+ # in which case we are not to be found in the path. >+ if test "x$as_myself" = x; then >+ as_myself=$0 >+ fi >+ if test ! -f "$as_myself"; then >+ { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 >+ { (exit 1); exit 1; }; } >+ fi >+ case $CONFIG_SHELL in >+ '') >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for as_base in sh bash ksh sh5; do >+ case $as_dir in >+ /*) >+ if ("$as_dir/$as_base" -c ' >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then >+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } >+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } >+ CONFIG_SHELL=$as_dir/$as_base >+ export CONFIG_SHELL >+ exec "$CONFIG_SHELL" "$0" ${1+"$@"} >+ fi;; >+ esac >+ done >+done >+;; >+ esac >+ >+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO >+ # uniformly replaced by the line number. The first 'sed' inserts a >+ # line-number line before each line; the second 'sed' does the real >+ # work. The second script uses 'N' to pair each line-number line >+ # with the numbered line, and appends trailing '-' during >+ # substitution so that $LINENO is not a special case at line end. >+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the >+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) >+ sed '=' <$as_myself | >+ sed ' >+ N >+ s,$,-, >+ : loop >+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, >+ t loop >+ s,-$,, >+ s,^['$as_cr_digits']*\n,, >+ ' >$as_me.lineno && >+ chmod +x $as_me.lineno || >+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 >+ { (exit 1); exit 1; }; } >+ >+ # Don't try to exec as it changes $[0], causing all sort of problems >+ # (the dirname of $[0] is not the place where we might find the >+ # original and so on. Autoconf is especially sensible to this). >+ . ./$as_me.lineno >+ # Exit status is that of the last command. >+ exit >+} >+ >+ >+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in >+ *c*,-n*) ECHO_N= ECHO_C=' >+' ECHO_T=' ' ;; >+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; >+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;; >+esac >+ >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+rm -f conf$$ conf$$.exe conf$$.file >+echo >conf$$.file >+if ln -s conf$$.file conf$$ 2>/dev/null; then >+ # We could just check for DJGPP; but this test a) works b) is more generic >+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). >+ if test -f conf$$.exe; then >+ # Don't use ln at all; we don't have any links >+ as_ln_s='cp -p' >+ else >+ as_ln_s='ln -s' >+ fi >+elif ln conf$$.file conf$$ 2>/dev/null; then >+ as_ln_s=ln >+else >+ as_ln_s='cp -p' >+fi >+rm -f conf$$ conf$$.exe conf$$.file > >-# Defaults: >-ac_help= >+if mkdir -p . 2>/dev/null; then >+ as_mkdir_p=: >+else >+ as_mkdir_p=false >+fi >+ >+as_executable_p="test -f" >+ >+# Sed expression to map a string onto a valid CPP name. >+as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" >+ >+# Sed expression to map a string onto a valid variable name. >+as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" >+ >+ >+# IFS >+# We need space, tab and new line, in precisely that order. >+as_nl=' >+' >+IFS=" $as_nl" >+ >+# CDPATH. >+$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } >+ >+ >+# Name of the host. >+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, >+# so uname gets run too. >+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` >+ >+exec 6>&1 >+ >+# >+# Initializations. >+# > ac_default_prefix=/usr/local >-# Any additions from configure.in: >-ac_help="$ac_help >- --with-ghc=<haskell compiler> >- Use a command different from 'ghc' to compile GHC-specific Haskell code >- (including GHC itself). >-" >-ac_help="$ac_help >- --with-hc=<haskell compiler> >- Use a command different from 'ghc' to compile generic Haskell code. >-" >-ac_help="$ac_help >- --with-gcc=<gcc command> >- Use a different command instead of 'gcc' for the GNU C compiler. >-" >-ac_help="$ac_help >- --enable-hc-boot >- Boot the Glasgow Haskell Compiler from intermediate .hc files. >- (This option is mostly of interest to porters.) >-" >-ac_help="$ac_help >- --enable-hc-boot-unregisterised >- With --enable-hc-boot, treat the intermediate .hc files as >- unregisterised rather than registerised code. >- (This option is mostly of interest to porters.) >-" >-ac_help="$ac_help >- --enable-threaded-rts >- Support better interop with OS threads. >-" >-ac_help="$ac_help >- --enable-win32-dlls >- If on a Win32 platform running mingw32/cygwin, enable the >- construction of DLLs containing ghc-compiled code. >-" >-ac_help="$ac_help >- --enable-hopengl >- Build HOpenGL, a Haskell binding for OpenGL/GLUT, too. >- (This option is only relevant when hslibs are built.) >-" >-ac_help="$ac_help >- --with-glut-api=<version> >- Use a specific version of the GLUT API when building HOpenGL. >-" >-ac_help="$ac_help >- --with-glut-xlib=<version> >- Use a specific version of the GLUT Xlib implementation when building HOpenGL. >-" >-ac_help="$ac_help >- --enable-src-tree-happy >- Build and use source tree (fptools/happy) version of happy. >-" >-ac_help="$ac_help >- --with-x use the X Window System" >-ac_help="$ac_help >- --with-Mesa Prefer the Mesa library over a vendors native OpenGL library (default=no)" >+cross_compiling=no >+subdirs= >+MFLAGS= >+MAKEFLAGS= >+SHELL=${CONFIG_SHELL-/bin/sh} >+ >+# Maximum number of lines to put in a shell here document. >+# This variable seems obsolete. It should probably be removed, and >+# only ac_max_sed_lines should be used. >+: ${ac_max_here_lines=38} >+ >+# Identity of this package. >+PACKAGE_NAME= >+PACKAGE_TARNAME= >+PACKAGE_VERSION= >+PACKAGE_STRING= >+PACKAGE_BUGREPORT= >+ >+ac_unique_file="mk/config.mk.in" >+ac_subdirs_all="$ac_subdirs_all ghc" >+# Factoring default headers for most tests. >+ac_includes_default="\ >+#include <stdio.h> >+#if HAVE_SYS_TYPES_H >+# include <sys/types.h> >+#endif >+#if HAVE_SYS_STAT_H >+# include <sys/stat.h> >+#endif >+#if STDC_HEADERS >+# include <stdlib.h> >+# include <stddef.h> >+#else >+# if HAVE_STDLIB_H >+# include <stdlib.h> >+# endif >+#endif >+#if HAVE_STRING_H >+# if !STDC_HEADERS && HAVE_MEMORY_H >+# include <memory.h> >+# endif >+# include <string.h> >+#endif >+#if HAVE_STRINGS_H >+# include <strings.h> >+#endif >+#if HAVE_INTTYPES_H >+# include <inttypes.h> >+#else >+# if HAVE_STDINT_H >+# include <stdint.h> >+# endif >+#endif >+#if HAVE_UNISTD_H >+# include <unistd.h> >+#endif" >+ > > # Initialize some variables set by options. >+ac_init_help= >+ac_init_version=false > # The variables have the same names as the options, with > # dashes changed to underlines. >-build=NONE >-cache_file=./config.cache >+cache_file=/dev/null > exec_prefix=NONE >-host=NONE > no_create= >-nonopt=NONE > no_recursion= > prefix=NONE > program_prefix=NONE >@@ -83,10 +332,15 @@ > silent= > site= > srcdir= >-target=NONE > verbose= > x_includes=NONE > x_libraries=NONE >+ >+# Installation directory options. >+# These are left unexpanded so users can "make install exec_prefix=/foo" >+# and all the variables that are supposed to be based on exec_prefix >+# by default will actually change. >+# Use braces instead of parens because sh, perl, etc. also accept them. > bindir='${exec_prefix}/bin' > sbindir='${exec_prefix}/sbin' > libexecdir='${exec_prefix}/libexec' >@@ -100,17 +354,9 @@ > infodir='${prefix}/info' > mandir='${prefix}/man' > >-# Initialize some other variables. >-subdirs= >-MFLAGS= MAKEFLAGS= >-SHELL=${CONFIG_SHELL-/bin/sh} >-# Maximum number of lines to put in a shell here document. >-ac_max_here_lines=12 >- > ac_prev= > for ac_option > do >- > # If the previous option needs an argument, assign it. > if test -n "$ac_prev"; then > eval "$ac_prev=\$ac_option" >@@ -118,59 +364,59 @@ > continue > fi > >- case "$ac_option" in >- -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; >- *) ac_optarg= ;; >- esac >+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` > > # Accept the important Cygnus configure options, so we can diagnose typos. > >- case "$ac_option" in >+ case $ac_option in > > -bindir | --bindir | --bindi | --bind | --bin | --bi) > ac_prev=bindir ;; > -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) >- bindir="$ac_optarg" ;; >+ bindir=$ac_optarg ;; > > -build | --build | --buil | --bui | --bu) >- ac_prev=build ;; >+ ac_prev=build_alias ;; > -build=* | --build=* | --buil=* | --bui=* | --bu=*) >- build="$ac_optarg" ;; >+ build_alias=$ac_optarg ;; > > -cache-file | --cache-file | --cache-fil | --cache-fi \ > | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) > ac_prev=cache_file ;; > -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ > | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) >- cache_file="$ac_optarg" ;; >+ cache_file=$ac_optarg ;; >+ >+ --config-cache | -C) >+ cache_file=config.cache ;; > > -datadir | --datadir | --datadi | --datad | --data | --dat | --da) > ac_prev=datadir ;; > -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ > | --da=*) >- datadir="$ac_optarg" ;; >+ datadir=$ac_optarg ;; > > -disable-* | --disable-*) >- ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` >+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then >- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } >- fi >- ac_feature=`echo $ac_feature| sed 's/-/_/g'` >- eval "enable_${ac_feature}=no" ;; >+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 >+ { (exit 1); exit 1; }; } >+ ac_feature=`echo $ac_feature | sed 's/-/_/g'` >+ eval "enable_$ac_feature=no" ;; > > -enable-* | --enable-*) >- ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` >+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then >- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } >- fi >- ac_feature=`echo $ac_feature| sed 's/-/_/g'` >- case "$ac_option" in >- *=*) ;; >+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 >+ { (exit 1); exit 1; }; } >+ ac_feature=`echo $ac_feature | sed 's/-/_/g'` >+ case $ac_option in >+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; > *) ac_optarg=yes ;; > esac >- eval "enable_${ac_feature}='$ac_optarg'" ;; >+ eval "enable_$ac_feature='$ac_optarg'" ;; > > -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ > | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ >@@ -179,95 +425,47 @@ > -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ > | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ > | --exec=* | --exe=* | --ex=*) >- exec_prefix="$ac_optarg" ;; >+ exec_prefix=$ac_optarg ;; > > -gas | --gas | --ga | --g) > # Obsolete; use --with-gas. > with_gas=yes ;; > >- -help | --help | --hel | --he) >- # Omit some internal or obsolete options to make the list less imposing. >- # This message is too long to be a string in the A/UX 3.1 sh. >- cat << EOF >-Usage: configure [options] [host] >-Options: [defaults in brackets after descriptions] >-Configuration: >- --cache-file=FILE cache test results in FILE >- --help print this message >- --no-create do not create output files >- --quiet, --silent do not print \`checking...' messages >- --version print the version of autoconf that created configure >-Directory and file names: >- --prefix=PREFIX install architecture-independent files in PREFIX >- [$ac_default_prefix] >- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX >- [same as prefix] >- --bindir=DIR user executables in DIR [EPREFIX/bin] >- --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] >- --libexecdir=DIR program executables in DIR [EPREFIX/libexec] >- --datadir=DIR read-only architecture-independent data in DIR >- [PREFIX/share] >- --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] >- --sharedstatedir=DIR modifiable architecture-independent data in DIR >- [PREFIX/com] >- --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] >- --libdir=DIR object code libraries in DIR [EPREFIX/lib] >- --includedir=DIR C header files in DIR [PREFIX/include] >- --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] >- --infodir=DIR info documentation in DIR [PREFIX/info] >- --mandir=DIR man documentation in DIR [PREFIX/man] >- --srcdir=DIR find the sources in DIR [configure dir or ..] >- --program-prefix=PREFIX prepend PREFIX to installed program names >- --program-suffix=SUFFIX append SUFFIX to installed program names >- --program-transform-name=PROGRAM >- run sed PROGRAM on installed program names >-EOF >- cat << EOF >-Host type: >- --build=BUILD configure for building on BUILD [BUILD=HOST] >- --host=HOST configure for HOST [guessed] >- --target=TARGET configure for TARGET [TARGET=HOST] >-Features and packages: >- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) >- --enable-FEATURE[=ARG] include FEATURE [ARG=yes] >- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] >- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) >- --x-includes=DIR X include files are in DIR >- --x-libraries=DIR X library files are in DIR >-EOF >- if test -n "$ac_help"; then >- echo "--enable and --with options recognized:$ac_help" >- fi >- exit 0 ;; >+ -help | --help | --hel | --he | -h) >+ ac_init_help=long ;; >+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) >+ ac_init_help=recursive ;; >+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) >+ ac_init_help=short ;; > > -host | --host | --hos | --ho) >- ac_prev=host ;; >+ ac_prev=host_alias ;; > -host=* | --host=* | --hos=* | --ho=*) >- host="$ac_optarg" ;; >+ host_alias=$ac_optarg ;; > > -includedir | --includedir | --includedi | --included | --include \ > | --includ | --inclu | --incl | --inc) > ac_prev=includedir ;; > -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ > | --includ=* | --inclu=* | --incl=* | --inc=*) >- includedir="$ac_optarg" ;; >+ includedir=$ac_optarg ;; > > -infodir | --infodir | --infodi | --infod | --info | --inf) > ac_prev=infodir ;; > -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) >- infodir="$ac_optarg" ;; >+ infodir=$ac_optarg ;; > > -libdir | --libdir | --libdi | --libd) > ac_prev=libdir ;; > -libdir=* | --libdir=* | --libdi=* | --libd=*) >- libdir="$ac_optarg" ;; >+ libdir=$ac_optarg ;; > > -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ > | --libexe | --libex | --libe) > ac_prev=libexecdir ;; > -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ > | --libexe=* | --libex=* | --libe=*) >- libexecdir="$ac_optarg" ;; >+ libexecdir=$ac_optarg ;; > > -localstatedir | --localstatedir | --localstatedi | --localstated \ > | --localstate | --localstat | --localsta | --localst \ >@@ -276,19 +474,19 @@ > -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ > | --localstate=* | --localstat=* | --localsta=* | --localst=* \ > | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) >- localstatedir="$ac_optarg" ;; >+ localstatedir=$ac_optarg ;; > > -mandir | --mandir | --mandi | --mand | --man | --ma | --m) > ac_prev=mandir ;; > -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) >- mandir="$ac_optarg" ;; >+ mandir=$ac_optarg ;; > > -nfp | --nfp | --nf) > # Obsolete; use --without-fp. > with_fp=no ;; > > -no-create | --no-create | --no-creat | --no-crea | --no-cre \ >- | --no-cr | --no-c) >+ | --no-cr | --no-c | -n) > no_create=yes ;; > > -no-recursion | --no-recursion | --no-recursio | --no-recursi \ >@@ -302,26 +500,26 @@ > -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ > | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ > | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) >- oldincludedir="$ac_optarg" ;; >+ oldincludedir=$ac_optarg ;; > > -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) > ac_prev=prefix ;; > -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) >- prefix="$ac_optarg" ;; >+ prefix=$ac_optarg ;; > > -program-prefix | --program-prefix | --program-prefi | --program-pref \ > | --program-pre | --program-pr | --program-p) > ac_prev=program_prefix ;; > -program-prefix=* | --program-prefix=* | --program-prefi=* \ > | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) >- program_prefix="$ac_optarg" ;; >+ program_prefix=$ac_optarg ;; > > -program-suffix | --program-suffix | --program-suffi | --program-suff \ > | --program-suf | --program-su | --program-s) > ac_prev=program_suffix ;; > -program-suffix=* | --program-suffix=* | --program-suffi=* \ > | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) >- program_suffix="$ac_optarg" ;; >+ program_suffix=$ac_optarg ;; > > -program-transform-name | --program-transform-name \ > | --program-transform-nam | --program-transform-na \ >@@ -338,7 +536,7 @@ > | --program-transfo=* | --program-transf=* \ > | --program-trans=* | --program-tran=* \ > | --progr-tra=* | --program-tr=* | --program-t=*) >- program_transform_name="$ac_optarg" ;; >+ program_transform_name=$ac_optarg ;; > > -q | -quiet | --quiet | --quie | --qui | --qu | --q \ > | -silent | --silent | --silen | --sile | --sil) >@@ -348,7 +546,7 @@ > ac_prev=sbindir ;; > -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ > | --sbi=* | --sb=*) >- sbindir="$ac_optarg" ;; >+ sbindir=$ac_optarg ;; > > -sharedstatedir | --sharedstatedir | --sharedstatedi \ > | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ >@@ -359,58 +557,57 @@ > | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ > | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ > | --sha=* | --sh=*) >- sharedstatedir="$ac_optarg" ;; >+ sharedstatedir=$ac_optarg ;; > > -site | --site | --sit) > ac_prev=site ;; > -site=* | --site=* | --sit=*) >- site="$ac_optarg" ;; >+ site=$ac_optarg ;; > > -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) > ac_prev=srcdir ;; > -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) >- srcdir="$ac_optarg" ;; >+ srcdir=$ac_optarg ;; > > -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ > | --syscon | --sysco | --sysc | --sys | --sy) > ac_prev=sysconfdir ;; > -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ > | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) >- sysconfdir="$ac_optarg" ;; >+ sysconfdir=$ac_optarg ;; > > -target | --target | --targe | --targ | --tar | --ta | --t) >- ac_prev=target ;; >+ ac_prev=target_alias ;; > -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) >- target="$ac_optarg" ;; >+ target_alias=$ac_optarg ;; > > -v | -verbose | --verbose | --verbos | --verbo | --verb) > verbose=yes ;; > >- -version | --version | --versio | --versi | --vers) >- echo "configure generated by autoconf version 2.13" >- exit 0 ;; >+ -version | --version | --versio | --versi | --vers | -V) >+ ac_init_version=: ;; > > -with-* | --with-*) >- ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` >+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then >- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } >- fi >+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid package name: $ac_package" >&2 >+ { (exit 1); exit 1; }; } > ac_package=`echo $ac_package| sed 's/-/_/g'` >- case "$ac_option" in >- *=*) ;; >+ case $ac_option in >+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; > *) ac_optarg=yes ;; > esac >- eval "with_${ac_package}='$ac_optarg'" ;; >+ eval "with_$ac_package='$ac_optarg'" ;; > > -without-* | --without-*) >- ac_package=`echo $ac_option|sed -e 's/-*without-//'` >+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then >- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } >- fi >- ac_package=`echo $ac_package| sed 's/-/_/g'` >- eval "with_${ac_package}=no" ;; >+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid package name: $ac_package" >&2 >+ { (exit 1); exit 1; }; } >+ ac_package=`echo $ac_package | sed 's/-/_/g'` >+ eval "with_$ac_package=no" ;; > > --x) > # Obsolete; use --with-x. >@@ -421,99 +618,110 @@ > ac_prev=x_includes ;; > -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ > | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) >- x_includes="$ac_optarg" ;; >+ x_includes=$ac_optarg ;; > > -x-libraries | --x-libraries | --x-librarie | --x-librari \ > | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) > ac_prev=x_libraries ;; > -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ > | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) >- x_libraries="$ac_optarg" ;; >+ x_libraries=$ac_optarg ;; > >- -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } >+ -*) { echo "$as_me: error: unrecognized option: $ac_option >+Try \`$0 --help' for more information." >&2 >+ { (exit 1); exit 1; }; } > ;; > >+ *=*) >+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` >+ # Reject names that are not valid shell variable names. >+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 >+ { (exit 1); exit 1; }; } >+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` >+ eval "$ac_envvar='$ac_optarg'" >+ export $ac_envvar ;; >+ > *) >- if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then >- echo "configure: warning: $ac_option: invalid host type" 1>&2 >- fi >- if test "x$nonopt" != xNONE; then >- { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } >- fi >- nonopt="$ac_option" >+ # FIXME: should be removed in autoconf 3.0. >+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2 >+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && >+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2 >+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} > ;; > > esac > done > > if test -n "$ac_prev"; then >- { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } >-fi >- >-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 >- >-# File descriptor usage: >-# 0 standard input >-# 1 file creation >-# 2 errors and warnings >-# 3 some systems may open it to /dev/tty >-# 4 used on the Kubota Titan >-# 6 checking for... messages and results >-# 5 compiler messages saved in config.log >-if test "$silent" = yes; then >- exec 6>/dev/null >-else >- exec 6>&1 >+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` >+ { echo "$as_me: error: missing argument to $ac_option" >&2 >+ { (exit 1); exit 1; }; } > fi >-exec 5>./config.log > >-echo "\ >-This file contains any messages produced by compilers while >-running configure, to aid debugging if configure makes a mistake. >-" 1>&5 >+# Be sure to have absolute paths. >+for ac_var in exec_prefix prefix >+do >+ eval ac_val=$`echo $ac_var` >+ case $ac_val in >+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;; >+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 >+ { (exit 1); exit 1; }; };; >+ esac >+done > >-# Strip out --no-create and --no-recursion so they do not pile up. >-# Also quote any args containing shell metacharacters. >-ac_configure_args= >-for ac_arg >+# Be sure to have absolute paths. >+for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ >+ localstatedir libdir includedir oldincludedir infodir mandir > do >- case "$ac_arg" in >- -no-create | --no-create | --no-creat | --no-crea | --no-cre \ >- | --no-cr | --no-c) ;; >- -no-recursion | --no-recursion | --no-recursio | --no-recursi \ >- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; >- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) >- ac_configure_args="$ac_configure_args '$ac_arg'" ;; >- *) ac_configure_args="$ac_configure_args $ac_arg" ;; >+ eval ac_val=$`echo $ac_var` >+ case $ac_val in >+ [\\/$]* | ?:[\\/]* ) ;; >+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 >+ { (exit 1); exit 1; }; };; > esac > done > >-# NLS nuisances. >-# Only set these to C if already set. These must not be set unconditionally >-# because not all systems understand e.g. LANG=C (notably SCO). >-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! >-# Non-C LC_CTYPE values break the ctype check. >-if test "${LANG+set}" = set; then LANG=C; export LANG; fi >-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi >-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi >-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi >+# There might be people who depend on the old broken behavior: `$host' >+# used to hold the argument of --host etc. >+# FIXME: To remove some day. >+build=$build_alias >+host=$host_alias >+target=$target_alias >+ >+# FIXME: To remove some day. >+if test "x$host_alias" != x; then >+ if test "x$build_alias" = x; then >+ cross_compiling=maybe >+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. >+ If a cross compiler is detected then cross compile mode will be used." >&2 >+ elif test "x$build_alias" != "x$host_alias"; then >+ cross_compiling=yes >+ fi >+fi > >-# confdefs.h avoids OS command line length limits that DEFS can exceed. >-rm -rf conftest* confdefs.h >-# AIX cpp loses on an empty file, so make sure it contains at least a newline. >-echo > confdefs.h >+ac_tool_prefix= >+test -n "$host_alias" && ac_tool_prefix=$host_alias- >+ >+test "$silent" = yes && exec 6>/dev/null > >-# A filename unique to this package, relative to the directory that >-# configure is in, which we can look for to find out if srcdir is correct. >-ac_unique_file=mk/config.mk.in > > # Find the source files, if location was not specified. > if test -z "$srcdir"; then > ac_srcdir_defaulted=yes > # Try the directory containing this script, then its parent. >- ac_prog=$0 >- ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` >- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. >+ ac_confdir=`(dirname "$0") 2>/dev/null || >+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$0" : 'X\(//\)[^/]' \| \ >+ X"$0" : 'X\(//\)$' \| \ >+ X"$0" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$0" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` > srcdir=$ac_confdir > if test ! -r $srcdir/$ac_unique_file; then > srcdir=.. >@@ -523,194 +731,673 @@ > fi > if test ! -r $srcdir/$ac_unique_file; then > if test "$ac_srcdir_defaulted" = yes; then >- { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } >+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 >+ { (exit 1); exit 1; }; } > else >- { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } >+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 >+ { (exit 1); exit 1; }; } > fi > fi >-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` >+srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` >+ac_env_build_alias_set=${build_alias+set} >+ac_env_build_alias_value=$build_alias >+ac_cv_env_build_alias_set=${build_alias+set} >+ac_cv_env_build_alias_value=$build_alias >+ac_env_host_alias_set=${host_alias+set} >+ac_env_host_alias_value=$host_alias >+ac_cv_env_host_alias_set=${host_alias+set} >+ac_cv_env_host_alias_value=$host_alias >+ac_env_target_alias_set=${target_alias+set} >+ac_env_target_alias_value=$target_alias >+ac_cv_env_target_alias_set=${target_alias+set} >+ac_cv_env_target_alias_value=$target_alias >+ac_env_CC_set=${CC+set} >+ac_env_CC_value=$CC >+ac_cv_env_CC_set=${CC+set} >+ac_cv_env_CC_value=$CC >+ac_env_CFLAGS_set=${CFLAGS+set} >+ac_env_CFLAGS_value=$CFLAGS >+ac_cv_env_CFLAGS_set=${CFLAGS+set} >+ac_cv_env_CFLAGS_value=$CFLAGS >+ac_env_LDFLAGS_set=${LDFLAGS+set} >+ac_env_LDFLAGS_value=$LDFLAGS >+ac_cv_env_LDFLAGS_set=${LDFLAGS+set} >+ac_cv_env_LDFLAGS_value=$LDFLAGS >+ac_env_CPPFLAGS_set=${CPPFLAGS+set} >+ac_env_CPPFLAGS_value=$CPPFLAGS >+ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} >+ac_cv_env_CPPFLAGS_value=$CPPFLAGS >+ac_env_CPP_set=${CPP+set} >+ac_env_CPP_value=$CPP >+ac_cv_env_CPP_set=${CPP+set} >+ac_cv_env_CPP_value=$CPP > >-# Prefer explicitly selected file to automatically selected ones. >-if test -z "$CONFIG_SITE"; then >- if test "x$prefix" != xNONE; then >- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" >- else >- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" >- fi >-fi >-for ac_site_file in $CONFIG_SITE; do >- if test -r "$ac_site_file"; then >- echo "loading site script $ac_site_file" >- . "$ac_site_file" >- fi >-done >+# >+# Report the --help message. >+# >+if test "$ac_init_help" = "long"; then >+ # Omit some internal or obsolete options to make the list less imposing. >+ # This message is too long to be a string in the A/UX 3.1 sh. >+ cat <<_ACEOF >+\`configure' configures this package to adapt to many kinds of systems. > >-if test -r "$cache_file"; then >- echo "loading cache $cache_file" >- . $cache_file >-else >- echo "creating cache $cache_file" >- > $cache_file >-fi >+Usage: $0 [OPTION]... [VAR=VALUE]... > >-ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. >-ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >- >-ac_exeext= >-ac_objext=o >-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then >- # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. >- if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then >- ac_n= ac_c=' >-' ac_t=' ' >- else >- ac_n=-n ac_c= ac_t= >- fi >-else >- ac_n= ac_c='\c' ac_t= >-fi >+To assign environment variables (e.g., CC, CFLAGS...), specify them as >+VAR=VALUE. See below for descriptions of some of the useful variables. > >+Defaults for the options are specified in brackets. > >+Configuration: >+ -h, --help display this help and exit >+ --help=short display options specific to this package >+ --help=recursive display the short help of all the included packages >+ -V, --version display version information and exit >+ -q, --quiet, --silent do not print \`checking...' messages >+ --cache-file=FILE cache test results in FILE [disabled] >+ -C, --config-cache alias for \`--cache-file=config.cache' >+ -n, --no-create do not create output files >+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] > >-ac_aux_dir= >-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do >- if test -f $ac_dir/install-sh; then >- ac_aux_dir=$ac_dir >- ac_install_sh="$ac_aux_dir/install-sh -c" >- break >- elif test -f $ac_dir/install.sh; then >- ac_aux_dir=$ac_dir >- ac_install_sh="$ac_aux_dir/install.sh -c" >- break >- fi >-done >-if test -z "$ac_aux_dir"; then >- { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } >+_ACEOF >+ >+ cat <<_ACEOF >+Installation directories: >+ --prefix=PREFIX install architecture-independent files in PREFIX >+ [$ac_default_prefix] >+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX >+ [PREFIX] >+ >+By default, \`make install' will install all the files in >+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify >+an installation prefix other than \`$ac_default_prefix' using \`--prefix', >+for instance \`--prefix=\$HOME'. >+ >+For better control, use the options below. >+ >+Fine tuning of the installation directories: >+ --bindir=DIR user executables [EPREFIX/bin] >+ --sbindir=DIR system admin executables [EPREFIX/sbin] >+ --libexecdir=DIR program executables [EPREFIX/libexec] >+ --datadir=DIR read-only architecture-independent data [PREFIX/share] >+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] >+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] >+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] >+ --libdir=DIR object code libraries [EPREFIX/lib] >+ --includedir=DIR C header files [PREFIX/include] >+ --oldincludedir=DIR C header files for non-gcc [/usr/include] >+ --infodir=DIR info documentation [PREFIX/info] >+ --mandir=DIR man documentation [PREFIX/man] >+_ACEOF >+ >+ cat <<\_ACEOF >+ >+X features: >+ --x-includes=DIR X include files are in DIR >+ --x-libraries=DIR X library files are in DIR >+ >+System types: >+ --build=BUILD configure for building on BUILD [guessed] >+ --host=HOST cross-compile to build programs to run on HOST [BUILD] >+ --target=TARGET configure for building compilers for TARGET [HOST] >+_ACEOF > fi >-ac_config_guess=$ac_aux_dir/config.guess >-ac_config_sub=$ac_aux_dir/config.sub >-ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. > >-subdirs="ghc" >+if test -n "$ac_init_help"; then > >+ cat <<\_ACEOF > >-# ------------------------------------------------------------------------- >-# Prepare to generate the following header files >-# >-# >+Optional Features: >+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) >+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] >+ --enable-hc-boot >+ Boot the Glasgow Haskell Compiler from intermediate .hc files. >+ (This option is mostly of interest to porters.) > >+ --enable-hc-boot-unregisterised >+ With --enable-hc-boot, treat the intermediate .hc files as >+ unregisterised rather than registerised code. >+ (This option is mostly of interest to porters.) > >-# No, semi-sadly, we don't do `--srcdir'... >-if test x"$srcdir" != 'x.' ; then >- echo "This configuration does not support the \`--srcdir' option.." >- exit 1 >-fi >+ --enable-threaded-rts >+ Support better interop with OS threads. > >-# >-# Remove common automounter nonsense + convert from UNC to DOS style paths >-# (UNC awareness isn't quite there yet for cygwin32-beta18 and consituent tools.) >-# >-hardtop=`pwd` >-hardtop=`echo $hardtop | sed 's|^/tmp_mnt.*\(/local/.*\)$|\1|' | sed 's|^/tmp_mnt/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|' | sed 's|^//\(.\)/|\1:/|' ` >+ --enable-win32-dlls >+ If on a Win32 platform running mingw32/cygwin, enable the >+ construction of DLLs containing ghc-compiled code. > >-echo '' >-echo "*** The top of your build tree is: $hardtop" >-# subst of hardtop is done below after we've computed hardtop_plat. >+ --enable-hopengl >+ Build HOpenGL, a Haskell binding for OpenGL/GLUT, too. >+ (This option is only relevant when hslibs are built.) > >+ --enable-src-tree-happy >+ Build and use source tree (fptools/happy) version of happy. > >+ --with-Mesa Prefer the Mesa library over a vendors native OpenGL library (default=no) > >-# Do some error checking and defaulting for the host and target type. >-# The inputs are: >-# configure --host=HOST --target=TARGET --build=BUILD NONOPT >-# >-# The rules are: >-# 1. You are not allowed to specify --host, --target, and nonopt at the >-# same time. >-# 2. Host defaults to nonopt. >-# 3. If nonopt is not specified, then host defaults to the current host, >-# as determined by config.guess. >-# 4. Target and build default to nonopt. >-# 5. If nonopt is not specified, then target and build default to host. >+Optional Packages: >+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] >+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) >+ --with-ghc=<haskell compiler> >+ Use a command different from 'ghc' to compile GHC-specific Haskell code >+ (including GHC itself). > >-# The aliases save the names the user supplied, while $host etc. >-# will get canonicalized. >-case $host---$target---$nonopt in >-NONE---*---* | *---NONE---* | *---*---NONE) ;; >-*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; >-esac >+ --with-hc=<haskell compiler> >+ Use a command different from 'ghc' to compile generic Haskell code. > >+ --with-gcc=<gcc command> >+ Use a different command instead of 'gcc' for the GNU C compiler. > >-# Make sure we can run config.sub. >-if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : >-else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } >-fi >+ --with-glut-api=<version> >+ Use a specific version of the GLUT API when building HOpenGL. > >-echo $ac_n "checking host system type""... $ac_c" 1>&6 >-echo "configure:654: checking host system type" >&5 >+ --with-glut-xlib=<version> >+ Use a specific version of the GLUT Xlib implementation when building HOpenGL. > >-host_alias=$host >-case "$host_alias" in >-NONE) >- case $nonopt in >- NONE) >- if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : >- else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } >+ --without-happy >+ Don't check for the Happy parser generator, assuming the >+ parsers are already built. >+ If you don't have Happy, use this for building from a source >+ distribution (it contains the parsers pre-built). >+ >+ --with-x use the X Window System >+ >+Some influential environment variables: >+ CC C compiler command >+ CFLAGS C compiler flags >+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a >+ nonstandard directory <lib dir> >+ CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have >+ headers in a nonstandard directory <include dir> >+ CPP C preprocessor >+ >+Use these variables to override the choices made by `configure' or to help >+it to find libraries and programs with nonstandard names/locations. >+ >+_ACEOF >+fi >+ >+if test "$ac_init_help" = "recursive"; then >+ # If there are subdirs, report their specific --help. >+ ac_popdir=`pwd` >+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue >+ test -d $ac_dir || continue >+ ac_builddir=. >+ >+if test "$ac_dir" != .; then >+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >+ # A "../" for each directory in $ac_dir_suffix. >+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` >+else >+ ac_dir_suffix= ac_top_builddir= >+fi >+ >+case $srcdir in >+ .) # No --srcdir option. We are building in place. >+ ac_srcdir=. >+ if test -z "$ac_top_builddir"; then >+ ac_top_srcdir=. >+ else >+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` > fi ;; >- *) host_alias=$nonopt ;; >- esac ;; >+ [\\/]* | ?:[\\/]* ) # Absolute path. >+ ac_srcdir=$srcdir$ac_dir_suffix; >+ ac_top_srcdir=$srcdir ;; >+ *) # Relative path. >+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix >+ ac_top_srcdir=$ac_top_builddir$srcdir ;; > esac >+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be >+# absolute. >+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` >+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` >+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` >+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` > >-host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` >-host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` >-host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` >-host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` >-echo "$ac_t""$host" 1>&6 >- >-echo $ac_n "checking target system type""... $ac_c" 1>&6 >-echo "configure:675: checking target system type" >&5 >- >-target_alias=$target >-case "$target_alias" in >-NONE) >- case $nonopt in >- NONE) target_alias=$host_alias ;; >- *) target_alias=$nonopt ;; >- esac ;; >-esac >- >-target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` >-target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` >-target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` >-target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` >-echo "$ac_t""$target" 1>&6 >- >-echo $ac_n "checking build system type""... $ac_c" 1>&6 >-echo "configure:693: checking build system type" >&5 >- >-build_alias=$build >-case "$build_alias" in >-NONE) >- case $nonopt in >- NONE) build_alias=$host_alias ;; >- *) build_alias=$nonopt ;; >- esac ;; >-esac >- >-build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` >-build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` >-build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` >-build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` >-echo "$ac_t""$build" 1>&6 >- >-test "$host_alias" != "$target_alias" && >- test "$program_prefix$program_suffix$program_transform_name" = \ >- NONENONEs,x,x, && >- program_prefix=${target_alias}- >+ cd $ac_dir >+ # Check for guested configure; otherwise get Cygnus style configure. >+ if test -f $ac_srcdir/configure.gnu; then >+ echo >+ $SHELL $ac_srcdir/configure.gnu --help=recursive >+ elif test -f $ac_srcdir/configure; then >+ echo >+ $SHELL $ac_srcdir/configure --help=recursive >+ elif test -f $ac_srcdir/configure.ac || >+ test -f $ac_srcdir/configure.in; then >+ echo >+ $ac_configure --help >+ else >+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 >+ fi >+ cd $ac_popdir >+ done >+fi > >+test -n "$ac_init_help" && exit 0 >+if $ac_init_version; then >+ cat <<\_ACEOF >+ >+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 >+Free Software Foundation, Inc. >+This configure script is free software; the Free Software Foundation >+gives unlimited permission to copy, distribute and modify it. >+_ACEOF >+ exit 0 >+fi >+exec 5>config.log >+cat >&5 <<_ACEOF >+This file contains any messages produced by compilers while >+running configure, to aid debugging if configure makes a mistake. >+ >+It was created by $as_me, which was >+generated by GNU Autoconf 2.53a. Invocation command line was >+ >+ $ $0 $@ >+ >+_ACEOF >+{ >+cat <<_ASUNAME >+## --------- ## >+## Platform. ## >+## --------- ## >+ >+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` >+uname -m = `(uname -m) 2>/dev/null || echo unknown` >+uname -r = `(uname -r) 2>/dev/null || echo unknown` >+uname -s = `(uname -s) 2>/dev/null || echo unknown` >+uname -v = `(uname -v) 2>/dev/null || echo unknown` >+ >+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` >+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` >+ >+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` >+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` >+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` >+hostinfo = `(hostinfo) 2>/dev/null || echo unknown` >+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` >+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` >+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` >+ >+_ASUNAME >+ >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ echo "PATH: $as_dir" >+done >+ >+} >&5 >+ >+cat >&5 <<_ACEOF >+ >+ >+## ----------- ## >+## Core tests. ## >+## ----------- ## >+ >+_ACEOF >+ >+ >+# Keep a trace of the command line. >+# Strip out --no-create and --no-recursion so they do not pile up. >+# Also quote any args containing shell meta-characters. >+ac_configure_args= >+ac_sep= >+for ac_arg >+do >+ case $ac_arg in >+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ >+ | --no-cr | --no-c | -n ) continue ;; >+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ >+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) >+ continue ;; >+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) >+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; >+ esac >+ case " $ac_configure_args " in >+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. >+ *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" >+ ac_sep=" " ;; >+ esac >+ # Get rid of the leading space. >+done >+ >+# When interrupted or exit'd, cleanup temporary files, and complete >+# config.log. We remove comments because anyway the quotes in there >+# would cause problems or look ugly. >+# WARNING: Be sure not to use single quotes in there, as some shells, >+# such as our DU 5.0 friend, will then `close' the trap. >+trap 'exit_status=$? >+ # Save into config.log some information that might help in debugging. >+ { >+ echo >+ cat <<\_ASBOX >+## ---------------- ## >+## Cache variables. ## >+## ---------------- ## >+_ASBOX >+ echo >+ # The following way of writing the cache mishandles newlines in values, >+{ >+ (set) 2>&1 | >+ case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in >+ *ac_space=\ *) >+ sed -n \ >+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; >+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" >+ ;; >+ *) >+ sed -n \ >+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" >+ ;; >+ esac; >+} >+ echo >+ if test -s confdefs.h; then >+ cat <<\_ASBOX >+## ----------- ## >+## confdefs.h. ## >+## ----------- ## >+_ASBOX >+ echo >+ sed "/^$/d" confdefs.h >+ echo >+ fi >+ test "$ac_signal" != 0 && >+ echo "$as_me: caught signal $ac_signal" >+ echo "$as_me: exit $exit_status" >+ } >&5 >+ rm -f core core.* *.core && >+ rm -rf conftest* confdefs* conf$$* $ac_clean_files && >+ exit $exit_status >+ ' 0 >+for ac_signal in 1 2 13 15; do >+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal >+done >+ac_signal=0 >+ >+# confdefs.h avoids OS command line length limits that DEFS can exceed. >+rm -rf conftest* confdefs.h >+# AIX cpp loses on an empty file, so make sure it contains at least a newline. >+echo >confdefs.h >+ >+# Predefined preprocessor variables. >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_NAME "$PACKAGE_NAME" >+_ACEOF >+ >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" >+_ACEOF >+ >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_VERSION "$PACKAGE_VERSION" >+_ACEOF >+ >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_STRING "$PACKAGE_STRING" >+_ACEOF >+ >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" >+_ACEOF >+ >+ >+# Let the site file select an alternate cache file if it wants to. >+# Prefer explicitly selected file to automatically selected ones. >+if test -z "$CONFIG_SITE"; then >+ if test "x$prefix" != xNONE; then >+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" >+ else >+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" >+ fi >+fi >+for ac_site_file in $CONFIG_SITE; do >+ if test -r "$ac_site_file"; then >+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 >+echo "$as_me: loading site script $ac_site_file" >&6;} >+ sed 's/^/| /' "$ac_site_file" >&5 >+ . "$ac_site_file" >+ fi >+done >+ >+if test -r "$cache_file"; then >+ # Some versions of bash will fail to source /dev/null (special >+ # files actually), so we avoid doing that. >+ if test -f "$cache_file"; then >+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5 >+echo "$as_me: loading cache $cache_file" >&6;} >+ case $cache_file in >+ [\\/]* | ?:[\\/]* ) . $cache_file;; >+ *) . ./$cache_file;; >+ esac >+ fi >+else >+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5 >+echo "$as_me: creating cache $cache_file" >&6;} >+ >$cache_file >+fi >+ >+# Check that the precious variables saved in the cache have kept the same >+# value. >+ac_cache_corrupted=false >+for ac_var in `(set) 2>&1 | >+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do >+ eval ac_old_set=\$ac_cv_env_${ac_var}_set >+ eval ac_new_set=\$ac_env_${ac_var}_set >+ eval ac_old_val="\$ac_cv_env_${ac_var}_value" >+ eval ac_new_val="\$ac_env_${ac_var}_value" >+ case $ac_old_set,$ac_new_set in >+ set,) >+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 >+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} >+ ac_cache_corrupted=: ;; >+ ,set) >+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 >+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} >+ ac_cache_corrupted=: ;; >+ ,);; >+ *) >+ if test "x$ac_old_val" != "x$ac_new_val"; then >+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 >+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} >+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 >+echo "$as_me: former value: $ac_old_val" >&2;} >+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 >+echo "$as_me: current value: $ac_new_val" >&2;} >+ ac_cache_corrupted=: >+ fi;; >+ esac >+ # Pass precious variables to config.status. >+ if test "$ac_new_set" = set; then >+ case $ac_new_val in >+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) >+ ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; >+ *) ac_arg=$ac_var=$ac_new_val ;; >+ esac >+ case " $ac_configure_args " in >+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. >+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; >+ esac >+ fi >+done >+if $ac_cache_corrupted; then >+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 >+echo "$as_me: error: changes in the environment can compromise the build" >&2;} >+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 >+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+ >+ac_ext=c >+ac_cpp='$CPP $CPPFLAGS' >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ac_aux_dir= >+for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do >+ if test -f $ac_dir/install-sh; then >+ ac_aux_dir=$ac_dir >+ ac_install_sh="$ac_aux_dir/install-sh -c" >+ break >+ elif test -f $ac_dir/install.sh; then >+ ac_aux_dir=$ac_dir >+ ac_install_sh="$ac_aux_dir/install.sh -c" >+ break >+ elif test -f $ac_dir/shtool; then >+ ac_aux_dir=$ac_dir >+ ac_install_sh="$ac_aux_dir/shtool install -c" >+ break >+ fi >+done >+if test -z "$ac_aux_dir"; then >+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 >+echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} >+ { (exit 1); exit 1; }; } >+fi >+ac_config_guess="$SHELL $ac_aux_dir/config.guess" >+ac_config_sub="$SHELL $ac_aux_dir/config.sub" >+ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. >+ >+ >+ >+subdirs="$subdirs ghc" >+ >+ >+# ------------------------------------------------------------------------- >+# Prepare to generate the following header files >+# >+# >+ ac_config_headers="$ac_config_headers mk/config.h" >+ >+ >+# No, semi-sadly, we don't do `--srcdir'... >+if test x"$srcdir" != 'x.' ; then >+ echo "This configuration does not support the \`--srcdir' option.." >+ exit 1 >+fi >+ >+# >+# Remove common automounter nonsense + convert from UNC to DOS style paths >+# (UNC awareness isn't quite there yet for cygwin32-beta18 and consituent tools.) >+# >+hardtop=`pwd` >+hardtop=`echo $hardtop | sed 's|^/tmp_mnt.*\(/local/.*\)$|\1|' | sed 's|^/tmp_mnt/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|' | sed 's|^//\(.\)/|\1:/|' ` >+ >+echo '' >+echo "*** The top of your build tree is: $hardtop" >+# subst of hardtop is done below after we've computed hardtop_plat. >+ >+ >+# Make sure we can run config.sub. >+$ac_config_sub sun4 >/dev/null 2>&1 || >+ { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 >+echo "$as_me: error: cannot run $ac_config_sub" >&2;} >+ { (exit 1); exit 1; }; } >+ >+echo "$as_me:$LINENO: checking build system type" >&5 >+echo $ECHO_N "checking build system type... $ECHO_C" >&6 >+if test "${ac_cv_build+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_build_alias=$build_alias >+test -z "$ac_cv_build_alias" && >+ ac_cv_build_alias=`$ac_config_guess` >+test -z "$ac_cv_build_alias" && >+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 >+echo "$as_me: error: cannot guess build type; you must specify one" >&2;} >+ { (exit 1); exit 1; }; } >+ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || >+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 >+echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} >+ { (exit 1); exit 1; }; } >+ >+fi >+echo "$as_me:$LINENO: result: $ac_cv_build" >&5 >+echo "${ECHO_T}$ac_cv_build" >&6 >+build=$ac_cv_build >+build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` >+build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` >+build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` >+ >+ >+echo "$as_me:$LINENO: checking host system type" >&5 >+echo $ECHO_N "checking host system type... $ECHO_C" >&6 >+if test "${ac_cv_host+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_host_alias=$host_alias >+test -z "$ac_cv_host_alias" && >+ ac_cv_host_alias=$ac_cv_build_alias >+ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || >+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 >+echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} >+ { (exit 1); exit 1; }; } >+ >+fi >+echo "$as_me:$LINENO: result: $ac_cv_host" >&5 >+echo "${ECHO_T}$ac_cv_host" >&6 >+host=$ac_cv_host >+host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` >+host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` >+host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` >+ >+ >+echo "$as_me:$LINENO: checking target system type" >&5 >+echo $ECHO_N "checking target system type... $ECHO_C" >&6 >+if test "${ac_cv_target+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_target_alias=$target_alias >+test "x$ac_cv_target_alias" = "x" && >+ ac_cv_target_alias=$ac_cv_host_alias >+ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || >+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 >+echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} >+ { (exit 1); exit 1; }; } >+ >+fi >+echo "$as_me:$LINENO: result: $ac_cv_target" >&5 >+echo "${ECHO_T}$ac_cv_target" >&6 >+target=$ac_cv_target >+target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` >+target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` >+target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` >+ >+ >+# The aliases save the names the user supplied, while $host etc. >+# will get canonicalized. >+test -n "$target_alias" && >+ test "$program_prefix$program_suffix$program_transform_name" = \ >+ NONENONEs,x,x, && >+ program_prefix=${target_alias}- > > # "$host" defaults to "$target" > if test "x$host" = xNONE ; then >@@ -1011,53 +1698,58 @@ > > > >+ > # Check whether --with-ghc or --without-ghc was given. > if test "${with_ghc+set}" = set; then > withval="$with_ghc" >- WithGhc="$withval" >+ WithGhc="$withval" > else >- >+ > if test "$GHC" = ""; then > # Extract the first word of "ghc", so it can be a program name with args. > set dummy ghc; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1025: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_GHC'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_GHC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$GHC" in >- /*) >+ case $GHC in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_GHC="$GHC" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_GHC="$GHC" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_GHC="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_GHC="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-GHC="$ac_cv_path_GHC" >+GHC=$ac_cv_path_GHC >+ > if test -n "$GHC"; then >- echo "$ac_t""$GHC" 1>&6 >+ echo "$as_me:$LINENO: result: $GHC" >&5 >+echo "${ECHO_T}$GHC" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > fi > WithGhc=$GHC > > >-fi >+fi; > > > >@@ -1068,13 +1760,12 @@ > else > WithHc=$WithGhc > >-fi >- >+fi; > > > if test "$WithGhc" != ""; then >- echo $ac_n "checking version of ghc""... $ac_c" 1>&6 >-echo "configure:1078: checking version of ghc" >&5 >+ echo "$as_me:$LINENO: checking version of ghc" >&5 >+echo $ECHO_N "checking version of ghc... $ECHO_C" >&6 > "${WithGhc-ghc}" --version > conftestghc 2>&1 > cat conftestghc >&5 > #Useless Use Of cat award... >@@ -1102,86 +1793,96 @@ > GhcPatchLevel="$fptools_version_of_ghc_pl" > > >- echo "$ac_t""$fptools_version_of_ghc" 1>&6 >+ echo "$as_me:$LINENO: result: $fptools_version_of_ghc" >&5 >+echo "${ECHO_T}$fptools_version_of_ghc" >&6 > > fi > > for ac_prog in nhc nhc98 > do >-# Extract the first word of "$ac_prog", so it can be a program name with args. >+ # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1115: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_NHC'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_NHC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$NHC" in >- /*) >+ case $NHC in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_NHC="$NHC" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_NHC="$NHC" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_NHC="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_NHC="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-NHC="$ac_cv_path_NHC" >+NHC=$ac_cv_path_NHC >+ > if test -n "$NHC"; then >- echo "$ac_t""$NHC" 1>&6 >+ echo "$as_me:$LINENO: result: $NHC" >&5 >+echo "${ECHO_T}$NHC" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-test -n "$NHC" && break >+ test -n "$NHC" && break > done > > # Extract the first word of "hbc", so it can be a program name with args. > set dummy hbc; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1153: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_HBC'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_HBC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$HBC" in >- /*) >+ case $HBC in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_HBC="$HBC" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_HBC="$HBC" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_HBC="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_HBC="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-HBC="$ac_cv_path_HBC" >+HBC=$ac_cv_path_HBC >+ > if test -n "$HBC"; then >- echo "$ac_t""$HBC" 1>&6 >+ echo "$as_me:$LINENO: result: $HBC" >&5 >+echo "${ECHO_T}$HBC" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > >+ > # Check whether --with-gcc or --without-gcc was given. > if test "${with_gcc+set}" = set; then > withval="$with_gcc" >@@ -1190,8 +1891,7 @@ > else > WhatGccIsCalled="gcc" > >-fi >- >+fi; > > > # Check whether --enable-hc-boot or --disable-hc-boot was given. >@@ -1201,8 +1901,7 @@ > else > BootingFromHc=NO > >-fi >- >+fi; > > > # Check whether --enable-hc-boot-unregisterised or --disable-hc-boot-unregisterised was given. >@@ -1212,13 +1911,14 @@ > else > BootingFromUnregisterisedHc=NO > >-fi >- >+fi; > > > if test "$BootingFromHc" = "NO"; then > if test "$BootingFromUnregisterisedHc" = "YES"; then >-{ echo "configure: error: --enable-hc-boot-unregisterised requires --enable-hc-boot." 1>&2; exit 1; } >+{ { echo "$as_me:$LINENO: error: --enable-hc-boot-unregisterised requires --enable-hc-boot." >&5 >+echo "$as_me: error: --enable-hc-boot-unregisterised requires --enable-hc-boot." >&2;} >+ { (exit 1); exit 1; }; } > fi; > fi; > >@@ -1230,14 +1930,13 @@ > else > ThreadedRts=NO > >-fi >- >+fi; > > > # Check whether --enable-win32-dlls or --disable-win32-dlls was given. > if test "${enable_win32_dlls+set}" = set; then > enableval="$enable_win32_dlls" >- >+ > case $HostOS_CPP in > cygwin32) ;; > mingw32) ;; >@@ -1250,13 +1949,12 @@ > else > EnableWin32DLLs=NO > >-fi >- >+fi; > > if test x"$EnableWin32DLLs" = "xYES" ; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_WIN32_DLL_SUPPORT 1 >-EOF >+_ACEOF > > fi > >@@ -1267,43 +1965,47 @@ > else > GhcLibsWithHOpenGL=NO > >-fi >+fi; > > > > # Check whether --with-glut-api or --without-glut-api was given. > if test "${with_glut_api+set}" = set; then > withval="$with_glut_api" >- : >-fi > >+fi; > test -n "$with_glut_api" && CPPFLAGS="$CPPFLAGS -DGLUT_API_VERSION=$with_glut_api" > > >+ > # Check whether --with-glut-xlib or --without-glut-xlib was given. > if test "${with_glut_xlib+set}" = set; then > withval="$with_glut_xlib" >- : >-fi > >+fi; > test -n "$with_glut_xlib" && CPPFLAGS="$CPPFLAGS -DGLUT_XLIB_IMPLEMENTATION=$with_glut_xlib" > > > >+# Check whether --with-happy or --without-happy was given. >+if test "${with_happy+set}" = set; then >+ withval="$with_happy" >+ >+fi; >+ > > > > >-# Pull the hash mark out of the macro call to avoid m4 problems. >-ac_msg="whether #! works in shell scripts" >-echo $ac_n "checking $ac_msg""... $ac_c" 1>&6 >-echo "configure:1301: checking $ac_msg" >&5 >-if eval "test \"`echo '$''{'ac_cv_sys_interpreter'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5 >+echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6 >+if test "${ac_cv_sys_interpreter+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > echo '#! /bin/cat > exit 69 >-' > conftest >+' >conftest > chmod u+x conftest > (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) > if test $? -ne 69; then >@@ -1313,40 +2015,46 @@ > fi > rm -f conftest > fi >- >-echo "$ac_t""$ac_cv_sys_interpreter" 1>&6 >-interpval="$ac_cv_sys_interpreter" >+echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5 >+echo "${ECHO_T}$ac_cv_sys_interpreter" >&6 >+interpval=$ac_cv_sys_interpreter > > > case $HostOS_CPP in > cygwin32|mingw32) > # Extract the first word of "perl", so it can be a program name with args. > set dummy perl; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1327: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_PerlCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_PerlCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$PerlCmd"; then > ac_cv_prog_PerlCmd="$PerlCmd" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="/bin" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_PerlCmd="/bin/perl" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in /bin >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_PerlCmd="/bin/perl" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > fi > fi >-PerlCmd="$ac_cv_prog_PerlCmd" >+PerlCmd=$ac_cv_prog_PerlCmd > if test -n "$PerlCmd"; then >- echo "$ac_t""$PerlCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $PerlCmd" >&5 >+echo "${ECHO_T}$PerlCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > if test -z "$PerlCmd"; then >@@ -1358,37 +2066,41 @@ > *) > # Extract the first word of "perl", so it can be a program name with args. > set dummy perl; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1363: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_PerlCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_PerlCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$PerlCmd" in >- /*) >+ case $PerlCmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_PerlCmd="$PerlCmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_PerlCmd="$PerlCmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_PerlCmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_PerlCmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-PerlCmd="$ac_cv_path_PerlCmd" >+PerlCmd=$ac_cv_path_PerlCmd >+ > if test -n "$PerlCmd"; then >- echo "$ac_t""$PerlCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $PerlCmd" >&5 >+echo "${ECHO_T}$PerlCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > if test -z "$PerlCmd"; then >@@ -1416,10 +2128,10 @@ > ;; > esac > >-echo $ac_n "checking if your perl works in shell scripts""... $ac_c" 1>&6 >-echo "configure:1421: checking if your perl works in shell scripts" >&5 >-if eval "test \"`echo '$''{'fptools_cv_shebang_perl'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking if your perl works in shell scripts" >&5 >+echo $ECHO_N "checking if your perl works in shell scripts... $ECHO_C" >&6 >+if test "${fptools_cv_shebang_perl+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > echo "#!$PerlCmd"' > exit ; >@@ -1434,217 +2146,629 @@ > rm -f conftest > > fi >+echo "$as_me:$LINENO: result: $fptools_cv_shebang_perl" >&5 >+echo "${ECHO_T}$fptools_cv_shebang_perl" >&6 > >-echo "$ac_t""$fptools_cv_shebang_perl" 1>&6 >- >-# Extract the first word of "gcc", so it can be a program name with args. >-set dummy gcc; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1444: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ac_ext=c >+ac_cpp='$CPP $CPPFLAGS' >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu >+if test -n "$ac_tool_prefix"; then >+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. >+set dummy ${ac_tool_prefix}gcc; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$CC"; then > ac_cv_prog_CC="$CC" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_CC="gcc" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CC="${ac_tool_prefix}gcc" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > fi > fi >-CC="$ac_cv_prog_CC" >+CC=$ac_cv_prog_CC > if test -n "$CC"; then >- echo "$ac_t""$CC" 1>&6 >+ echo "$as_me:$LINENO: result: $CC" >&5 >+echo "${ECHO_T}$CC" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-if test -z "$CC"; then >- # Extract the first word of "cc", so it can be a program name with args. >-set dummy cc; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1474: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+fi >+if test -z "$ac_cv_prog_CC"; then >+ ac_ct_CC=$CC >+ # Extract the first word of "gcc", so it can be a program name with args. >+set dummy gcc; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- if test -n "$CC"; then >- ac_cv_prog_CC="$CC" # Let the user override the test. >+ if test -n "$ac_ct_CC"; then >+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_prog_rejected=no >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then >- ac_prog_rejected=yes >- continue >- fi >- ac_cv_prog_CC="cc" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_CC="gcc" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ >+fi >+fi >+ac_ct_CC=$ac_cv_prog_ac_ct_CC >+if test -n "$ac_ct_CC"; then >+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 >+echo "${ECHO_T}$ac_ct_CC" >&6 >+else >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 >+fi >+ >+ CC=$ac_ct_CC >+else >+ CC="$ac_cv_prog_CC" >+fi >+ >+if test -z "$CC"; then >+ if test -n "$ac_tool_prefix"; then >+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. >+set dummy ${ac_tool_prefix}cc; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test -n "$CC"; then >+ ac_cv_prog_CC="$CC" # Let the user override the test. >+else >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CC="${ac_tool_prefix}cc" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ >+fi >+fi >+CC=$ac_cv_prog_CC >+if test -n "$CC"; then >+ echo "$as_me:$LINENO: result: $CC" >&5 >+echo "${ECHO_T}$CC" >&6 >+else >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 >+fi >+ >+fi >+if test -z "$ac_cv_prog_CC"; then >+ ac_ct_CC=$CC >+ # Extract the first word of "cc", so it can be a program name with args. >+set dummy cc; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test -n "$ac_ct_CC"; then >+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. >+else >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_CC="cc" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ >+fi >+fi >+ac_ct_CC=$ac_cv_prog_ac_ct_CC >+if test -n "$ac_ct_CC"; then >+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 >+echo "${ECHO_T}$ac_ct_CC" >&6 >+else >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 >+fi >+ >+ CC=$ac_ct_CC >+else >+ CC="$ac_cv_prog_CC" >+fi >+ >+fi >+if test -z "$CC"; then >+ # Extract the first word of "cc", so it can be a program name with args. >+set dummy cc; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test -n "$CC"; then >+ ac_cv_prog_CC="$CC" # Let the user override the test. >+else >+ ac_prog_rejected=no >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then >+ ac_prog_rejected=yes >+ continue >+ fi >+ ac_cv_prog_CC="cc" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > if test $ac_prog_rejected = yes; then > # We found a bogon in the path, so make sure we never use it. > set dummy $ac_cv_prog_CC > shift >- if test $# -gt 0; then >+ if test $# != 0; then > # We chose a different compiler from the bogus one. > # However, it has the same basename, so the bogon will be chosen > # first if we set CC to just the basename; use the full file name. > shift >- set dummy "$ac_dir/$ac_word" "$@" >- shift >- ac_cv_prog_CC="$@" >+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" > fi > fi > fi > fi >-CC="$ac_cv_prog_CC" >+CC=$ac_cv_prog_CC > if test -n "$CC"; then >- echo "$ac_t""$CC" 1>&6 >+ echo "$as_me:$LINENO: result: $CC" >&5 >+echo "${ECHO_T}$CC" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >- if test -z "$CC"; then >- case "`uname -s`" in >- *win32* | *WIN32*) >- # Extract the first word of "cl", so it can be a program name with args. >-set dummy cl; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1525: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+fi >+if test -z "$CC"; then >+ if test -n "$ac_tool_prefix"; then >+ for ac_prog in cl >+ do >+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. >+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$CC"; then > ac_cv_prog_CC="$CC" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_CC="cl" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > fi > fi >-CC="$ac_cv_prog_CC" >+CC=$ac_cv_prog_CC > if test -n "$CC"; then >- echo "$ac_t""$CC" 1>&6 >+ echo "$as_me:$LINENO: result: $CC" >&5 >+echo "${ECHO_T}$CC" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi >- ;; >- esac >+ >+ test -n "$CC" && break >+ done >+fi >+if test -z "$CC"; then >+ ac_ct_CC=$CC >+ for ac_prog in cl >+do >+ # Extract the first word of "$ac_prog", so it can be a program name with args. >+set dummy $ac_prog; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test -n "$ac_ct_CC"; then >+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. >+else >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_CC="$ac_prog" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 > fi >- test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } >+done >+done >+ >+fi >+fi >+ac_ct_CC=$ac_cv_prog_ac_ct_CC >+if test -n "$ac_ct_CC"; then >+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 >+echo "${ECHO_T}$ac_ct_CC" >&6 >+else >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 >-echo "configure:1557: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 >+ test -n "$ac_ct_CC" && break >+done > >-ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. >-ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ CC=$ac_ct_CC >+fi > >-cat > conftest.$ac_ext << EOF >+fi > >-#line 1568 "configure" >-#include "confdefs.h" > >-main(){return(0);} >-EOF >-if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- ac_cv_prog_cc_works=yes >- # If we can't run a trivial program, we are probably using a cross compiler. >- if (./conftest; exit) 2>/dev/null; then >- ac_cv_prog_cc_cross=no >+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 >+echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} >+ { (exit 1); exit 1; }; } >+ >+# Provide some information about the compiler. >+echo "$as_me:$LINENO:" \ >+ "checking for C compiler version" >&5 >+ac_compiler=`set X $ac_compile; echo $2` >+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 >+ (eval $ac_compiler --version </dev/null >&5) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 >+ (eval $ac_compiler -v </dev/null >&5) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 >+ (eval $ac_compiler -V </dev/null >&5) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >+ >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ ; >+ return 0; >+} >+_ACEOF >+ac_clean_files_save=$ac_clean_files >+ac_clean_files="$ac_clean_files a.out a.exe" >+# Try to create an executable without -o first, disregard a.out. >+# It will help us diagnose broken compilers, and finding out an intuition >+# of exeext. >+echo "$as_me:$LINENO: checking for C compiler default output" >&5 >+echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 >+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` >+if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 >+ (eval $ac_link_default) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then >+ # Find the output, starting from the most likely. This scheme is >+# not robust to junk in `.', hence go to wildcards (a.*) only as a last >+# resort. >+ >+# Be careful to initialize this variable, since it used to be cached. >+# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. >+ac_cv_exeext= >+for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; >+ ls a.out conftest 2>/dev/null; >+ ls a.* conftest.* 2>/dev/null`; do >+ case $ac_file in >+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; >+ a.out ) # We found the default executable, but exeext='' is most >+ # certainly right. >+ break;; >+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` >+ # FIXME: I believe we export ac_cv_exeext for Libtool --akim. >+ export ac_cv_exeext >+ break;; >+ * ) break;; >+ esac >+done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 >+echo "$as_me: error: C compiler cannot create executables" >&2;} >+ { (exit 77); exit 77; }; } >+fi >+ >+ac_exeext=$ac_cv_exeext >+echo "$as_me:$LINENO: result: $ac_file" >&5 >+echo "${ECHO_T}$ac_file" >&6 >+ >+# Check the compiler produces executables we can run. If not, either >+# the compiler is broken, or we cross compile. >+echo "$as_me:$LINENO: checking whether the C compiler works" >&5 >+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 >+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 >+# If not cross compiling, check that we can run a simple program. >+if test "$cross_compiling" != yes; then >+ if { ac_try='./$ac_file' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ cross_compiling=no > else >- ac_cv_prog_cc_cross=yes >+ if test "$cross_compiling" = maybe; then >+ cross_compiling=yes >+ else >+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs. >+If you meant to cross compile, use \`--host'." >&5 >+echo "$as_me: error: cannot run C compiled programs. >+If you meant to cross compile, use \`--host'." >&2;} >+ { (exit 1); exit 1; }; } >+ fi > fi >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- ac_cv_prog_cc_works=no > fi >-rm -fr conftest* >-ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. >-ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >- >-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 >-if test $ac_cv_prog_cc_works = no; then >- { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } >-fi >-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 >-echo "configure:1599: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 >-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 >-cross_compiling=$ac_cv_prog_cc_cross >- >-echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 >-echo "configure:1604: checking whether we are using GNU C" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: result: yes" >&5 >+echo "${ECHO_T}yes" >&6 >+ >+rm -f a.out a.exe conftest$ac_cv_exeext >+ac_clean_files=$ac_clean_files_save >+# Check the compiler produces executables we can run. If not, either >+# the compiler is broken, or we cross compile. >+echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 >+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 >+echo "$as_me:$LINENO: result: $cross_compiling" >&5 >+echo "${ECHO_T}$cross_compiling" >&6 >+ >+echo "$as_me:$LINENO: checking for suffix of executables" >&5 >+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then >+ # If both `conftest.exe' and `conftest' are `present' (well, observable) >+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will >+# work properly (i.e., refer to `conftest.exe'), while it won't with >+# `rm'. >+for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do >+ case $ac_file in >+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; >+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` >+ export ac_cv_exeext >+ break;; >+ * ) break;; >+ esac >+done > else >- cat > conftest.c <<EOF >-#ifdef __GNUC__ >- yes; >+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 >+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+ >+rm -f conftest$ac_cv_exeext >+echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 >+echo "${ECHO_T}$ac_cv_exeext" >&6 >+ >+rm -f conftest.$ac_ext >+EXEEXT=$ac_cv_exeext >+ac_exeext=$EXEEXT >+echo "$as_me:$LINENO: checking for suffix of object files" >&5 >+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 >+if test "${ac_cv_objext+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } > #endif >-EOF >-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then >- ac_cv_prog_gcc=yes >-else >- ac_cv_prog_gcc=no >-fi >-fi >- >-echo "$ac_t""$ac_cv_prog_gcc" 1>&6 >+int >+main () >+{ > >-if test $ac_cv_prog_gcc = yes; then >- GCC=yes >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.o conftest.obj >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then >+ for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do >+ case $ac_file in >+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; >+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` >+ break;; >+ esac >+done > else >- GCC= >-fi >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 >+echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+ >+rm -f conftest.$ac_cv_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 >+echo "${ECHO_T}$ac_cv_objext" >&6 >+OBJEXT=$ac_cv_objext >+ac_objext=$OBJEXT >+echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 >+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 >+if test "${ac_cv_c_compiler_gnu+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+#ifndef __GNUC__ >+ choke me >+#endif > >-ac_test_CFLAGS="${CFLAGS+set}" >-ac_save_CFLAGS="$CFLAGS" >-CFLAGS= >-echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 >-echo "configure:1632: checking whether ${CC-cc} accepts -g" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- echo 'void f(){}' > conftest.c >-if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_compiler_gnu=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_compiler_gnu=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ac_cv_c_compiler_gnu=$ac_compiler_gnu >+ >+fi >+echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 >+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 >+GCC=`test $ac_compiler_gnu = yes && echo yes` >+ac_test_CFLAGS=${CFLAGS+set} >+ac_save_CFLAGS=$CFLAGS >+CFLAGS="-g" >+echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 >+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 >+if test "${ac_cv_prog_cc_g+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_prog_cc_g=yes > else >- ac_cv_prog_cc_g=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_prog_cc_g=no > fi >-rm -f conftest* >- >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 >+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 > if test "$ac_test_CFLAGS" = set; then >- CFLAGS="$ac_save_CFLAGS" >+ CFLAGS=$ac_save_CFLAGS > elif test $ac_cv_prog_cc_g = yes; then > if test "$GCC" = yes; then > CFLAGS="-g -O2" >@@ -1658,11 +2782,230 @@ > CFLAGS= > fi > fi >+echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 >+echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 >+if test "${ac_cv_prog_cc_stdc+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_prog_cc_stdc=no >+ac_save_CC=$CC >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <stdarg.h> >+#include <stdio.h> >+#include <sys/types.h> >+#include <sys/stat.h> >+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ >+struct buf { int x; }; >+FILE * (*rcsopen) (struct buf *, struct stat *, int); >+static char *e (p, i) >+ char **p; >+ int i; >+{ >+ return p[i]; >+} >+static char *f (char * (*g) (char **, int), char **p, ...) >+{ >+ char *s; >+ va_list v; >+ va_start (v,p); >+ s = g (p, va_arg (v,int)); >+ va_end (v); >+ return s; >+} >+int test (int i, double x); >+struct s1 {int (*f) (int a);}; >+struct s2 {int (*f) (double a);}; >+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); >+int argc; >+char **argv; >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; >+ ; >+ return 0; >+} >+_ACEOF >+# Don't try gcc -ansi; that turns off useful extensions and >+# breaks some systems' header files. >+# AIX -qlanglvl=ansi >+# Ultrix and OSF/1 -std1 >+# HP-UX 10.20 and later -Ae >+# HP-UX older versions -Aa -D_HPUX_SOURCE >+# SVR4 -Xc -D__EXTENSIONS__ >+for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" >+do >+ CC="$ac_save_CC $ac_arg" >+ rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_prog_cc_stdc=$ac_arg >+break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fi >+rm -f conftest.$ac_objext >+done >+rm -f conftest.$ac_ext conftest.$ac_objext >+CC=$ac_save_CC >+ >+fi >+ >+case "x$ac_cv_prog_cc_stdc" in >+ x|xno) >+ echo "$as_me:$LINENO: result: none needed" >&5 >+echo "${ECHO_T}none needed" >&6 ;; >+ *) >+ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 >+echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 >+ CC="$CC $ac_cv_prog_cc_stdc" ;; >+esac >+ >+# Some people use a C++ compiler to compile C. Since we use `exit', >+# in C++ we need to declare it. In case someone uses the same compiler >+# for both compiling C and C++ we need to have the C++ compiler decide >+# the declaration of exit, since it's the most demanding environment. >+cat >conftest.$ac_ext <<_ACEOF >+#ifndef __cplusplus >+ choke me >+#endif >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ for ac_declaration in \ >+ ''\ >+ '#include <stdlib.h>' \ >+ 'extern "C" void std::exit (int) throw (); using std::exit;' \ >+ 'extern "C" void std::exit (int); using std::exit;' \ >+ 'extern "C" void exit (int) throw ();' \ >+ 'extern "C" void exit (int);' \ >+ 'void exit (int);' >+do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <stdlib.h> >+$ac_declaration >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+exit (42); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ : >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+continue >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_declaration >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+exit (42); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+rm -f conftest* >+if test -n "$ac_declaration"; then >+ echo '#ifdef __cplusplus' >>confdefs.h >+ echo $ac_declaration >>confdefs.h >+ echo '#endif' >>confdefs.h >+fi > >-echo $ac_n "checking whether you have an ok gcc""... $ac_c" 1>&6 >-echo "configure:1664: checking whether you have an ok gcc" >&5 >-if eval "test \"`echo '$''{'fptools_cv_have_gcc'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ac_ext=c >+ac_cpp='$CPP $CPPFLAGS' >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+echo "$as_me:$LINENO: checking whether you have an ok gcc" >&5 >+echo $ECHO_N "checking whether you have an ok gcc... $ECHO_C" >&6 >+if test "${fptools_cv_have_gcc+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -z "$GCC"; then > echo '' >@@ -1679,139 +3022,280 @@ > $CC --version > echo "gcc prior to 2.0 and have never worked with ghc." > echo "we recommend 2.95.3, although versions back to 2.7.2 should be ok." >- { echo "configure: error: gcc 1.X has never been supported" 1>&2; exit 1; } >+ { { echo "$as_me:$LINENO: error: gcc 1.X has never been supported" >&5 >+echo "$as_me: error: gcc 1.X has never been supported" >&2;} >+ { (exit 1); exit 1; }; } > fi > fi > > fi >- >-echo "$ac_t""$fptools_cv_have_gcc" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_have_gcc" >&5 >+echo "${ECHO_T}$fptools_cv_have_gcc" >&6 > HaveGcc=`echo $fptools_cv_have_gcc | sed 'y/yesno/YESNO/'` > > > >-echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 >-echo "configure:1695: checking how to run the C preprocessor" >&5 >+ac_ext=c >+ac_cpp='$CPP $CPPFLAGS' >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu >+echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 >+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 > # On Suns, sometimes $CPP names a directory. > if test -n "$CPP" && test -d "$CPP"; then > CPP= > fi > if test -z "$CPP"; then >-if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ if test "${ac_cv_prog_CPP+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- # This must be in double quotes, not single quotes, because CPP may get >- # substituted into the Makefile and "${CC-cc}" will confuse make. >- CPP="${CC-cc} -E" >+ # Double quotes because CPP needs to be expanded >+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" >+ do >+ ac_preproc_ok=false >+for ac_c_preproc_warn_flag in '' yes >+do >+ # Use a header file that comes with gcc, so configuring glibc >+ # with a fresh cross-compiler works. > # On the NeXT, cc -E runs the code through the compiler's parser, >- # not just through cpp. >- cat > conftest.$ac_ext <<EOF >-#line 1710 "configure" >+ # not just through cpp. "Syntax error" is here to catch this case. >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <assert.h> >-Syntax Error >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >+ Syntax error >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then > : > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- CPP="${CC-cc} -E -traditional-cpp" >- cat > conftest.$ac_ext <<EOF >-#line 1727 "configure" >-#include "confdefs.h" >-#include <assert.h> >-Syntax Error >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:1733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- : >+ # Broken: fails on valid input. >+continue >+fi >+rm -f conftest.err conftest.$ac_ext >+ >+ # OK, works on sane cases. Now check whether non-existent headers >+ # can be detected and how. >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <ac_nonexistent.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ # Broken: success on invalid input. >+continue >+else >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- CPP="${CC-cc} -nologo -E" >- cat > conftest.$ac_ext <<EOF >-#line 1744 "configure" >+ # Passes both tests. >+ac_preproc_ok=: >+break >+fi >+rm -f conftest.err conftest.$ac_ext >+ >+done >+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. >+rm -f conftest.err conftest.$ac_ext >+if $ac_preproc_ok; then >+ break >+fi >+ >+ done >+ ac_cv_prog_CPP=$CPP >+ >+fi >+ CPP=$ac_cv_prog_CPP >+else >+ ac_cv_prog_CPP=$CPP >+fi >+echo "$as_me:$LINENO: result: $CPP" >&5 >+echo "${ECHO_T}$CPP" >&6 >+ac_preproc_ok=false >+for ac_c_preproc_warn_flag in '' yes >+do >+ # Use a header file that comes with gcc, so configuring glibc >+ # with a fresh cross-compiler works. >+ # On the NeXT, cc -E runs the code through the compiler's parser, >+ # not just through cpp. "Syntax error" is here to catch this case. >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <assert.h> >-Syntax Error >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:1750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >+ Syntax error >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then > : > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- CPP=/lib/cpp >-fi >-rm -f conftest* >-fi >-rm -f conftest* >+ # Broken: fails on valid input. >+continue > fi >-rm -f conftest* >- ac_cv_prog_CPP="$CPP" >+rm -f conftest.err conftest.$ac_ext >+ >+ # OK, works on sane cases. Now check whether non-existent headers >+ # can be detected and how. >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <ac_nonexistent.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes > fi >- CPP="$ac_cv_prog_CPP" >+if test -z "$ac_cpp_err"; then >+ # Broken: success on invalid input. >+continue > else >- ac_cv_prog_CPP="$CPP" >+ echo "$as_me: failed program was:" >&5 >+ cat conftest.$ac_ext >&5 >+ # Passes both tests. >+ac_preproc_ok=: >+break > fi >-echo "$ac_t""$CPP" 1>&6 >+rm -f conftest.err conftest.$ac_ext >+ >+done >+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. >+rm -f conftest.err conftest.$ac_ext >+if $ac_preproc_ok; then >+ : >+else >+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 >+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+ >+ac_ext=c >+ac_cpp='$CPP $CPPFLAGS' >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > > > SRC_CC_OPTS="-O" > > if test x"$TargetOS_CPP" = x"mingw32"; then >- >-echo $ac_n "checking whether $CC accepts -mno-cygwin""... $ac_c" 1>&6 >-echo "configure:1780: checking whether $CC accepts -mno-cygwin" >&5 >-if eval "test \"`echo '$''{'ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+ >+echo "$as_me:$LINENO: checking whether $CC accepts -mno-cygwin" >&5 >+echo $ECHO_N "checking whether $CC accepts -mno-cygwin... $ECHO_C" >&6 >+if test "${ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > save_CFLAGS="$CFLAGS" > CFLAGS="$CFLAGS -mno-cygwin" > ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. > ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > >- cat > conftest.$ac_ext <<EOF >-#line 1794 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > int main(){return(0);} >-; return 0; } >-EOF >-if { (eval echo configure:1801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > CFLAGS="$save_CFLAGS" > > fi >- >-echo "$ac_t""$ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN" >&5 >+echo "${ECHO_T}$ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN" >&6 > if test "$ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN"x = "yesx"; then > CC_SUPPORTS_MNO_CYGWIN=-mno-cygwin; > else >@@ -1823,10 +3307,10 @@ > fi > > >-echo $ac_n "checking for ok way to do context diffs""... $ac_c" 1>&6 >-echo "configure:1828: checking for ok way to do context diffs" >&5 >-if eval "test \"`echo '$''{'fptools_cv_context_diffs'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for ok way to do context diffs" >&5 >+echo $ECHO_N "checking for ok way to do context diffs... $ECHO_C" >&6 >+if test "${fptools_cv_context_diffs+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > echo foo > conftest1 > echo foo > conftest2 >@@ -1844,8 +3328,8 @@ > rm -f conftest1 conftest2 > > fi >- >-echo "$ac_t""$fptools_cv_context_diffs" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_context_diffs" >&5 >+echo "${ECHO_T}$fptools_cv_context_diffs" >&6 > ContextDiffCmd=$fptools_cv_context_diffs > > >@@ -1853,98 +3337,108 @@ > > # Extract the first word of "find", so it can be a program name with args. > set dummy find; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1858: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_Find2Cmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_Find2Cmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$Find2Cmd" in >- /*) >+ case $Find2Cmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_Find2Cmd="$Find2Cmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_Find2Cmd="$Find2Cmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_Find2Cmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_Find2Cmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-Find2Cmd="$ac_cv_path_Find2Cmd" >+Find2Cmd=$ac_cv_path_Find2Cmd >+ > if test -n "$Find2Cmd"; then >- echo "$ac_t""$Find2Cmd" 1>&6 >+ echo "$as_me:$LINENO: result: $Find2Cmd" >&5 >+echo "${ECHO_T}$Find2Cmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-$Find2Cmd --version > conftest.out 2>&1 >+$Find2Cmd --version > conftest.out 2>&1 > if grep "FIND: Parameter format" conftest.out >/dev/null 2>&1 ; then > # Encountered MS' find utility, which is not what we're after. > # > # HACK - AC_CHECK_PROG is useful here in that does let you reject > # an (absolute) entry in the path (Find2Cmd). It is not so useful >- # in that it doesn't let you (AFAIU) set VARIABLE equal to the >+ # in that it doesn't let you (AFAIU) set VARIABLE equal to the > # absolute path eventually found. So, hack around this by inspecting > # what variables hold the abs. path & use them directly. > # Extract the first word of "find", so it can be a program name with args. > set dummy find; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1902: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_FindCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_FindCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$FindCmd"; then > ac_cv_prog_FindCmd="$FindCmd" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" > ac_prog_rejected=no >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- if test "$ac_dir/$ac_word" = "$Find2Cmd"; then >- ac_prog_rejected=yes >- continue >- fi >- ac_cv_prog_FindCmd="`echo $ac_dir/$ac_word`" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ if test "$as_dir/$ac_word$ac_exec_ext" = "$Find2Cmd"; then >+ ac_prog_rejected=yes >+ continue >+ fi >+ ac_cv_prog_FindCmd="`echo $ac_dir/$ac_word`" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > if test $ac_prog_rejected = yes; then > # We found a bogon in the path, so make sure we never use it. > set dummy $ac_cv_prog_FindCmd > shift >- if test $# -gt 0; then >+ if test $# != 0; then > # We chose a different compiler from the bogus one. > # However, it has the same basename, so the bogon will be chosen > # first if we set FindCmd to just the basename; use the full file name. > shift >- set dummy "$ac_dir/$ac_word" "$@" >- shift >- ac_cv_prog_FindCmd="$@" >+ ac_cv_prog_FindCmd="$as_dir/$ac_word${1+' '}$@" > else > # Default is a loser. >- { echo "configure: error: FindCmd=$Find2Cmd unacceptable, but no other find found in \$PATH" 1>&2; exit 1; } >+ { { echo "$as_me:$LINENO: error: FindCmd=$Find2Cmd unacceptable, but no other find found in \$PATH" >&5 >+echo "$as_me: error: FindCmd=$Find2Cmd unacceptable, but no other find found in \$PATH" >&2;} >+ { (exit 1); exit 1; }; } > fi > fi > test -z "$ac_cv_prog_FindCmd" && ac_cv_prog_FindCmd="find" > fi > fi >-FindCmd="$ac_cv_prog_FindCmd" >+FindCmd=$ac_cv_prog_FindCmd > if test -n "$FindCmd"; then >- echo "$ac_t""$FindCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $FindCmd" >&5 >+echo "${ECHO_T}$FindCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > else >@@ -1955,73 +3449,85 @@ > > for ac_prog in 'bison -y' byacc > do >-# Extract the first word of "$ac_prog", so it can be a program name with args. >+ # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:1962: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_YACC+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$YACC"; then > ac_cv_prog_YACC="$YACC" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_YACC="$ac_prog" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_YACC="$ac_prog" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > fi > fi >-YACC="$ac_cv_prog_YACC" >+YACC=$ac_cv_prog_YACC > if test -n "$YACC"; then >- echo "$ac_t""$YACC" 1>&6 >+ echo "$as_me:$LINENO: result: $YACC" >&5 >+echo "${ECHO_T}$YACC" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-test -n "$YACC" && break >+ test -n "$YACC" && break > done > test -n "$YACC" || YACC="yacc" > > if test "$YACC" = "yacc"; then >- echo $ac_n "checking if it is an OK yacc""... $ac_c" 1>&6 >-echo "configure:1994: checking if it is an OK yacc" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_yacc'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking if it is an OK yacc" >&5 >+echo $ECHO_N "checking if it is an OK yacc... $ECHO_C" >&6 >+if test "${ac_cv_prog_yacc+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > # Extract the first word of "what", so it can be a program name with args. > set dummy what; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2001: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_WhatCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_WhatCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$WhatCmd"; then > ac_cv_prog_WhatCmd="$WhatCmd" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_WhatCmd="what" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_WhatCmd="what" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > test -z "$ac_cv_prog_WhatCmd" && ac_cv_prog_WhatCmd=":" > fi > fi >-WhatCmd="$ac_cv_prog_WhatCmd" >+WhatCmd=$ac_cv_prog_WhatCmd > if test -n "$WhatCmd"; then >- echo "$ac_t""$WhatCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $WhatCmd" >&5 >+echo "${ECHO_T}$WhatCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > $WhatCmd $YACC > conftest.out >@@ -2044,8 +3550,8 @@ > rm -fr conftest* > > fi >- >-echo "$ac_t""$ac_cv_prog_yacc" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_prog_yacc" >&5 >+echo "${ECHO_T}$ac_cv_prog_yacc" >&6 > else > ac_cv_prog_yacc=$YACC > fi >@@ -2055,65 +3561,79 @@ > > # Extract the first word of "flex", so it can be a program name with args. > set dummy flex; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2060: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_LEX+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$LEX"; then > ac_cv_prog_LEX="$LEX" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_LEX="flex" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_LEX="flex" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > fi > fi >-LEX="$ac_cv_prog_LEX" >+LEX=$ac_cv_prog_LEX > if test -n "$LEX"; then >- echo "$ac_t""$LEX" 1>&6 >+ echo "$as_me:$LINENO: result: $LEX" >&5 >+echo "${ECHO_T}$LEX" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > if test -z "$LEX" > then > # Extract the first word of "lex", so it can be a program name with args. > set dummy lex; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2091: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_LEX+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$LEX"; then > ac_cv_prog_LEX="$LEX" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_LEX="lex" >- break >- fi >- done >- IFS="$ac_save_ifs" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_LEX="lex" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > fi > fi >-LEX="$ac_cv_prog_LEX" >+LEX=$ac_cv_prog_LEX > if test -n "$LEX"; then >- echo "$ac_t""$LEX" 1>&6 >+ echo "$as_me:$LINENO: result: $LEX" >&5 >+echo "${ECHO_T}$LEX" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >- test -z "$LEX" && { echo "configure: error: 'lex' or 'flex' is required to compile GHC." 1>&2; exit 1; } >+ test -z "$LEX" && { { echo "$as_me:$LINENO: error: 'lex' or 'flex' is required to compile GHC." >&5 >+echo "$as_me: error: 'lex' or 'flex' is required to compile GHC." >&2;} >+ { (exit 1); exit 1; }; } > fi > > >@@ -2124,102 +3644,119 @@ > # SunOS /usr/etc/install > # IRIX /sbin/install > # AIX /bin/install >+# AmigaOS /C/install, which installs bootblocks on floppy discs > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag > # AFS /usr/afsws/bin/install, which mishandles nonexistent args > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" > # ./install, which can be erroneously created by make from ./install.sh. >-echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 >-echo "configure:2133: checking for a BSD compatible install" >&5 >+echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 >+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 > if test -z "$INSTALL"; then >-if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+if test "${ac_cv_path_install+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" >- for ac_dir in $PATH; do >- # Account for people who put trailing slashes in PATH elements. >- case "$ac_dir/" in >- /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; >- *) >- # OSF1 and SCO ODT 3.0 have their own names for install. >- # Don't use installbsd from OSF since it installs stuff as root >- # by default. >- for ac_prog in ginstall scoinst install; do >- if test -f $ac_dir/$ac_prog; then >- if test $ac_prog = install && >- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then >- # AIX install. It has an incompatible calling convention. >- : >- else >- ac_cv_path_install="$ac_dir/$ac_prog -c" >- break 2 >- fi >- fi >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ # Account for people who put trailing slashes in PATH elements. >+case $as_dir/ in >+ ./ | .// | /cC/* | \ >+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ >+ /usr/ucb/* ) ;; >+ *) >+ # OSF1 and SCO ODT 3.0 have their own names for install. >+ # Don't use installbsd from OSF since it installs stuff as root >+ # by default. >+ for ac_prog in ginstall scoinst install; do >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then >+ if test $ac_prog = install && >+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then >+ # AIX install. It has an incompatible calling convention. >+ : >+ elif test $ac_prog = install && >+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then >+ # program-specific install script used by HP pwplus--don't use. >+ : >+ else >+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" >+ break 3 >+ fi >+ fi > done >- ;; >- esac >- done >- IFS="$ac_save_IFS" >+ done >+ ;; >+esac >+done >+ > > fi > if test "${ac_cv_path_install+set}" = set; then >- INSTALL="$ac_cv_path_install" >+ INSTALL=$ac_cv_path_install > else > # As a last resort, use the slow shell script. We don't cache a > # path for INSTALL within a source directory, because that will > # break other packages using the cache if that directory is > # removed, or if the path is relative. >- INSTALL="$ac_install_sh" >+ INSTALL=$ac_install_sh > fi > fi >-echo "$ac_t""$INSTALL" 1>&6 >+echo "$as_me:$LINENO: result: $INSTALL" >&5 >+echo "${ECHO_T}$INSTALL" >&6 > > # Use test -z because SunOS4 sh mishandles braces in ${var-val}. > # It thinks the first close brace ends the variable substitution. > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' > >-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' >+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' > > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' > > >-cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_BIN_SH 1 >-EOF >+_ACEOF > > > # Extract the first word of "ar", so it can be a program name with args. > set dummy ar; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2194: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_ArCmdRaw'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_ArCmdRaw+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$ArCmdRaw" in >- /*) >+ case $ArCmdRaw in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_ArCmdRaw="$ArCmdRaw" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_ArCmdRaw="$ArCmdRaw" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_ArCmdRaw="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_ArCmdRaw="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-ArCmdRaw="$ac_cv_path_ArCmdRaw" >+ArCmdRaw=$ac_cv_path_ArCmdRaw >+ > if test -n "$ArCmdRaw"; then >- echo "$ac_t""$ArCmdRaw" 1>&6 >+ echo "$as_me:$LINENO: result: $ArCmdRaw" >&5 >+echo "${ECHO_T}$ArCmdRaw" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > if test -z "$ArCmdRaw"; then >@@ -2250,7 +3787,7 @@ > fi > rm -rf conftest* > case $HostPlatform in >- *mingw32) >+ *mingw32) > ArCmd="`cygpath -w ${ArCmdRaw} | sed -e 's@\\\\@/@g' ` ${ArCmdArgs}" > ;; > *) ArCmd="${ArCmdRaw} ${ArCmdArgs}" >@@ -2269,269 +3806,329 @@ > if test -z "$NeedRanLib"; then > RANLIB=':' > test -n "$verbose" && echo " setting RANLIB to $RANLIB" >- >+ > else >- # Extract the first word of "ranlib", so it can be a program name with args. >-set dummy ranlib; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2278: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ if test -n "$ac_tool_prefix"; then >+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. >+set dummy ${ac_tool_prefix}ranlib; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_RANLIB+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test -n "$RANLIB"; then > ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. > else >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_prog_RANLIB="ranlib" >- break >- fi >- done >- IFS="$ac_save_ifs" >- test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > fi > fi >-RANLIB="$ac_cv_prog_RANLIB" >+RANLIB=$ac_cv_prog_RANLIB > if test -n "$RANLIB"; then >- echo "$ac_t""$RANLIB" 1>&6 >+ echo "$as_me:$LINENO: result: $RANLIB" >&5 >+echo "${ECHO_T}$RANLIB" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > fi >+if test -z "$ac_cv_prog_RANLIB"; then >+ ac_ct_RANLIB=$RANLIB >+ # Extract the first word of "ranlib", so it can be a program name with args. >+set dummy ranlib; ac_word=$2 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test -n "$ac_ct_RANLIB"; then >+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. >+else >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_prog_ac_ct_RANLIB="ranlib" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done > >- >-echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 >-echo "configure:2309: checking whether ln -s works" >&5 >-if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" >+fi >+fi >+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB >+if test -n "$ac_ct_RANLIB"; then >+ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 >+echo "${ECHO_T}$ac_ct_RANLIB" >&6 > else >- rm -f conftestdata >-if ln -s X conftestdata 2>/dev/null >-then >- rm -f conftestdata >- ac_cv_prog_LN_S="ln -s" >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 >+fi >+ >+ RANLIB=$ac_ct_RANLIB > else >- ac_cv_prog_LN_S=ln >+ RANLIB="$ac_cv_prog_RANLIB" > fi >+ > fi >-LN_S="$ac_cv_prog_LN_S" >-if test "$ac_cv_prog_LN_S" = "ln -s"; then >- echo "$ac_t""yes" 1>&6 >+ >+ >+echo "$as_me:$LINENO: checking whether ln -s works" >&5 >+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 >+LN_S=$as_ln_s >+if test "$LN_S" = "ln -s"; then >+ echo "$as_me:$LINENO: result: yes" >&5 >+echo "${ECHO_T}yes" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no, using $LN_S" >&5 >+echo "${ECHO_T}no, using $LN_S" >&6 > fi > > > > # Extract the first word of "sed", so it can be a program name with args. > set dummy sed; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2334: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_SedCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_SedCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$SedCmd" in >- /*) >+ case $SedCmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_SedCmd="$SedCmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_SedCmd="$SedCmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_SedCmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_SedCmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-SedCmd="$ac_cv_path_SedCmd" >+SedCmd=$ac_cv_path_SedCmd >+ > if test -n "$SedCmd"; then >- echo "$ac_t""$SedCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $SedCmd" >&5 >+echo "${ECHO_T}$SedCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > > > # Extract the first word of "time", so it can be a program name with args. > set dummy time; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2371: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_TimeCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_TimeCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$TimeCmd" in >- /*) >+ case $TimeCmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_TimeCmd="$TimeCmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_TimeCmd="$TimeCmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_TimeCmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_TimeCmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-TimeCmd="$ac_cv_path_TimeCmd" >+TimeCmd=$ac_cv_path_TimeCmd >+ > if test -n "$TimeCmd"; then >- echo "$ac_t""$TimeCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $TimeCmd" >&5 >+echo "${ECHO_T}$TimeCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > > > for ac_prog in gtar tar > do >-# Extract the first word of "$ac_prog", so it can be a program name with args. >+ # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2410: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_TarCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_TarCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$TarCmd" in >- /*) >+ case $TarCmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_TarCmd="$TarCmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_TarCmd="$TarCmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_TarCmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_TarCmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-TarCmd="$ac_cv_path_TarCmd" >+TarCmd=$ac_cv_path_TarCmd >+ > if test -n "$TarCmd"; then >- echo "$ac_t""$TarCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $TarCmd" >&5 >+echo "${ECHO_T}$TarCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-test -n "$TarCmd" && break >+ test -n "$TarCmd" && break > done > test -n "$TarCmd" || TarCmd="tar" > > > for ac_prog in gzip compress > do >-# Extract the first word of "$ac_prog", so it can be a program name with args. >+ # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2452: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_CompressCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_CompressCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$CompressCmd" in >- /*) >+ case $CompressCmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_CompressCmd="$CompressCmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_CompressCmd="$CompressCmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_CompressCmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_CompressCmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-CompressCmd="$ac_cv_path_CompressCmd" >+CompressCmd=$ac_cv_path_CompressCmd >+ > if test -n "$CompressCmd"; then >- echo "$ac_t""$CompressCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $CompressCmd" >&5 >+echo "${ECHO_T}$CompressCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-test -n "$CompressCmd" && break >+ test -n "$CompressCmd" && break > done > test -n "$CompressCmd" || CompressCmd="gzip" > > > for ac_prog in openjade jade > do >-# Extract the first word of "$ac_prog", so it can be a program name with args. >+ # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2494: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_JadeCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_JadeCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$JadeCmd" in >- /*) >+ case $JadeCmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_JadeCmd="$JadeCmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_JadeCmd="$JadeCmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_JadeCmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_JadeCmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-JadeCmd="$ac_cv_path_JadeCmd" >+JadeCmd=$ac_cv_path_JadeCmd >+ > if test -n "$JadeCmd"; then >- echo "$ac_t""$JadeCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $JadeCmd" >&5 >+echo "${ECHO_T}$JadeCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-test -n "$JadeCmd" && break >+ test -n "$JadeCmd" && break > done > test -n "$JadeCmd" || JadeCmd="jade" > >-echo $ac_n "checking for DocBook CATALOG""... $ac_c" 1>&6 >-echo "configure:2531: checking for DocBook CATALOG" >&5 >-if eval "test \"`echo '$''{'fptools_cv_sgml_catalog'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for DocBook CATALOG" >&5 >+echo $ECHO_N "checking for DocBook CATALOG... $ECHO_C" >&6 >+if test "${fptools_cv_sgml_catalog+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ > cat > conftest.sgml << EOF > <!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> > <Article> >@@ -2552,7 +4149,11 @@ > if test -z "$SGML_CATALOG_FILES" ; then > for fptools_catalog in /etc/sgml/catalog /etc/sgml.catalog /usr/share/sgml/CATALOG.docbkdsl glafp-utils/docbook/CATALOG*; do > ac_try="$JadeCmd -t rtf -d docs/fptools-both.dsl#print -c $fptools_catalog conftest.sgml" >- if { (eval echo configure:2556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; then >+ if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then > fptools_cv_sgml_catalog=$fptools_catalog > break > fi >@@ -2563,21 +4164,22 @@ > fi > > fi >- >-echo "$ac_t""$fptools_cv_sgml_catalog" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_sgml_catalog" >&5 >+echo "${ECHO_T}$fptools_cv_sgml_catalog" >&6 > rm -rf conftest* > if test $fptools_cv_sgml_catalog != "no"; then > Catalog=$fptools_cv_sgml_catalog > fi > > if test -z "$Catalog"; then >- echo "$ac_t""Warning: You will not be able to build the documentation." 1>&6 >+ echo "$as_me:$LINENO: result: Warning: You will not be able to build the documentation." >&5 >+echo "${ECHO_T}Warning: You will not be able to build the documentation." >&6 > fi > case $Catalog in > yes) # assume it is provided by other means (e.g., SGML_CATALOG_FILES env var). > Catalog= > ;; >- glafp*) >+ glafp*) > case $HostOS_CPP in > mingw32) > Catalog=`cygpath -w $hardtop/$Catalog` >@@ -2586,7 +4188,7 @@ > ;; > esac > ;; >-esac >+esac > > > compress_nm=`basename $CompressCmd` >@@ -2606,9 +4208,8 @@ > else > UseSrcTreeHappy=NO > >-fi >- >-if test "$BootingFromHc" = "NO"; then >+fi; >+if test "$BootingFromHc" = "NO" && test x$with_happy != xno; then > > if test -d $srcdir/happy; then > SrcTreeHappyCmd=$hardtop/happy/src/happy-inplace >@@ -2618,45 +4219,49 @@ > else > # Extract the first word of "happy", so it can be a program name with args. > set dummy happy; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:2623: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_HappyCmd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_HappyCmd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$HappyCmd" in >- /*) >+ case $HappyCmd in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_HappyCmd="$HappyCmd" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_HappyCmd="$HappyCmd" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_HappyCmd="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_HappyCmd="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > test -z "$ac_cv_path_HappyCmd" && ac_cv_path_HappyCmd="$SrcTreeHappyCmd" > ;; > esac > fi >-HappyCmd="$ac_cv_path_HappyCmd" >+HappyCmd=$ac_cv_path_HappyCmd >+ > if test -n "$HappyCmd"; then >- echo "$ac_t""$HappyCmd" 1>&6 >+ echo "$as_me:$LINENO: result: $HappyCmd" >&5 >+echo "${ECHO_T}$HappyCmd" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > fi >-echo $ac_n "checking for version of happy""... $ac_c" 1>&6 >-echo "configure:2658: checking for version of happy" >&5 >-if eval "test \"`echo '$''{'fptools_cv_happy_version'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for version of happy" >&5 >+echo $ECHO_N "checking for version of happy... $ECHO_C" >&6 >+if test "${fptools_cv_happy_version+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test x"$HappyCmd" = x"$SrcTreeHappyCmd"; then > fptools_cv_happy_version=`grep '^ProjectVersion[ ]*=' $srcdir/happy/mk/version.mk | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`; >@@ -2668,8 +4273,8 @@ > fi; > > fi >- >-echo "$ac_t""$fptools_cv_happy_version" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_happy_version" >&5 >+echo "${ECHO_T}$fptools_cv_happy_version" >&6 > if test -d $srcdir/ghc -a ! -f $srcdir/ghc/compiler/parser/Parser.hs; then > if ( IFS="."; > a="$fptools_cv_happy_version"; b="1.13"; >@@ -2682,8 +4287,10 @@ > done > test ${h1} -lt ${h2} > ) >-then >- { echo "configure: error: Happy version 1.13 or later is required to compile GHC." 1>&2; exit 1; } >+then >+ { { echo "$as_me:$LINENO: error: Happy version 1.13 or later is required to compile GHC." >&5 >+echo "$as_me: error: Happy version 1.13 or later is required to compile GHC." >&2;} >+ { (exit 1); exit 1; }; } > > fi > fi >@@ -2694,46 +4301,58 @@ > > > >-echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 >-echo "configure:2699: checking for ANSI C header files" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for ANSI C header files" >&5 >+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 >+if test "${ac_cv_header_stdc+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 2704 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdlib.h> > #include <stdarg.h> > #include <string.h> > #include <float.h> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:2712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >+ >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then > ac_cv_header_stdc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* > ac_cv_header_stdc=no > fi >-rm -f conftest* >+rm -f conftest.err conftest.$ac_ext > > if test $ac_cv_header_stdc = yes; then > # SunOS 4.x string.h does not declare mem*, contrary to ANSI. >-cat > conftest.$ac_ext <<EOF >-#line 2729 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <string.h> >-EOF >+ >+_ACEOF > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | > egrep "memchr" >/dev/null 2>&1; then > : > else >- rm -rf conftest* > ac_cv_header_stdc=no > fi > rm -f conftest* >@@ -2742,16 +4361,16 @@ > > if test $ac_cv_header_stdc = yes; then > # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. >-cat > conftest.$ac_ext <<EOF >-#line 2747 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdlib.h> >-EOF >+ >+_ACEOF > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | > egrep "free" >/dev/null 2>&1; then > : > else >- rm -rf conftest* > ac_cv_header_stdc=no > fi > rm -f conftest* >@@ -2760,741 +4379,1789 @@ > > if test $ac_cv_header_stdc = yes; then > # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. >-if test "$cross_compiling" = yes; then >+ if test "$cross_compiling" = yes; then > : > else >- cat > conftest.$ac_ext <<EOF >-#line 2768 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <ctype.h> >-#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') >-#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) >-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) >-int main () { int i; for (i = 0; i < 256; i++) >-if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); >-exit (0); } >+#if ((' ' & 0x0FF) == 0x020) >+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') >+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) >+#else >+# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ >+ || ('j' <= (c) && (c) <= 'r') \ >+ || ('s' <= (c) && (c) <= 'z')) >+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) >+#endif > >-EOF >-if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) >+int >+main () >+{ >+ int i; >+ for (i = 0; i < 256; i++) >+ if (XOR (islower (i), ISLOWER (i)) >+ || toupper (i) != TOUPPER (i)) >+ exit(2); >+ exit (0); >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > : > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_header_stdc=no >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_header_stdc=no > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > fi >- >-echo "$ac_t""$ac_cv_header_stdc" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 >+echo "${ECHO_T}$ac_cv_header_stdc" >&6 > if test $ac_cv_header_stdc = yes; then >- cat >> confdefs.h <<\EOF >+ >+cat >>confdefs.h <<\_ACEOF > #define STDC_HEADERS 1 >-EOF >+_ACEOF > > fi > > >-for ac_hdr in Files.h arpa/inet.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h inttypes.h limits.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdint.h stdlib.h stddef.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netdb.h netinet/in.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/un.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h bfd.h winsock.h pthread.h sys/uio.h >-do >-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 >-echo "configure:2807: checking for $ac_hdr" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 2812 "configure" >-#include "confdefs.h" >-#include <$ac_hdr> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:2817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >-else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >-fi >-rm -f conftest* >-fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_hdr 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 >-fi >-done >+# On IRIX 5.3, sys/types and inttypes.h are conflicting. > > >-ac_safe=`echo "readline/readline.h" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for readline/readline.h""... $ac_c" 1>&6 >-echo "configure:2846: checking for readline/readline.h" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 2851 "configure" >-#include "confdefs.h" >-#include <readline/readline.h> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:2856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >-else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >-fi >-rm -f conftest* >-fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- HaveReadlineReadlineH=YES >-else >- echo "$ac_t""no" 1>&6 >-HaveReadlineReadlineH=NO >-fi > >-ac_safe=`echo "readline/history.h" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for readline/history.h""... $ac_c" 1>&6 >-echo "configure:2880: checking for readline/history.h" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 2885 "configure" >-#include "confdefs.h" >-#include <readline/history.h> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:2890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >-else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >-fi >-rm -f conftest* >-fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- HaveReadlineHistoryH=YES >-else >- echo "$ac_t""no" 1>&6 >-HaveReadlineHistoryH=NO >-fi > > >-if test $HaveReadlineReadlineH = YES && test $HaveReadlineHistoryH = YES ; then >- HaveReadlineHeaders=YES >- cat >> confdefs.h <<\EOF >-#define HAVE_READLINE_HEADERS 1 >-EOF > >-else >- HaveReadlineHeaders=NO >- cat >> confdefs.h <<\EOF >-#define HAVE_READLINE_HEADERS 0 >-EOF > >-fi > > >-for ac_hdr in dos.h conio.h io.h std.h >+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ >+ inttypes.h stdint.h unistd.h > do >-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 >-echo "configure:2932: checking for $ac_hdr" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 2937 "configure" >+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+ >+#include <$ac_header> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_Header=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_Header=no" >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+if test `eval echo '${'$as_ac_Header'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+_ACEOF >+ >+fi >+ >+done >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+for ac_header in Files.h arpa/inet.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h inttypes.h limits.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdint.h stdlib.h stddef.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netdb.h netinet/in.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/un.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h bfd.h winsock.h pthread.h sys/uio.h >+do >+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#include <$ac_header> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <$ac_header> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes >+else >+ echo "$as_me: failed program was:" >&5 >+ cat conftest.$ac_ext >&5 >+ ac_header_preproc=no >+fi >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ eval "$as_ac_Header=$ac_header_preproc" >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+ >+fi >+if test `eval echo '${'$as_ac_Header'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+_ACEOF >+ >+fi >+ >+done >+ >+ >+if test "${ac_cv_header_readline_readline_h+set}" = set; then >+ echo "$as_me:$LINENO: checking for readline/readline.h" >&5 >+echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 >+if test "${ac_cv_header_readline_readline_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 >+echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking readline/readline.h usability" >&5 >+echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <$ac_hdr> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:2942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >+$ac_includes_default >+#include <readline/readline.h> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking readline/readline.h presence" >&5 >+echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <readline/readline.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >+ ac_header_preproc=no > fi >-rm -f conftest* >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for readline/readline.h" >&5 >+echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 >+if test "${ac_cv_header_readline_readline_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_header_readline_readline_h=$ac_header_preproc > fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_hdr 1 >-EOF >- >+echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 >+echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 >+ >+fi >+if test $ac_cv_header_readline_readline_h = yes; then >+ HaveReadlineReadlineH=YES > else >- echo "$ac_t""no" 1>&6 >+ HaveReadlineReadlineH=NO > fi >-done >- > >-for ac_hdr in windows.h >-do >-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 >-echo "configure:2973: checking for $ac_hdr" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+if test "${ac_cv_header_readline_history_h+set}" = set; then >+ echo "$as_me:$LINENO: checking for readline/history.h" >&5 >+echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6 >+if test "${ac_cv_header_readline_history_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5 >+echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 2978 "configure" >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking readline/history.h usability" >&5 >+echo $ECHO_N "checking readline/history.h usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <$ac_hdr> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:2983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >+$ac_includes_default >+#include <readline/history.h> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking readline/history.h presence" >&5 >+echo $ECHO_N "checking readline/history.h presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <readline/history.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >+ ac_header_preproc=no > fi >-rm -f conftest* >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for readline/history.h" >&5 >+echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6 >+if test "${ac_cv_header_readline_history_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_header_readline_history_h=$ac_header_preproc > fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_hdr 1 >-EOF >- >+echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5 >+echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6 >+ >+fi >+if test $ac_cv_header_readline_history_h = yes; then >+ HaveReadlineHistoryH=YES >+else >+ HaveReadlineHistoryH=NO >+fi >+ >+ >+ >+if test $HaveReadlineReadlineH = YES && test $HaveReadlineHistoryH = YES ; then >+ HaveReadlineHeaders=YES >+ cat >>confdefs.h <<\_ACEOF >+#define HAVE_READLINE_HEADERS 1 >+_ACEOF >+ >+else >+ HaveReadlineHeaders=NO >+ cat >>confdefs.h <<\_ACEOF >+#define HAVE_READLINE_HEADERS 0 >+_ACEOF >+ >+fi >+ >+ >+ >+ >+ >+ >+for ac_header in dos.h conio.h io.h std.h >+do >+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#include <$ac_header> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <$ac_header> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes >+else >+ echo "$as_me: failed program was:" >&5 >+ cat conftest.$ac_ext >&5 >+ ac_header_preproc=no >+fi >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- echo "$ac_t""no" 1>&6 >+ eval "$as_ac_Header=$ac_header_preproc" > fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+ >+fi >+if test `eval echo '${'$as_ac_Header'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+_ACEOF >+ >+fi >+ > done > > >-for ac_hdr in GL/gl.h >+ >+for ac_header in windows.h > do >-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 >-echo "configure:3014: checking for $ac_hdr" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#include <$ac_header> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <$ac_header> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi > else >- cat > conftest.$ac_ext <<EOF >-#line 3019 "configure" >-#include "confdefs.h" >-#include <$ac_hdr> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:3024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >+ ac_header_preproc=no > fi >-rm -f conftest* >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ eval "$as_ac_Header=$ac_header_preproc" > fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_hdr 1 >-EOF >- >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+ >+fi >+if test `eval echo '${'$as_ac_Header'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+_ACEOF >+ >+fi >+ >+done >+ >+ >+ >+for ac_header in GL/gl.h >+do >+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#include <$ac_header> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <$ac_header> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes >+else >+ echo "$as_me: failed program was:" >&5 >+ cat conftest.$ac_ext >&5 >+ ac_header_preproc=no >+fi >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- echo "$ac_t""no" 1>&6 >+ eval "$as_ac_Header=$ac_header_preproc" >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+ >+fi >+if test `eval echo '${'$as_ac_Header'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+_ACEOF >+ > fi >+ > done > > >-echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 >-echo "configure:3052: checking whether time.h and sys/time.h may both be included" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 >+echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 >+if test "${ac_cv_header_time+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3057 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/types.h> > #include <sys/time.h> > #include <time.h> >-int main() { >-struct tm *tp; >-; return 0; } >-EOF >-if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((struct tm *) 0) >+return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_header_time=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_header_time=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_header_time=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$ac_cv_header_time" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 >+echo "${ECHO_T}$ac_cv_header_time" >&6 > if test $ac_cv_header_time = yes; then >- cat >> confdefs.h <<\EOF >+ >+cat >>confdefs.h <<\_ACEOF > #define TIME_WITH_SYS_TIME 1 >-EOF >+_ACEOF > > fi > > >-for ac_hdr in dlfcn.h dl.h >+ >+ >+for ac_header in dlfcn.h dl.h > do >-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 >-echo "configure:3091: checking for $ac_hdr" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking $ac_header usability" >&5 >+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#include <$ac_header> >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking $ac_header presence" >&5 >+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <$ac_header> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi > else >- cat > conftest.$ac_ext <<EOF >-#line 3096 "configure" >-#include "confdefs.h" >-#include <$ac_hdr> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:3101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >-fi >-rm -f conftest* >+ ac_header_preproc=no > fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_hdr 1 >-EOF >- >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for $ac_header" >&5 >+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_Header+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- echo "$ac_t""no" 1>&6 >+ eval "$as_ac_Header=$ac_header_preproc" >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 >+ >+fi >+if test `eval echo '${'$as_ac_Header'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 >+_ACEOF >+ > fi >+ > done >- > >-ac_safe=`echo "alloc.h" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for alloc.h""... $ac_c" 1>&6 >-echo "configure:3130: checking for alloc.h" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 3135 "configure" >+ >+if test "${ac_cv_header_alloc_h+set}" = set; then >+ echo "$as_me:$LINENO: checking for alloc.h" >&5 >+echo $ECHO_N "checking for alloc.h... $ECHO_C" >&6 >+if test "${ac_cv_header_alloc_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: $ac_cv_header_alloc_h" >&5 >+echo "${ECHO_T}$ac_cv_header_alloc_h" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking alloc.h usability" >&5 >+echo $ECHO_N "checking alloc.h usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+$ac_includes_default > #include <alloc.h> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:3140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking alloc.h presence" >&5 >+echo $ECHO_N "checking alloc.h presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <alloc.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >+ ac_header_preproc=no > fi >-rm -f conftest* >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: alloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: alloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: alloc.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: alloc.h: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: alloc.h: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: alloc.h: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: alloc.h: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: alloc.h: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: alloc.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: alloc.h: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for alloc.h" >&5 >+echo $ECHO_N "checking for alloc.h... $ECHO_C" >&6 >+if test "${ac_cv_header_alloc_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_header_alloc_h=$ac_header_preproc >+fi >+echo "$as_me:$LINENO: result: $ac_cv_header_alloc_h" >&5 >+echo "${ECHO_T}$ac_cv_header_alloc_h" >&6 >+ > fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- for ac_func in farcalloc >-do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:3159: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+if test $ac_cv_header_alloc_h = yes; then >+ >+for ac_func in farcalloc >+do >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3164 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-/* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+/* System header to define __stub macros and hopefully few prototypes >+else >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:3187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > >-else >- echo "$ac_t""no" 1>&6 > fi > > >-ac_safe=`echo "malloc.h" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for malloc.h""... $ac_c" 1>&6 >-echo "configure:3218: checking for malloc.h" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 3223 "configure" >+ >+if test "${ac_cv_header_malloc_h+set}" = set; then >+ echo "$as_me:$LINENO: checking for malloc.h" >&5 >+echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 >+if test "${ac_cv_header_malloc_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 >+echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking malloc.h usability" >&5 >+echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+$ac_includes_default > #include <malloc.h> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:3228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking malloc.h presence" >&5 >+echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <malloc.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >+ ac_header_preproc=no > fi >-rm -f conftest* >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for malloc.h" >&5 >+echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 >+if test "${ac_cv_header_malloc_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_header_malloc_h=$ac_header_preproc >+fi >+echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 >+echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 >+ > fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- for ac_func in valloc >-do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:3247: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+if test $ac_cv_header_malloc_h = yes; then >+ >+for ac_func in valloc >+do >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3252 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-/* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+/* System header to define __stub macros and hopefully few prototypes >+else >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > >-else >- echo "$ac_t""no" 1>&6 > fi > > >+ > HavePosixRegex=NO >-ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'` >-echo $ac_n "checking for regex.h""... $ac_c" 1>&6 >-echo "configure:3307: checking for regex.h" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 3312 "configure" >+if test "${ac_cv_header_regex_h+set}" = set; then >+ echo "$as_me:$LINENO: checking for regex.h" >&5 >+echo $ECHO_N "checking for regex.h... $ECHO_C" >&6 >+if test "${ac_cv_header_regex_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+fi >+echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5 >+echo "${ECHO_T}$ac_cv_header_regex_h" >&6 >+else >+ # Is the header compilable? >+echo "$as_me:$LINENO: checking regex.h usability" >&5 >+echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+$ac_includes_default > #include <regex.h> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:3317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=yes" >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_header_compiler=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_header_compiler=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 >+echo "${ECHO_T}$ac_header_compiler" >&6 >+ >+# Is the header present? >+echo "$as_me:$LINENO: checking regex.h presence" >&5 >+echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <regex.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then >+ ac_header_preproc=yes > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_header_$ac_safe=no" >+ ac_header_preproc=no > fi >-rm -f conftest* >+rm -f conftest.err conftest.$ac_ext >+echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 >+echo "${ECHO_T}$ac_header_preproc" >&6 >+ >+# So? What about this header? >+case $ac_header_compiler:$ac_header_preproc in >+ yes:no ) >+ { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5 >+echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;} >+ { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;};; >+ no:yes ) >+ { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5 >+echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;} >+ { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5 >+echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;} >+ { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5 >+echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;};; >+esac >+echo "$as_me:$LINENO: checking for regex.h" >&5 >+echo $ECHO_N "checking for regex.h... $ECHO_C" >&6 >+if test "${ac_cv_header_regex_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_cv_header_regex_h=$ac_header_preproc > fi >-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- echo $ac_n "checking for regcomp""... $ac_c" 1>&6 >-echo "configure:3334: checking for regcomp" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_regcomp'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5 >+echo "${ECHO_T}$ac_cv_header_regex_h" >&6 >+ >+fi >+if test $ac_cv_header_regex_h = yes; then >+ echo "$as_me:$LINENO: checking for regcomp" >&5 >+echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 >+if test "${ac_cv_func_regcomp+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3339 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-/* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char regcomp(); below. */ >+/* System header to define __stub macros and hopefully few prototypes >+else >+ which can conflict with char regcomp (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char regcomp(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char regcomp (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_regcomp) || defined (__stub___regcomp) > choke me > #else >-regcomp(); >+f = regcomp; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:3362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_regcomp=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_regcomp=no" >-fi >-rm -f conftest* >-fi >- >-if eval "test \"`echo '$ac_cv_func_'regcomp`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_func_regcomp=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_func_regcomp=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5 >+echo "${ECHO_T}$ac_cv_func_regcomp" >&6 >+if test $ac_cv_func_regcomp = yes; then > HavePosixRegex=YES >-else >- echo "$ac_t""no" 1>&6 > fi > >-else >- echo "$ac_t""no" 1>&6 > fi > > > >-echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 >-echo "configure:3388: checking whether struct tm is in sys/time.h or time.h" >&5 >-if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 >+echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 >+if test "${ac_cv_struct_tm+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3393 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/types.h> > #include <time.h> >-int main() { >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > struct tm *tp; tp->tm_sec; >-; return 0; } >-EOF >-if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_struct_tm=time.h > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_struct_tm=sys/time.h >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_struct_tm=sys/time.h > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$ac_cv_struct_tm" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 >+echo "${ECHO_T}$ac_cv_struct_tm" >&6 > if test $ac_cv_struct_tm = sys/time.h; then >- cat >> confdefs.h <<\EOF >+ >+cat >>confdefs.h <<\_ACEOF > #define TM_IN_SYS_TIME 1 >-EOF >+_ACEOF > > fi > >-echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 >-echo "configure:3422: checking for tm_zone in struct tm" >&5 >-if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 >+echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 >+if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3427 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/types.h> > #include <$ac_cv_struct_tm> >-int main() { >-struct tm tm; tm.tm_zone; >-; return 0; } >-EOF >-if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >- ac_cv_struct_tm_zone=yes >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_struct_tm_zone=no >-fi >-rm -f conftest* >+ >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static struct tm ac_aggr; >+if (ac_aggr.tm_zone) >+return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_member_struct_tm_tm_zone=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_member_struct_tm_tm_zone=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 >+echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 >+if test $ac_cv_member_struct_tm_tm_zone = yes; then >+ >+cat >>confdefs.h <<_ACEOF >+#define HAVE_STRUCT_TM_TM_ZONE 1 >+_ACEOF >+ >+ > fi > >-echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6 >-if test "$ac_cv_struct_tm_zone" = yes; then >- cat >> confdefs.h <<\EOF >+if test "$ac_cv_member_struct_tm_tm_zone" = yes; then >+ >+cat >>confdefs.h <<\_ACEOF > #define HAVE_TM_ZONE 1 >-EOF >+_ACEOF > > else >- echo $ac_n "checking for tzname""... $ac_c" 1>&6 >-echo "configure:3455: checking for tzname" >&5 >-if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for tzname" >&5 >+echo $ECHO_N "checking for tzname... $ECHO_C" >&6 >+if test "${ac_cv_var_tzname+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3460 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <time.h> > #ifndef tzname /* For SGI. */ > extern char *tzname[]; /* RS6000 and others reject char **tzname. */ > #endif >-int main() { >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > atoi(*tzname); >-; return 0; } >-EOF >-if { (eval echo configure:3470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_var_tzname=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_var_tzname=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_var_tzname=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >- >-echo "$ac_t""$ac_cv_var_tzname" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 >+echo "${ECHO_T}$ac_cv_var_tzname" >&6 > if test $ac_cv_var_tzname = yes; then >- cat >> confdefs.h <<\EOF >+ >+cat >>confdefs.h <<\_ACEOF > #define HAVE_TZNAME 1 >-EOF >+_ACEOF > > fi > fi > > >-echo $ac_n "checking timezone""... $ac_c" 1>&6 >-echo "configure:3493: checking timezone" >&5 >-if eval "test \"`echo '$''{'fptools_cv_have_timezone'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking timezone" >&5 >+echo $ECHO_N "checking timezone... $ECHO_C" >&6 >+if test "${fptools_cv_have_timezone+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3498 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #if TIME_WITH_SYS_TIME > # include <sys/time.h> >@@ -3507,37 +6174,56 @@ > # endif > #endif > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return timezone; >-; return 0; } >-EOF >-if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_have_timezone=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_have_timezone=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_have_timezone=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$fptools_cv_have_timezone" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_have_timezone" >&5 >+echo "${ECHO_T}$fptools_cv_have_timezone" >&6 > if test "$fptools_cv_have_timezone" = yes; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_TIMEZONE 1 >-EOF >+_ACEOF > > fi > >-echo $ac_n "checking type of timezone""... $ac_c" 1>&6 >-echo "configure:3536: checking type of timezone" >&5 >-if eval "test \"`echo '$''{'fptools_cv_type_timezone'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking type of timezone" >&5 >+echo $ECHO_N "checking type of timezone... $ECHO_C" >&6 >+if test "${fptools_cv_type_timezone+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3541 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #if TIME_WITH_SYS_TIME > # include <sys/time.h> >@@ -3550,38 +6236,57 @@ > # endif > #endif > >-extern time_t timezone; >+extern time_t timezone; > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > int i; >-; return 0; } >-EOF >-if { (eval echo configure:3560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_type_timezone=time_t > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_type_timezone=long >-fi >-rm -f conftest* >-fi >- >-echo "$ac_t""$fptools_cv_type_timezone" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_type_timezone=long >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $fptools_cv_type_timezone" >&5 >+echo "${ECHO_T}$fptools_cv_type_timezone" >&6 >+cat >>confdefs.h <<_ACEOF > #define TYPE_TIMEZONE $fptools_cv_type_timezone >-EOF >+_ACEOF > > > >-echo $ac_n "checking altzone""... $ac_c" 1>&6 >-echo "configure:3580: checking altzone" >&5 >-if eval "test \"`echo '$''{'fptools_cv_altzone'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking altzone" >&5 >+echo $ECHO_N "checking altzone... $ECHO_C" >&6 >+if test "${fptools_cv_altzone+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3585 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #if TIME_WITH_SYS_TIME > # include <sys/time.h> >@@ -3594,710 +6299,5013 @@ > # endif > #endif > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return altzone; >-; return 0; } >-EOF >-if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_altzone=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_altzone=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_altzone=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >- >-echo "$ac_t""$fptools_cv_altzone" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_altzone" >&5 >+echo "${ECHO_T}$fptools_cv_altzone" >&6 > if test "$fptools_cv_altzone" = yes; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_ALTZONE 1 >-EOF >+_ACEOF > > fi > > >-echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 >-echo "configure:3624: checking for st_blksize in struct stat" >&5 >-if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 >+echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 >+if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3629 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <sys/types.h> >-#include <sys/stat.h> >-int main() { >-struct stat s; s.st_blksize; >-; return 0; } >-EOF >-if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >- ac_cv_struct_st_blksize=yes >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_struct_st_blksize=no >-fi >-rm -f conftest* >-fi >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static struct stat ac_aggr; >+if (ac_aggr.st_blksize) >+return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_member_struct_stat_st_blksize=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_member_struct_stat_st_blksize=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 >+echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 >+if test $ac_cv_member_struct_stat_st_blksize = yes; then >+ >+cat >>confdefs.h <<_ACEOF >+#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 >+_ACEOF >+ > >-echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6 >-if test $ac_cv_struct_st_blksize = yes; then >- cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_ST_BLKSIZE 1 >-EOF >+_ACEOF > > fi > > > > >-echo $ac_n "checking whether ${CC} supports long long types""... $ac_c" 1>&6 >-echo "configure:3661: checking whether ${CC} supports long long types" >&5 >-if eval "test \"`echo '$''{'fptools_cv_have_long_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking whether ${CC} supports long long types" >&5 >+echo $ECHO_N "checking whether ${CC} supports long long types... $ECHO_C" >&6 >+if test "${fptools_cv_have_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ >+ > > ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. > ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > >-cat > conftest.$ac_ext <<EOF >-#line 3675 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > long long a; >-; return 0; } >-EOF >-if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_have_long_long=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_have_long_long=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_have_long_long=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. > ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > > > fi > >-echo "$ac_t""$fptools_cv_have_long_long" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_have_long_long" >&5 >+echo "${ECHO_T}$fptools_cv_have_long_long" >&6 > if test "$fptools_cv_have_long_long" = yes; then >-cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_LONG_LONG 1 >-EOF >+_ACEOF > > fi > > >-echo $ac_n "checking for msg_accrights in struct msghdr""... $ac_c" 1>&6 >-echo "configure:3712: checking for msg_accrights in struct msghdr" >&5 >-if eval "test \"`echo '$''{'fptools_cv_struct_msghdr_msg_accrights'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5 >+echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6 >+if test "${fptools_cv_struct_msghdr_msg_accrights+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3717 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/uio.h> > #include <sys/socket.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > struct msghdr m; m.msg_accrights; >-; return 0; } >-EOF >-if { (eval echo configure:3725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_struct_msghdr_msg_accrights=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_struct_msghdr_msg_accrights=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_struct_msghdr_msg_accrights=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$fptools_cv_struct_msghdr_msg_accrights" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_struct_msghdr_msg_accrights" >&5 >+echo "${ECHO_T}$fptools_cv_struct_msghdr_msg_accrights" >&6 > if test $fptools_cv_struct_msghdr_msg_accrights = yes; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_MSGHDR_MSG_ACCRIGHTS 1 >-EOF >+_ACEOF > > fi > >-echo $ac_n "checking for msg_control in struct msghdr""... $ac_c" 1>&6 >-echo "configure:3746: checking for msg_control in struct msghdr" >&5 >-if eval "test \"`echo '$''{'fptools_cv_struct_msghdr_msg_control'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for msg_control in struct msghdr" >&5 >+echo $ECHO_N "checking for msg_control in struct msghdr... $ECHO_C" >&6 >+if test "${fptools_cv_struct_msghdr_msg_control+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3751 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/uio.h> > #include <sys/socket.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > struct msghdr m; m.msg_control; >-; return 0; } >-EOF >-if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_struct_msghdr_msg_control=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_struct_msghdr_msg_control=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_struct_msghdr_msg_control=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$fptools_cv_struct_msghdr_msg_control" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_struct_msghdr_msg_control" >&5 >+echo "${ECHO_T}$fptools_cv_struct_msghdr_msg_control" >&6 > if test $fptools_cv_struct_msghdr_msg_control = yes; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_MSGHDR_MSG_CONTROL 1 >-EOF >+_ACEOF > > fi > > >-echo $ac_n "checking size of char""... $ac_c" 1>&6 >-echo "configure:3781: checking size of char" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_char=1 >+echo "$as_me:$LINENO: checking for char" >&5 >+echo $ECHO_N "checking for char... $ECHO_C" >&6 >+if test "${ac_cv_type_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 3789 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <stdio.h> >-int main() >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(char)); >- return(0); >-} >-EOF >-if { (eval echo configure:3800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_char=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_char=0 >-fi >-rm -fr conftest* >-fi >- >-fi >-echo "$ac_t""$ac_cv_sizeof_char" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_CHAR $ac_cv_sizeof_char >-EOF >- >- >-echo $ac_n "checking size of double""... $ac_c" 1>&6 >-echo "configure:3820: checking size of double" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >+if ((char *) 0) >+ return 0; >+if (sizeof (char)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_char=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_char=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 >+echo "${ECHO_T}$ac_cv_type_char" >&6 >+ >+echo "$as_me:$LINENO: checking size of char" >&5 >+echo $ECHO_N "checking size of char... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_char" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. > if test "$cross_compiling" = yes; then >- ac_cv_sizeof_double=8 >-else >- cat > conftest.$ac_ext <<EOF >-#line 3828 "configure" >-#include "confdefs.h" >-#include <stdio.h> >-int main() >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(double)); >- return(0); >+static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_double=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_double=0 >-fi >-rm -fr conftest* >-fi >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` > fi >-echo "$ac_t""$ac_cv_sizeof_double" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_DOUBLE $ac_cv_sizeof_double >-EOF >- >- >-echo $ac_n "checking size of float""... $ac_c" 1>&6 >-echo "configure:3859: checking size of float" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done > else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_float=4 >-else >- cat > conftest.$ac_ext <<EOF >-#line 3867 "configure" >-#include "confdefs.h" >-#include <stdio.h> >-int main() >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(float)); >- return(0); >+static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_float=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_float=0 >-fi >-rm -fr conftest* >-fi >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` > fi >-echo "$ac_t""$ac_cv_sizeof_float" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_FLOAT $ac_cv_sizeof_float >-EOF >- >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; >+test_array [0] = 0 > >-echo $ac_n "checking size of int""... $ac_c" 1>&6 >-echo "configure:3898: checking size of int" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_char=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (char), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac > else > if test "$cross_compiling" = yes; then >- ac_cv_sizeof_int=4 >-else >- cat > conftest.$ac_ext <<EOF >-#line 3906 "configure" >-#include "confdefs.h" >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (char)); } >+unsigned long ulongval () { return (long) (sizeof (char)); } > #include <stdio.h> >-int main() >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(int)); >- return(0); >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (char))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (char)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (char)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_int=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_int=0 >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_char=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (char), 77" >&2;} >+ { (exit 1); exit 1; }; } > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >-echo "$ac_t""$ac_cv_sizeof_int" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_INT $ac_cv_sizeof_int >-EOF >+rm -f conftest.val >+else >+ ac_cv_sizeof_char=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_char" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_CHAR $ac_cv_sizeof_char >+_ACEOF > > >-echo $ac_n "checking size of long""... $ac_c" 1>&6 >-echo "configure:3937: checking size of long" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for double" >&5 >+echo $ECHO_N "checking for double... $ECHO_C" >&6 >+if test "${ac_cv_type_double+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_long=4 >-else >- cat > conftest.$ac_ext <<EOF >-#line 3945 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <stdio.h> >-int main() >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(long)); >- return(0); >+if ((double *) 0) >+ return 0; >+if (sizeof (double)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_double=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_double=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5 >+echo "${ECHO_T}$ac_cv_type_double" >&6 >+ >+echo "$as_me:$LINENO: checking size of double" >&5 >+echo $ECHO_N "checking size of double... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_double+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_double" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:3956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_long=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_long=0 >-fi >-rm -fr conftest* >-fi >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` > fi >-echo "$ac_t""$ac_cv_sizeof_long" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_LONG $ac_cv_sizeof_long >-EOF >- >- >-if test "$fptools_cv_have_long_long" = yes; then >-echo $ac_n "checking size of long long""... $ac_c" 1>&6 >-echo "configure:3977: checking size of long long" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_long_long=8 >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done > else >- cat > conftest.$ac_ext <<EOF >-#line 3985 "configure" >-#include "confdefs.h" >-#include <stdio.h> >-int main() >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(long long)); >- return(0); >+static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:3996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_long_long=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_long_long=0 >-fi >-rm -fr conftest* >-fi >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` > fi >-echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long >-EOF >- >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` > fi >-echo $ac_n "checking size of short""... $ac_c" 1>&6 >-echo "configure:4017: checking size of short" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_double=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (double), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac > else > if test "$cross_compiling" = yes; then >- ac_cv_sizeof_short=2 >-else >- cat > conftest.$ac_ext <<EOF >-#line 4025 "configure" >-#include "confdefs.h" >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (double)); } >+unsigned long ulongval () { return (long) (sizeof (double)); } > #include <stdio.h> >-int main() >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(short)); >- return(0); >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (double))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (double)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (double)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_short=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_short=0 >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_double=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (double), 77" >&2;} >+ { (exit 1); exit 1; }; } > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >-echo "$ac_t""$ac_cv_sizeof_short" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_SHORT $ac_cv_sizeof_short >-EOF >+rm -f conftest.val >+else >+ ac_cv_sizeof_double=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_double" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_DOUBLE $ac_cv_sizeof_double >+_ACEOF > > >-echo $ac_n "checking size of unsigned char""... $ac_c" 1>&6 >-echo "configure:4056: checking size of unsigned char" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_char'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for float" >&5 >+echo $ECHO_N "checking for float... $ECHO_C" >&6 >+if test "${ac_cv_type_float+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_unsigned_char=1 >-else >- cat > conftest.$ac_ext <<EOF >-#line 4064 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <stdio.h> >-int main() >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(unsigned char)); >- return(0); >+if ((float *) 0) >+ return 0; >+if (sizeof (float)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_float=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_float=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5 >+echo "${ECHO_T}$ac_cv_type_float" >&6 >+ >+echo "$as_me:$LINENO: checking size of float" >&5 >+echo $ECHO_N "checking size of float... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_float+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_float" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_unsigned_char=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_unsigned_char=0 >-fi >-rm -fr conftest* >-fi >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` > fi >-echo "$ac_t""$ac_cv_sizeof_unsigned_char" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char >-EOF >- >- >-echo $ac_n "checking size of unsigned int""... $ac_c" 1>&6 >-echo "configure:4095: checking size of unsigned int" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_unsigned_int=4 >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done > else >- cat > conftest.$ac_ext <<EOF >-#line 4103 "configure" >-#include "confdefs.h" >-#include <stdio.h> >-int main() >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(unsigned int)); >- return(0); >+static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_unsigned_int=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_unsigned_int=0 >-fi >-rm -fr conftest* >-fi >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` > fi >-echo "$ac_t""$ac_cv_sizeof_unsigned_int" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int >-EOF >- >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)]; >+test_array [0] = 0 > >-echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6 >-echo "configure:4134: checking size of unsigned long" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_float=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (float), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac > else > if test "$cross_compiling" = yes; then >- ac_cv_sizeof_unsigned_long=4 >-else >- cat > conftest.$ac_ext <<EOF >-#line 4142 "configure" >-#include "confdefs.h" >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (float)); } >+unsigned long ulongval () { return (long) (sizeof (float)); } > #include <stdio.h> >-int main() >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(unsigned long)); >- return(0); >-} >-EOF >-if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_unsigned_long=`cat conftestval` >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (float))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (float)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (float)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_float=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (float), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_float=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_float" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_FLOAT $ac_cv_sizeof_float >+_ACEOF >+ >+ >+echo "$as_me:$LINENO: checking for int" >&5 >+echo $ECHO_N "checking for int... $ECHO_C" >&6 >+if test "${ac_cv_type_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((int *) 0) >+ return 0; >+if (sizeof (int)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_int=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_int=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 >+echo "${ECHO_T}$ac_cv_type_int" >&6 >+ >+echo "$as_me:$LINENO: checking size of int" >&5 >+echo $ECHO_N "checking size of int... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_int" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_int=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (int), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (int)); } >+unsigned long ulongval () { return (long) (sizeof (int)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (int))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (int)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (int)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_int=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (int), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_int=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_int" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_INT $ac_cv_sizeof_int >+_ACEOF >+ >+ >+echo "$as_me:$LINENO: checking for long" >&5 >+echo $ECHO_N "checking for long... $ECHO_C" >&6 >+if test "${ac_cv_type_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((long *) 0) >+ return 0; >+if (sizeof (long)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_long=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_long=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 >+echo "${ECHO_T}$ac_cv_type_long" >&6 >+ >+echo "$as_me:$LINENO: checking size of long" >&5 >+echo $ECHO_N "checking size of long... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_long" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_long=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (long), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (long)); } >+unsigned long ulongval () { return (long) (sizeof (long)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (long))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (long)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (long)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_long=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (long), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_long=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_long" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_LONG $ac_cv_sizeof_long >+_ACEOF >+ >+ >+if test "$fptools_cv_have_long_long" = yes; then >+echo "$as_me:$LINENO: checking for long long" >&5 >+echo $ECHO_N "checking for long long... $ECHO_C" >&6 >+if test "${ac_cv_type_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((long long *) 0) >+ return 0; >+if (sizeof (long long)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_long_long=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_long_long=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 >+echo "${ECHO_T}$ac_cv_type_long_long" >&6 >+ >+echo "$as_me:$LINENO: checking size of long long" >&5 >+echo $ECHO_N "checking size of long long... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_long_long" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_long_long=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (long long)); } >+unsigned long ulongval () { return (long) (sizeof (long long)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (long long))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (long long)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (long long)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_long_long=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_long_long=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long >+_ACEOF >+ >+ >+fi >+echo "$as_me:$LINENO: checking for short" >&5 >+echo $ECHO_N "checking for short... $ECHO_C" >&6 >+if test "${ac_cv_type_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((short *) 0) >+ return 0; >+if (sizeof (short)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_short=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_short=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 >+echo "${ECHO_T}$ac_cv_type_short" >&6 >+ >+echo "$as_me:$LINENO: checking size of short" >&5 >+echo $ECHO_N "checking size of short... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_short" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_short=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (short), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (short)); } >+unsigned long ulongval () { return (long) (sizeof (short)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (short))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (short)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (short)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_short=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (short), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_short=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_short" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_SHORT $ac_cv_sizeof_short >+_ACEOF >+ >+ >+echo "$as_me:$LINENO: checking for unsigned char" >&5 >+echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6 >+if test "${ac_cv_type_unsigned_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((unsigned char *) 0) >+ return 0; >+if (sizeof (unsigned char)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_unsigned_char=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_unsigned_char=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5 >+echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6 >+ >+echo "$as_me:$LINENO: checking size of unsigned char" >&5 >+echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_unsigned_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_unsigned_char" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_unsigned_char=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned char), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (unsigned char)); } >+unsigned long ulongval () { return (long) (sizeof (unsigned char)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (unsigned char))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (unsigned char)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (unsigned char)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_unsigned_char=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned char), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_unsigned_char=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char >+_ACEOF >+ >+ >+echo "$as_me:$LINENO: checking for unsigned int" >&5 >+echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6 >+if test "${ac_cv_type_unsigned_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((unsigned int *) 0) >+ return 0; >+if (sizeof (unsigned int)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_unsigned_int=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_unsigned_int=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5 >+echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6 >+ >+echo "$as_me:$LINENO: checking size of unsigned int" >&5 >+echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_unsigned_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_unsigned_int" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_unsigned_int=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (unsigned int)); } >+unsigned long ulongval () { return (long) (sizeof (unsigned int)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (unsigned int))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (unsigned int)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (unsigned int)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_unsigned_int=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_unsigned_int=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int >+_ACEOF >+ >+ >+echo "$as_me:$LINENO: checking for unsigned long" >&5 >+echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6 >+if test "${ac_cv_type_unsigned_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((unsigned long *) 0) >+ return 0; >+if (sizeof (unsigned long)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_unsigned_long=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_unsigned_long=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5 >+echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6 >+ >+echo "$as_me:$LINENO: checking size of unsigned long" >&5 >+echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_unsigned_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_unsigned_long" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_unsigned_long=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (unsigned long)); } >+unsigned long ulongval () { return (long) (sizeof (unsigned long)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (unsigned long))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (unsigned long)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (unsigned long)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_unsigned_long=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* > ac_cv_sizeof_unsigned_long=0 > fi >-rm -fr conftest* > fi >- >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long >+_ACEOF >+ >+ >+if test "$fptools_cv_have_long_long" = yes; then >+echo "$as_me:$LINENO: checking for unsigned long long" >&5 >+echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 >+if test "${ac_cv_type_unsigned_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((unsigned long long *) 0) >+ return 0; >+if (sizeof (unsigned long long)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_unsigned_long_long=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_unsigned_long_long=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 >+echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 >+ >+echo "$as_me:$LINENO: checking size of unsigned long long" >&5 >+echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_unsigned_long_long" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned long long), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (unsigned long long)); } >+unsigned long ulongval () { return (long) (sizeof (unsigned long long)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (unsigned long long))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (unsigned long long)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (unsigned long long)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_unsigned_long_long=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned long long), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val >+else >+ ac_cv_sizeof_unsigned_long_long=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long >+_ACEOF >+ >+ >+fi >+echo "$as_me:$LINENO: checking for unsigned short" >&5 >+echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6 >+if test "${ac_cv_type_unsigned_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+if ((unsigned short *) 0) >+ return 0; >+if (sizeof (unsigned short)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_unsigned_short=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_unsigned_short=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5 >+echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6 >+ >+echo "$as_me:$LINENO: checking size of unsigned short" >&5 >+echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_unsigned_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_unsigned_short" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_unsigned_short=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned short), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac >+else >+ if test "$cross_compiling" = yes; then >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (unsigned short)); } >+unsigned long ulongval () { return (long) (sizeof (unsigned short)); } >+#include <stdio.h> >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (unsigned short))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (unsigned short)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (unsigned short)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_unsigned_short=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (unsigned short), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi > fi >-echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long >-EOF >+rm -f conftest.val >+else >+ ac_cv_sizeof_unsigned_short=0 >+fi >+fi >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6 >+cat >>confdefs.h <<_ACEOF >+#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short >+_ACEOF > > >-if test "$fptools_cv_have_long_long" = yes; then >-echo $ac_n "checking size of unsigned long long""... $ac_c" 1>&6 >-echo "configure:4174: checking size of unsigned long long" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_unsigned_long_long=8 >+echo "$as_me:$LINENO: checking for void *" >&5 >+echo $ECHO_N "checking for void *... $ECHO_C" >&6 >+if test "${ac_cv_type_void_p+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 4182 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <stdio.h> >-int main() >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(unsigned long long)); >- return(0); >+if ((void * *) 0) >+ return 0; >+if (sizeof (void *)) >+ return 0; >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_type_void_p=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_void_p=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 >+echo "${ECHO_T}$ac_cv_type_void_p" >&6 >+ >+echo "$as_me:$LINENO: checking size of void *" >&5 >+echo $ECHO_N "checking size of void *... $ECHO_C" >&6 >+if test "${ac_cv_sizeof_void_p+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ if test "$ac_cv_type_void_p" = yes; then >+ # The cast to unsigned long works around a bug in the HP C Compiler >+ # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects >+ # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. >+ # This bug is HP SR number 8606223364. >+ if test "$cross_compiling" = yes; then >+ # Depending upon the size, compute the lo and hi bounds. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)]; >+test_array [0] = 0 >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_unsigned_long_long=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_unsigned_long_long=0 >-fi >-rm -fr conftest* >-fi >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=0 ac_mid=0 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr $ac_mid + 1` >+ if test $ac_lo -le $ac_mid; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid + 1` > fi >-echo "$ac_t""$ac_cv_sizeof_unsigned_long_long" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long >-EOF >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=-1 ac_mid=-1 >+ while :; do >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_lo=$ac_mid; break >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_hi=`expr '(' $ac_mid ')' - 1` >+ if test $ac_mid -le $ac_hi; then >+ ac_lo= ac_hi= >+ break >+ fi >+ ac_mid=`expr 2 '*' $ac_mid` > fi >-echo $ac_n "checking size of unsigned short""... $ac_c" 1>&6 >-echo "configure:4214: checking size of unsigned short" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- if test "$cross_compiling" = yes; then >- ac_cv_sizeof_unsigned_short=2 >+rm -f conftest.$ac_objext conftest.$ac_ext >+ done > else >- cat > conftest.$ac_ext <<EOF >-#line 4222 "configure" >-#include "confdefs.h" >-#include <stdio.h> >-int main() >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo= ac_hi= >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+# Binary search between lo and hi bounds. >+while test "x$ac_lo" != "x$ac_hi"; do >+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(unsigned short)); >- return(0); >-} >-EOF >-if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_unsigned_short=`cat conftestval` >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_sizeof_unsigned_short=0 >-fi >-rm -fr conftest* >-fi >+static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; >+test_array [0] = 0 > >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_hi=$ac_mid >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_lo=`expr '(' $ac_mid ')' + 1` > fi >-echo "$ac_t""$ac_cv_sizeof_unsigned_short" 1>&6 >-cat >> confdefs.h <<EOF >-#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short >-EOF >- >- >-echo $ac_n "checking size of void *""... $ac_c" 1>&6 >-echo "configure:4253: checking size of void *" >&5 >-if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+rm -f conftest.$ac_objext conftest.$ac_ext >+done >+case $ac_lo in >+?*) ac_cv_sizeof_void_p=$ac_lo;; >+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (void *), 77" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac > else > if test "$cross_compiling" = yes; then >- ac_cv_sizeof_void_p=4 >-else >- cat > conftest.$ac_ext <<EOF >-#line 4261 "configure" >-#include "confdefs.h" >+ { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 >+echo "$as_me: error: cannot run test program while cross compiling" >&2;} >+ { (exit 1); exit 1; }; } >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+$ac_includes_default >+long longval () { return (long) (sizeof (void *)); } >+unsigned long ulongval () { return (long) (sizeof (void *)); } > #include <stdio.h> >-int main() >+#include <stdlib.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () > { >- FILE *f=fopen("conftestval", "w"); >- if (!f) return(1); >- fprintf(f, "%d\n", sizeof(void *)); >- return(0); >+ >+ FILE *f = fopen ("conftest.val", "w"); >+ if (! f) >+ exit (1); >+ if (((long) (sizeof (void *))) < 0) >+ { >+ long i = longval (); >+ if (i != ((long) (sizeof (void *)))) >+ exit (1); >+ fprintf (f, "%ld\n", i); >+ } >+ else >+ { >+ unsigned long i = ulongval (); >+ if (i != ((long) (sizeof (void *)))) >+ exit (1); >+ fprintf (f, "%lu\n", i); >+ } >+ exit (ferror (f) || fclose (f) != 0); >+ >+ ; >+ return 0; > } >-EOF >-if { (eval echo configure:4272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >- ac_cv_sizeof_void_p=`cat conftestval` >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_sizeof_void_p=`cat conftest.val` >+else >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77" >&5 >+echo "$as_me: error: cannot compute sizeof (void *), 77" >&2;} >+ { (exit 1); exit 1; }; } >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >+fi >+fi >+rm -f conftest.val > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* > ac_cv_sizeof_void_p=0 > fi >-rm -fr conftest* >-fi >- > fi >-echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 >+echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6 >+cat >>confdefs.h <<_ACEOF > #define SIZEOF_VOID_P $ac_cv_sizeof_void_p >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of char""... $ac_c" 1>&6 >-echo "configure:4293: checking alignment of char" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_char'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of char" >&5 >+echo $ECHO_N "checking alignment of char... $ECHO_C" >&6 >+if test "${ac_cv_alignment_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_char=$ac_cv_sizeof_char > else >- cat > conftest.$ac_ext <<EOF >-#line 4301 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4315,38 +11323,48 @@ > fprintf(f, "%d", offsetof(struct { char c; char ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_char=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_char=$ac_cv_sizeof_char >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_char=$ac_cv_sizeof_char > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_char" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_char" >&5 >+echo "${ECHO_T}$ac_cv_alignment_char" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_CHAR $ac_cv_alignment_char >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of double""... $ac_c" 1>&6 >-echo "configure:4342: checking alignment of double" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_double'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of double" >&5 >+echo $ECHO_N "checking alignment of double... $ECHO_C" >&6 >+if test "${ac_cv_alignment_double+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_double=$ac_cv_sizeof_double > else >- cat > conftest.$ac_ext <<EOF >-#line 4350 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4364,38 +11382,48 @@ > fprintf(f, "%d", offsetof(struct { char c; double ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_double=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_double=$ac_cv_sizeof_double >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_double=$ac_cv_sizeof_double > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_double" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_double" >&5 >+echo "${ECHO_T}$ac_cv_alignment_double" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_DOUBLE $ac_cv_alignment_double >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of float""... $ac_c" 1>&6 >-echo "configure:4391: checking alignment of float" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_float'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of float" >&5 >+echo $ECHO_N "checking alignment of float... $ECHO_C" >&6 >+if test "${ac_cv_alignment_float+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_float=$ac_cv_sizeof_float > else >- cat > conftest.$ac_ext <<EOF >-#line 4399 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4413,38 +11441,48 @@ > fprintf(f, "%d", offsetof(struct { char c; float ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_float=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_float=$ac_cv_sizeof_float >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_float=$ac_cv_sizeof_float > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_float" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_float" >&5 >+echo "${ECHO_T}$ac_cv_alignment_float" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_FLOAT $ac_cv_alignment_float >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of int""... $ac_c" 1>&6 >-echo "configure:4440: checking alignment of int" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_int'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of int" >&5 >+echo $ECHO_N "checking alignment of int... $ECHO_C" >&6 >+if test "${ac_cv_alignment_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_int=$ac_cv_sizeof_int > else >- cat > conftest.$ac_ext <<EOF >-#line 4448 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4462,38 +11500,48 @@ > fprintf(f, "%d", offsetof(struct { char c; int ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_int=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_int=$ac_cv_sizeof_int >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_int=$ac_cv_sizeof_int > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_int" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_int" >&5 >+echo "${ECHO_T}$ac_cv_alignment_int" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_INT $ac_cv_alignment_int >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of long""... $ac_c" 1>&6 >-echo "configure:4489: checking alignment of long" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of long" >&5 >+echo $ECHO_N "checking alignment of long... $ECHO_C" >&6 >+if test "${ac_cv_alignment_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_long=$ac_cv_sizeof_long > else >- cat > conftest.$ac_ext <<EOF >-#line 4497 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4511,39 +11559,49 @@ > fprintf(f, "%d", offsetof(struct { char c; long ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_long=$ac_cv_sizeof_long >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_long=$ac_cv_sizeof_long > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_long" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_long" >&5 >+echo "${ECHO_T}$ac_cv_alignment_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_LONG $ac_cv_alignment_long >-EOF >+_ACEOF > > > > if test "$fptools_cv_have_long_long" = yes; then >-echo $ac_n "checking alignment of long long""... $ac_c" 1>&6 >-echo "configure:4539: checking alignment of long long" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_long_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of long long" >&5 >+echo $ECHO_N "checking alignment of long long... $ECHO_C" >&6 >+if test "${ac_cv_alignment_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_long_long=$ac_cv_sizeof_long_long > else >- cat > conftest.$ac_ext <<EOF >-#line 4547 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4561,39 +11619,49 @@ > fprintf(f, "%d", offsetof(struct { char c; long long ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_long_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_long_long=$ac_cv_sizeof_long_long >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_long_long=$ac_cv_sizeof_long_long > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_long_long" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_long_long" >&5 >+echo "${ECHO_T}$ac_cv_alignment_long_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_LONG_LONG $ac_cv_alignment_long_long >-EOF >+_ACEOF > > > > fi >-echo $ac_n "checking alignment of short""... $ac_c" 1>&6 >-echo "configure:4589: checking alignment of short" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_short'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of short" >&5 >+echo $ECHO_N "checking alignment of short... $ECHO_C" >&6 >+if test "${ac_cv_alignment_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_short=$ac_cv_sizeof_short > else >- cat > conftest.$ac_ext <<EOF >-#line 4597 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4611,38 +11679,48 @@ > fprintf(f, "%d", offsetof(struct { char c; short ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_short=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_short=$ac_cv_sizeof_short >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_short=$ac_cv_sizeof_short > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_short" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_short" >&5 >+echo "${ECHO_T}$ac_cv_alignment_short" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_SHORT $ac_cv_alignment_short >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of unsigned char""... $ac_c" 1>&6 >-echo "configure:4638: checking alignment of unsigned char" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_char'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of unsigned char" >&5 >+echo $ECHO_N "checking alignment of unsigned char... $ECHO_C" >&6 >+if test "${ac_cv_alignment_unsigned_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_unsigned_char=$ac_cv_sizeof_unsigned_char > else >- cat > conftest.$ac_ext <<EOF >-#line 4646 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4660,38 +11738,48 @@ > fprintf(f, "%d", offsetof(struct { char c; unsigned char ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_unsigned_char=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_unsigned_char=$ac_cv_sizeof_unsigned_char >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_unsigned_char=$ac_cv_sizeof_unsigned_char > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_unsigned_char" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_char" >&5 >+echo "${ECHO_T}$ac_cv_alignment_unsigned_char" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_UNSIGNED_CHAR $ac_cv_alignment_unsigned_char >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of unsigned int""... $ac_c" 1>&6 >-echo "configure:4687: checking alignment of unsigned int" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_int'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of unsigned int" >&5 >+echo $ECHO_N "checking alignment of unsigned int... $ECHO_C" >&6 >+if test "${ac_cv_alignment_unsigned_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_unsigned_int=$ac_cv_sizeof_unsigned_int > else >- cat > conftest.$ac_ext <<EOF >-#line 4695 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4709,38 +11797,48 @@ > fprintf(f, "%d", offsetof(struct { char c; unsigned int ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_unsigned_int=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_unsigned_int=$ac_cv_sizeof_unsigned_int >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_unsigned_int=$ac_cv_sizeof_unsigned_int > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_unsigned_int" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_int" >&5 >+echo "${ECHO_T}$ac_cv_alignment_unsigned_int" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_UNSIGNED_INT $ac_cv_alignment_unsigned_int >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of unsigned long""... $ac_c" 1>&6 >-echo "configure:4736: checking alignment of unsigned long" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of unsigned long" >&5 >+echo $ECHO_N "checking alignment of unsigned long... $ECHO_C" >&6 >+if test "${ac_cv_alignment_unsigned_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_unsigned_long=$ac_cv_sizeof_unsigned_long > else >- cat > conftest.$ac_ext <<EOF >-#line 4744 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4758,39 +11856,49 @@ > fprintf(f, "%d", offsetof(struct { char c; unsigned long ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_unsigned_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_unsigned_long=$ac_cv_sizeof_unsigned_long >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_unsigned_long=$ac_cv_sizeof_unsigned_long > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_unsigned_long" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_long" >&5 >+echo "${ECHO_T}$ac_cv_alignment_unsigned_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_UNSIGNED_LONG $ac_cv_alignment_unsigned_long >-EOF >+_ACEOF > > > > if test "$fptools_cv_have_long_long" = yes; then >-echo $ac_n "checking alignment of unsigned long long""... $ac_c" 1>&6 >-echo "configure:4786: checking alignment of unsigned long long" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_long_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of unsigned long long" >&5 >+echo $ECHO_N "checking alignment of unsigned long long... $ECHO_C" >&6 >+if test "${ac_cv_alignment_unsigned_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_unsigned_long_long=$ac_cv_sizeof_unsigned_long_long > else >- cat > conftest.$ac_ext <<EOF >-#line 4794 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4808,39 +11916,49 @@ > fprintf(f, "%d", offsetof(struct { char c; unsigned long long ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_unsigned_long_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_unsigned_long_long=$ac_cv_sizeof_unsigned_long_long >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_unsigned_long_long=$ac_cv_sizeof_unsigned_long_long > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_unsigned_long_long" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_long_long" >&5 >+echo "${ECHO_T}$ac_cv_alignment_unsigned_long_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_UNSIGNED_LONG_LONG $ac_cv_alignment_unsigned_long_long >-EOF >+_ACEOF > > > > fi >-echo $ac_n "checking alignment of unsigned short""... $ac_c" 1>&6 >-echo "configure:4836: checking alignment of unsigned short" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_short'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of unsigned short" >&5 >+echo $ECHO_N "checking alignment of unsigned short... $ECHO_C" >&6 >+if test "${ac_cv_alignment_unsigned_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_unsigned_short=$ac_cv_sizeof_unsigned_short > else >- cat > conftest.$ac_ext <<EOF >-#line 4844 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4858,38 +11976,48 @@ > fprintf(f, "%d", offsetof(struct { char c; unsigned short ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_unsigned_short=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_unsigned_short=$ac_cv_sizeof_unsigned_short >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_unsigned_short=$ac_cv_sizeof_unsigned_short > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_unsigned_short" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_short" >&5 >+echo "${ECHO_T}$ac_cv_alignment_unsigned_short" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_UNSIGNED_SHORT $ac_cv_alignment_unsigned_short >-EOF >+_ACEOF > > > >-echo $ac_n "checking alignment of void *""... $ac_c" 1>&6 >-echo "configure:4885: checking alignment of void *" >&5 >-if eval "test \"`echo '$''{'ac_cv_alignment_void_p'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking alignment of void *" >&5 >+echo $ECHO_N "checking alignment of void *... $ECHO_C" >&6 >+if test "${ac_cv_alignment_void_p+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_alignment_void_p=$ac_cv_sizeof_void_p > else >- cat > conftest.$ac_ext <<EOF >-#line 4893 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <stdio.h> >@@ -4907,39 +12035,49 @@ > fprintf(f, "%d", offsetof(struct { char c; void * ty;},ty)); > exit(0); > } >-EOF >-if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_alignment_void_p=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_alignment_void_p=$ac_cv_sizeof_void_p >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_alignment_void_p=$ac_cv_sizeof_void_p > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi > >-echo "$ac_t""$ac_cv_alignment_void_p" 1>&6 >-cat >> confdefs.h <<EOF >+echo "$as_me:$LINENO: result: $ac_cv_alignment_void_p" >&5 >+echo "${ECHO_T}$ac_cv_alignment_void_p" >&6 >+cat >>confdefs.h <<_ACEOF > #define ALIGNMENT_VOID_P $ac_cv_alignment_void_p >-EOF >+_ACEOF > > > > >-echo $ac_n "checking Haskell type for char""... $ac_c" 1>&6 >-echo "configure:4935: checking Haskell type for char" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_char'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for char" >&5 >+echo $ECHO_N "checking Haskell type for char... $ECHO_C" >&6 >+if test "${fptools_cv_htype_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_char=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 4943 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5001,36 +12139,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_char=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_char=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_char=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_char" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_char" >&5 >+echo "${ECHO_T}$fptools_cv_htype_char" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_CHAR $fptools_cv_htype_char >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for signed char""... $ac_c" 1>&6 >-echo "configure:5026: checking Haskell type for signed char" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_signed_char'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for signed char" >&5 >+echo $ECHO_N "checking Haskell type for signed char... $ECHO_C" >&6 >+if test "${fptools_cv_htype_signed_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_signed_char=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5034 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5092,36 +12240,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_signed_char=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_signed_char=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_signed_char=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_signed_char" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_signed_char" >&5 >+echo "${ECHO_T}$fptools_cv_htype_signed_char" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_SIGNED_CHAR $fptools_cv_htype_signed_char >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for unsigned char""... $ac_c" 1>&6 >-echo "configure:5117: checking Haskell type for unsigned char" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_char'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for unsigned char" >&5 >+echo $ECHO_N "checking Haskell type for unsigned char... $ECHO_C" >&6 >+if test "${fptools_cv_htype_unsigned_char+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_unsigned_char=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5125 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5183,36 +12341,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_unsigned_char=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_unsigned_char=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_unsigned_char=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_unsigned_char" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_char" >&5 >+echo "${ECHO_T}$fptools_cv_htype_unsigned_char" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_UNSIGNED_CHAR $fptools_cv_htype_unsigned_char >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for short""... $ac_c" 1>&6 >-echo "configure:5208: checking Haskell type for short" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_short'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for short" >&5 >+echo $ECHO_N "checking Haskell type for short... $ECHO_C" >&6 >+if test "${fptools_cv_htype_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_short=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5216 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5274,36 +12442,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_short=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_short=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_short=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_short" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_short" >&5 >+echo "${ECHO_T}$fptools_cv_htype_short" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_SHORT $fptools_cv_htype_short >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for unsigned short""... $ac_c" 1>&6 >-echo "configure:5299: checking Haskell type for unsigned short" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_short'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for unsigned short" >&5 >+echo $ECHO_N "checking Haskell type for unsigned short... $ECHO_C" >&6 >+if test "${fptools_cv_htype_unsigned_short+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_unsigned_short=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5307 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5365,36 +12543,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_unsigned_short=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_unsigned_short=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_unsigned_short=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_unsigned_short" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_short" >&5 >+echo "${ECHO_T}$fptools_cv_htype_unsigned_short" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_UNSIGNED_SHORT $fptools_cv_htype_unsigned_short >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for int""... $ac_c" 1>&6 >-echo "configure:5390: checking Haskell type for int" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_int'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for int" >&5 >+echo $ECHO_N "checking Haskell type for int... $ECHO_C" >&6 >+if test "${fptools_cv_htype_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_int=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5398 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5456,36 +12644,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_int=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_int=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_int=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_int" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_int" >&5 >+echo "${ECHO_T}$fptools_cv_htype_int" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_INT $fptools_cv_htype_int >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for unsigned int""... $ac_c" 1>&6 >-echo "configure:5481: checking Haskell type for unsigned int" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_int'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for unsigned int" >&5 >+echo $ECHO_N "checking Haskell type for unsigned int... $ECHO_C" >&6 >+if test "${fptools_cv_htype_unsigned_int+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_unsigned_int=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5489 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5547,36 +12745,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_unsigned_int=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_unsigned_int=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_unsigned_int=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_unsigned_int" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_int" >&5 >+echo "${ECHO_T}$fptools_cv_htype_unsigned_int" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_UNSIGNED_INT $fptools_cv_htype_unsigned_int >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for long""... $ac_c" 1>&6 >-echo "configure:5572: checking Haskell type for long" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for long" >&5 >+echo $ECHO_N "checking Haskell type for long... $ECHO_C" >&6 >+if test "${fptools_cv_htype_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_long=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5580 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5638,36 +12846,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_long=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_long=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_long" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_long" >&5 >+echo "${ECHO_T}$fptools_cv_htype_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_LONG $fptools_cv_htype_long >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for unsigned long""... $ac_c" 1>&6 >-echo "configure:5663: checking Haskell type for unsigned long" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for unsigned long" >&5 >+echo $ECHO_N "checking Haskell type for unsigned long... $ECHO_C" >&6 >+if test "${fptools_cv_htype_unsigned_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_unsigned_long=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5671 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5729,37 +12947,47 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_unsigned_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_unsigned_long=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_unsigned_long=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_unsigned_long" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_long" >&5 >+echo "${ECHO_T}$fptools_cv_htype_unsigned_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_UNSIGNED_LONG $fptools_cv_htype_unsigned_long >-EOF >+_ACEOF > > > if test "$fptools_cv_have_long_long" = yes; then >-echo $ac_n "checking Haskell type for long long""... $ac_c" 1>&6 >-echo "configure:5755: checking Haskell type for long long" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_long_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for long long" >&5 >+echo $ECHO_N "checking Haskell type for long long... $ECHO_C" >&6 >+if test "${fptools_cv_htype_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_long_long=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5763 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5821,36 +13049,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_long_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_long_long=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_long_long=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_long_long" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_long_long" >&5 >+echo "${ECHO_T}$fptools_cv_htype_long_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_LONG_LONG $fptools_cv_htype_long_long >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for unsigned long long""... $ac_c" 1>&6 >-echo "configure:5846: checking Haskell type for unsigned long long" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_long_long'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for unsigned long long" >&5 >+echo $ECHO_N "checking Haskell type for unsigned long long... $ECHO_C" >&6 >+if test "${fptools_cv_htype_unsigned_long_long+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_unsigned_long_long=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5854 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -5912,37 +13150,47 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_unsigned_long_long=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_unsigned_long_long=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_unsigned_long_long=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_unsigned_long_long" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_long_long" >&5 >+echo "${ECHO_T}$fptools_cv_htype_unsigned_long_long" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_UNSIGNED_LONG_LONG $fptools_cv_htype_unsigned_long_long >-EOF >+_ACEOF > > > fi >-echo $ac_n "checking Haskell type for float""... $ac_c" 1>&6 >-echo "configure:5938: checking Haskell type for float" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_float'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for float" >&5 >+echo $ECHO_N "checking Haskell type for float... $ECHO_C" >&6 >+if test "${fptools_cv_htype_float+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_float=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 5946 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6004,36 +13252,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_float=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_float=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_float=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_float" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_float" >&5 >+echo "${ECHO_T}$fptools_cv_htype_float" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_FLOAT $fptools_cv_htype_float >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for double""... $ac_c" 1>&6 >-echo "configure:6029: checking Haskell type for double" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_double'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for double" >&5 >+echo $ECHO_N "checking Haskell type for double... $ECHO_C" >&6 >+if test "${fptools_cv_htype_double+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_double=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6037 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6095,36 +13353,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_double=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_double=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_double=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_double" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_double" >&5 >+echo "${ECHO_T}$fptools_cv_htype_double" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_DOUBLE $fptools_cv_htype_double >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for ptrdiff_t""... $ac_c" 1>&6 >-echo "configure:6120: checking Haskell type for ptrdiff_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_ptrdiff_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for ptrdiff_t" >&5 >+echo $ECHO_N "checking Haskell type for ptrdiff_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_ptrdiff_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_ptrdiff_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6128 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6186,36 +13454,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_ptrdiff_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_ptrdiff_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_ptrdiff_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_ptrdiff_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_ptrdiff_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_ptrdiff_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_PTRDIFF_T $fptools_cv_htype_ptrdiff_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for size_t""... $ac_c" 1>&6 >-echo "configure:6211: checking Haskell type for size_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_size_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for size_t" >&5 >+echo $ECHO_N "checking Haskell type for size_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_size_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_size_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6219 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6277,36 +13555,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_size_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_size_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_size_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_size_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_size_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_size_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_SIZE_T $fptools_cv_htype_size_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for wchar_t""... $ac_c" 1>&6 >-echo "configure:6302: checking Haskell type for wchar_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_wchar_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for wchar_t" >&5 >+echo $ECHO_N "checking Haskell type for wchar_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_wchar_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_wchar_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6310 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6368,36 +13656,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_wchar_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_wchar_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_wchar_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_wchar_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_wchar_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_wchar_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_WCHAR_T $fptools_cv_htype_wchar_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for sig_atomic_t""... $ac_c" 1>&6 >-echo "configure:6393: checking Haskell type for sig_atomic_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_sig_atomic_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for sig_atomic_t" >&5 >+echo $ECHO_N "checking Haskell type for sig_atomic_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_sig_atomic_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_sig_atomic_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6401 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6459,36 +13757,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_sig_atomic_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_sig_atomic_t=Int32 >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_sig_atomic_t=Int32 >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_sig_atomic_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_sig_atomic_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_sig_atomic_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_SIG_ATOMIC_T $fptools_cv_htype_sig_atomic_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for clock_t""... $ac_c" 1>&6 >-echo "configure:6484: checking Haskell type for clock_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_clock_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for clock_t" >&5 >+echo $ECHO_N "checking Haskell type for clock_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_clock_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_clock_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6492 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6550,36 +13858,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_clock_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_clock_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_clock_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_clock_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_clock_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_clock_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_CLOCK_T $fptools_cv_htype_clock_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for time_t""... $ac_c" 1>&6 >-echo "configure:6575: checking Haskell type for time_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_time_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for time_t" >&5 >+echo $ECHO_N "checking Haskell type for time_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_time_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_time_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6583 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6641,36 +13959,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_time_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_time_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_time_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_time_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_time_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_time_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_TIME_T $fptools_cv_htype_time_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for dev_t""... $ac_c" 1>&6 >-echo "configure:6666: checking Haskell type for dev_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_dev_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for dev_t" >&5 >+echo $ECHO_N "checking Haskell type for dev_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_dev_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_dev_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6674 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6732,36 +14060,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_dev_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_dev_t=Word32 >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_dev_t=Word32 >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_dev_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_dev_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_dev_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_DEV_T $fptools_cv_htype_dev_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for ino_t""... $ac_c" 1>&6 >-echo "configure:6757: checking Haskell type for ino_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_ino_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for ino_t" >&5 >+echo $ECHO_N "checking Haskell type for ino_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_ino_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_ino_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6765 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6823,36 +14161,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_ino_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_ino_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_ino_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_ino_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_ino_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_ino_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_INO_T $fptools_cv_htype_ino_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for mode_t""... $ac_c" 1>&6 >-echo "configure:6848: checking Haskell type for mode_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_mode_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for mode_t" >&5 >+echo $ECHO_N "checking Haskell type for mode_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_mode_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_mode_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6856 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -6914,36 +14262,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_mode_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_mode_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_mode_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_mode_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_mode_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_mode_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_MODE_T $fptools_cv_htype_mode_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for off_t""... $ac_c" 1>&6 >-echo "configure:6939: checking Haskell type for off_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_off_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for off_t" >&5 >+echo $ECHO_N "checking Haskell type for off_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_off_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_off_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 6947 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7005,36 +14363,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_off_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_off_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_off_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_off_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_off_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_off_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_OFF_T $fptools_cv_htype_off_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for pid_t""... $ac_c" 1>&6 >-echo "configure:7030: checking Haskell type for pid_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_pid_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for pid_t" >&5 >+echo $ECHO_N "checking Haskell type for pid_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_pid_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_pid_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7038 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7096,36 +14464,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_pid_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_pid_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_pid_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_pid_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_pid_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_pid_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_PID_T $fptools_cv_htype_pid_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for gid_t""... $ac_c" 1>&6 >-echo "configure:7121: checking Haskell type for gid_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_gid_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for gid_t" >&5 >+echo $ECHO_N "checking Haskell type for gid_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_gid_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_gid_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7129 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7187,36 +14565,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_gid_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_gid_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_gid_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_gid_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_gid_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_gid_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GID_T $fptools_cv_htype_gid_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for uid_t""... $ac_c" 1>&6 >-echo "configure:7212: checking Haskell type for uid_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_uid_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for uid_t" >&5 >+echo $ECHO_N "checking Haskell type for uid_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_uid_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_uid_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7220 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7278,36 +14666,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_uid_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_uid_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_uid_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_uid_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_uid_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_uid_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_UID_T $fptools_cv_htype_uid_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for cc_t""... $ac_c" 1>&6 >-echo "configure:7303: checking Haskell type for cc_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_cc_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for cc_t" >&5 >+echo $ECHO_N "checking Haskell type for cc_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_cc_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_cc_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7311 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7369,36 +14767,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_cc_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_cc_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_cc_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_cc_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_cc_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_cc_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_CC_T $fptools_cv_htype_cc_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for speed_t""... $ac_c" 1>&6 >-echo "configure:7394: checking Haskell type for speed_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_speed_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for speed_t" >&5 >+echo $ECHO_N "checking Haskell type for speed_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_speed_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_speed_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7402 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7460,36 +14868,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_speed_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_speed_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_speed_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_speed_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_speed_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_speed_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_SPEED_T $fptools_cv_htype_speed_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for tcflag_t""... $ac_c" 1>&6 >-echo "configure:7485: checking Haskell type for tcflag_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_tcflag_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for tcflag_t" >&5 >+echo $ECHO_N "checking Haskell type for tcflag_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_tcflag_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_tcflag_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7493 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7551,36 +14969,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_tcflag_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_tcflag_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_tcflag_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_tcflag_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_tcflag_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_tcflag_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_TCFLAG_T $fptools_cv_htype_tcflag_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for nlink_t""... $ac_c" 1>&6 >-echo "configure:7576: checking Haskell type for nlink_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_nlink_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for nlink_t" >&5 >+echo $ECHO_N "checking Haskell type for nlink_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_nlink_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_nlink_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7584 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7642,36 +15070,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_nlink_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_nlink_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_nlink_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_nlink_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_nlink_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_nlink_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_NLINK_T $fptools_cv_htype_nlink_t >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for ssize_t""... $ac_c" 1>&6 >-echo "configure:7667: checking Haskell type for ssize_t" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_ssize_t'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for ssize_t" >&5 >+echo $ECHO_N "checking Haskell type for ssize_t... $ECHO_C" >&6 >+if test "${fptools_cv_htype_ssize_t+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_ssize_t=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7675 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7733,38 +15171,48 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_ssize_t=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_ssize_t=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_ssize_t=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_ssize_t" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_ssize_t" >&5 >+echo "${ECHO_T}$fptools_cv_htype_ssize_t" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_SSIZE_T $fptools_cv_htype_ssize_t >-EOF >+_ACEOF > > > > if test $GhcLibsWithHOpenGL = YES ; then >-echo $ac_n "checking Haskell type for GLboolean""... $ac_c" 1>&6 >-echo "configure:7760: checking Haskell type for GLboolean" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLboolean'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLboolean" >&5 >+echo $ECHO_N "checking Haskell type for GLboolean... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLboolean+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLboolean=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7768 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7826,36 +15274,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLboolean=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLboolean=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLboolean=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLboolean" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLboolean" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLboolean" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLBOOLEAN $fptools_cv_htype_GLboolean >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLbyte""... $ac_c" 1>&6 >-echo "configure:7851: checking Haskell type for GLbyte" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLbyte'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLbyte" >&5 >+echo $ECHO_N "checking Haskell type for GLbyte... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLbyte+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLbyte=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7859 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -7917,36 +15375,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:7922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLbyte=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLbyte=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLbyte=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLbyte" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLbyte" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLbyte" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLBYTE $fptools_cv_htype_GLbyte >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLubyte""... $ac_c" 1>&6 >-echo "configure:7942: checking Haskell type for GLubyte" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLubyte'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLubyte" >&5 >+echo $ECHO_N "checking Haskell type for GLubyte... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLubyte+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLubyte=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 7950 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8008,36 +15476,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLubyte=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLubyte=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLubyte=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLubyte" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLubyte" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLubyte" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLUBYTE $fptools_cv_htype_GLubyte >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLshort""... $ac_c" 1>&6 >-echo "configure:8033: checking Haskell type for GLshort" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLshort'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLshort" >&5 >+echo $ECHO_N "checking Haskell type for GLshort... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLshort+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLshort=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8041 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8099,36 +15577,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLshort=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLshort=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLshort=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLshort" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLshort" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLshort" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLSHORT $fptools_cv_htype_GLshort >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLushort""... $ac_c" 1>&6 >-echo "configure:8124: checking Haskell type for GLushort" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLushort'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLushort" >&5 >+echo $ECHO_N "checking Haskell type for GLushort... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLushort+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLushort=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8132 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8190,36 +15678,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLushort=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLushort=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLushort=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLushort" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLushort" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLushort" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLUSHORT $fptools_cv_htype_GLushort >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLint""... $ac_c" 1>&6 >-echo "configure:8215: checking Haskell type for GLint" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLint'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLint" >&5 >+echo $ECHO_N "checking Haskell type for GLint... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLint+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLint=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8223 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8281,36 +15779,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLint=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLint=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLint=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLint" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLint" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLint" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLINT $fptools_cv_htype_GLint >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLuint""... $ac_c" 1>&6 >-echo "configure:8306: checking Haskell type for GLuint" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLuint'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLuint" >&5 >+echo $ECHO_N "checking Haskell type for GLuint... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLuint+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLuint=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8314 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8372,36 +15880,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLuint=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLuint=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLuint=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLuint" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLuint" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLuint" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLUINT $fptools_cv_htype_GLuint >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLsizei""... $ac_c" 1>&6 >-echo "configure:8397: checking Haskell type for GLsizei" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLsizei'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLsizei" >&5 >+echo $ECHO_N "checking Haskell type for GLsizei... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLsizei+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLsizei=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8405 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8463,36 +15981,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLsizei=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLsizei=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLsizei=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLsizei" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLsizei" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLsizei" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLSIZEI $fptools_cv_htype_GLsizei >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLenum""... $ac_c" 1>&6 >-echo "configure:8488: checking Haskell type for GLenum" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLenum'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLenum" >&5 >+echo $ECHO_N "checking Haskell type for GLenum... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLenum+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLenum=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8496 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8554,36 +16082,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLenum=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLenum=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLenum=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLenum" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLenum" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLenum" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLENUM $fptools_cv_htype_GLenum >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLbitfield""... $ac_c" 1>&6 >-echo "configure:8579: checking Haskell type for GLbitfield" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLbitfield'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLbitfield" >&5 >+echo $ECHO_N "checking Haskell type for GLbitfield... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLbitfield+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLbitfield=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8587 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8645,36 +16183,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLbitfield=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLbitfield=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLbitfield=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLbitfield" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLbitfield" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLbitfield" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLBITFIELD $fptools_cv_htype_GLbitfield >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLfloat""... $ac_c" 1>&6 >-echo "configure:8670: checking Haskell type for GLfloat" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLfloat'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLfloat" >&5 >+echo $ECHO_N "checking Haskell type for GLfloat... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLfloat+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLfloat=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8678 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8736,36 +16284,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLfloat=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLfloat=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLfloat=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLfloat" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLfloat" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLfloat" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLFLOAT $fptools_cv_htype_GLfloat >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLclampf""... $ac_c" 1>&6 >-echo "configure:8761: checking Haskell type for GLclampf" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLclampf'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLclampf" >&5 >+echo $ECHO_N "checking Haskell type for GLclampf... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLclampf+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLclampf=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8769 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8827,36 +16385,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLclampf=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLclampf=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLclampf=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLclampf" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLclampf" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLclampf" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLCLAMPF $fptools_cv_htype_GLclampf >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLdouble""... $ac_c" 1>&6 >-echo "configure:8852: checking Haskell type for GLdouble" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLdouble'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLdouble" >&5 >+echo $ECHO_N "checking Haskell type for GLdouble... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLdouble+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLdouble=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8860 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -8918,36 +16486,46 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLdouble=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLdouble=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLdouble=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLdouble" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLdouble" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLdouble" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLDOUBLE $fptools_cv_htype_GLdouble >-EOF >+_ACEOF > > >-echo $ac_n "checking Haskell type for GLclampd""... $ac_c" 1>&6 >-echo "configure:8943: checking Haskell type for GLclampd" >&5 >-if eval "test \"`echo '$''{'fptools_cv_htype_GLclampd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking Haskell type for GLclampd" >&5 >+echo $ECHO_N "checking Haskell type for GLclampd... $ECHO_C" >&6 >+if test "${fptools_cv_htype_GLclampd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > fptools_cv_htype_GLclampd=NotReallyATypeCross > else >- cat > conftest.$ac_ext <<EOF >-#line 8951 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <stdio.h> > #include <stddef.h> >@@ -9009,80 +16587,109 @@ > fclose(f); > exit(0); > } >-EOF >-if { (eval echo configure:9014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_htype_GLclampd=`cat conftestval` > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_htype_GLclampd=NotReallyAType >-fi >-rm -fr conftest* >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_htype_GLclampd=NotReallyAType >+fi >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- echo "$ac_t""$fptools_cv_htype_GLclampd" 1>&6 >-cat >> confdefs.h <<EOF >+ echo "$as_me:$LINENO: result: $fptools_cv_htype_GLclampd" >&5 >+echo "${ECHO_T}$fptools_cv_htype_GLclampd" >&6 >+cat >>confdefs.h <<_ACEOF > #define HTYPE_GLCLAMPD $fptools_cv_htype_GLclampd >-EOF >+_ACEOF > > > fi > > > >-echo $ac_n "checking whether we can open files in binary mode""... $ac_c" 1>&6 >-echo "configure:9038: checking whether we can open files in binary mode" >&5 >-if eval "test \"`echo '$''{'fptools_cv_have_o_binary'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking whether we can open files in binary mode" >&5 >+echo $ECHO_N "checking whether we can open files in binary mode... $ECHO_C" >&6 >+if test "${fptools_cv_have_o_binary+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ >+ > > ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. > ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > >-cat > conftest.$ac_ext <<EOF >-#line 9052 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > #ifdef HAVE_FCNTL_H > #include <fcntl.h> > #endif > int x = O_BINARY; >-; return 0; } >-EOF >-if { (eval echo configure:9062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_have_o_binary=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_have_o_binary=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_have_o_binary=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. > ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > > > fi > >-echo "$ac_t""$fptools_cv_have_o_binary" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_have_o_binary" >&5 >+echo "${ECHO_T}$fptools_cv_have_o_binary" >&6 > if test "$fptools_cv_have_o_binary" = yes; then >-cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_O_BINARY 1 >-EOF >+_ACEOF > > fi > >@@ -9092,21 +16699,25 @@ > ac_save_LIBS="$LIBS" > LIBS=; > cat > conftest.$ac_ext <<EOF >-#line 9096 "configure" >+#line 16702 "configure" > #include "confdefs.h" > > #if HAVE_WINDOWS_H > #include <windows.h> > #endif >-main() { >+main() { > WinExec("",0); > exit(0); > } > > int t() { return 0; } > EOF >-if { (eval echo configure:9109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then >- >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then >+ > LIBS="$ac_save_LIBS" > rm -rf conftest* > have_winexec=1 >@@ -9119,9 +16730,9 @@ > > > if test "$have_winexec" = "1"; then >-cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_WINEXEC 1 >-EOF >+_ACEOF > > fi > >@@ -9129,13 +16740,13 @@ > ac_save_LIBS="$LIBS" > LIBS=; > cat > conftest.$ac_ext <<EOF >-#line 9133 "configure" >+#line 16743 "configure" > #include "confdefs.h" > > #if HAVE_WINDOWS_H > #include <windows.h> > #endif >-main() { >+main() { > char* dir; > GetModuleFileName((HMODULE)0,dir,0); > exit(0); >@@ -9143,8 +16754,12 @@ > > int t() { return 0; } > EOF >-if { (eval echo configure:9147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then >- >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then >+ > LIBS="$ac_save_LIBS" > rm -rf conftest* > have_getmodulefilename=1 >@@ -9157,25 +16772,25 @@ > > > if test "$have_getmodulefilename" = "1"; then >-cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_GETMODULEFILENAME 1 >-EOF >+_ACEOF > > fi > > >-echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 >-echo "configure:9169: checking return type of signal handlers" >&5 >-if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking return type of signal handlers" >&5 >+echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 >+if test "${ac_cv_type_signal+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9174 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/types.h> > #include <signal.h> > #ifdef signal >-#undef signal >+# undef signal > #endif > #ifdef __cplusplus > extern "C" void (*signal (int, void (*)(int)))(int); >@@ -9183,665 +16798,967 @@ > void (*signal ()) (); > #endif > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > int i; >-; return 0; } >-EOF >-if { (eval echo configure:9191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_type_signal=void > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_type_signal=int >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_type_signal=int > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >+echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 >+echo "${ECHO_T}$ac_cv_type_signal" >&6 > >-echo "$ac_t""$ac_cv_type_signal" 1>&6 >-cat >> confdefs.h <<EOF >+cat >>confdefs.h <<_ACEOF > #define RETSIGTYPE $ac_cv_type_signal >-EOF >+_ACEOF > > > if test "$ac_cv_type_signal" = void; then >-cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define VOID_INT_SIGNALS 1 >-EOF >+_ACEOF > > fi > >+ >+ >+ >+ > for ac_func in strcasecmp _stricmp stricmp strcmpi > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9219: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9224 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > >+ > for ac_func in strcmp > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9274: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9279 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > >+ >+ > for ac_func in realpath _fullpath > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9329: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9334 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done >- >+ >+ >+ > for ac_func in PBHSetVolSync macsystem > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9384: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9389 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done >- >+ >+ >+ >+ >+ > for ac_func in fgetpos fsetpos fseek ftell > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9439: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9444 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > >+ >+ > for ac_func in vsnprintf _vsnprintf > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9494: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9499 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > >-for ac_func in snprintf _snprintf >+ >+ >+for ac_func in snprintf _snprintf > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9549: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9554 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done >- >-for ac_func in popen _popen >+ >+ >+ >+for ac_func in popen _popen > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9604: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9609 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >- >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF >+ > fi > done >- >-for ac_func in pclose _pclose >+ >+ >+ >+for ac_func in pclose _pclose > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9659: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9664 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done >- >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ > > > for ac_func in access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat lstat symlink sysconf timelocal times vadvise vfork localtime_r gmtime_r readdir_r > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:9716: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9721 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:9744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > > >-echo $ac_n "checking for __gmpz_fdiv_qr in -lgmp""... $ac_c" 1>&6 >-echo "configure:9770: checking for __gmpz_fdiv_qr in -lgmp" >&5 >-ac_lib_var=`echo gmp'_'__gmpz_fdiv_qr | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for __gmpz_fdiv_qr in -lgmp" >&5 >+echo $ECHO_N "checking for __gmpz_fdiv_qr in -lgmp... $ECHO_C" >&6 >+if test "${ac_cv_lib_gmp___gmpz_fdiv_qr+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lgmp $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 9778 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char __gmpz_fdiv_qr(); >- >-int main() { >-__gmpz_fdiv_qr() >-; return 0; } >-EOF >-if { (eval echo configure:9789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char __gmpz_fdiv_qr (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+__gmpz_fdiv_qr (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_gmp___gmpz_fdiv_qr=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_gmp___gmpz_fdiv_qr=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_fdiv_qr" >&5 >+echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_fdiv_qr" >&6 >+if test $ac_cv_lib_gmp___gmpz_fdiv_qr = yes; then > HaveLibGmp=YES; LibGmp=gmp > else >- echo "$ac_t""no" 1>&6 >-echo $ac_n "checking for __gmpz_fdiv_qr in -lgmp3""... $ac_c" 1>&6 >-echo "configure:9808: checking for __gmpz_fdiv_qr in -lgmp3" >&5 >-ac_lib_var=`echo gmp3'_'__gmpz_fdiv_qr | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for __gmpz_fdiv_qr in -lgmp3" >&5 >+echo $ECHO_N "checking for __gmpz_fdiv_qr in -lgmp3... $ECHO_C" >&6 >+if test "${ac_cv_lib_gmp3___gmpz_fdiv_qr+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lgmp3 $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 9816 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char __gmpz_fdiv_qr(); >- >-int main() { >-__gmpz_fdiv_qr() >-; return 0; } >-EOF >-if { (eval echo configure:9827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char __gmpz_fdiv_qr (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+__gmpz_fdiv_qr (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_gmp3___gmpz_fdiv_qr=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_gmp3___gmpz_fdiv_qr=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_gmp3___gmpz_fdiv_qr" >&5 >+echo "${ECHO_T}$ac_cv_lib_gmp3___gmpz_fdiv_qr" >&6 >+if test $ac_cv_lib_gmp3___gmpz_fdiv_qr = yes; then > HaveLibGmp=YES; LibGmp=gmp3 > else >- echo "$ac_t""no" 1>&6 >-HaveLibGmp=NO; LibGmp=not-installed >+ HaveLibGmp=NO; LibGmp=not-installed > fi > > fi >@@ -9849,94 +17766,135 @@ > > > >-echo $ac_n "checking for closedir in -lmingwex""... $ac_c" 1>&6 >-echo "configure:9854: checking for closedir in -lmingwex" >&5 >-ac_lib_var=`echo mingwex'_'closedir | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for closedir in -lmingwex" >&5 >+echo $ECHO_N "checking for closedir in -lmingwex... $ECHO_C" >&6 >+if test "${ac_cv_lib_mingwex_closedir+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lmingwex $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 9862 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char closedir(); >- >-int main() { >-closedir() >-; return 0; } >-EOF >-if { (eval echo configure:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char closedir (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+closedir (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_mingwex_closedir=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_mingwex_closedir=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_closedir" >&5 >+echo "${ECHO_T}$ac_cv_lib_mingwex_closedir" >&6 >+if test $ac_cv_lib_mingwex_closedir = yes; then > HaveLibMingwEx=YES > else >- echo "$ac_t""no" 1>&6 >-HaveLibMingwEx=NO >+ HaveLibMingwEx=NO > fi > > > > if test $HaveLibMingwEx = YES ; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_MINGWEX 1 >-EOF >+_ACEOF > > fi > > if test "$HaveLibGmp" = "NO"; then > if test "$HostArch_CPP" = "ia64"; then >-{ echo "configure: error: You need to install libgmp (the in-tree version does not work on IA64)." 1>&2; exit 1; } >+{ { echo "$as_me:$LINENO: error: You need to install libgmp (the in-tree version does not work on IA64)." >&5 >+echo "$as_me: error: You need to install libgmp (the in-tree version does not work on IA64)." >&2;} >+ { (exit 1); exit 1; }; } > fi; > fi; > >-echo $ac_n "checking for GNU regex in libc""... $ac_c" 1>&6 >-echo "configure:9910: checking for GNU regex in libc" >&5 >-if eval "test \"`echo '$''{'fptools_cv_have_regex'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for GNU regex in libc" >&5 >+echo $ECHO_N "checking for GNU regex in libc... $ECHO_C" >&6 >+if test "${fptools_cv_have_regex+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 9915 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #if HAVE_UNISTD_H > #include <unistd.h> > #endif > #include <regex.h> > >-int main() { >- struct re_pattern_buffer patbuf; >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ struct re_pattern_buffer patbuf; > re_compile_pattern("",0,&patbuf); >- re_search_2 (&patbuf, "", 0, "",0, 0,0,0,0); >-; return 0; } >-EOF >-if { (eval echo configure:9928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ re_search_2 (&patbuf, "", 0, "",0, 0,0,0,0); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_have_regex=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_cv_have_regex=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_cv_have_regex=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >- >-echo "$ac_t""$fptools_cv_have_regex" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_have_regex" >&5 >+echo "${ECHO_T}$fptools_cv_have_regex" >&6 > if test "$fptools_cv_have_regex" = yes; then > HaveGNURegex=YES > else >@@ -9945,216 +17903,312 @@ > > > >-echo $ac_n "checking for xmalloc in -liberty""... $ac_c" 1>&6 >-echo "configure:9950: checking for xmalloc in -liberty" >&5 >-ac_lib_var=`echo iberty'_'xmalloc | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for xmalloc in -liberty" >&5 >+echo $ECHO_N "checking for xmalloc in -liberty... $ECHO_C" >&6 >+if test "${ac_cv_lib_iberty_xmalloc+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-liberty $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 9958 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char xmalloc(); >- >-int main() { >-xmalloc() >-; return 0; } >-EOF >-if { (eval echo configure:9969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_lib=HAVE_LIB`echo iberty | sed -e 's/[^a-zA-Z0-9_]/_/g' \ >- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_lib 1 >-EOF >+ builtin and then its argument prototype would still apply. */ >+char xmalloc (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+xmalloc (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_iberty_xmalloc=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_iberty_xmalloc=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_xmalloc" >&5 >+echo "${ECHO_T}$ac_cv_lib_iberty_xmalloc" >&6 >+if test $ac_cv_lib_iberty_xmalloc = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define HAVE_LIBIBERTY 1 >+_ACEOF > > LIBS="-liberty $LIBS" > >-else >- echo "$ac_t""no" 1>&6 > fi > >-echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 >-echo "configure:9997: checking for bfd_init in -lbfd" >&5 >-ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for bfd_init in -lbfd" >&5 >+echo $ECHO_N "checking for bfd_init in -lbfd... $ECHO_C" >&6 >+if test "${ac_cv_lib_bfd_bfd_init+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lbfd $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10005 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char bfd_init(); >- >-int main() { >-bfd_init() >-; return 0; } >-EOF >-if { (eval echo configure:10016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_lib=HAVE_LIB`echo bfd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ >- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_lib 1 >-EOF >+ builtin and then its argument prototype would still apply. */ >+char bfd_init (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+bfd_init (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_bfd_bfd_init=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_bfd_bfd_init=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_init" >&5 >+echo "${ECHO_T}$ac_cv_lib_bfd_bfd_init" >&6 >+if test $ac_cv_lib_bfd_bfd_init = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define HAVE_LIBBFD 1 >+_ACEOF > > LIBS="-lbfd $LIBS" > >-else >- echo "$ac_t""no" 1>&6 > fi > > >-echo $ac_n "checking for tputs in -lncurses""... $ac_c" 1>&6 >-echo "configure:10045: checking for tputs in -lncurses" >&5 >-ac_lib_var=`echo ncurses'_'tputs | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for tputs in -lncurses" >&5 >+echo $ECHO_N "checking for tputs in -lncurses... $ECHO_C" >&6 >+if test "${ac_cv_lib_ncurses_tputs+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lncurses $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10053 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char tputs(); >- >-int main() { >-tputs() >-; return 0; } >-EOF >-if { (eval echo configure:10064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char tputs (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+tputs (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_ncurses_tputs=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_ncurses_tputs=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tputs" >&5 >+echo "${ECHO_T}$ac_cv_lib_ncurses_tputs" >&6 >+if test $ac_cv_lib_ncurses_tputs = yes; then > HaveLibTermcap=YES; LibTermcap=ncurses > else >- echo "$ac_t""no" 1>&6 >-echo $ac_n "checking for tputs in -ltermcap""... $ac_c" 1>&6 >-echo "configure:10083: checking for tputs in -ltermcap" >&5 >-ac_lib_var=`echo termcap'_'tputs | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for tputs in -ltermcap" >&5 >+echo $ECHO_N "checking for tputs in -ltermcap... $ECHO_C" >&6 >+if test "${ac_cv_lib_termcap_tputs+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-ltermcap $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10091 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char tputs(); >- >-int main() { >-tputs() >-; return 0; } >-EOF >-if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char tputs (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+tputs (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_termcap_tputs=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_termcap_tputs=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tputs" >&5 >+echo "${ECHO_T}$ac_cv_lib_termcap_tputs" >&6 >+if test $ac_cv_lib_termcap_tputs = yes; then > HaveLibTermcap=YES; LibTermcap=termcap > else >- echo "$ac_t""no" 1>&6 >-echo $ac_n "checking for tputs in -lcurses""... $ac_c" 1>&6 >-echo "configure:10121: checking for tputs in -lcurses" >&5 >-ac_lib_var=`echo curses'_'tputs | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for tputs in -lcurses" >&5 >+echo $ECHO_N "checking for tputs in -lcurses... $ECHO_C" >&6 >+if test "${ac_cv_lib_curses_tputs+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lcurses $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10129 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char tputs(); >- >-int main() { >-tputs() >-; return 0; } >-EOF >-if { (eval echo configure:10140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char tputs (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+tputs (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_curses_tputs=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_curses_tputs=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tputs" >&5 >+echo "${ECHO_T}$ac_cv_lib_curses_tputs" >&6 >+if test $ac_cv_lib_curses_tputs = yes; then > HaveLibTermcap=YES; LibTermcap=curses > else >- echo "$ac_t""no" 1>&6 >-HaveLibTermcap=NO; LibTermcap=not-installed >+ HaveLibTermcap=NO; LibTermcap=not-installed > fi > > fi >@@ -10164,167 +18218,227 @@ > > if test $HaveLibTermcap = YES ; then > LIBS="-l$LibTermcap $LIBS" >- echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6 >-echo "configure:10169: checking for readline in -lreadline" >&5 >-ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 >+echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6 >+if test "${ac_cv_lib_readline_readline+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lreadline $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10177 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char readline(); >- >-int main() { >-readline() >-; return 0; } >-EOF >-if { (eval echo configure:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char readline (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+readline (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_readline_readline=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_readline_readline=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5 >+echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6 >+if test $ac_cv_lib_readline_readline = yes; then > HaveLibReadline=YES > else >- echo "$ac_t""no" 1>&6 >-HaveLibReadline=NO >+ HaveLibReadline=NO > fi > > fi > > if test $HaveLibTermcap = YES && test x"$HaveLibReadline" = xYES ; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_LIBS 1 >-EOF >+_ACEOF > > LibsReadline="readline $LibTermcap" > else >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_LIBS 0 >-EOF >+_ACEOF > > LibsReadline= > fi > > > if test "$HaveLibReadline"; then >- echo $ac_n "checking for rl_erase_empty_line in -lreadline""... $ac_c" 1>&6 >-echo "configure:10228: checking for rl_erase_empty_line in -lreadline" >&5 >-ac_lib_var=`echo readline'_'rl_erase_empty_line | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for rl_erase_empty_line in -lreadline" >&5 >+echo $ECHO_N "checking for rl_erase_empty_line in -lreadline... $ECHO_C" >&6 >+if test "${ac_cv_lib_readline_rl_erase_empty_line+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lreadline $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10236 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char rl_erase_empty_line(); >- >-int main() { >-rl_erase_empty_line() >-; return 0; } >-EOF >-if { (eval echo configure:10247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- cat >> confdefs.h <<\EOF >+ builtin and then its argument prototype would still apply. */ >+char rl_erase_empty_line (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+rl_erase_empty_line (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_readline_rl_erase_empty_line=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_readline_rl_erase_empty_line=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_erase_empty_line" >&5 >+echo "${ECHO_T}$ac_cv_lib_readline_rl_erase_empty_line" >&6 >+if test $ac_cv_lib_readline_rl_erase_empty_line = yes; then >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_4 1 >-EOF >+_ACEOF > > else >- echo "$ac_t""no" 1>&6 >-cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_4 0 >-EOF >+_ACEOF > > fi > >- echo $ac_n "checking for rl_free_undo_list in -lreadline""... $ac_c" 1>&6 >-echo "configure:10275: checking for rl_free_undo_list in -lreadline" >&5 >-ac_lib_var=`echo readline'_'rl_free_undo_list | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for rl_free_undo_list in -lreadline" >&5 >+echo $ECHO_N "checking for rl_free_undo_list in -lreadline... $ECHO_C" >&6 >+if test "${ac_cv_lib_readline_rl_free_undo_list+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lreadline $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10283 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char rl_free_undo_list(); >- >-int main() { >-rl_free_undo_list() >-; return 0; } >-EOF >-if { (eval echo configure:10294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- cat >> confdefs.h <<\EOF >+ builtin and then its argument prototype would still apply. */ >+char rl_free_undo_list (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+rl_free_undo_list (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_readline_rl_free_undo_list=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_readline_rl_free_undo_list=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_free_undo_list" >&5 >+echo "${ECHO_T}$ac_cv_lib_readline_rl_free_undo_list" >&6 >+if test $ac_cv_lib_readline_rl_free_undo_list = yes; then >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_4_2 1 >-EOF >+_ACEOF > > else >- echo "$ac_t""no" 1>&6 >-cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_4_2 0 >-EOF >+_ACEOF > > fi > > else >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_4 0 >-EOF >+_ACEOF > >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_READLINE_4_2 0 >-EOF >+_ACEOF > > fi > >@@ -10334,118 +18448,171 @@ > # These system don't have libm > ;; > *-ncr-sysv4.3*) >- echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 >-echo "configure:10339: checking for _mwvalidcheckl in -lmw" >&5 >-ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5 >+echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6 >+if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lmw $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10347 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char _mwvalidcheckl(); >- >-int main() { >-_mwvalidcheckl() >-; return 0; } >-EOF >-if { (eval echo configure:10358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char _mwvalidcheckl (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+_mwvalidcheckl (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_mw__mwvalidcheckl=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_mw__mwvalidcheckl=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 >+echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6 >+if test $ac_cv_lib_mw__mwvalidcheckl = yes; then > LIBM="-lmw" >-else >- echo "$ac_t""no" 1>&6 > fi > >- echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 >-echo "configure:10379: checking for main in -lm" >&5 >-ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for main in -lm" >&5 >+echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 >+if test "${ac_cv_lib_m_main+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lm $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10387 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > >-int main() { >-main() >-; return 0; } >-EOF >-if { (eval echo configure:10394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" > >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+main (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_m_main=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_m_main=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 >+echo "${ECHO_T}$ac_cv_lib_m_main" >&6 >+if test $ac_cv_lib_m_main = yes; then > LIBM="$LIBM -lm" >-else >- echo "$ac_t""no" 1>&6 > fi > > ;; > *) >- echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 >-echo "configure:10417: checking for main in -lm" >&5 >-ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for main in -lm" >&5 >+echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 >+if test "${ac_cv_lib_m_main+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lm $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10425 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > >-int main() { >-main() >-; return 0; } >-EOF >-if { (eval echo configure:10432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" > >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+main (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_m_main=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_m_main=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 >+echo "${ECHO_T}$ac_cv_lib_m_main" >&6 >+if test $ac_cv_lib_m_main = yes; then > LIBM="-lm" >-else >- echo "$ac_t""no" 1>&6 > fi > > ;; >@@ -10456,19 +18623,15 @@ > case $HostOS_CPP in > cygwin32) ;; > mingw32) ;; >-*) # If we find X, set shell vars x_includes and x_libraries to the >-# paths, otherwise set no_x=yes. >-# Uses ac_ vars as temps to allow command line to override cache and checks. >-# --without-x overrides everything else, but does not touch the cache. >-echo $ac_n "checking for X""... $ac_c" 1>&6 >-echo "configure:10465: checking for X" >&5 >+*) echo "$as_me:$LINENO: checking for X" >&5 >+echo $ECHO_N "checking for X... $ECHO_C" >&6 >+ > > # Check whether --with-x or --without-x was given. > if test "${with_x+set}" = set; then > withval="$with_x" >- : >-fi > >+fi; > # $have_x is `yes', `no', `disabled', or empty when we do not yet know. > if test "x$with_x" = xno; then > # The user explicitly disabled X. >@@ -10478,193 +18641,180 @@ > # Both variables are already set. > have_x=yes > else >-if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ if test "${ac_cv_have_x+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > # One or both of the vars are not set, and there is no cached value. >-ac_x_includes=NO ac_x_libraries=NO >-rm -fr conftestdir >-if mkdir conftestdir; then >- cd conftestdir >+ac_x_includes=no ac_x_libraries=no >+rm -fr conftest.dir >+if mkdir conftest.dir; then >+ cd conftest.dir > # Make sure to not put "make" in the Imakefile rules, since we grep it out. >- cat > Imakefile <<'EOF' >+ cat >Imakefile <<'_ACEOF' > acfindx: > @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' >-EOF >+_ACEOF > if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then > # GNU make sometimes prints "make[1]: Entering...", which would confuse us. > eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` > # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. > for ac_extension in a so sl; do > if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && >- test -f $ac_im_libdir/libX11.$ac_extension; then >+ test -f $ac_im_libdir/libX11.$ac_extension; then > ac_im_usrlibdir=$ac_im_libdir; break > fi > done > # Screen out bogus values from the imake configuration. They are > # bogus both because they are the default anyway, and because > # using them would break gcc on systems where it needs fixed includes. >- case "$ac_im_incroot" in >+ case $ac_im_incroot in > /usr/include) ;; >- *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; >+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; > esac >- case "$ac_im_usrlibdir" in >+ case $ac_im_usrlibdir in > /usr/lib | /lib) ;; >- *) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; >+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; > esac > fi > cd .. >- rm -fr conftestdir >+ rm -fr conftest.dir > fi > >-if test "$ac_x_includes" = NO; then >- # Guess where to find include files, by looking for this one X11 .h file. >- test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h >+# Standard set of common directories for X headers. >+# Check X11 before X11Rn because it is often a symlink to the current release. >+ac_x_header_dirs=' >+/usr/X11/include >+/usr/X11R6/include >+/usr/X11R5/include >+/usr/X11R4/include >+ >+/usr/include/X11 >+/usr/include/X11R6 >+/usr/include/X11R5 >+/usr/include/X11R4 >+ >+/usr/local/X11/include >+/usr/local/X11R6/include >+/usr/local/X11R5/include >+/usr/local/X11R4/include >+ >+/usr/local/include/X11 >+/usr/local/include/X11R6 >+/usr/local/include/X11R5 >+/usr/local/include/X11R4 >+ >+/usr/X386/include >+/usr/x386/include >+/usr/XFree86/include/X11 >+ >+/usr/include >+/usr/local/include >+/usr/unsupported/include >+/usr/athena/include >+/usr/local/x11r5/include >+/usr/lpp/Xamples/include >+ >+/usr/openwin/include >+/usr/openwin/share/include' > >+if test "$ac_x_includes" = no; then >+ # Guess where to find include files, by looking for Intrinsic.h. > # First, try using that file with no special directory specified. >-cat > conftest.$ac_ext <<EOF >-#line 10527 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-#include <$x_direct_test_include> >-EOF >-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" >-{ (eval echo configure:10532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } >-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` >-if test -z "$ac_err"; then >- rm -rf conftest* >+#include <X11/Intrinsic.h> >+_ACEOF >+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 >+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 >+ ac_status=$? >+ egrep -v '^ *\+' conftest.er1 >conftest.err >+ rm -f conftest.er1 >+ cat conftest.err >&5 >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } >/dev/null; then >+ if test -s conftest.err; then >+ ac_cpp_err=$ac_c_preproc_warn_flag >+ else >+ ac_cpp_err= >+ fi >+else >+ ac_cpp_err=yes >+fi >+if test -z "$ac_cpp_err"; then > # We can compile using X headers with no special include directory. > ac_x_includes= > else >- echo "$ac_err" >&5 >- echo "configure: failed program was:" >&5 >+ echo "$as_me: failed program was:" >&5 > cat conftest.$ac_ext >&5 >- rm -rf conftest* >- # Look for the header file in a standard set of common directories. >-# Check X11 before X11Rn because it is often a symlink to the current release. >- for ac_dir in \ >- /usr/X11/include \ >- /usr/X11R6/include \ >- /usr/X11R5/include \ >- /usr/X11R4/include \ >- \ >- /usr/include/X11 \ >- /usr/include/X11R6 \ >- /usr/include/X11R5 \ >- /usr/include/X11R4 \ >- \ >- /usr/local/X11/include \ >- /usr/local/X11R6/include \ >- /usr/local/X11R5/include \ >- /usr/local/X11R4/include \ >- \ >- /usr/local/include/X11 \ >- /usr/local/include/X11R6 \ >- /usr/local/include/X11R5 \ >- /usr/local/include/X11R4 \ >- \ >- /usr/X386/include \ >- /usr/x386/include \ >- /usr/XFree86/include/X11 \ >- \ >- /usr/include \ >- /usr/local/include \ >- /usr/unsupported/include \ >- /usr/athena/include \ >- /usr/local/x11r5/include \ >- /usr/lpp/Xamples/include \ >- \ >- /usr/openwin/include \ >- /usr/openwin/share/include \ >- ; \ >- do >- if test -r "$ac_dir/$x_direct_test_include"; then >- ac_x_includes=$ac_dir >- break >- fi >- done >+ for ac_dir in $ac_x_header_dirs; do >+ if test -r "$ac_dir/X11/Intrinsic.h"; then >+ ac_x_includes=$ac_dir >+ break >+ fi >+done > fi >-rm -f conftest* >-fi # $ac_x_includes = NO >+rm -f conftest.err conftest.$ac_ext >+fi # $ac_x_includes = no > >-if test "$ac_x_libraries" = NO; then >+if test "$ac_x_libraries" = no; then > # Check for the libraries. >- >- test -z "$x_direct_test_library" && x_direct_test_library=Xt >- test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc >- > # See if we find them without any special options. > # Don't add to $LIBS permanently. >- ac_save_LIBS="$LIBS" >- LIBS="-l$x_direct_test_library $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10601 "configure" >-#include "confdefs.h" >- >-int main() { >-${x_direct_test_function}() >-; return 0; } >-EOF >-if { (eval echo configure:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- LIBS="$ac_save_LIBS" >+ ac_save_LIBS=$LIBS >+ LIBS="-lXt $LIBS" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+#include <X11/Intrinsic.h> >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+XtMalloc (0) >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ LIBS=$ac_save_LIBS > # We can link X programs with no special library path. > ac_x_libraries= > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- LIBS="$ac_save_LIBS" >-# First see if replacing the include by lib works. >-# Check X11 before X11Rn because it is often a symlink to the current release. >-for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ >- /usr/X11/lib \ >- /usr/X11R6/lib \ >- /usr/X11R5/lib \ >- /usr/X11R4/lib \ >- \ >- /usr/lib/X11 \ >- /usr/lib/X11R6 \ >- /usr/lib/X11R5 \ >- /usr/lib/X11R4 \ >- \ >- /usr/local/X11/lib \ >- /usr/local/X11R6/lib \ >- /usr/local/X11R5/lib \ >- /usr/local/X11R4/lib \ >- \ >- /usr/local/lib/X11 \ >- /usr/local/lib/X11R6 \ >- /usr/local/lib/X11R5 \ >- /usr/local/lib/X11R4 \ >- \ >- /usr/X386/lib \ >- /usr/x386/lib \ >- /usr/XFree86/lib/X11 \ >- \ >- /usr/lib \ >- /usr/local/lib \ >- /usr/unsupported/lib \ >- /usr/athena/lib \ >- /usr/local/x11r5/lib \ >- /usr/lpp/Xamples/lib \ >- /lib/usr/lib/X11 \ >- \ >- /usr/openwin/lib \ >- /usr/openwin/share/lib \ >- ; \ >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+LIBS=$ac_save_LIBS >+for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` > do >+ # Don't even attempt the hair of trying to link an X program! > for ac_extension in a so sl; do >- if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then >+ if test -r $ac_dir/libXt.$ac_extension; then > ac_x_libraries=$ac_dir > break 2 > fi > done > done > fi >-rm -f conftest* >-fi # $ac_x_libraries = NO >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi # $ac_x_libraries = no > >-if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then >+if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then > # Didn't find X anywhere. Cache the known absence of X. > ac_cv_have_x="have_x=no" > else >@@ -10673,12 +18823,14 @@ > ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" > fi > fi >+ > fi > eval "$ac_cv_have_x" > fi # $with_x != no > > if test "$have_x" != yes; then >- echo "$ac_t""$have_x" 1>&6 >+ echo "$as_me:$LINENO: result: $have_x" >&5 >+echo "${ECHO_T}$have_x" >&6 > no_x=yes > else > # If each of the values was on the command line, it overrides each guess. >@@ -10687,14 +18839,16 @@ > # Update the cache value to reflect the command line values. > ac_cv_have_x="have_x=yes \ > ac_x_includes=$x_includes ac_x_libraries=$x_libraries" >- echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 >+ echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 >+echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 > fi > > if test "$no_x" = yes; then > # Not all programs may use this symbol, but it does not hurt to define it. >- cat >> confdefs.h <<\EOF >+ >+cat >>confdefs.h <<\_ACEOF > #define X_DISPLAY_MISSING 1 >-EOF >+_ACEOF > > X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= > else >@@ -10707,60 +18861,101 @@ > X_LIBS="$X_LIBS -L$x_libraries" > # For Solaris; some versions of Sun CC require a space after -R and > # others require no space. Words are not sufficient . . . . >- case "`(uname -sr) 2>/dev/null`" in >+ case `(uname -sr) 2>/dev/null` in > "SunOS 5"*) >- echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 >-echo "configure:10714: checking whether -R must be followed by a space" >&5 >- ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" >- cat > conftest.$ac_ext <<EOF >-#line 10717 "configure" >+ echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 >+echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 >+ ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > >-; return 0; } >-EOF >-if { (eval echo configure:10724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_R_nospace=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_R_nospace=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_R_nospace=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > if test $ac_R_nospace = yes; then >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > X_LIBS="$X_LIBS -R$x_libraries" > else > LIBS="$ac_xsave_LIBS -R $x_libraries" >- cat > conftest.$ac_ext <<EOF >-#line 10740 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > >-; return 0; } >-EOF >-if { (eval echo configure:10747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_R_space=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_R_space=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_R_space=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > if test $ac_R_space = yes; then >- echo "$ac_t""yes" 1>&6 >+ echo "$as_me:$LINENO: result: yes" >&5 >+echo "${ECHO_T}yes" >&6 > X_LIBS="$X_LIBS -R $x_libraries" > else >- echo "$ac_t""neither works" 1>&6 >+ echo "$as_me:$LINENO: result: neither works" >&5 >+echo "${ECHO_T}neither works" >&6 > fi > fi >- LIBS="$ac_xsave_LIBS" >+ LIBS=$ac_xsave_LIBS > esac > fi > >@@ -10771,532 +18966,841 @@ > if test "$ISC" = yes; then > X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" > else >- # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X >- # libraries were built with DECnet support. And karl@cs.umb.edu says >+ # Martyn Johnson says this is needed for Ultrix, if the X >+ # libraries were built with DECnet support. And Karl Berry says > # the Alpha needs dnet_stub (dnet does not exist). >- echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 >-echo "configure:10779: checking for dnet_ntoa in -ldnet" >&5 >-ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- ac_save_LIBS="$LIBS" >-LIBS="-ldnet $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10787 "configure" >+ ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char dnet_ntoa(); >- >-int main() { >-dnet_ntoa() >-; return 0; } >-EOF >-if { (eval echo configure:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >+ builtin and then its argument prototype would still apply. */ >+char XOpenDisplay (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+XOpenDisplay (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ : > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 >+echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 >+if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_check_lib_save_LIBS=$LIBS >+LIBS="-ldnet $LIBS" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" > >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+/* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif >+/* We use char because int might match the return type of a gcc2 >+ builtin and then its argument prototype would still apply. */ >+char dnet_ntoa (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+dnet_ntoa (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_dnet_dnet_ntoa=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_dnet_dnet_ntoa=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 >+echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 >+if test $ac_cv_lib_dnet_dnet_ntoa = yes; then > X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" >-else >- echo "$ac_t""no" 1>&6 > fi > > if test $ac_cv_lib_dnet_dnet_ntoa = no; then >- echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 >-echo "configure:10820: checking for dnet_ntoa in -ldnet_stub" >&5 >-ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 >+echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 >+if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-ldnet_stub $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10828 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char dnet_ntoa(); >- >-int main() { >-dnet_ntoa() >-; return 0; } >-EOF >-if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char dnet_ntoa (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+dnet_ntoa (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_dnet_stub_dnet_ntoa=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_dnet_stub_dnet_ntoa=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 >+echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 >+if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then > X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" >-else >- echo "$ac_t""no" 1>&6 > fi > > fi >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+ LIBS="$ac_xsave_LIBS" > > # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, > # to get the SysV transport functions. >- # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) >+ # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) > # needs -lnsl. > # The nsl library prevents programs from opening the X display >- # on Irix 5.2, according to dickey@clark.net. >- echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 >-echo "configure:10868: checking for gethostbyname" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ # on Irix 5.2, according to T.E. Dickey. >+ # The functions gethostbyname, getservbyname, and inet_addr are >+ # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. >+ echo "$as_me:$LINENO: checking for gethostbyname" >&5 >+echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 >+if test "${ac_cv_func_gethostbyname+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 10873 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char gethostbyname(); below. */ >+ which can conflict with char gethostbyname (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char gethostbyname(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char gethostbyname (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) > choke me > #else >-gethostbyname(); >+f = gethostbyname; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:10896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_gethostbyname=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_gethostbyname=no" >-fi >-rm -f conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_func_gethostbyname=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_func_gethostbyname=no > fi >- >-if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- : >-else >- echo "$ac_t""no" 1>&6 >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >+echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 >+echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 > > if test $ac_cv_func_gethostbyname = no; then >- echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 >-echo "configure:10917: checking for gethostbyname in -lnsl" >&5 >-ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 >+echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 >+if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lnsl $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 10925 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char gethostbyname(); >- >-int main() { >-gethostbyname() >-; return 0; } >-EOF >-if { (eval echo configure:10936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >+ builtin and then its argument prototype would still apply. */ >+char gethostbyname (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+gethostbyname (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_nsl_gethostbyname=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_nsl_gethostbyname=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 >+echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 >+if test $ac_cv_lib_nsl_gethostbyname = yes; then >+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" > fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" > >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" >-else >- echo "$ac_t""no" 1>&6 >+ if test $ac_cv_lib_nsl_gethostbyname = no; then >+ echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 >+echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 >+if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ ac_check_lib_save_LIBS=$LIBS >+LIBS="-lbsd $LIBS" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+ >+/* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif >+/* We use char because int might match the return type of a gcc2 >+ builtin and then its argument prototype would still apply. */ >+char gethostbyname (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+gethostbyname (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_bsd_gethostbyname=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_bsd_gethostbyname=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 >+echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 >+if test $ac_cv_lib_bsd_gethostbyname = yes; then >+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" > fi > >+ fi > fi > > # lieder@skyler.mavd.honeywell.com says without -lsocket, > # socket/setsockopt and other routines are undefined under SCO ODT > # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary >- # on later versions), says simon@lia.di.epfl.ch: it contains >- # gethostby* variants that don't use the nameserver (or something). >- # -lsocket must be given before -lnsl if both are needed. >- # We assume that if connect needs -lnsl, so does gethostbyname. >- echo $ac_n "checking for connect""... $ac_c" 1>&6 >-echo "configure:10966: checking for connect" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ # on later versions), says Simon Leinen: it contains gethostby* >+ # variants that don't use the name server (or something). -lsocket >+ # must be given before -lnsl if both are needed. We assume that >+ # if connect needs -lnsl, so does gethostbyname. >+ echo "$as_me:$LINENO: checking for connect" >&5 >+echo $ECHO_N "checking for connect... $ECHO_C" >&6 >+if test "${ac_cv_func_connect+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 10971 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char connect(); below. */ >+ which can conflict with char connect (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char connect(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char connect (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_connect) || defined (__stub___connect) > choke me > #else >-connect(); >+f = connect; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:10994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_connect=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_connect=no" >-fi >-rm -f conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_func_connect=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_func_connect=no > fi >- >-if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- : >-else >- echo "$ac_t""no" 1>&6 >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >+echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 >+echo "${ECHO_T}$ac_cv_func_connect" >&6 > > if test $ac_cv_func_connect = no; then >- echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 >-echo "configure:11015: checking for connect in -lsocket" >&5 >-ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 >+echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 >+if test "${ac_cv_lib_socket_connect+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lsocket $X_EXTRA_LIBS $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11023 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char connect(); >- >-int main() { >-connect() >-; return 0; } >-EOF >-if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char connect (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+connect (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_socket_connect=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_socket_connect=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 >+echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 >+if test $ac_cv_lib_socket_connect = yes; then > X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" >-else >- echo "$ac_t""no" 1>&6 > fi > > fi > >- # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. >- echo $ac_n "checking for remove""... $ac_c" 1>&6 >-echo "configure:11058: checking for remove" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ # Guillermo Gomez says -lposix is necessary on A/UX. >+ echo "$as_me:$LINENO: checking for remove" >&5 >+echo $ECHO_N "checking for remove... $ECHO_C" >&6 >+if test "${ac_cv_func_remove+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 11063 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char remove(); below. */ >+ which can conflict with char remove (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char remove(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char remove (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_remove) || defined (__stub___remove) > choke me > #else >-remove(); >+f = remove; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:11086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_remove=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_remove=no" >-fi >-rm -f conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_func_remove=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_func_remove=no > fi >- >-if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- : >-else >- echo "$ac_t""no" 1>&6 >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >+echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 >+echo "${ECHO_T}$ac_cv_func_remove" >&6 > > if test $ac_cv_func_remove = no; then >- echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 >-echo "configure:11107: checking for remove in -lposix" >&5 >-ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for remove in -lposix" >&5 >+echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 >+if test "${ac_cv_lib_posix_remove+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lposix $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11115 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char remove(); >- >-int main() { >-remove() >-; return 0; } >-EOF >-if { (eval echo configure:11126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char remove (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+remove (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_posix_remove=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_posix_remove=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 >+echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 >+if test $ac_cv_lib_posix_remove = yes; then > X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" >-else >- echo "$ac_t""no" 1>&6 > fi > > fi > > # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. >- echo $ac_n "checking for shmat""... $ac_c" 1>&6 >-echo "configure:11150: checking for shmat" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for shmat" >&5 >+echo $ECHO_N "checking for shmat... $ECHO_C" >&6 >+if test "${ac_cv_func_shmat+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 11155 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char shmat(); below. */ >+ which can conflict with char shmat (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char shmat(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char shmat (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_shmat) || defined (__stub___shmat) > choke me > #else >-shmat(); >+f = shmat; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:11178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_shmat=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_shmat=no" >-fi >-rm -f conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_func_shmat=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_func_shmat=no > fi >- >-if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- : >-else >- echo "$ac_t""no" 1>&6 >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >+echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 >+echo "${ECHO_T}$ac_cv_func_shmat" >&6 > > if test $ac_cv_func_shmat = no; then >- echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 >-echo "configure:11199: checking for shmat in -lipc" >&5 >-ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 >+echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 >+if test "${ac_cv_lib_ipc_shmat+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lipc $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11207 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char shmat(); >- >-int main() { >-shmat() >-; return 0; } >-EOF >-if { (eval echo configure:11218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char shmat (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+shmat (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_ipc_shmat=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_ipc_shmat=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 >+echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 >+if test $ac_cv_lib_ipc_shmat = yes; then > X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" >-else >- echo "$ac_t""no" 1>&6 > fi > > fi > fi > > # Check for libraries that X11R6 Xt/Xaw programs need. >- ac_save_LDFLAGS="$LDFLAGS" >+ ac_save_LDFLAGS=$LDFLAGS > test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" > # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to > # check for ICE first), but we must link in the order -lSM -lICE or > # we get undefined symbols. So assume we have SM if we have ICE. > # These have to be linked with before -lX11, unlike the other > # libraries we check for below, so use a different variable. >- # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. >- echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 >-echo "configure:11251: checking for IceConnectionNumber in -lICE" >&5 >-ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ # John Interrante, Karl Berry >+ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 >+echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 >+if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lICE $X_EXTRA_LIBS $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11259 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char IceConnectionNumber(); >- >-int main() { >-IceConnectionNumber() >-; return 0; } >-EOF >-if { (eval echo configure:11270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char IceConnectionNumber (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+IceConnectionNumber (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_ICE_IceConnectionNumber=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_ICE_IceConnectionNumber=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 >+echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 >+if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then > X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" >-else >- echo "$ac_t""no" 1>&6 > fi > >- LDFLAGS="$ac_save_LDFLAGS" >+ LDFLAGS=$ac_save_LDFLAGS > > fi > ;; > esac > > >- >- >- >- >+ >+ >+ >+ > > # Check whether --enable-Mesa or --disable-Mesa was given. > if test "${enable_Mesa+set}" = set; then >@@ -11304,8 +19808,7 @@ > use_Mesa=$enableval > else > use_Mesa=no >-fi >- >+fi; > > if test x"$use_Mesa" = xyes; then > GL_search_list="MesaGL GL opengl32" >@@ -11315,15 +19818,15 @@ > GL_search_list="GL opengl32 MesaGL" > GLU_search_list="GLU glu32 MesaGLU" > GLX_search_list="GLX MesaGLX" >- fi >+ fi >+ >+ > >- > ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. > ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > > > if ! test x"$no_x" = xyes; then >@@ -11336,216 +19839,376 @@ > GL_save_LIBS="$LIBS" > LIBS="$GL_X_LIBS" > >- >-echo $ac_n "checking for library containing glEnd""... $ac_c" 1>&6 >-echo "configure:11342: checking for library containing glEnd" >&5 >-if eval "test \"`echo '$''{'ac_cv_search_glEnd'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for library containing glEnd" >&5 >+echo $ECHO_N "checking for library containing glEnd... $ECHO_C" >&6 >+if test "${ac_cv_search_glEnd+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > ac_func_search_save_LIBS="$LIBS" > ac_cv_search_glEnd="no" >-cat > conftest.$ac_ext <<EOF >-#line 11349 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/gl.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > glEnd() >-; return 0; } >-EOF >-if { (eval echo configure:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_glEnd="none required" > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > test "$ac_cv_search_glEnd" = "no" && for i in $GL_search_list; do > LIBS="-l$i $ac_func_search_save_LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11367 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/gl.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > glEnd() >-; return 0; } >-EOF >-if { (eval echo configure:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_glEnd="-l$i" > break > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > done > LIBS="$ac_func_search_save_LIBS" > fi >- >-echo "$ac_t""$ac_cv_search_glEnd" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_search_glEnd" >&5 >+echo "${ECHO_T}$ac_cv_search_glEnd" >&6 > if test "$ac_cv_search_glEnd" != "no"; then > test "$ac_cv_search_glEnd" = "none required" || LIBS="$ac_cv_search_glEnd $LIBS" > have_GL=yes > else : > have_GL=no > fi >- >-echo $ac_n "checking for library containing gluNewQuadric""... $ac_c" 1>&6 >-echo "configure:11396: checking for library containing gluNewQuadric" >&5 >-if eval "test \"`echo '$''{'ac_cv_search_gluNewQuadric'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for library containing gluNewQuadric" >&5 >+echo $ECHO_N "checking for library containing gluNewQuadric... $ECHO_C" >&6 >+if test "${ac_cv_search_gluNewQuadric+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > ac_func_search_save_LIBS="$LIBS" > ac_cv_search_gluNewQuadric="no" >-cat > conftest.$ac_ext <<EOF >-#line 11403 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/glu.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > gluNewQuadric() >-; return 0; } >-EOF >-if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_gluNewQuadric="none required" > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > test "$ac_cv_search_gluNewQuadric" = "no" && for i in $GLU_search_list; do > LIBS="-l$i $ac_func_search_save_LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11421 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/glu.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > gluNewQuadric() >-; return 0; } >-EOF >-if { (eval echo configure:11428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_gluNewQuadric="-l$i" > break > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > done > LIBS="$ac_func_search_save_LIBS" > fi >- >-echo "$ac_t""$ac_cv_search_gluNewQuadric" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_search_gluNewQuadric" >&5 >+echo "${ECHO_T}$ac_cv_search_gluNewQuadric" >&6 > if test "$ac_cv_search_gluNewQuadric" != "no"; then > test "$ac_cv_search_gluNewQuadric" = "none required" || LIBS="$ac_cv_search_gluNewQuadric $LIBS" > have_GLU=yes > else : > have_GLU=no > fi >- >-echo $ac_n "checking for library containing glXChooseVisual""... $ac_c" 1>&6 >-echo "configure:11450: checking for library containing glXChooseVisual" >&5 >-if eval "test \"`echo '$''{'ac_cv_search_glXChooseVisual'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for library containing glXChooseVisual" >&5 >+echo $ECHO_N "checking for library containing glXChooseVisual... $ECHO_C" >&6 >+if test "${ac_cv_search_glXChooseVisual+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > ac_func_search_save_LIBS="$LIBS" > ac_cv_search_glXChooseVisual="no" >-cat > conftest.$ac_ext <<EOF >-#line 11457 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/glx.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > glXChooseVisual() >-; return 0; } >-EOF >-if { (eval echo configure:11464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_glXChooseVisual="none required" > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > test "$ac_cv_search_glXChooseVisual" = "no" && for i in $GLX_search_list; do > LIBS="-l$i $ac_func_search_save_LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11475 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/glx.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > glXChooseVisual() >-; return 0; } >-EOF >-if { (eval echo configure:11482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_glXChooseVisual="-l$i" > break > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > done > LIBS="$ac_func_search_save_LIBS" > fi >- >-echo "$ac_t""$ac_cv_search_glXChooseVisual" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_search_glXChooseVisual" >&5 >+echo "${ECHO_T}$ac_cv_search_glXChooseVisual" >&6 > if test "$ac_cv_search_glXChooseVisual" != "no"; then > test "$ac_cv_search_glXChooseVisual" = "none required" || LIBS="$ac_cv_search_glXChooseVisual $LIBS" > have_GLX=yes > else : > have_GLX=no > fi >- >-echo $ac_n "checking for library containing glutMainLoop""... $ac_c" 1>&6 >-echo "configure:11504: checking for library containing glutMainLoop" >&5 >-if eval "test \"`echo '$''{'ac_cv_search_glutMainLoop'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for library containing glutMainLoop" >&5 >+echo $ECHO_N "checking for library containing glutMainLoop... $ECHO_C" >&6 >+if test "${ac_cv_search_glutMainLoop+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > ac_func_search_save_LIBS="$LIBS" > ac_cv_search_glutMainLoop="no" >-cat > conftest.$ac_ext <<EOF >-#line 11511 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/glut.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > glutMainLoop() >-; return 0; } >-EOF >-if { (eval echo configure:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_glutMainLoop="none required" > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > test "$ac_cv_search_glutMainLoop" = "no" && for i in glut glut32; do > LIBS="-l$i $ac_func_search_save_LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11529 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <GL/glut.h> >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > glutMainLoop() >-; return 0; } >-EOF >-if { (eval echo configure:11536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_search_glutMainLoop="-l$i" > break > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > done > LIBS="$ac_func_search_save_LIBS" > fi >- >-echo "$ac_t""$ac_cv_search_glutMainLoop" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_search_glutMainLoop" >&5 >+echo "${ECHO_T}$ac_cv_search_glutMainLoop" >&6 > if test "$ac_cv_search_glutMainLoop" != "no"; then > test "$ac_cv_search_glutMainLoop" = "none required" || LIBS="$ac_cv_search_glutMainLoop $LIBS" > have_glut=yes >@@ -11560,28 +20223,28 @@ > GL_CFLAGS= > fi > >- echo $ac_n "checking OpenGL flags""... $ac_c" 1>&6 >-echo "configure:11565: checking OpenGL flags" >&5 >-if eval "test \"`echo '$''{'mdl_cv_gl_cflags'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking OpenGL flags" >&5 >+echo $ECHO_N "checking OpenGL flags... $ECHO_C" >&6 >+if test "${mdl_cv_gl_cflags+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > mdl_cv_gl_cflags="$GL_CFLAGS" > fi >- >-echo "$ac_t""$mdl_cv_gl_cflags" 1>&6 >+echo "$as_me:$LINENO: result: $mdl_cv_gl_cflags" >&5 >+echo "${ECHO_T}$mdl_cv_gl_cflags" >&6 > GL_CFLAGS="$mdl_cv_gl_cflags" >- >- echo $ac_n "checking OpenGL libs""... $ac_c" 1>&6 >-echo "configure:11576: checking OpenGL libs" >&5 >-if eval "test \"`echo '$''{'mdl_cv_gl_libs'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+ echo "$as_me:$LINENO: checking OpenGL libs" >&5 >+echo $ECHO_N "checking OpenGL libs... $ECHO_C" >&6 >+if test "${mdl_cv_gl_libs+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > mdl_cv_gl_libs="$GL_LIBS" > fi >- >-echo "$ac_t""$mdl_cv_gl_libs" 1>&6 >+echo "$as_me:$LINENO: result: $mdl_cv_gl_libs" >&5 >+echo "${ECHO_T}$mdl_cv_gl_libs" >&6 > GL_LIBS="$mdl_cv_gl_libs" >- >+ > > GL_X_LIBS= > >@@ -11589,123 +20252,163 @@ > CPPFLAGS="$GL_save_CPPFLAGS" > > ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. > ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu > > > > > >-echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 >-echo "configure:11604: checking for dlopen in -ldl" >&5 >-ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 >+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 >+if test "${ac_cv_lib_dl_dlopen+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-ldl $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 11612 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char dlopen(); >- >-int main() { >-dlopen() >-; return 0; } >-EOF >-if { (eval echo configure:11623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char dlopen (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+dlopen (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_dl_dlopen=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_dl_dlopen=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 >+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 >+if test $ac_cv_lib_dl_dlopen = yes; then > HaveLibDL=YES >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_LIBDL 1 >-EOF >+_ACEOF > > LIBS="$LIBS -ldl" > else >- echo "$ac_t""no" 1>&6 >-HaveLibDL=NO >+ HaveLibDL=NO > fi > >+ > for ac_func in dlopen > do >-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:11652: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 11657 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then >+ cat >>confdefs.h <<_ACEOF >+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 >+_ACEOF > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >-#define $ac_tr_func 1 >-EOF >- >-else >- echo "$ac_t""no" 1>&6 > fi > done > > > >-echo $ac_n "checking for RTLD_NEXT from dlfcn.h""... $ac_c" 1>&6 >-echo "configure:11707: checking for RTLD_NEXT from dlfcn.h" >&5 >-cat > conftest.$ac_ext <<EOF >-#line 11709 "configure" >+echo "$as_me:$LINENO: checking for RTLD_NEXT from dlfcn.h" >&5 >+echo $ECHO_N "checking for RTLD_NEXT from dlfcn.h... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <dlfcn.h> >@@ -11713,33 +20416,33 @@ > yes > #endif > >-EOF >+_ACEOF > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | > egrep "yes" >/dev/null 2>&1; then >- rm -rf conftest* >- >- echo "$ac_t""yes" 1>&6 >- cat >> confdefs.h <<\EOF >+ >+ echo "$as_me:$LINENO: result: yes" >&5 >+echo "${ECHO_T}yes" >&6 >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_RTLDNEXT 1 >-EOF >+_ACEOF > > HaveRtldNext=YES > > else >- rm -rf conftest* >- >- echo "$ac_t""no" 1>&6 >+ >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > HaveRtldNext=NO >- >+ > fi > rm -f conftest* >- > > >-echo $ac_n "checking for RTLD_LOCAL from dlfcn.h""... $ac_c" 1>&6 >-echo "configure:11741: checking for RTLD_LOCAL from dlfcn.h" >&5 >-cat > conftest.$ac_ext <<EOF >-#line 11743 "configure" >+ >+echo "$as_me:$LINENO: checking for RTLD_LOCAL from dlfcn.h" >&5 >+echo $ECHO_N "checking for RTLD_LOCAL from dlfcn.h... $ECHO_C" >&6 >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > #include <dlfcn.h> >@@ -11747,45 +20450,49 @@ > yes > #endif > >-EOF >+_ACEOF > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | > egrep "yes" >/dev/null 2>&1; then >- rm -rf conftest* >- >- echo "$ac_t""yes" 1>&6 >- cat >> confdefs.h <<\EOF >+ >+ echo "$as_me:$LINENO: result: yes" >&5 >+echo "${ECHO_T}yes" >&6 >+ cat >>confdefs.h <<\_ACEOF > #define HAVE_RTLDLOCAL 1 >-EOF >+_ACEOF > > HaveRtldLocal=YES > > else >- rm -rf conftest* >- >- echo "$ac_t""no" 1>&6 >+ >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > HaveRtldLocal=NO >- >+ > fi > rm -f conftest* >- > > >-echo $ac_n "checking for function_atan""... $ac_c" 1>&6 >-echo "configure:11775: checking for function_atan" >&5 >- if eval "test \"`echo '$''{'ac_cv_flag_function_atan'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking for function_atan" >&5 >+echo $ECHO_N "checking for function_atan... $ECHO_C" >&6 >+ if test "${ac_cv_flag_function_atan+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ > ac_save_LIBS="$LIBS" > LIBS=""; > cat > conftest.$ac_ext <<EOF >-#line 11783 "configure" >+#line 20485 "configure" > #include "confdefs.h" >-main() { extern char atan(); atan();; exit(0); } >+main() { extern char atan(); atan();; exit(0); } > int t() { return 0; } > EOF >-if { (eval echo configure:11788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then >- >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then >+ > LIBS="$ac_save_LIBS" > rm -rf conftest* > eval "ac_cv_flag_function_atan=yes" >@@ -11793,41 +20500,47 @@ > LIBS="$ac_save_LIBS" > rm -rf conftest* > eval "ac_cv_flag_function_atan=no" >- >+ > fi > rm -f conftest* > > >- >+ > fi > > if eval "test \"`echo '$ac_cv_flag_'function_atan`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ echo "$as_me:$LINENO: result: yes" >&5 >+echo "${ECHO_T}yes" >&6 > LIBS=" $LIBS" > ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define $ac_tr_lib 1 >-EOF >+_ACEOF > > > else >- echo "$ac_t""no" 1>&6 >- echo $ac_n "checking for library_m""... $ac_c" 1>&6 >-echo "configure:11817: checking for library_m" >&5 >- if eval "test \"`echo '$''{'ac_cv_flag_library_m'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 >+ echo "$as_me:$LINENO: checking for library_m" >&5 >+echo $ECHO_N "checking for library_m... $ECHO_C" >&6 >+ if test "${ac_cv_flag_library_m+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ > ac_save_LIBS="$LIBS" > LIBS="-lm"; > cat > conftest.$ac_ext <<EOF >-#line 11825 "configure" >+#line 20533 "configure" > #include "confdefs.h" >-main() { extern char atan(); atan();; exit(0); } >+main() { extern char atan(); atan();; exit(0); } > int t() { return 0; } > EOF >-if { (eval echo configure:11830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then >- >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; then >+ > LIBS="$ac_save_LIBS" > rm -rf conftest* > eval "ac_cv_flag_library_m=yes" >@@ -11835,26 +20548,28 @@ > LIBS="$ac_save_LIBS" > rm -rf conftest* > eval "ac_cv_flag_library_m=no" >- >+ > fi > rm -f conftest* > > >- >+ > fi > > if eval "test \"`echo '$ac_cv_flag_'library_m`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ echo "$as_me:$LINENO: result: yes" >&5 >+echo "${ECHO_T}yes" >&6 > LIBS="-lm $LIBS" > ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define $ac_tr_lib 1 >-EOF >+_ACEOF > > > else >- echo "$ac_t""no" 1>&6 >- >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 >+ > > fi > >@@ -11865,56 +20580,60 @@ > > for ac_prog in gtk-config gtk12-config > do >-# Extract the first word of "$ac_prog", so it can be a program name with args. >+ # Extract the first word of "$ac_prog", so it can be a program name with args. > set dummy $ac_prog; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:11872: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_GTK_CONFIG+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$GTK_CONFIG" in >- /*) >+ case $GTK_CONFIG in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-GTK_CONFIG="$ac_cv_path_GTK_CONFIG" >+GTK_CONFIG=$ac_cv_path_GTK_CONFIG >+ > if test -n "$GTK_CONFIG"; then >- echo "$ac_t""$GTK_CONFIG" 1>&6 >+ echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 >+echo "${ECHO_T}$GTK_CONFIG" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > >-test -n "$GTK_CONFIG" && break >+ test -n "$GTK_CONFIG" && break > done > > if test "$GTK_CONFIG" != ""; then >- echo $ac_n "checking for version of GTK+""... $ac_c" 1>&6 >-echo "configure:11909: checking for version of GTK+" >&5 >-if eval "test \"`echo '$''{'fptools_cv_gtk_version'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for version of GTK+" >&5 >+echo $ECHO_N "checking for version of GTK+... $ECHO_C" >&6 >+if test "${fptools_cv_gtk_version+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ > fptools_cv_gtk_version=`$GTK_CONFIG --version` >- >-fi > >-echo "$ac_t""$fptools_cv_gtk_version" 1>&6 >+fi >+echo "$as_me:$LINENO: result: $fptools_cv_gtk_version" >&5 >+echo "${ECHO_T}$fptools_cv_gtk_version" >&6 > GTK_VERSION=$fptools_cv_gtk_version > else > GTK_VERSION= >@@ -11922,7 +20641,8 @@ > > case $fptools_cv_gtk_version in > 1.[23].*) ;; >- *) echo "configure: warning: GTK+ not usable; need at least version 1.2" 1>&2 >+ *) { echo "$as_me:$LINENO: WARNING: GTK+ not usable; need at least version 1.2" >&5 >+echo "$as_me: WARNING: GTK+ not usable; need at least version 1.2" >&2;} > GTK_CONFIG= > ;; > esac >@@ -11933,48 +20653,67 @@ > > # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works > # for constant arguments. Useless! >-echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 >-echo "configure:11938: checking for working alloca.h" >&5 >-if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for working alloca.h" >&5 >+echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 >+if test "${ac_cv_working_alloca_h+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 11943 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <alloca.h> >-int main() { >-char *p = alloca(2 * sizeof(int)); >-; return 0; } >-EOF >-if { (eval echo configure:11950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- ac_cv_header_alloca_h=yes >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_header_alloca_h=no >-fi >-rm -f conftest* >-fi >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+char *p = (char *) alloca (2 * sizeof (int)); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_working_alloca_h=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_working_alloca_h=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 >+echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 >+if test $ac_cv_working_alloca_h = yes; then > >-echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 >-if test $ac_cv_header_alloca_h = yes; then >- cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_ALLOCA_H 1 >-EOF >+_ACEOF > > fi > >-echo $ac_n "checking for alloca""... $ac_c" 1>&6 >-echo "configure:11971: checking for alloca" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for alloca" >&5 >+echo $ECHO_N "checking for alloca... $ECHO_C" >&6 >+if test "${ac_cv_func_alloca_works+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 11976 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >- > #ifdef __GNUC__ > # define alloca __builtin_alloca > #else >@@ -11996,48 +20735,69 @@ > # endif > #endif > >-int main() { >-char *p = (char *) alloca(1); >-; return 0; } >-EOF >-if { (eval echo configure:12004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+char *p = (char *) alloca (1); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_func_alloca_works=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_func_alloca_works=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_func_alloca_works=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > fi >+echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 >+echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 > >-echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 > if test $ac_cv_func_alloca_works = yes; then >- cat >> confdefs.h <<\EOF >-#define HAVE_ALLOCA 1 >-EOF > >-fi >+cat >>confdefs.h <<\_ACEOF >+#define HAVE_ALLOCA 1 >+_ACEOF > >-if test $ac_cv_func_alloca_works = no; then >+else > # The SVR3 libPW and SVR4 libucb both contain incompatible functions >- # that cause trouble. Some versions do not even contain alloca or >- # contain a buggy version. If you still want to use their alloca, >- # use ar to extract alloca.o from them instead of compiling alloca.c. >- ALLOCA=alloca.${ac_objext} >- cat >> confdefs.h <<\EOF >+# that cause trouble. Some versions do not even contain alloca or >+# contain a buggy version. If you still want to use their alloca, >+# use ar to extract alloca.o from them instead of compiling alloca.c. >+ >+ALLOCA=alloca.$ac_objext >+ >+cat >>confdefs.h <<\_ACEOF > #define C_ALLOCA 1 >-EOF >+_ACEOF > > >-echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 >-echo "configure:12036: checking whether alloca needs Cray hooks" >&5 >-if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 >+echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 >+if test "${ac_cv_os_cray+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 12041 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #if defined(CRAY) && ! defined(CRAY2) > webecray >@@ -12045,88 +20805,109 @@ > wenotbecray > #endif > >-EOF >+_ACEOF > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | > egrep "webecray" >/dev/null 2>&1; then >- rm -rf conftest* > ac_cv_os_cray=yes > else >- rm -rf conftest* > ac_cv_os_cray=no > fi > rm -f conftest* > > fi >- >-echo "$ac_t""$ac_cv_os_cray" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 >+echo "${ECHO_T}$ac_cv_os_cray" >&6 > if test $ac_cv_os_cray = yes; then >-for ac_func in _getb67 GETB67 getb67; do >- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 >-echo "configure:12066: checking for $ac_func" >&5 >-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ for ac_func in _getb67 GETB67 getb67; do >+ as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` >+echo "$as_me:$LINENO: checking for $ac_func" >&5 >+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 >+if eval "test \"\${$as_ac_var+set}\" = set"; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 12071 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > /* System header to define __stub macros and hopefully few prototypes, >- which can conflict with char $ac_func(); below. */ >+ which can conflict with char $ac_func (); below. */ > #include <assert.h> > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char $ac_func(); >- >-int main() { >- >+ builtin and then its argument prototype would still apply. */ >+char $ac_func (); >+char (*f) (); >+ >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > /* The GNU C library defines this for functions which it implements > to always fail with ENOSYS. Some functions are actually named > something starting with __ and the normal name is an alias. */ > #if defined (__stub_$ac_func) || defined (__stub___$ac_func) > choke me > #else >-$ac_func(); >+f = $ac_func; > #endif > >-; return 0; } >-EOF >-if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_func_$ac_func=no" >-fi >-rm -f conftest* >-fi >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ eval "$as_ac_var=yes" >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+eval "$as_ac_var=no" >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+fi >+echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 >+echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 >+if test `eval echo '${'$as_ac_var'}'` = yes; then > >-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >- cat >> confdefs.h <<EOF >+cat >>confdefs.h <<_ACEOF > #define CRAY_STACKSEG_END $ac_func >-EOF >+_ACEOF > >- break >-else >- echo "$ac_t""no" 1>&6 >+ break > fi > >-done >+ done > fi > >-echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 >-echo "configure:12121: checking stack direction for C alloca" >&5 >-if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 >+echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 >+if test "${ac_cv_c_stack_direction+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > ac_cv_c_stack_direction=0 > else >- cat > conftest.$ac_ext <<EOF >-#line 12129 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+int > find_stack_direction () > { > static char *addr = 0; >@@ -12139,206 +20920,354 @@ > else > return (&dummy > addr) ? 1 : -1; > } >+ >+int > main () > { >- exit (find_stack_direction() < 0); >+ exit (find_stack_direction () < 0); > } >-EOF >-if { (eval echo configure:12148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_c_stack_direction=1 > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_c_stack_direction=-1 >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_c_stack_direction=-1 > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >+echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 >+echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 > >-echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 >-cat >> confdefs.h <<EOF >+cat >>confdefs.h <<_ACEOF > #define STACK_DIRECTION $ac_cv_c_stack_direction >-EOF >+_ACEOF >+ > > fi > > >-echo $ac_n "checking for working const""... $ac_c" 1>&6 >-echo "configure:12171: checking for working const" >&5 >-if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >-else >- cat > conftest.$ac_ext <<EOF >-#line 12176 "configure" >-#include "confdefs.h" >- >-int main() { >- >-/* Ultrix mips cc rejects this. */ >-typedef int charset[2]; const charset x; >-/* SunOS 4.1.1 cc rejects this. */ >-char const *const *ccp; >-char **p; >-/* NEC SVR4.0.2 mips cc rejects this. */ >-struct point {int x, y;}; >-static struct point const zero = {0,0}; >-/* AIX XL C 1.02.0.0 rejects this. >- It does not let you subtract one const X* pointer from another in an arm >- of an if-expression whose if-part is not a constant expression */ >-const char *g = "string"; >-ccp = &g + (g ? g-g : 0); >-/* HPUX 7.0 cc rejects these. */ >-++ccp; >-p = (char**) ccp; >-ccp = (char const *const *) p; >-{ /* SCO 3.2v4 cc rejects this. */ >- char *t; >- char const *s = 0 ? (char *) 0 : (char const *) 0; >- >- *t++ = 0; >-} >-{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ >- int x[] = {25, 17}; >- const int *foo = &x[0]; >- ++foo; >-} >-{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ >- typedef const int *iptr; >- iptr p = 0; >- ++p; >-} >-{ /* AIX XL C 1.02.0.0 rejects this saying >- "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ >- struct s { int j; const int *ap[3]; }; >- struct s *b; b->j = 5; >-} >-{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ >- const int foo = 10; >-} >+echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 >+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 >+if test "${ac_cv_c_const+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 >+else >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" > >-; return 0; } >-EOF >-if { (eval echo configure:12225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+/* FIXME: Include the comments suggested by Paul. */ >+#ifndef __cplusplus >+ /* Ultrix mips cc rejects this. */ >+ typedef int charset[2]; >+ const charset x; >+ /* SunOS 4.1.1 cc rejects this. */ >+ char const *const *ccp; >+ char **p; >+ /* NEC SVR4.0.2 mips cc rejects this. */ >+ struct point {int x, y;}; >+ static struct point const zero = {0,0}; >+ /* AIX XL C 1.02.0.0 rejects this. >+ It does not let you subtract one const X* pointer from another in >+ an arm of an if-expression whose if-part is not a constant >+ expression */ >+ const char *g = "string"; >+ ccp = &g + (g ? g-g : 0); >+ /* HPUX 7.0 cc rejects these. */ >+ ++ccp; >+ p = (char**) ccp; >+ ccp = (char const *const *) p; >+ { /* SCO 3.2v4 cc rejects this. */ >+ char *t; >+ char const *s = 0 ? (char *) 0 : (char const *) 0; >+ >+ *t++ = 0; >+ } >+ { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ >+ int x[] = {25, 17}; >+ const int *foo = &x[0]; >+ ++foo; >+ } >+ { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ >+ typedef const int *iptr; >+ iptr p = 0; >+ ++p; >+ } >+ { /* AIX XL C 1.02.0.0 rejects this saying >+ "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ >+ struct s { int j; const int *ap[3]; }; >+ struct s *b; b->j = 5; >+ } >+ { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ >+ const int foo = 10; >+ } >+#endif >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_c_const=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_c_const=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_c_const=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$ac_cv_c_const" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 >+echo "${ECHO_T}$ac_cv_c_const" >&6 > if test $ac_cv_c_const = no; then >- cat >> confdefs.h <<\EOF >-#define const >-EOF >+ >+cat >>confdefs.h <<\_ACEOF >+#define const >+_ACEOF > > fi > > >-echo $ac_n "checking prototypes""... $ac_c" 1>&6 >-echo "configure:12247: checking prototypes" >&5 >-if eval "test \"`echo '$''{'ac_cv_prototypes'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking prototypes" >&5 >+echo $ECHO_N "checking prototypes... $ECHO_C" >&6 >+if test "${ac_cv_prototypes+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- cat > conftest.$ac_ext <<EOF >-#line 12252 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > void foo(int); > void foo(i) >-int i; { >+int i; { > return; > } > >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > int i; >-; return 0; } >-EOF >-if { (eval echo configure:12265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_prototypes=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_prototypes=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_prototypes=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >- >-echo "$ac_t""$ac_cv_prototypes" 1>&6 >+echo "$as_me:$LINENO: result: $ac_cv_prototypes" >&5 >+echo "${ECHO_T}$ac_cv_prototypes" >&6 > if test "$ac_cv_prototypes" = yes; then >-cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define HAVE_PROTOTYPES 1 >-EOF >+_ACEOF > > fi >- > >-echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 >-echo "configure:12287: checking whether byte ordering is bigendian" >&5 >-if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ >+echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 >+echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 >+if test "${ac_cv_c_bigendian+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_cv_c_bigendian=unknown >-# See if sys/param.h defines the BYTE_ORDER macro. >-cat > conftest.$ac_ext <<EOF >-#line 12294 "configure" >+ # See if sys/param.h defines the BYTE_ORDER macro. >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/types.h> > #include <sys/param.h> >-int main() { > >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN > bogus endian macros > #endif >-; return 0; } >-EOF >-if { (eval echo configure:12305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > # It does; now see whether it defined to BIG_ENDIAN or not. >-cat > conftest.$ac_ext <<EOF >-#line 12309 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #include <sys/types.h> > #include <sys/param.h> >-int main() { > >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > #if BYTE_ORDER != BIG_ENDIAN > not big endian > #endif >-; return 0; } >-EOF >-if { (eval echo configure:12320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then >- rm -rf conftest* >+ >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_c_bigendian=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- ac_cv_c_bigendian=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_c_bigendian=no >+fi >+rm -f conftest.$ac_objext conftest.$ac_ext >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+# It does not; compile a test program. >+if test "$cross_compiling" = yes; then >+ # try to guess the endianness by grepping values into an object file >+ ac_cv_c_bigendian=unknown >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" >+#include "confdefs.h" >+short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; >+short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; >+void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } >+short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; >+short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; >+void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+ _ascii (); _ebcdic (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext >+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 >+ (eval $ac_compile) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest.$ac_objext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then >+ ac_cv_c_bigendian=yes >+fi >+if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then >+ if test "$ac_cv_c_bigendian" = unknown; then >+ ac_cv_c_bigendian=no >+ else >+ # finding both strings is unlikely to happen, but who knows? >+ ac_cv_c_bigendian=unknown >+ fi > fi >-rm -f conftest* > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 > fi >-rm -f conftest* >-if test $ac_cv_c_bigendian = unknown; then >-if test "$cross_compiling" = yes; then >- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } >+rm -f conftest.$ac_objext conftest.$ac_ext > else >- cat > conftest.$ac_ext <<EOF >-#line 12340 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >-main () { >+int >+main () >+{ > /* Are we little or big endian? From Harbison&Steele. */ > union > { >@@ -12348,89 +21277,128 @@ > u.l = 1; > exit (u.c[sizeof (long) - 1] == 1); > } >-EOF >-if { (eval echo configure:12353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > ac_cv_c_bigendian=no > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- ac_cv_c_bigendian=yes >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+ac_cv_c_bigendian=yes > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >+rm -f conftest.$ac_objext conftest.$ac_ext > fi >+echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 >+echo "${ECHO_T}$ac_cv_c_bigendian" >&6 >+case $ac_cv_c_bigendian in >+ yes) > >-echo "$ac_t""$ac_cv_c_bigendian" 1>&6 >-if test $ac_cv_c_bigendian = yes; then >- cat >> confdefs.h <<\EOF >+cat >>confdefs.h <<\_ACEOF > #define WORDS_BIGENDIAN 1 >-EOF >- >-fi >+_ACEOF >+ ;; >+ no) >+ ;; >+ *) >+ { { echo "$as_me:$LINENO: error: unknown endianness >+presetting ac_cv_c_bigendian=no (or yes) will help" >&5 >+echo "$as_me: error: unknown endianness >+presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} >+ { (exit 1); exit 1; }; } ;; >+esac > > # Allay users' general fear of warnings of any kind. > > > >-echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6 >-echo "configure:12381: checking for nlist in -lelf" >&5 >-ac_lib_var=`echo elf'_'nlist | sed 'y%./+-%__p_%'` >-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for nlist in -lelf" >&5 >+echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6 >+if test "${ac_cv_lib_elf_nlist+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- ac_save_LIBS="$LIBS" >+ ac_check_lib_save_LIBS=$LIBS > LIBS="-lelf $LIBS" >-cat > conftest.$ac_ext <<EOF >-#line 12389 "configure" >+cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" >+ > /* Override any gcc2 internal prototype to avoid an error. */ >+#ifdef __cplusplus >+extern "C" >+#endif > /* We use char because int might match the return type of a gcc2 >- builtin and then its argument prototype would still apply. */ >-char nlist(); >- >-int main() { >-nlist() >-; return 0; } >-EOF >-if { (eval echo configure:12400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=yes" >-else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- eval "ac_cv_lib_$ac_lib_var=no" >-fi >-rm -f conftest* >-LIBS="$ac_save_LIBS" >- >-fi >-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then >- echo "$ac_t""yes" 1>&6 >+ builtin and then its argument prototype would still apply. */ >+char nlist (); >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ >+nlist (); >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then >+ ac_cv_lib_elf_nlist=yes >+else >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+ac_cv_lib_elf_nlist=no >+fi >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext >+LIBS=$ac_check_lib_save_LIBS >+fi >+echo "$as_me:$LINENO: result: $ac_cv_lib_elf_nlist" >&5 >+echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6 >+if test $ac_cv_lib_elf_nlist = yes; then > LIBS="-lelf $LIBS" >-else >- echo "$ac_t""no" 1>&6 > fi >-echo $ac_n "checking leading underscore in symbol names""... $ac_c" 1>&6 >-echo "configure:12420: checking leading underscore in symbol names" >&5 >-if eval "test \"`echo '$''{'fptools_cv_lead_uscore'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking leading underscore in symbol names" >&5 >+echo $ECHO_N "checking leading underscore in symbol names... $ECHO_C" >&6 >+if test "${fptools_cv_lead_uscore+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ > case $HostPlatform in > alpha-dec-osf*) fptools_cv_lead_uscore='no';; > *cygwin32) fptools_cv_lead_uscore='yes';; > *mingw32) fptools_cv_lead_uscore='yes';; >-*) >+*) > if test "$cross_compiling" = yes; then > fptools_cv_lead_uscore=NO > else >- cat > conftest.$ac_ext <<EOF >-#line 12434 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > #ifdef HAVE_NLIST_H > #include <nlist.h> >@@ -12451,60 +21419,88 @@ > #endif > exit(1); > } >-EOF >-if { (eval echo configure:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_lead_uscore=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_lead_uscore=no >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_lead_uscore=no > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > ;; > esac > fi >- >-echo "$ac_t""$fptools_cv_lead_uscore" 1>&6; >+echo "$as_me:$LINENO: result: $fptools_cv_lead_uscore" >&5 >+echo "${ECHO_T}$fptools_cv_lead_uscore" >&6; > LeadingUnderscore=`echo $fptools_cv_lead_uscore | sed 'y/yesno/YESNO/'` > > case $LeadingUnderscore in >-YES) cat >> confdefs.h <<\EOF >+YES) cat >>confdefs.h <<\_ACEOF > #define LEADING_UNDERSCORE 1 >-EOF >+_ACEOF > ;; > esac > > >-echo $ac_n "checking for end of text section marker""... $ac_c" 1>&6 >-echo "configure:12484: checking for end of text section marker" >&5 >-if eval "test \"`echo '$''{'fptools_cv_end_of_text'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for end of text section marker" >&5 >+echo $ECHO_N "checking for end of text section marker... $ECHO_C" >&6 >+if test "${fptools_cv_end_of_text+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > fptools_cv_end_of_text="" > not_done=1 > for i in data_start _data_start etext _etext __etext; do >- cat > conftest.$ac_ext <<EOF >-#line 12492 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* $i; >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&$i >-; return 0; } >-EOF >-if { (eval echo configure:12499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_text=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_text=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_text=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_text" = yes; then > fptools_cv_end_of_text=$i >@@ -12513,69 +21509,107 @@ > fi > done > if test "$not_done" = 1; then >- cat > conftest.$ac_ext <<EOF >-#line 12518 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* etext asm("etext"); >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&etext >-; return 0; } >-EOF >-if { (eval echo configure:12525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_text=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_text=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_text=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_text" = yes; then > fptools_cv_end_of_text="etext" > fi > fi > fi >- >-echo "$ac_t""$fptools_cv_end_of_text" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_end_of_text" >&5 >+echo "${ECHO_T}$fptools_cv_end_of_text" >&6 > if test -n "$fptools_cv_end_of_text"; then >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define TEXT_SECTION_END_MARKER $fptools_cv_end_of_text >-EOF >+_ACEOF > > else >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define TEXT_SECTION_END_MARKER dunno_end_of_text >-EOF >+_ACEOF > > fi >- echo $ac_n "checking for end of text section marker declaration""... $ac_c" 1>&6 >-echo "configure:12555: checking for end of text section marker declaration" >&5 >-if eval "test \"`echo '$''{'fptools_cv_end_of_text_decl'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for end of text section marker declaration" >&5 >+echo $ECHO_N "checking for end of text section marker declaration... $ECHO_C" >&6 >+if test "${fptools_cv_end_of_text_decl+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > fptools_cv_end_of_text_decl="" > not_done=1 > for i in data_start _data_start etext _etext __etext; do >- cat > conftest.$ac_ext <<EOF >-#line 12563 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* $i; >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&$i >-; return 0; } >-EOF >-if { (eval echo configure:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_text_decl=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_text_decl=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_text_decl=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_text_decl" = yes; then > fptools_cv_end_of_text_decl=$i >@@ -12584,71 +21618,109 @@ > fi > done > if test "$not_done" = 1; then >- cat > conftest.$ac_ext <<EOF >-#line 12589 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* etext asm("etext"); >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&etext >-; return 0; } >-EOF >-if { (eval echo configure:12596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_text_decl=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_text_decl=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_text_decl=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_text_decl" = yes; then > fptools_cv_end_of_text_decl="etext asm(\"etext\")" > fi > fi > fi >- >-echo "$ac_t""$fptools_cv_end_of_text_decl" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_end_of_text_decl" >&5 >+echo "${ECHO_T}$fptools_cv_end_of_text_decl" >&6 > if test -n "$fptools_cv_end_of_text_decl"; then >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define TEXT_SECTION_END_MARKER_DECL $fptools_cv_end_of_text_decl >-EOF >+_ACEOF > > else >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define TEXT_SECTION_END_MARKER_DECL dunno_end_of_text_decl >-EOF >+_ACEOF > > fi > > >-echo $ac_n "checking for end of data section marker""... $ac_c" 1>&6 >-echo "configure:12628: checking for end of data section marker" >&5 >-if eval "test \"`echo '$''{'fptools_cv_end_of_data'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for end of data section marker" >&5 >+echo $ECHO_N "checking for end of data section marker... $ECHO_C" >&6 >+if test "${fptools_cv_end_of_data+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > fptools_cv_end_of_data="" > not_done=1 > for i in end _end __end; do >- cat > conftest.$ac_ext <<EOF >-#line 12636 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* $i; >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&$i >-; return 0; } >-EOF >-if { (eval echo configure:12643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_data=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_data=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_data=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_data" = yes; then > fptools_cv_end_of_data=$i >@@ -12657,69 +21729,107 @@ > fi > done > if test "$not_done" = 1; then >- cat > conftest.$ac_ext <<EOF >-#line 12662 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* end asm("end"); >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&end >-; return 0; } >-EOF >-if { (eval echo configure:12669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_data=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_data=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_data=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_data" = yes; then > fptools_cv_end_of_data="end" > fi > fi > fi >- >-echo "$ac_t""$fptools_cv_end_of_data" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_end_of_data" >&5 >+echo "${ECHO_T}$fptools_cv_end_of_data" >&6 > if test -n "$fptools_cv_end_of_data"; then >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define DATA_SECTION_END_MARKER $fptools_cv_end_of_data >-EOF >+_ACEOF > > else >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define DATA_SECTION_END_MARKER dunno_end_of_data >-EOF >+_ACEOF > > fi >- echo $ac_n "checking for end of data section marker declaration""... $ac_c" 1>&6 >-echo "configure:12699: checking for end of data section marker declaration" >&5 >-if eval "test \"`echo '$''{'fptools_cv_end_of_data_decl'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+ echo "$as_me:$LINENO: checking for end of data section marker declaration" >&5 >+echo $ECHO_N "checking for end of data section marker declaration... $ECHO_C" >&6 >+if test "${fptools_cv_end_of_data_decl+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > fptools_cv_end_of_data_decl="" > not_done=1 > for i in end _end __end; do >- cat > conftest.$ac_ext <<EOF >-#line 12707 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* $i; >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&$i >-; return 0; } >-EOF >-if { (eval echo configure:12714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_data_decl=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_data_decl=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_data_decl=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_data_decl" = yes; then > fptools_cv_end_of_data_decl=$i >@@ -12728,55 +21838,74 @@ > fi > done > if test "$not_done" = 1; then >- cat > conftest.$ac_ext <<EOF >-#line 12733 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > extern char* end asm("end"); >-int main() { >+#ifdef F77_DUMMY_MAIN >+# ifdef __cplusplus >+ extern "C" >+# endif >+ int F77_DUMMY_MAIN() { return 1; } >+#endif >+int >+main () >+{ > return (int)&end >-; return 0; } >-EOF >-if { (eval echo configure:12740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then >- rm -rf conftest* >+ ; >+ return 0; >+} >+_ACEOF >+rm -f conftest.$ac_objext conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && >+ { ac_try='test -s conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_end_of_data_decl=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -rf conftest* >- fptools_end_of_data_decl=no >+ echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+fptools_end_of_data_decl=no > fi >-rm -f conftest* >+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext > > if test "$fptools_end_of_data_decl" = yes; then > fptools_cv_end_of_data_decl="end asm(\"end\")" > fi > fi > fi >- >-echo "$ac_t""$fptools_cv_end_of_data_decl" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_end_of_data_decl" >&5 >+echo "${ECHO_T}$fptools_cv_end_of_data_decl" >&6 > if test -n "$fptools_cv_end_of_data_decl"; then >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define DATA_SECTION_END_MARKER_DECL $fptools_cv_end_of_data_decl >-EOF >+_ACEOF > > else >- cat >> confdefs.h <<EOF >+ cat >>confdefs.h <<_ACEOF > #define DATA_SECTION_END_MARKER_DECL dunno_end_of_data_decl >-EOF >+_ACEOF > > fi > > >-echo $ac_n "checking if code section appears before data""... $ac_c" 1>&6 >-echo "configure:12772: checking if code section appears before data" >&5 >-if eval "test \"`echo '$''{'fptools_cv_code_bef_data'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking if code section appears before data" >&5 >+echo $ECHO_N "checking if code section appears before data... $ECHO_C" >&6 >+if test "${fptools_cv_code_bef_data+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else > if test "$cross_compiling" = yes; then > false > else >- cat > conftest.$ac_ext <<EOF >-#line 12780 "configure" >+ cat >conftest.$ac_ext <<_ACEOF >+#line $LINENO "configure" > #include "confdefs.h" > > int f() { return 1; } >@@ -12784,63 +21913,76 @@ > int main() { return ((char*)&f > (char*)&i); } > > >-EOF >-if { (eval echo configure:12789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null >-then >+_ACEOF >+rm -f conftest$ac_exeext >+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >+ (eval $ac_link) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >+ (eval $ac_try) 2>&5 >+ ac_status=$? >+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 >+ (exit $ac_status); }; }; then > fptools_cv_code_bef_data=yes > else >- echo "configure: failed program was:" >&5 >- cat conftest.$ac_ext >&5 >- rm -fr conftest* >- fptools_cv_code_bef_data=no >+ echo "$as_me: program exited with status $ac_status" >&5 >+echo "$as_me: failed program was:" >&5 >+cat conftest.$ac_ext >&5 >+( exit $ac_status ) >+fptools_cv_code_bef_data=no > fi >-rm -fr conftest* >+rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext > fi >- > fi >- >-echo "$ac_t""$fptools_cv_code_bef_data" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_code_bef_data" >&5 >+echo "${ECHO_T}$fptools_cv_code_bef_data" >&6 > if test "$fptools_cv_code_bef_data" = yes; then >- cat >> confdefs.h <<\EOF >+ cat >>confdefs.h <<\_ACEOF > #define CODE_BEFORE_DATA 1 >-EOF >+_ACEOF > > fi > > > # Extract the first word of "ld", so it can be a program name with args. > set dummy ld; ac_word=$2 >-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 >-echo "configure:12815: checking for $ac_word" >&5 >-if eval "test \"`echo '$''{'ac_cv_path_LdCmdRaw'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking for $ac_word" >&5 >+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 >+if test "${ac_cv_path_LdCmdRaw+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- case "$LdCmdRaw" in >- /*) >+ case $LdCmdRaw in >+ [\\/]* | ?:[\\/]*) > ac_cv_path_LdCmdRaw="$LdCmdRaw" # Let the user override the test with a path. > ;; >- ?:/*) >- ac_cv_path_LdCmdRaw="$LdCmdRaw" # Let the user override the test with a dos path. >- ;; > *) >- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" >- ac_dummy="$PATH" >- for ac_dir in $ac_dummy; do >- test -z "$ac_dir" && ac_dir=. >- if test -f $ac_dir/$ac_word; then >- ac_cv_path_LdCmdRaw="$ac_dir/$ac_word" >- break >- fi >- done >- IFS="$ac_save_ifs" >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for ac_exec_ext in '' $ac_executable_extensions; do >+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then >+ ac_cv_path_LdCmdRaw="$as_dir/$ac_word$ac_exec_ext" >+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 >+ break 2 >+ fi >+done >+done >+ > ;; > esac > fi >-LdCmdRaw="$ac_cv_path_LdCmdRaw" >+LdCmdRaw=$ac_cv_path_LdCmdRaw >+ > if test -n "$LdCmdRaw"; then >- echo "$ac_t""$LdCmdRaw" 1>&6 >+ echo "$as_me:$LINENO: result: $LdCmdRaw" >&5 >+echo "${ECHO_T}$LdCmdRaw" >&6 > else >- echo "$ac_t""no" 1>&6 >+ echo "$as_me:$LINENO: result: no" >&5 >+echo "${ECHO_T}no" >&6 > fi > > case $HostOS_CPP in >@@ -12850,12 +21992,12 @@ > ;; > esac > >-echo $ac_n "checking whether ld understands -x""... $ac_c" 1>&6 >-echo "configure:12855: checking whether ld understands -x" >&5 >-if eval "test \"`echo '$''{'fptools_cv_ld_x'+set}'`\" = set"; then >- echo $ac_n "(cached) $ac_c" 1>&6 >+echo "$as_me:$LINENO: checking whether ld understands -x" >&5 >+echo $ECHO_N "checking whether ld understands -x... $ECHO_C" >&6 >+if test "${fptools_cv_ld_x+set}" = set; then >+ echo $ECHO_N "(cached) $ECHO_C" >&6 > else >- >+ > echo 'foo() {}' > conftest.c > ${CC-cc} -c conftest.c > if ${LdCmd} -r -x -o foo.o conftest.o; then >@@ -12866,8 +22008,8 @@ > rm -rf conftest.c conftest.o foo.o > > fi >- >-echo "$ac_t""$fptools_cv_ld_x" 1>&6 >+echo "$as_me:$LINENO: result: $fptools_cv_ld_x" >&5 >+echo "${ECHO_T}$fptools_cv_ld_x" >&6 > if test "$fptools_cv_ld_x" = yes; then > LdXFlag=-x > else >@@ -12876,454 +22018,1212 @@ > > > >-trap '' 1 2 15 >-cat > confcache <<\EOF >+ ac_config_files="$ac_config_files mk/config.mk" >+ ac_config_commands="$ac_config_commands default" >+cat >confcache <<\_ACEOF > # This file is a shell script that caches the results of configure > # tests run on this system so they can be shared between configure >-# scripts and configure runs. It is not useful on other systems. >-# If it contains results you don't want to keep, you may remove or edit it. >+# scripts and configure runs, see configure's option --config-cache. >+# It is not useful on other systems. If it contains results you don't >+# want to keep, you may remove or edit it. > # >-# By default, configure uses ./config.cache as the cache file, >-# creating it if it does not exist already. You can give configure >-# the --cache-file=FILE option to use a different cache file; that is >-# what configure does when it calls configure scripts in >-# subdirectories, so they share the cache. >-# Giving --cache-file=/dev/null disables caching, for debugging configure. >-# config.status only pays attention to the cache file if you give it the >-# --recheck option to rerun configure. >+# config.status only pays attention to the cache file if you give it >+# the --recheck option to rerun configure. > # >-EOF >+# `ac_cv_env_foo' variables (set or unset) will be overridden when >+# loading this file, other *unset* `ac_cv_foo' will be assigned the >+# following values. >+ >+_ACEOF >+ > # The following way of writing the cache mishandles newlines in values, > # but we know of no workaround that is simple, portable, and efficient. > # So, don't put newlines in cache variables' values. > # Ultrix sh set writes to stderr and can't be redirected directly, > # and sets the high bit in the cache file unless we assign to the vars. >-(set) 2>&1 | >- case `(ac_space=' '; set | grep ac_space) 2>&1` in >- *ac_space=\ *) >- # `set' does not quote correctly, so add quotes (double-quote substitution >- # turns \\\\ into \\, and sed turns \\ into \). >- sed -n \ >- -e "s/'/'\\\\''/g" \ >- -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" >- ;; >- *) >- # `set' quotes correctly as required by POSIX, so do not add quotes. >- sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' >- ;; >- esac >> confcache >-if cmp -s $cache_file confcache; then >- : >-else >+{ >+ (set) 2>&1 | >+ case `(ac_space=' '; set | grep ac_space) 2>&1` in >+ *ac_space=\ *) >+ # `set' does not quote correctly, so add quotes (double-quote >+ # substitution turns \\\\ into \\, and sed turns \\ into \). >+ sed -n \ >+ "s/'/'\\\\''/g; >+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" >+ ;; >+ *) >+ # `set' quotes correctly as required by POSIX, so do not add quotes. >+ sed -n \ >+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" >+ ;; >+ esac; >+} | >+ sed ' >+ t clear >+ : clear >+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ >+ t end >+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ >+ : end' >>confcache >+if cmp -s $cache_file confcache; then :; else > if test -w $cache_file; then >- echo "updating cache $cache_file" >- cat confcache > $cache_file >+ test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" >+ cat confcache >$cache_file > else > echo "not updating unwritable cache $cache_file" > fi > fi > rm -f confcache > >-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 >- > test "x$prefix" = xNONE && prefix=$ac_default_prefix > # Let make expand exec_prefix. > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' > >-# Any assignment to VPATH causes Sun make to only execute >-# the first set of double-colon rules, so remove it if not needed. >-# If there is a colon in the path, we need to keep it. >+# VPATH may cause trouble with some makes, so we remove $(srcdir), >+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and >+# trailing colons and then remove the whole line if VPATH becomes empty >+# (actually we leave an empty line to preserve line numbers). > if test "x$srcdir" = x.; then >- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' >+ ac_vpsub='/^[ ]*VPATH[ ]*=/{ >+s/:*\$(srcdir):*/:/; >+s/:*\${srcdir}:*/:/; >+s/:*@srcdir@:*/:/; >+s/^\([^=]*=[ ]*\):*/\1/; >+s/:*$//; >+s/^[^=]*=[ ]*$//; >+}' > fi > >-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 >- > DEFS=-DHAVE_CONFIG_H > >-# Without the "./", some shells look in PATH for config.status. >-: ${CONFIG_STATUS=./config.status} > >-echo creating $CONFIG_STATUS >-rm -f $CONFIG_STATUS >-cat > $CONFIG_STATUS <<EOF >-#! /bin/sh >-# Generated automatically by configure. >+: ${CONFIG_STATUS=./config.status} >+ac_clean_files_save=$ac_clean_files >+ac_clean_files="$ac_clean_files $CONFIG_STATUS" >+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 >+echo "$as_me: creating $CONFIG_STATUS" >&6;} >+cat >$CONFIG_STATUS <<_ACEOF >+#! $SHELL >+# Generated by $as_me. > # Run this file to recreate the current configuration. >-# This directory was configured as follows, >-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: >-# >-# $0 $ac_configure_args >-# > # Compiler output produced by configure, useful for debugging >-# configure, is in ./config.log if it exists. >+# configure, is in config.log if it exists. > >-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" >-for ac_option >+debug=false >+SHELL=\${CONFIG_SHELL-$SHELL} >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+## --------------------- ## >+## M4sh Initialization. ## >+## --------------------- ## >+ >+# Be Bourne compatible >+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >+ emulate sh >+ NULLCMD=: >+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >+ # is contrary to our usage. Disable this feature. >+ alias -g '${1+"$@"}'='"$@"' >+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then >+ set -o posix >+fi >+ >+# NLS nuisances. >+# Support unset when possible. >+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then >+ as_unset=unset >+else >+ as_unset=false >+fi >+ >+(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && >+ { $as_unset LANG || test "${LANG+set}" != set; } || >+ { LANG=C; export LANG; } >+(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && >+ { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || >+ { LC_ALL=C; export LC_ALL; } >+(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && >+ { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || >+ { LC_TIME=C; export LC_TIME; } >+(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && >+ { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || >+ { LC_CTYPE=C; export LC_CTYPE; } >+(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && >+ { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || >+ { LANGUAGE=C; export LANGUAGE; } >+(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && >+ { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || >+ { LC_COLLATE=C; export LC_COLLATE; } >+(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && >+ { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || >+ { LC_NUMERIC=C; export LC_NUMERIC; } >+(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && >+ { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || >+ { LC_MESSAGES=C; export LC_MESSAGES; } >+ >+ >+# Required to use basename. >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then >+ as_basename=basename >+else >+ as_basename=false >+fi >+ >+ >+# Name of the executable. >+as_me=`$as_basename "$0" || >+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ >+ X"$0" : 'X\(//\)$' \| \ >+ X"$0" : 'X\(/\)$' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X/"$0" | >+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } >+ /^X\/\(\/\/\)$/{ s//\1/; q; } >+ /^X\/\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ >+ >+# PATH needs CR, and LINENO needs CR and PATH. >+# Avoid depending upon Character Ranges. >+as_cr_letters='abcdefghijklmnopqrstuvwxyz' >+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >+as_cr_Letters=$as_cr_letters$as_cr_LETTERS >+as_cr_digits='0123456789' >+as_cr_alnum=$as_cr_Letters$as_cr_digits >+ >+# The user is always right. >+if test "${PATH_SEPARATOR+set}" != set; then >+ echo "#! /bin/sh" >conftest.sh >+ echo "exit 0" >>conftest.sh >+ chmod +x conftest.sh >+ if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then >+ PATH_SEPARATOR=';' >+ else >+ PATH_SEPARATOR=: >+ fi >+ rm -f conftest.sh >+fi >+ >+ >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" || { >+ # Find who we are. Look in the path if we contain no path at all >+ # relative or not. >+ case $0 in >+ *[\\/]* ) as_myself=$0 ;; >+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >+done >+ >+ ;; >+ esac >+ # We did not find ourselves, most probably we were run as `sh COMMAND' >+ # in which case we are not to be found in the path. >+ if test "x$as_myself" = x; then >+ as_myself=$0 >+ fi >+ if test ! -f "$as_myself"; then >+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 >+echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} >+ { (exit 1); exit 1; }; } >+ fi >+ case $CONFIG_SHELL in >+ '') >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for as_base in sh bash ksh sh5; do >+ case $as_dir in >+ /*) >+ if ("$as_dir/$as_base" -c ' >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then >+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } >+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } >+ CONFIG_SHELL=$as_dir/$as_base >+ export CONFIG_SHELL >+ exec "$CONFIG_SHELL" "$0" ${1+"$@"} >+ fi;; >+ esac >+ done >+done >+;; >+ esac >+ >+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO >+ # uniformly replaced by the line number. The first 'sed' inserts a >+ # line-number line before each line; the second 'sed' does the real >+ # work. The second script uses 'N' to pair each line-number line >+ # with the numbered line, and appends trailing '-' during >+ # substitution so that $LINENO is not a special case at line end. >+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the >+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) >+ sed '=' <$as_myself | >+ sed ' >+ N >+ s,$,-, >+ : loop >+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, >+ t loop >+ s,-$,, >+ s,^['$as_cr_digits']*\n,, >+ ' >$as_me.lineno && >+ chmod +x $as_me.lineno || >+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 >+echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} >+ { (exit 1); exit 1; }; } >+ >+ # Don't try to exec as it changes $[0], causing all sort of problems >+ # (the dirname of $[0] is not the place where we might find the >+ # original and so on. Autoconf is especially sensible to this). >+ . ./$as_me.lineno >+ # Exit status is that of the last command. >+ exit >+} >+ >+ >+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in >+ *c*,-n*) ECHO_N= ECHO_C=' >+' ECHO_T=' ' ;; >+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; >+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;; >+esac >+ >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+rm -f conf$$ conf$$.exe conf$$.file >+echo >conf$$.file >+if ln -s conf$$.file conf$$ 2>/dev/null; then >+ # We could just check for DJGPP; but this test a) works b) is more generic >+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). >+ if test -f conf$$.exe; then >+ # Don't use ln at all; we don't have any links >+ as_ln_s='cp -p' >+ else >+ as_ln_s='ln -s' >+ fi >+elif ln conf$$.file conf$$ 2>/dev/null; then >+ as_ln_s=ln >+else >+ as_ln_s='cp -p' >+fi >+rm -f conf$$ conf$$.exe conf$$.file >+ >+if mkdir -p . 2>/dev/null; then >+ as_mkdir_p=: >+else >+ as_mkdir_p=false >+fi >+ >+as_executable_p="test -f" >+ >+# Sed expression to map a string onto a valid CPP name. >+as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" >+ >+# Sed expression to map a string onto a valid variable name. >+as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" >+ >+ >+# IFS >+# We need space, tab and new line, in precisely that order. >+as_nl=' >+' >+IFS=" $as_nl" >+ >+# CDPATH. >+$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } >+ >+exec 6>&1 >+ >+# Open the log real soon, to keep \$[0] and so on meaningful, and to >+# report actual input values of CONFIG_FILES etc. instead of their >+# values after options handling. Logging --version etc. is OK. >+exec 5>>config.log >+{ >+ echo >+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX >+## Running $as_me. ## >+_ASBOX >+} >&5 >+cat >&5 <<_CSEOF >+ >+This file was extended by $as_me, which was >+generated by GNU Autoconf 2.53a. Invocation command line was >+ >+ CONFIG_FILES = $CONFIG_FILES >+ CONFIG_HEADERS = $CONFIG_HEADERS >+ CONFIG_LINKS = $CONFIG_LINKS >+ CONFIG_COMMANDS = $CONFIG_COMMANDS >+ $ $0 $@ >+ >+_CSEOF >+echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 >+echo >&5 >+_ACEOF >+ >+# Files that config.status was made for. >+if test -n "$ac_config_files"; then >+ echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS >+fi >+ >+if test -n "$ac_config_headers"; then >+ echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS >+fi >+ >+if test -n "$ac_config_links"; then >+ echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS >+fi >+ >+if test -n "$ac_config_commands"; then >+ echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS >+fi >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+ >+ac_cs_usage="\ >+\`$as_me' instantiates files from templates according to the >+current configuration. >+ >+Usage: $0 [OPTIONS] [FILE]... >+ >+ -h, --help print this help, then exit >+ -V, --version print version number, then exit >+ -d, --debug don't remove temporary files >+ --recheck update $as_me by reconfiguring in the same conditions >+ --file=FILE[:TEMPLATE] >+ instantiate the configuration file FILE >+ --header=FILE[:TEMPLATE] >+ instantiate the configuration header FILE >+ >+Configuration files: >+$config_files >+ >+Configuration headers: >+$config_headers >+ >+Configuration commands: >+$config_commands >+ >+Report bugs to <bug-autoconf@gnu.org>." >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<_ACEOF >+ac_cs_version="\\ >+config.status >+configured by $0, generated by GNU Autoconf 2.53a, >+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" >+ >+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 >+Free Software Foundation, Inc. >+This config.status script is free software; the Free Software Foundation >+gives unlimited permission to copy, distribute and modify it." >+srcdir=$srcdir >+INSTALL="$INSTALL" >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+# If no file are specified by the user, then we need to provide default >+# value. By we need to know if files were specified by the user. >+ac_need_defaults=: >+while test $# != 0 > do >- case "\$ac_option" in >+ case $1 in >+ --*=*) >+ ac_option=`expr "x$1" : 'x\([^=]*\)='` >+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` >+ ac_shift=: >+ ;; >+ -*) >+ ac_option=$1 >+ ac_optarg=$2 >+ ac_shift=shift >+ ;; >+ *) # This is not an option, so the user has probably given explicit >+ # arguments. >+ ac_option=$1 >+ ac_need_defaults=false;; >+ esac >+ >+ case $ac_option in >+ # Handling of the options. >+_ACEOF >+cat >>$CONFIG_STATUS <<_ACEOF > -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) >- echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" >- exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; >- -version | --version | --versio | --versi | --vers | --ver | --ve | --v) >- echo "$CONFIG_STATUS generated by autoconf version 2.13" >- exit 0 ;; >- -help | --help | --hel | --he | --h) >- echo "\$ac_cs_usage"; exit 0 ;; >- *) echo "\$ac_cs_usage"; exit 1 ;; >+ echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" >+ exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF >+ --version | --vers* | -V ) >+ echo "$ac_cs_version"; exit 0 ;; >+ --he | --h) >+ # Conflict between --help and --header >+ { { echo "$as_me:$LINENO: error: ambiguous option: $1 >+Try \`$0 --help' for more information." >&5 >+echo "$as_me: error: ambiguous option: $1 >+Try \`$0 --help' for more information." >&2;} >+ { (exit 1); exit 1; }; };; >+ --help | --hel | -h ) >+ echo "$ac_cs_usage"; exit 0 ;; >+ --debug | --d* | -d ) >+ debug=: ;; >+ --file | --fil | --fi | --f ) >+ $ac_shift >+ CONFIG_FILES="$CONFIG_FILES $ac_optarg" >+ ac_need_defaults=false;; >+ --header | --heade | --head | --hea ) >+ $ac_shift >+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" >+ ac_need_defaults=false;; >+ >+ # This is an error. >+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 >+Try \`$0 --help' for more information." >&5 >+echo "$as_me: error: unrecognized option: $1 >+Try \`$0 --help' for more information." >&2;} >+ { (exit 1); exit 1; }; } ;; >+ >+ *) ac_config_targets="$ac_config_targets $1" ;; >+ > esac >+ shift > done > >-ac_given_srcdir=$srcdir >-ac_given_INSTALL="$INSTALL" >+_ACEOF > >-trap 'rm -fr `echo "mk/config.mk mk/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 >-EOF >-cat >> $CONFIG_STATUS <<EOF > >-# Protect against being on the right side of a sed subst in config.status. >-sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; >- s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF >-$ac_vpsub >-$extrasub >-s%@SHELL@%$SHELL%g >-s%@CFLAGS@%$CFLAGS%g >-s%@CPPFLAGS@%$CPPFLAGS%g >-s%@CXXFLAGS@%$CXXFLAGS%g >-s%@FFLAGS@%$FFLAGS%g >-s%@DEFS@%$DEFS%g >-s%@LDFLAGS@%$LDFLAGS%g >-s%@LIBS@%$LIBS%g >-s%@exec_prefix@%$exec_prefix%g >-s%@prefix@%$prefix%g >-s%@program_transform_name@%$program_transform_name%g >-s%@bindir@%$bindir%g >-s%@sbindir@%$sbindir%g >-s%@libexecdir@%$libexecdir%g >-s%@datadir@%$datadir%g >-s%@sysconfdir@%$sysconfdir%g >-s%@sharedstatedir@%$sharedstatedir%g >-s%@localstatedir@%$localstatedir%g >-s%@libdir@%$libdir%g >-s%@includedir@%$includedir%g >-s%@oldincludedir@%$oldincludedir%g >-s%@infodir@%$infodir%g >-s%@mandir@%$mandir%g >-s%@subdirs@%$subdirs%g >-s%@host@%$host%g >-s%@host_alias@%$host_alias%g >-s%@host_cpu@%$host_cpu%g >-s%@host_vendor@%$host_vendor%g >-s%@host_os@%$host_os%g >-s%@target@%$target%g >-s%@target_alias@%$target_alias%g >-s%@target_cpu@%$target_cpu%g >-s%@target_vendor@%$target_vendor%g >-s%@target_os@%$target_os%g >-s%@build@%$build%g >-s%@build_alias@%$build_alias%g >-s%@build_cpu@%$build_cpu%g >-s%@build_vendor@%$build_vendor%g >-s%@build_os@%$build_os%g >-s%@HostPlatform@%$HostPlatform%g >-s%@TargetPlatform@%$TargetPlatform%g >-s%@HostPlatform_CPP@%$HostPlatform_CPP%g >-s%@HostArch_CPP@%$HostArch_CPP%g >-s%@HostOS_CPP@%$HostOS_CPP%g >-s%@HostOS_Full@%$HostOS_Full%g >-s%@HostVendor_CPP@%$HostVendor_CPP%g >-s%@exeext@%$exeext%g >-s%@hardtop@%$hardtop%g >-s%@hardtop_plat@%$hardtop_plat%g >-s%@GHC@%$GHC%g >-s%@WithGhc@%$WithGhc%g >-s%@WithHc@%$WithHc%g >-s%@GhcVersion@%$GhcVersion%g >-s%@GhcMajVersion@%$GhcMajVersion%g >-s%@GhcMinVersion@%$GhcMinVersion%g >-s%@GhcPatchLevel@%$GhcPatchLevel%g >-s%@NHC@%$NHC%g >-s%@HBC@%$HBC%g >-s%@WhatGccIsCalled@%$WhatGccIsCalled%g >-s%@BootingFromHc@%$BootingFromHc%g >-s%@BootingFromUnregisterisedHc@%$BootingFromUnregisterisedHc%g >-s%@ThreadedRts@%$ThreadedRts%g >-s%@EnableWin32DLLs@%$EnableWin32DLLs%g >-s%@GhcLibsWithHOpenGL@%$GhcLibsWithHOpenGL%g >-s%@PerlCmd@%$PerlCmd%g >-s%@CC@%$CC%g >-s%@HaveGcc@%$HaveGcc%g >-s%@CPP@%$CPP%g >-s%@SRC_CC_OPTS@%$SRC_CC_OPTS%g >-s%@ContextDiffCmd@%$ContextDiffCmd%g >-s%@Find2Cmd@%$Find2Cmd%g >-s%@FindCmd@%$FindCmd%g >-s%@YACC@%$YACC%g >-s%@WhatCmd@%$WhatCmd%g >-s%@YaccCmd@%$YaccCmd%g >-s%@LEX@%$LEX%g >-s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g >-s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g >-s%@INSTALL_DATA@%$INSTALL_DATA%g >-s%@ArCmdRaw@%$ArCmdRaw%g >-s%@ArCmd@%$ArCmd%g >-s%@ArSupportsInput@%$ArSupportsInput%g >-s%@RANLIB@%$RANLIB%g >-s%@LN_S@%$LN_S%g >-s%@SedCmd@%$SedCmd%g >-s%@TimeCmd@%$TimeCmd%g >-s%@TarCmd@%$TarCmd%g >-s%@CompressCmd@%$CompressCmd%g >-s%@JadeCmd@%$JadeCmd%g >-s%@Catalog@%$Catalog%g >-s%@CompressSuffix@%$CompressSuffix%g >-s%@HappyCmd@%$HappyCmd%g >-s%@HappyVersion@%$HappyVersion%g >-s%@HaveReadlineHeaders@%$HaveReadlineHeaders%g >-s%@HavePosixRegex@%$HavePosixRegex%g >-s%@HAVE_MSGHDR_MSG_ACCRIGHTS@%$HAVE_MSGHDR_MSG_ACCRIGHTS%g >-s%@HAVE_MSGHDR_MSG_CONTROL@%$HAVE_MSGHDR_MSG_CONTROL%g >-s%@HaveLibGmp@%$HaveLibGmp%g >-s%@LibGmp@%$LibGmp%g >-s%@HaveLibMingwEx@%$HaveLibMingwEx%g >-s%@HaveGNURegex@%$HaveGNURegex%g >-s%@LibsReadline@%$LibsReadline%g >-s%@LIBM@%$LIBM%g >-s%@X_CFLAGS@%$X_CFLAGS%g >-s%@X_PRE_LIBS@%$X_PRE_LIBS%g >-s%@X_LIBS@%$X_LIBS%g >-s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g >-s%@GL_CFLAGS@%$GL_CFLAGS%g >-s%@GL_LIBS@%$GL_LIBS%g >-s%@HaveLibDL@%$HaveLibDL%g >-s%@HaveRtldNext@%$HaveRtldNext%g >-s%@HaveRtldLocal@%$HaveRtldLocal%g >-s%@GTK_CONFIG@%$GTK_CONFIG%g >-s%@GTK_VERSION@%$GTK_VERSION%g >-s%@ALLOCA@%$ALLOCA%g >-s%@LeadingUnderscore@%$LeadingUnderscore%g >-s%@LdCmdRaw@%$LdCmdRaw%g >-s%@LdCmd@%$LdCmd%g >-s%@LdXFlag@%$LdXFlag%g > >+ >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+for ac_config_target in $ac_config_targets >+do >+ case "$ac_config_target" in >+ # Handling of arguments. >+ "mk/config.mk" ) CONFIG_FILES="$CONFIG_FILES mk/config.mk" ;; >+ "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; >+ "mk/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS mk/config.h" ;; >+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 >+echo "$as_me: error: invalid argument: $ac_config_target" >&2;} >+ { (exit 1); exit 1; }; };; >+ esac >+done >+ >+# If the user did not use the arguments to specify the items to instantiate, >+# then the envvar interface is used. Set only those that are not. >+# We use the long form for the default assignment because of an extremely >+# bizarre bug on SunOS 4.1.3. >+if $ac_need_defaults; then >+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files >+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers >+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands >+fi >+ >+# Create a temporary directory, and hook for its removal unless debugging. >+$debug || >+{ >+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 >+ trap '{ (exit 1); exit 1; }' 1 2 13 15 >+} >+ >+# Create a (secure) tmp directory for tmp files. >+: ${TMPDIR=/tmp} >+{ >+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && >+ test -n "$tmp" && test -d "$tmp" >+} || >+{ >+ tmp=$TMPDIR/cs$$-$RANDOM >+ (umask 077 && mkdir $tmp) >+} || >+{ >+ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 >+ { (exit 1); exit 1; } >+} >+ >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<_ACEOF >+ >+# >+# CONFIG_FILES section. >+# >+ >+# No need to generate the scripts if there are no CONFIG_FILES. >+# This happens for instance when ./config.status config.h >+if test -n "\$CONFIG_FILES"; then >+ # Protect against being on the right side of a sed subst in config.status. >+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; >+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF >+s,@SHELL@,$SHELL,;t t >+s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t >+s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t >+s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t >+s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t >+s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t >+s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t >+s,@exec_prefix@,$exec_prefix,;t t >+s,@prefix@,$prefix,;t t >+s,@program_transform_name@,$program_transform_name,;t t >+s,@bindir@,$bindir,;t t >+s,@sbindir@,$sbindir,;t t >+s,@libexecdir@,$libexecdir,;t t >+s,@datadir@,$datadir,;t t >+s,@sysconfdir@,$sysconfdir,;t t >+s,@sharedstatedir@,$sharedstatedir,;t t >+s,@localstatedir@,$localstatedir,;t t >+s,@libdir@,$libdir,;t t >+s,@includedir@,$includedir,;t t >+s,@oldincludedir@,$oldincludedir,;t t >+s,@infodir@,$infodir,;t t >+s,@mandir@,$mandir,;t t >+s,@build_alias@,$build_alias,;t t >+s,@host_alias@,$host_alias,;t t >+s,@target_alias@,$target_alias,;t t >+s,@DEFS@,$DEFS,;t t >+s,@ECHO_C@,$ECHO_C,;t t >+s,@ECHO_N@,$ECHO_N,;t t >+s,@ECHO_T@,$ECHO_T,;t t >+s,@LIBS@,$LIBS,;t t >+s,@subdirs@,$subdirs,;t t >+s,@build@,$build,;t t >+s,@build_cpu@,$build_cpu,;t t >+s,@build_vendor@,$build_vendor,;t t >+s,@build_os@,$build_os,;t t >+s,@host@,$host,;t t >+s,@host_cpu@,$host_cpu,;t t >+s,@host_vendor@,$host_vendor,;t t >+s,@host_os@,$host_os,;t t >+s,@target@,$target,;t t >+s,@target_cpu@,$target_cpu,;t t >+s,@target_vendor@,$target_vendor,;t t >+s,@target_os@,$target_os,;t t >+s,@HostPlatform@,$HostPlatform,;t t >+s,@TargetPlatform@,$TargetPlatform,;t t >+s,@HostPlatform_CPP@,$HostPlatform_CPP,;t t >+s,@HostArch_CPP@,$HostArch_CPP,;t t >+s,@HostOS_CPP@,$HostOS_CPP,;t t >+s,@HostOS_Full@,$HostOS_Full,;t t >+s,@HostVendor_CPP@,$HostVendor_CPP,;t t >+s,@exeext@,$exeext,;t t >+s,@hardtop@,$hardtop,;t t >+s,@hardtop_plat@,$hardtop_plat,;t t >+s,@GHC@,$GHC,;t t >+s,@WithGhc@,$WithGhc,;t t >+s,@WithHc@,$WithHc,;t t >+s,@GhcVersion@,$GhcVersion,;t t >+s,@GhcMajVersion@,$GhcMajVersion,;t t >+s,@GhcMinVersion@,$GhcMinVersion,;t t >+s,@GhcPatchLevel@,$GhcPatchLevel,;t t >+s,@NHC@,$NHC,;t t >+s,@HBC@,$HBC,;t t >+s,@WhatGccIsCalled@,$WhatGccIsCalled,;t t >+s,@BootingFromHc@,$BootingFromHc,;t t >+s,@BootingFromUnregisterisedHc@,$BootingFromUnregisterisedHc,;t t >+s,@ThreadedRts@,$ThreadedRts,;t t >+s,@EnableWin32DLLs@,$EnableWin32DLLs,;t t >+s,@GhcLibsWithHOpenGL@,$GhcLibsWithHOpenGL,;t t >+s,@PerlCmd@,$PerlCmd,;t t >+s,@CC@,$CC,;t t >+s,@CFLAGS@,$CFLAGS,;t t >+s,@LDFLAGS@,$LDFLAGS,;t t >+s,@CPPFLAGS@,$CPPFLAGS,;t t >+s,@ac_ct_CC@,$ac_ct_CC,;t t >+s,@EXEEXT@,$EXEEXT,;t t >+s,@OBJEXT@,$OBJEXT,;t t >+s,@HaveGcc@,$HaveGcc,;t t >+s,@CPP@,$CPP,;t t >+s,@SRC_CC_OPTS@,$SRC_CC_OPTS,;t t >+s,@ContextDiffCmd@,$ContextDiffCmd,;t t >+s,@Find2Cmd@,$Find2Cmd,;t t >+s,@FindCmd@,$FindCmd,;t t >+s,@YACC@,$YACC,;t t >+s,@WhatCmd@,$WhatCmd,;t t >+s,@YaccCmd@,$YaccCmd,;t t >+s,@LEX@,$LEX,;t t >+s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t >+s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t >+s,@INSTALL_DATA@,$INSTALL_DATA,;t t >+s,@ArCmdRaw@,$ArCmdRaw,;t t >+s,@ArCmd@,$ArCmd,;t t >+s,@ArSupportsInput@,$ArSupportsInput,;t t >+s,@RANLIB@,$RANLIB,;t t >+s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t >+s,@LN_S@,$LN_S,;t t >+s,@SedCmd@,$SedCmd,;t t >+s,@TimeCmd@,$TimeCmd,;t t >+s,@TarCmd@,$TarCmd,;t t >+s,@CompressCmd@,$CompressCmd,;t t >+s,@JadeCmd@,$JadeCmd,;t t >+s,@Catalog@,$Catalog,;t t >+s,@CompressSuffix@,$CompressSuffix,;t t >+s,@HappyCmd@,$HappyCmd,;t t >+s,@HappyVersion@,$HappyVersion,;t t >+s,@HaveReadlineHeaders@,$HaveReadlineHeaders,;t t >+s,@HavePosixRegex@,$HavePosixRegex,;t t >+s,@HAVE_MSGHDR_MSG_ACCRIGHTS@,$HAVE_MSGHDR_MSG_ACCRIGHTS,;t t >+s,@HAVE_MSGHDR_MSG_CONTROL@,$HAVE_MSGHDR_MSG_CONTROL,;t t >+s,@HaveLibGmp@,$HaveLibGmp,;t t >+s,@LibGmp@,$LibGmp,;t t >+s,@HaveLibMingwEx@,$HaveLibMingwEx,;t t >+s,@HaveGNURegex@,$HaveGNURegex,;t t >+s,@LibsReadline@,$LibsReadline,;t t >+s,@LIBM@,$LIBM,;t t >+s,@X_CFLAGS@,$X_CFLAGS,;t t >+s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t >+s,@X_LIBS@,$X_LIBS,;t t >+s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t >+s,@GL_CFLAGS@,$GL_CFLAGS,;t t >+s,@GL_LIBS@,$GL_LIBS,;t t >+s,@HaveLibDL@,$HaveLibDL,;t t >+s,@HaveRtldNext@,$HaveRtldNext,;t t >+s,@HaveRtldLocal@,$HaveRtldLocal,;t t >+s,@GTK_CONFIG@,$GTK_CONFIG,;t t >+s,@GTK_VERSION@,$GTK_VERSION,;t t >+s,@ALLOCA@,$ALLOCA,;t t >+s,@LeadingUnderscore@,$LeadingUnderscore,;t t >+s,@LdCmdRaw@,$LdCmdRaw,;t t >+s,@LdCmd@,$LdCmd,;t t >+s,@LdXFlag@,$LdXFlag,;t t > CEOF >-EOF > >-cat >> $CONFIG_STATUS <<\EOF >+_ACEOF > >-# Split the substitutions into bite-sized pieces for seds with >-# small command number limits, like on Digital OSF/1 and HP-UX. >-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. >-ac_file=1 # Number of current file. >-ac_beg=1 # First line for current file. >-ac_end=$ac_max_sed_cmds # Line after last line for current file. >-ac_more_lines=: >-ac_sed_cmds="" >-while $ac_more_lines; do >- if test $ac_beg -gt 1; then >- sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file >- else >- sed "${ac_end}q" conftest.subs > conftest.s$ac_file >- fi >- if test ! -s conftest.s$ac_file; then >- ac_more_lines=false >- rm -f conftest.s$ac_file >- else >- if test -z "$ac_sed_cmds"; then >- ac_sed_cmds="sed -f conftest.s$ac_file" >+ cat >>$CONFIG_STATUS <<\_ACEOF >+ # Split the substitutions into bite-sized pieces for seds with >+ # small command number limits, like on Digital OSF/1 and HP-UX. >+ ac_max_sed_lines=48 >+ ac_sed_frag=1 # Number of current file. >+ ac_beg=1 # First line for current file. >+ ac_end=$ac_max_sed_lines # Line after last line for current file. >+ ac_more_lines=: >+ ac_sed_cmds= >+ while $ac_more_lines; do >+ if test $ac_beg -gt 1; then >+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag >+ else >+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag >+ fi >+ if test ! -s $tmp/subs.frag; then >+ ac_more_lines=false > else >- ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" >+ # The purpose of the label and of the branching condition is to >+ # speed up the sed processing (if there are no `@' at all, there >+ # is no need to browse any of the substitutions). >+ # These are the two extra sed commands mentioned above. >+ (echo ':t >+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed >+ if test -z "$ac_sed_cmds"; then >+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" >+ else >+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" >+ fi >+ ac_sed_frag=`expr $ac_sed_frag + 1` >+ ac_beg=$ac_end >+ ac_end=`expr $ac_end + $ac_max_sed_lines` > fi >- ac_file=`expr $ac_file + 1` >- ac_beg=$ac_end >- ac_end=`expr $ac_end + $ac_max_sed_cmds` >+ done >+ if test -z "$ac_sed_cmds"; then >+ ac_sed_cmds=cat > fi >-done >-if test -z "$ac_sed_cmds"; then >- ac_sed_cmds=cat >-fi >-EOF >+fi # test -n "$CONFIG_FILES" > >-cat >> $CONFIG_STATUS <<EOF >- >-CONFIG_FILES=\${CONFIG_FILES-"mk/config.mk"} >-EOF >-cat >> $CONFIG_STATUS <<\EOF >-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF >+for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue > # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". >- case "$ac_file" in >- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` >- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; >- *) ac_file_in="${ac_file}.in" ;; >+ case $ac_file in >+ - | *:- | *:-:* ) # input from stdin >+ cat >$tmp/stdin >+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` >+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; >+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` >+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; >+ * ) ac_file_in=$ac_file.in ;; > esac > >- # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. >- >- # Remove last slash and all that follows it. Not all systems have dirname. >- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` >- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then >- # The file is in a subdirectory. >- test ! -d "$ac_dir" && mkdir "$ac_dir" >- ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" >- # A "../" for each directory in $ac_dir_suffix. >- ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` >- else >- ac_dir_suffix= ac_dots= >- fi >- >- case "$ac_given_srcdir" in >- .) srcdir=. >- if test -z "$ac_dots"; then top_srcdir=. >- else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; >- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; >+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. >+ ac_dir=`(dirname "$ac_file") 2>/dev/null || >+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$ac_file" : 'X\(//\)[^/]' \| \ >+ X"$ac_file" : 'X\(//\)$' \| \ >+ X"$ac_file" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$ac_file" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ { if $as_mkdir_p; then >+ mkdir -p "$ac_dir" >+ else >+ as_dir="$ac_dir" >+ as_dirs= >+ while test ! -d "$as_dir"; do >+ as_dirs="$as_dir $as_dirs" >+ as_dir=`(dirname "$as_dir") 2>/dev/null || >+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$as_dir" : 'X\(//\)[^/]' \| \ >+ X"$as_dir" : 'X\(//\)$' \| \ >+ X"$as_dir" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$as_dir" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ done >+ test ! -n "$as_dirs" || mkdir $as_dirs >+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 >+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} >+ { (exit 1); exit 1; }; }; } >+ >+ ac_builddir=. >+ >+if test "$ac_dir" != .; then >+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >+ # A "../" for each directory in $ac_dir_suffix. >+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` >+else >+ ac_dir_suffix= ac_top_builddir= >+fi >+ >+case $srcdir in >+ .) # No --srcdir option. We are building in place. >+ ac_srcdir=. >+ if test -z "$ac_top_builddir"; then >+ ac_top_srcdir=. >+ else >+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` >+ fi ;; >+ [\\/]* | ?:[\\/]* ) # Absolute path. >+ ac_srcdir=$srcdir$ac_dir_suffix; >+ ac_top_srcdir=$srcdir ;; > *) # Relative path. >- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" >- top_srcdir="$ac_dots$ac_given_srcdir" ;; >- esac >+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix >+ ac_top_srcdir=$ac_top_builddir$srcdir ;; >+esac >+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be >+# absolute. >+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` >+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` >+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` >+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` > >- case "$ac_given_INSTALL" in >- [/$]*) INSTALL="$ac_given_INSTALL" ;; >- *) INSTALL="$ac_dots$ac_given_INSTALL" ;; >- esac > >- echo creating "$ac_file" >- rm -f "$ac_file" >- configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." >- case "$ac_file" in >- *Makefile*) ac_comsub="1i\\ >-# $configure_input" ;; >- *) ac_comsub= ;; >+ case $INSTALL in >+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; >+ *) ac_INSTALL=$ac_top_builddir$INSTALL ;; > esac > >- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` >- sed -e "$ac_comsub >-s%@configure_input@%$configure_input%g >-s%@srcdir@%$srcdir%g >-s%@top_srcdir@%$top_srcdir%g >-s%@INSTALL@%$INSTALL%g >-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file >-fi; done >-rm -f conftest.s* >+ if test x"$ac_file" != x-; then >+ { echo "$as_me:$LINENO: creating $ac_file" >&5 >+echo "$as_me: creating $ac_file" >&6;} >+ rm -f "$ac_file" >+ fi >+ # Let's still pretend it is `configure' which instantiates (i.e., don't >+ # use $as_me), people would be surprised to read: >+ # /* config.h. Generated by config.status. */ >+ if test x"$ac_file" = x-; then >+ configure_input= >+ else >+ configure_input="$ac_file. " >+ fi >+ configure_input=$configure_input"Generated from `echo $ac_file_in | >+ sed 's,.*/,,'` by configure." >+ >+ # First look for the input files in the build tree, otherwise in the >+ # src tree. >+ ac_file_inputs=`IFS=: >+ for f in $ac_file_in; do >+ case $f in >+ -) echo $tmp/stdin ;; >+ [\\/$]*) >+ # Absolute (can't be DOS-style, as IFS=:) >+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 >+echo "$as_me: error: cannot find input file: $f" >&2;} >+ { (exit 1); exit 1; }; } >+ echo $f;; >+ *) # Relative >+ if test -f "$f"; then >+ # Build tree >+ echo $f >+ elif test -f "$srcdir/$f"; then >+ # Source tree >+ echo $srcdir/$f >+ else >+ # /dev/null tree >+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 >+echo "$as_me: error: cannot find input file: $f" >&2;} >+ { (exit 1); exit 1; }; } >+ fi;; >+ esac >+ done` || { (exit 1); exit 1; } >+_ACEOF >+cat >>$CONFIG_STATUS <<_ACEOF >+ sed "$ac_vpsub >+$extrasub >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF >+:t >+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b >+s,@configure_input@,$configure_input,;t t >+s,@srcdir@,$ac_srcdir,;t t >+s,@abs_srcdir@,$ac_abs_srcdir,;t t >+s,@top_srcdir@,$ac_top_srcdir,;t t >+s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t >+s,@builddir@,$ac_builddir,;t t >+s,@abs_builddir@,$ac_abs_builddir,;t t >+s,@top_builddir@,$ac_top_builddir,;t t >+s,@abs_top_builddir@,$ac_abs_top_builddir,;t t >+s,@INSTALL@,$ac_INSTALL,;t t >+" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out >+ rm -f $tmp/stdin >+ if test x"$ac_file" != x-; then >+ mv $tmp/out $ac_file >+ else >+ cat $tmp/out >+ rm -f $tmp/out >+ fi >+ >+done >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF >+ >+# >+# CONFIG_HEADER section. >+# > > # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where > # NAME is the cpp macro being defined and VALUE is the value it is being given. > # > # ac_d sets the value in "#define NAME VALUE" lines. >-ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' >-ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' >-ac_dC='\3' >-ac_dD='%g' >-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". >-ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' >-ac_uB='\([ ]\)%\1#\2define\3' >+ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' >+ac_dB='[ ].*$,\1#\2' >+ac_dC=' ' >+ac_dD=',;t' >+# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". >+ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' >+ac_uB='$,\1#\2define\3' > ac_uC=' ' >-ac_uD='\4%g' >-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". >-ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' >-ac_eB='$%\1#\2define\3' >-ac_eC=' ' >-ac_eD='%g' >+ac_uD=',;t' > >-if test "${CONFIG_HEADERS+set}" != set; then >-EOF >-cat >> $CONFIG_STATUS <<EOF >- CONFIG_HEADERS="mk/config.h" >-EOF >-cat >> $CONFIG_STATUS <<\EOF >-fi >-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then >+for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue > # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". >- case "$ac_file" in >- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` >- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; >- *) ac_file_in="${ac_file}.in" ;; >+ case $ac_file in >+ - | *:- | *:-:* ) # input from stdin >+ cat >$tmp/stdin >+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` >+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; >+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` >+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; >+ * ) ac_file_in=$ac_file.in ;; > esac > >- echo creating $ac_file >+ test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 >+echo "$as_me: creating $ac_file" >&6;} > >- rm -f conftest.frag conftest.in conftest.out >- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` >- cat $ac_file_inputs > conftest.in >- >-EOF >- >-# Transform confdefs.h into a sed script conftest.vals that substitutes >-# the proper values into config.h.in to produce config.h. And first: >-# Protect against being on the right side of a sed subst in config.status. >-# Protect against being in an unquoted here document in config.status. >-rm -f conftest.vals >-cat > conftest.hdr <<\EOF >-s/[\\&%]/\\&/g >-s%[\\$`]%\\&%g >-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp >-s%ac_d%ac_u%gp >-s%ac_u%ac_e%gp >-EOF >-sed -n -f conftest.hdr confdefs.h > conftest.vals >-rm -f conftest.hdr >+ # First look for the input files in the build tree, otherwise in the >+ # src tree. >+ ac_file_inputs=`IFS=: >+ for f in $ac_file_in; do >+ case $f in >+ -) echo $tmp/stdin ;; >+ [\\/$]*) >+ # Absolute (can't be DOS-style, as IFS=:) >+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 >+echo "$as_me: error: cannot find input file: $f" >&2;} >+ { (exit 1); exit 1; }; } >+ echo $f;; >+ *) # Relative >+ if test -f "$f"; then >+ # Build tree >+ echo $f >+ elif test -f "$srcdir/$f"; then >+ # Source tree >+ echo $srcdir/$f >+ else >+ # /dev/null tree >+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 >+echo "$as_me: error: cannot find input file: $f" >&2;} >+ { (exit 1); exit 1; }; } >+ fi;; >+ esac >+ done` || { (exit 1); exit 1; } >+ # Remove the trailing spaces. >+ sed 's/[ ]*$//' $ac_file_inputs >$tmp/in >+ >+_ACEOF >+ >+# Transform confdefs.h into two sed scripts, `conftest.defines' and >+# `conftest.undefs', that substitutes the proper values into >+# config.h.in to produce config.h. The first handles `#define' >+# templates, and the second `#undef' templates. >+# And first: Protect against being on the right side of a sed subst in >+# config.status. Protect against being in an unquoted here document >+# in config.status. >+rm -f conftest.defines conftest.undefs >+# Using a here document instead of a string reduces the quoting nightmare. >+# Putting comments in sed scripts is not portable. >+# >+# `end' is used to avoid that the second main sed command (meant for >+# 0-ary CPP macros) applies to n-ary macro definitions. >+# See the Autoconf documentation for `clear'. >+cat >confdef2sed.sed <<\_ACEOF >+s/[\\&,]/\\&/g >+s,[\\$`],\\&,g >+t clear >+: clear >+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp >+t end >+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp >+: end >+_ACEOF >+# If some macros were called several times there might be several times >+# the same #defines, which is useless. Nevertheless, we may not want to >+# sort them, since we want the *last* AC-DEFINE to be honored. >+uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines >+sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs >+rm -f confdef2sed.sed > > # This sed command replaces #undef with comments. This is necessary, for > # example, in the case of _POSIX_SOURCE, which is predefined and required > # on some systems where configure will not decide to define it. >-cat >> conftest.vals <<\EOF >-s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% >-EOF >- >-# Break up conftest.vals because some shells have a limit on >-# the size of here documents, and old seds have small limits too. >- >+cat >>conftest.undefs <<\_ACEOF >+s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, >+_ACEOF >+ >+# Break up conftest.defines because some shells have a limit on the size >+# of here documents, and old seds have small limits too (100 cmds). >+echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS >+echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS >+echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS >+echo ' :' >>$CONFIG_STATUS >+rm -f conftest.tail >+while grep . conftest.defines >/dev/null >+do >+ # Write a limited-size here document to $tmp/defines.sed. >+ echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS >+ # Speed up: don't consider the non `#define' lines. >+ echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS >+ # Work around the forget-to-reset-the-flag bug. >+ echo 't clr' >>$CONFIG_STATUS >+ echo ': clr' >>$CONFIG_STATUS >+ sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS >+ echo 'CEOF >+ sed -f $tmp/defines.sed $tmp/in >$tmp/out >+ rm -f $tmp/in >+ mv $tmp/out $tmp/in >+' >>$CONFIG_STATUS >+ sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail >+ rm -f conftest.defines >+ mv conftest.tail conftest.defines >+done >+rm -f conftest.defines >+echo ' fi # egrep' >>$CONFIG_STATUS >+echo >>$CONFIG_STATUS >+ >+# Break up conftest.undefs because some shells have a limit on the size >+# of here documents, and old seds have small limits too (100 cmds). >+echo ' # Handle all the #undef templates' >>$CONFIG_STATUS > rm -f conftest.tail >-while : >+while grep . conftest.undefs >/dev/null > do >- ac_lines=`grep -c . conftest.vals` >- # grep -c gives empty output for an empty file on some AIX systems. >- if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi >- # Write a limited-size here document to conftest.frag. >- echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS >- sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS >+ # Write a limited-size here document to $tmp/undefs.sed. >+ echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS >+ # Speed up: don't consider the non `#undef' >+ echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS >+ # Work around the forget-to-reset-the-flag bug. >+ echo 't clr' >>$CONFIG_STATUS >+ echo ': clr' >>$CONFIG_STATUS >+ sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS > echo 'CEOF >- sed -f conftest.frag conftest.in > conftest.out >- rm -f conftest.in >- mv conftest.out conftest.in >-' >> $CONFIG_STATUS >- sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail >- rm -f conftest.vals >- mv conftest.tail conftest.vals >-done >-rm -f conftest.vals >- >-cat >> $CONFIG_STATUS <<\EOF >- rm -f conftest.frag conftest.h >- echo "/* $ac_file. Generated automatically by configure. */" > conftest.h >- cat conftest.in >> conftest.h >- rm -f conftest.in >- if cmp -s $ac_file conftest.h 2>/dev/null; then >- echo "$ac_file is unchanged" >- rm -f conftest.h >- else >- # Remove last slash and all that follows it. Not all systems have dirname. >- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` >- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then >- # The file is in a subdirectory. >- test ! -d "$ac_dir" && mkdir "$ac_dir" >+ sed -f $tmp/undefs.sed $tmp/in >$tmp/out >+ rm -f $tmp/in >+ mv $tmp/out $tmp/in >+' >>$CONFIG_STATUS >+ sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail >+ rm -f conftest.undefs >+ mv conftest.tail conftest.undefs >+done >+rm -f conftest.undefs >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+ # Let's still pretend it is `configure' which instantiates (i.e., don't >+ # use $as_me), people would be surprised to read: >+ # /* config.h. Generated by config.status. */ >+ if test x"$ac_file" = x-; then >+ echo "/* Generated by configure. */" >$tmp/config.h >+ else >+ echo "/* $ac_file. Generated by configure. */" >$tmp/config.h >+ fi >+ cat $tmp/in >>$tmp/config.h >+ rm -f $tmp/in >+ if test x"$ac_file" != x-; then >+ if cmp -s $ac_file $tmp/config.h 2>/dev/null; then >+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 >+echo "$as_me: $ac_file is unchanged" >&6;} >+ else >+ ac_dir=`(dirname "$ac_file") 2>/dev/null || >+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$ac_file" : 'X\(//\)[^/]' \| \ >+ X"$ac_file" : 'X\(//\)$' \| \ >+ X"$ac_file" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$ac_file" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ { if $as_mkdir_p; then >+ mkdir -p "$ac_dir" >+ else >+ as_dir="$ac_dir" >+ as_dirs= >+ while test ! -d "$as_dir"; do >+ as_dirs="$as_dir $as_dirs" >+ as_dir=`(dirname "$as_dir") 2>/dev/null || >+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$as_dir" : 'X\(//\)[^/]' \| \ >+ X"$as_dir" : 'X\(//\)$' \| \ >+ X"$as_dir" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$as_dir" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ done >+ test ! -n "$as_dirs" || mkdir $as_dirs >+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 >+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} >+ { (exit 1); exit 1; }; }; } >+ >+ rm -f $ac_file >+ mv $tmp/config.h $ac_file > fi >- rm -f $ac_file >- mv conftest.h $ac_file >+ else >+ cat $tmp/config.h >+ rm -f $tmp/config.h > fi >-fi; done >+done >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF > >-EOF >-cat >> $CONFIG_STATUS <<EOF >+# >+# CONFIG_COMMANDS section. >+# >+for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue >+ ac_dest=`echo "$ac_file" | sed 's,:.*,,'` >+ ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` >+ ac_dir=`(dirname "$ac_dest") 2>/dev/null || >+$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$ac_dest" : 'X\(//\)[^/]' \| \ >+ X"$ac_dest" : 'X\(//\)$' \| \ >+ X"$ac_dest" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$ac_dest" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ ac_builddir=. >+ >+if test "$ac_dir" != .; then >+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >+ # A "../" for each directory in $ac_dir_suffix. >+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` >+else >+ ac_dir_suffix= ac_top_builddir= >+fi >+ >+case $srcdir in >+ .) # No --srcdir option. We are building in place. >+ ac_srcdir=. >+ if test -z "$ac_top_builddir"; then >+ ac_top_srcdir=. >+ else >+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` >+ fi ;; >+ [\\/]* | ?:[\\/]* ) # Absolute path. >+ ac_srcdir=$srcdir$ac_dir_suffix; >+ ac_top_srcdir=$srcdir ;; >+ *) # Relative path. >+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix >+ ac_top_srcdir=$ac_top_builddir$srcdir ;; >+esac >+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be >+# absolute. >+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` >+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` >+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` >+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` > >-EOF >-cat >> $CONFIG_STATUS <<\EOF >-echo timestamp > mk/stamp-h >-exit 0 >-EOF >+ >+ { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 >+echo "$as_me: executing $ac_dest commands" >&6;} >+ case $ac_dest in >+ default ) echo timestamp > mk/stamp-h ;; >+ esac >+done >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+ >+{ (exit 0); exit 0; } >+_ACEOF > chmod +x $CONFIG_STATUS >-rm -fr confdefs* $ac_clean_files >-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 >+ac_clean_files=$ac_clean_files_save >+ >+ >+# configure is writing to config.log, and then calls config.status. >+# config.status does its own redirection, appending to config.log. >+# Unfortunately, on DOS this fails, as config.log is still kept open >+# by configure, so config.status won't be able to write to it; its >+# output is simply discarded. So we exec the FD to /dev/null, >+# effectively closing config.log, so it can be properly (re)opened and >+# appended to by config.status. When coming back to configure, we >+# need to make the FD available again. >+if test "$no_create" != yes; then >+ ac_cs_success=: >+ exec 5>/dev/null >+ $SHELL $CONFIG_STATUS || ac_cs_success=false >+ exec 5>>config.log >+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which >+ # would make configure fail if this is the last instruction. >+ $ac_cs_success || { (exit 1); exit 1; } >+fi > >+# >+# CONFIG_SUBDIRS section. >+# > if test "$no_recursion" != yes; then > > # Remove --cache-file and --srcdir arguments so they do not pile up. >@@ -13334,87 +23234,131 @@ > ac_prev= > continue > fi >- case "$ac_arg" in >+ case $ac_arg in > -cache-file | --cache-file | --cache-fil | --cache-fi \ > | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) > ac_prev=cache_file ;; > -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ >- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) >+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ >+ | --c=*) >+ ;; >+ --config-cache | -C) > ;; > -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) > ac_prev=srcdir ;; > -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) > ;; >+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) >+ ac_prev=prefix ;; >+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) >+ ;; > *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; > esac > done > >- for ac_config_dir in ghc; do >+ # Always prepend --prefix to ensure using the same prefix >+ # in subdir configurations. >+ ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" >+ >+ ac_popdir=`pwd` >+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue > > # Do not complain, so a configure script can configure whichever > # parts of a large source tree are present. >- if test ! -d $srcdir/$ac_config_dir; then >- continue >- fi >- >- echo configuring in $ac_config_dir >+ test -d $srcdir/$ac_dir || continue > >- case "$srcdir" in >- .) ;; >- *) >- if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; >- else >- { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } >- fi >- ;; >- esac >- >- ac_popdir=`pwd` >- cd $ac_config_dir >+ { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 >+echo "$as_me: configuring in $ac_dir" >&6;} >+ { if $as_mkdir_p; then >+ mkdir -p "$ac_dir" >+ else >+ as_dir="$ac_dir" >+ as_dirs= >+ while test ! -d "$as_dir"; do >+ as_dirs="$as_dir $as_dirs" >+ as_dir=`(dirname "$as_dir") 2>/dev/null || >+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$as_dir" : 'X\(//\)[^/]' \| \ >+ X"$as_dir" : 'X\(//\)$' \| \ >+ X"$as_dir" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$as_dir" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ done >+ test ! -n "$as_dirs" || mkdir $as_dirs >+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 >+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} >+ { (exit 1); exit 1; }; }; } >+ >+ ac_builddir=. >+ >+if test "$ac_dir" != .; then >+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >+ # A "../" for each directory in $ac_dir_suffix. >+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` >+else >+ ac_dir_suffix= ac_top_builddir= >+fi >+ >+case $srcdir in >+ .) # No --srcdir option. We are building in place. >+ ac_srcdir=. >+ if test -z "$ac_top_builddir"; then >+ ac_top_srcdir=. >+ else >+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` >+ fi ;; >+ [\\/]* | ?:[\\/]* ) # Absolute path. >+ ac_srcdir=$srcdir$ac_dir_suffix; >+ ac_top_srcdir=$srcdir ;; >+ *) # Relative path. >+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix >+ ac_top_srcdir=$ac_top_builddir$srcdir ;; >+esac >+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be >+# absolute. >+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` >+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` >+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` >+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` > >- # A "../" for each directory in /$ac_config_dir. >- ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` > >- case "$srcdir" in >- .) # No --srcdir option. We are building in place. >- ac_sub_srcdir=$srcdir ;; >- /*) # Absolute path. >- ac_sub_srcdir=$srcdir/$ac_config_dir ;; >- *) # Relative path. >- ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; >- esac >+ cd $ac_dir > > # Check for guested configure; otherwise get Cygnus style configure. >- if test -f $ac_sub_srcdir/configure; then >- ac_sub_configure=$ac_sub_srcdir/configure >- elif test -f $ac_sub_srcdir/configure.in; then >+ if test -f $ac_srcdir/configure.gnu; then >+ ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" >+ elif test -f $ac_srcdir/configure; then >+ ac_sub_configure="$SHELL '$ac_srcdir/configure'" >+ elif test -f $ac_srcdir/configure.in; then > ac_sub_configure=$ac_configure > else >- echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 >+ { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 >+echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} > ac_sub_configure= > fi > > # The recursion is here. > if test -n "$ac_sub_configure"; then >- > # Make the cache file name correct relative to the subdirectory. >- case "$cache_file" in >- /*) ac_sub_cache_file=$cache_file ;; >+ case $cache_file in >+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; > *) # Relative path. >- ac_sub_cache_file="$ac_dots$cache_file" ;; >+ ac_sub_cache_file=$ac_top_builddir$cache_file ;; > esac >- case "$ac_given_INSTALL" in >- [/$]*) INSTALL="$ac_given_INSTALL" ;; >- *) INSTALL="$ac_dots$ac_given_INSTALL" ;; >- esac > >- echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >+ { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 >+echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} > # The eval makes quoting arguments work. >- if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir >- then : >- else >- { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } >- fi >+ eval $ac_sub_configure $ac_sub_configure_args \ >+ --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || >+ { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 >+echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} >+ { (exit 1); exit 1; }; } > fi > > cd $ac_popdir >diff -Nur ghc-5.04/configure.in ghc-5.04-patched/configure.in >--- ghc-5.04/configure.in Tue Jun 25 17:49:58 2002 >+++ ghc-5.04-patched/configure.in Mon Jul 15 23:39:28 2002 >@@ -516,6 +516,16 @@ > test -n "$with_glut_xlib" && CPPFLAGS="$CPPFLAGS -DGLUT_XLIB_IMPLEMENTATION=$with_glut_xlib" > > >+dnl ** Disable the check for Happy (for source builds) >+dnl -------------------------------------------------------------- >+AC_ARG_WITH(happy, >+[ --without-happy >+ Don't check for the Happy parser generator, assuming the >+ parsers are already built. >+ If you don't have Happy, use this for building from a source >+ distribution (it contains the parsers pre-built). >+]) >+ > > > dnl -------------------------------------------------------------- >@@ -662,8 +672,9 @@ > ) > dnl ** check for installed happy binary + version > dnl (don't do it if we're booting from .hc files though.) >-if test "$BootingFromHc" = "NO"; then >-FPTOOLS_HAPPY >+dnl (also don't if --without-happy was given.) >+if test "$BootingFromHc" = "NO" && test x$with_happy != xno; then >+ FPTOOLS_HAPPY > fi; > > dnl -------------------------------------------------- >diff -Nur ghc-5.04/ghc/configure ghc-5.04-patched/ghc/configure >--- ghc-5.04/ghc/configure Wed Jul 10 20:39:54 2002 >+++ ghc-5.04-patched/ghc/configure Mon Jul 15 23:39:41 2002 >@@ -1,26 +1,291 @@ > #! /bin/sh >- > # Guess values for system-dependent variables and create Makefiles. >-# Generated automatically using autoconf version 2.13 >-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. >+# Generated by GNU Autoconf 2.53a. > # >+# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 >+# Free Software Foundation, Inc. > # This configure script is free software; the Free Software Foundation > # gives unlimited permission to copy, distribute and modify it. >+## --------------------- ## >+## M4sh Initialization. ## >+## --------------------- ## >+ >+# Be Bourne compatible >+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >+ emulate sh >+ NULLCMD=: >+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >+ # is contrary to our usage. Disable this feature. >+ alias -g '${1+"$@"}'='"$@"' >+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then >+ set -o posix >+fi >+ >+# NLS nuisances. >+# Support unset when possible. >+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then >+ as_unset=unset >+else >+ as_unset=false >+fi >+ >+(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && >+ { $as_unset LANG || test "${LANG+set}" != set; } || >+ { LANG=C; export LANG; } >+(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && >+ { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || >+ { LC_ALL=C; export LC_ALL; } >+(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && >+ { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || >+ { LC_TIME=C; export LC_TIME; } >+(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && >+ { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || >+ { LC_CTYPE=C; export LC_CTYPE; } >+(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && >+ { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || >+ { LANGUAGE=C; export LANGUAGE; } >+(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && >+ { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || >+ { LC_COLLATE=C; export LC_COLLATE; } >+(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && >+ { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || >+ { LC_NUMERIC=C; export LC_NUMERIC; } >+(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && >+ { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || >+ { LC_MESSAGES=C; export LC_MESSAGES; } >+ >+ >+# Required to use basename. >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then >+ as_basename=basename >+else >+ as_basename=false >+fi >+ >+ >+# Name of the executable. >+as_me=`$as_basename "$0" || >+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ >+ X"$0" : 'X\(//\)$' \| \ >+ X"$0" : 'X\(/\)$' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X/"$0" | >+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } >+ /^X\/\(\/\/\)$/{ s//\1/; q; } >+ /^X\/\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ >+ >+# PATH needs CR, and LINENO needs CR and PATH. >+# Avoid depending upon Character Ranges. >+as_cr_letters='abcdefghijklmnopqrstuvwxyz' >+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >+as_cr_Letters=$as_cr_letters$as_cr_LETTERS >+as_cr_digits='0123456789' >+as_cr_alnum=$as_cr_Letters$as_cr_digits >+ >+# The user is always right. >+if test "${PATH_SEPARATOR+set}" != set; then >+ echo "#! /bin/sh" >conftest.sh >+ echo "exit 0" >>conftest.sh >+ chmod +x conftest.sh >+ if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then >+ PATH_SEPARATOR=';' >+ else >+ PATH_SEPARATOR=: >+ fi >+ rm -f conftest.sh >+fi >+ >+ >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" || { >+ # Find who we are. Look in the path if we contain no path at all >+ # relative or not. >+ case $0 in >+ *[\\/]* ) as_myself=$0 ;; >+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >+done >+ >+ ;; >+ esac >+ # We did not find ourselves, most probably we were run as `sh COMMAND' >+ # in which case we are not to be found in the path. >+ if test "x$as_myself" = x; then >+ as_myself=$0 >+ fi >+ if test ! -f "$as_myself"; then >+ { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 >+ { (exit 1); exit 1; }; } >+ fi >+ case $CONFIG_SHELL in >+ '') >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for as_base in sh bash ksh sh5; do >+ case $as_dir in >+ /*) >+ if ("$as_dir/$as_base" -c ' >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then >+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } >+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } >+ CONFIG_SHELL=$as_dir/$as_base >+ export CONFIG_SHELL >+ exec "$CONFIG_SHELL" "$0" ${1+"$@"} >+ fi;; >+ esac >+ done >+done >+;; >+ esac >+ >+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO >+ # uniformly replaced by the line number. The first 'sed' inserts a >+ # line-number line before each line; the second 'sed' does the real >+ # work. The second script uses 'N' to pair each line-number line >+ # with the numbered line, and appends trailing '-' during >+ # substitution so that $LINENO is not a special case at line end. >+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the >+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) >+ sed '=' <$as_myself | >+ sed ' >+ N >+ s,$,-, >+ : loop >+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, >+ t loop >+ s,-$,, >+ s,^['$as_cr_digits']*\n,, >+ ' >$as_me.lineno && >+ chmod +x $as_me.lineno || >+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 >+ { (exit 1); exit 1; }; } >+ >+ # Don't try to exec as it changes $[0], causing all sort of problems >+ # (the dirname of $[0] is not the place where we might find the >+ # original and so on. Autoconf is especially sensible to this). >+ . ./$as_me.lineno >+ # Exit status is that of the last command. >+ exit >+} >+ >+ >+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in >+ *c*,-n*) ECHO_N= ECHO_C=' >+' ECHO_T=' ' ;; >+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; >+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;; >+esac >+ >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+rm -f conf$$ conf$$.exe conf$$.file >+echo >conf$$.file >+if ln -s conf$$.file conf$$ 2>/dev/null; then >+ # We could just check for DJGPP; but this test a) works b) is more generic >+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). >+ if test -f conf$$.exe; then >+ # Don't use ln at all; we don't have any links >+ as_ln_s='cp -p' >+ else >+ as_ln_s='ln -s' >+ fi >+elif ln conf$$.file conf$$ 2>/dev/null; then >+ as_ln_s=ln >+else >+ as_ln_s='cp -p' >+fi >+rm -f conf$$ conf$$.exe conf$$.file >+ >+if mkdir -p . 2>/dev/null; then >+ as_mkdir_p=: >+else >+ as_mkdir_p=false >+fi >+ >+as_executable_p="test -f" > >-# Defaults: >-ac_help= >+# Sed expression to map a string onto a valid CPP name. >+as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" >+ >+# Sed expression to map a string onto a valid variable name. >+as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" >+ >+ >+# IFS >+# We need space, tab and new line, in precisely that order. >+as_nl=' >+' >+IFS=" $as_nl" >+ >+# CDPATH. >+$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } >+ >+ >+# Name of the host. >+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, >+# so uname gets run too. >+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` >+ >+exec 6>&1 >+ >+# >+# Initializations. >+# > ac_default_prefix=/usr/local >-# Any additions from configure.in: >+cross_compiling=no >+subdirs= >+MFLAGS= >+MAKEFLAGS= >+SHELL=${CONFIG_SHELL-/bin/sh} >+ >+# Maximum number of lines to put in a shell here document. >+# This variable seems obsolete. It should probably be removed, and >+# only ac_max_sed_lines should be used. >+: ${ac_max_here_lines=38} >+ >+# Identity of this package. >+PACKAGE_NAME= >+PACKAGE_TARNAME= >+PACKAGE_VERSION= >+PACKAGE_STRING= >+PACKAGE_BUGREPORT= >+ >+ac_unique_file="ghc.spec.in" > > # Initialize some variables set by options. >+ac_init_help= >+ac_init_version=false > # The variables have the same names as the options, with > # dashes changed to underlines. >-build=NONE >-cache_file=./config.cache >+cache_file=/dev/null > exec_prefix=NONE >-host=NONE > no_create= >-nonopt=NONE > no_recursion= > prefix=NONE > program_prefix=NONE >@@ -29,10 +294,15 @@ > silent= > site= > srcdir= >-target=NONE > verbose= > x_includes=NONE > x_libraries=NONE >+ >+# Installation directory options. >+# These are left unexpanded so users can "make install exec_prefix=/foo" >+# and all the variables that are supposed to be based on exec_prefix >+# by default will actually change. >+# Use braces instead of parens because sh, perl, etc. also accept them. > bindir='${exec_prefix}/bin' > sbindir='${exec_prefix}/sbin' > libexecdir='${exec_prefix}/libexec' >@@ -46,17 +316,9 @@ > infodir='${prefix}/info' > mandir='${prefix}/man' > >-# Initialize some other variables. >-subdirs= >-MFLAGS= MAKEFLAGS= >-SHELL=${CONFIG_SHELL-/bin/sh} >-# Maximum number of lines to put in a shell here document. >-ac_max_here_lines=12 >- > ac_prev= > for ac_option > do >- > # If the previous option needs an argument, assign it. > if test -n "$ac_prev"; then > eval "$ac_prev=\$ac_option" >@@ -64,59 +326,59 @@ > continue > fi > >- case "$ac_option" in >- -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; >- *) ac_optarg= ;; >- esac >+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` > > # Accept the important Cygnus configure options, so we can diagnose typos. > >- case "$ac_option" in >+ case $ac_option in > > -bindir | --bindir | --bindi | --bind | --bin | --bi) > ac_prev=bindir ;; > -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) >- bindir="$ac_optarg" ;; >+ bindir=$ac_optarg ;; > > -build | --build | --buil | --bui | --bu) >- ac_prev=build ;; >+ ac_prev=build_alias ;; > -build=* | --build=* | --buil=* | --bui=* | --bu=*) >- build="$ac_optarg" ;; >+ build_alias=$ac_optarg ;; > > -cache-file | --cache-file | --cache-fil | --cache-fi \ > | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) > ac_prev=cache_file ;; > -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ > | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) >- cache_file="$ac_optarg" ;; >+ cache_file=$ac_optarg ;; >+ >+ --config-cache | -C) >+ cache_file=config.cache ;; > > -datadir | --datadir | --datadi | --datad | --data | --dat | --da) > ac_prev=datadir ;; > -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ > | --da=*) >- datadir="$ac_optarg" ;; >+ datadir=$ac_optarg ;; > > -disable-* | --disable-*) >- ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` >+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then >- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } >- fi >- ac_feature=`echo $ac_feature| sed 's/-/_/g'` >- eval "enable_${ac_feature}=no" ;; >+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 >+ { (exit 1); exit 1; }; } >+ ac_feature=`echo $ac_feature | sed 's/-/_/g'` >+ eval "enable_$ac_feature=no" ;; > > -enable-* | --enable-*) >- ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` >+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then >- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } >- fi >- ac_feature=`echo $ac_feature| sed 's/-/_/g'` >- case "$ac_option" in >- *=*) ;; >+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 >+ { (exit 1); exit 1; }; } >+ ac_feature=`echo $ac_feature | sed 's/-/_/g'` >+ case $ac_option in >+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; > *) ac_optarg=yes ;; > esac >- eval "enable_${ac_feature}='$ac_optarg'" ;; >+ eval "enable_$ac_feature='$ac_optarg'" ;; > > -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ > | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ >@@ -125,95 +387,47 @@ > -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ > | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ > | --exec=* | --exe=* | --ex=*) >- exec_prefix="$ac_optarg" ;; >+ exec_prefix=$ac_optarg ;; > > -gas | --gas | --ga | --g) > # Obsolete; use --with-gas. > with_gas=yes ;; > >- -help | --help | --hel | --he) >- # Omit some internal or obsolete options to make the list less imposing. >- # This message is too long to be a string in the A/UX 3.1 sh. >- cat << EOF >-Usage: configure [options] [host] >-Options: [defaults in brackets after descriptions] >-Configuration: >- --cache-file=FILE cache test results in FILE >- --help print this message >- --no-create do not create output files >- --quiet, --silent do not print \`checking...' messages >- --version print the version of autoconf that created configure >-Directory and file names: >- --prefix=PREFIX install architecture-independent files in PREFIX >- [$ac_default_prefix] >- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX >- [same as prefix] >- --bindir=DIR user executables in DIR [EPREFIX/bin] >- --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] >- --libexecdir=DIR program executables in DIR [EPREFIX/libexec] >- --datadir=DIR read-only architecture-independent data in DIR >- [PREFIX/share] >- --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] >- --sharedstatedir=DIR modifiable architecture-independent data in DIR >- [PREFIX/com] >- --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] >- --libdir=DIR object code libraries in DIR [EPREFIX/lib] >- --includedir=DIR C header files in DIR [PREFIX/include] >- --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] >- --infodir=DIR info documentation in DIR [PREFIX/info] >- --mandir=DIR man documentation in DIR [PREFIX/man] >- --srcdir=DIR find the sources in DIR [configure dir or ..] >- --program-prefix=PREFIX prepend PREFIX to installed program names >- --program-suffix=SUFFIX append SUFFIX to installed program names >- --program-transform-name=PROGRAM >- run sed PROGRAM on installed program names >-EOF >- cat << EOF >-Host type: >- --build=BUILD configure for building on BUILD [BUILD=HOST] >- --host=HOST configure for HOST [guessed] >- --target=TARGET configure for TARGET [TARGET=HOST] >-Features and packages: >- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) >- --enable-FEATURE[=ARG] include FEATURE [ARG=yes] >- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] >- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) >- --x-includes=DIR X include files are in DIR >- --x-libraries=DIR X library files are in DIR >-EOF >- if test -n "$ac_help"; then >- echo "--enable and --with options recognized:$ac_help" >- fi >- exit 0 ;; >+ -help | --help | --hel | --he | -h) >+ ac_init_help=long ;; >+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) >+ ac_init_help=recursive ;; >+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) >+ ac_init_help=short ;; > > -host | --host | --hos | --ho) >- ac_prev=host ;; >+ ac_prev=host_alias ;; > -host=* | --host=* | --hos=* | --ho=*) >- host="$ac_optarg" ;; >+ host_alias=$ac_optarg ;; > > -includedir | --includedir | --includedi | --included | --include \ > | --includ | --inclu | --incl | --inc) > ac_prev=includedir ;; > -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ > | --includ=* | --inclu=* | --incl=* | --inc=*) >- includedir="$ac_optarg" ;; >+ includedir=$ac_optarg ;; > > -infodir | --infodir | --infodi | --infod | --info | --inf) > ac_prev=infodir ;; > -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) >- infodir="$ac_optarg" ;; >+ infodir=$ac_optarg ;; > > -libdir | --libdir | --libdi | --libd) > ac_prev=libdir ;; > -libdir=* | --libdir=* | --libdi=* | --libd=*) >- libdir="$ac_optarg" ;; >+ libdir=$ac_optarg ;; > > -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ > | --libexe | --libex | --libe) > ac_prev=libexecdir ;; > -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ > | --libexe=* | --libex=* | --libe=*) >- libexecdir="$ac_optarg" ;; >+ libexecdir=$ac_optarg ;; > > -localstatedir | --localstatedir | --localstatedi | --localstated \ > | --localstate | --localstat | --localsta | --localst \ >@@ -222,19 +436,19 @@ > -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ > | --localstate=* | --localstat=* | --localsta=* | --localst=* \ > | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) >- localstatedir="$ac_optarg" ;; >+ localstatedir=$ac_optarg ;; > > -mandir | --mandir | --mandi | --mand | --man | --ma | --m) > ac_prev=mandir ;; > -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) >- mandir="$ac_optarg" ;; >+ mandir=$ac_optarg ;; > > -nfp | --nfp | --nf) > # Obsolete; use --without-fp. > with_fp=no ;; > > -no-create | --no-create | --no-creat | --no-crea | --no-cre \ >- | --no-cr | --no-c) >+ | --no-cr | --no-c | -n) > no_create=yes ;; > > -no-recursion | --no-recursion | --no-recursio | --no-recursi \ >@@ -248,26 +462,26 @@ > -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ > | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ > | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) >- oldincludedir="$ac_optarg" ;; >+ oldincludedir=$ac_optarg ;; > > -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) > ac_prev=prefix ;; > -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) >- prefix="$ac_optarg" ;; >+ prefix=$ac_optarg ;; > > -program-prefix | --program-prefix | --program-prefi | --program-pref \ > | --program-pre | --program-pr | --program-p) > ac_prev=program_prefix ;; > -program-prefix=* | --program-prefix=* | --program-prefi=* \ > | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) >- program_prefix="$ac_optarg" ;; >+ program_prefix=$ac_optarg ;; > > -program-suffix | --program-suffix | --program-suffi | --program-suff \ > | --program-suf | --program-su | --program-s) > ac_prev=program_suffix ;; > -program-suffix=* | --program-suffix=* | --program-suffi=* \ > | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) >- program_suffix="$ac_optarg" ;; >+ program_suffix=$ac_optarg ;; > > -program-transform-name | --program-transform-name \ > | --program-transform-nam | --program-transform-na \ >@@ -284,7 +498,7 @@ > | --program-transfo=* | --program-transf=* \ > | --program-trans=* | --program-tran=* \ > | --progr-tra=* | --program-tr=* | --program-t=*) >- program_transform_name="$ac_optarg" ;; >+ program_transform_name=$ac_optarg ;; > > -q | -quiet | --quiet | --quie | --qui | --qu | --q \ > | -silent | --silent | --silen | --sile | --sil) >@@ -294,7 +508,7 @@ > ac_prev=sbindir ;; > -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ > | --sbi=* | --sb=*) >- sbindir="$ac_optarg" ;; >+ sbindir=$ac_optarg ;; > > -sharedstatedir | --sharedstatedir | --sharedstatedi \ > | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ >@@ -305,58 +519,57 @@ > | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ > | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ > | --sha=* | --sh=*) >- sharedstatedir="$ac_optarg" ;; >+ sharedstatedir=$ac_optarg ;; > > -site | --site | --sit) > ac_prev=site ;; > -site=* | --site=* | --sit=*) >- site="$ac_optarg" ;; >+ site=$ac_optarg ;; > > -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) > ac_prev=srcdir ;; > -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) >- srcdir="$ac_optarg" ;; >+ srcdir=$ac_optarg ;; > > -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ > | --syscon | --sysco | --sysc | --sys | --sy) > ac_prev=sysconfdir ;; > -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ > | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) >- sysconfdir="$ac_optarg" ;; >+ sysconfdir=$ac_optarg ;; > > -target | --target | --targe | --targ | --tar | --ta | --t) >- ac_prev=target ;; >+ ac_prev=target_alias ;; > -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) >- target="$ac_optarg" ;; >+ target_alias=$ac_optarg ;; > > -v | -verbose | --verbose | --verbos | --verbo | --verb) > verbose=yes ;; > >- -version | --version | --versio | --versi | --vers) >- echo "configure generated by autoconf version 2.13" >- exit 0 ;; >+ -version | --version | --versio | --versi | --vers | -V) >+ ac_init_version=: ;; > > -with-* | --with-*) >- ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` >+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then >- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } >- fi >+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid package name: $ac_package" >&2 >+ { (exit 1); exit 1; }; } > ac_package=`echo $ac_package| sed 's/-/_/g'` >- case "$ac_option" in >- *=*) ;; >+ case $ac_option in >+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; > *) ac_optarg=yes ;; > esac >- eval "with_${ac_package}='$ac_optarg'" ;; >+ eval "with_$ac_package='$ac_optarg'" ;; > > -without-* | --without-*) >- ac_package=`echo $ac_option|sed -e 's/-*without-//'` >+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` > # Reject names that are not valid shell variable names. >- if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then >- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } >- fi >- ac_package=`echo $ac_package| sed 's/-/_/g'` >- eval "with_${ac_package}=no" ;; >+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid package name: $ac_package" >&2 >+ { (exit 1); exit 1; }; } >+ ac_package=`echo $ac_package | sed 's/-/_/g'` >+ eval "with_$ac_package=no" ;; > > --x) > # Obsolete; use --with-x. >@@ -367,99 +580,110 @@ > ac_prev=x_includes ;; > -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ > | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) >- x_includes="$ac_optarg" ;; >+ x_includes=$ac_optarg ;; > > -x-libraries | --x-libraries | --x-librarie | --x-librari \ > | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) > ac_prev=x_libraries ;; > -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ > | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) >- x_libraries="$ac_optarg" ;; >+ x_libraries=$ac_optarg ;; > >- -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } >+ -*) { echo "$as_me: error: unrecognized option: $ac_option >+Try \`$0 --help' for more information." >&2 >+ { (exit 1); exit 1; }; } > ;; > >+ *=*) >+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` >+ # Reject names that are not valid shell variable names. >+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && >+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 >+ { (exit 1); exit 1; }; } >+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` >+ eval "$ac_envvar='$ac_optarg'" >+ export $ac_envvar ;; >+ > *) >- if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then >- echo "configure: warning: $ac_option: invalid host type" 1>&2 >- fi >- if test "x$nonopt" != xNONE; then >- { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } >- fi >- nonopt="$ac_option" >+ # FIXME: should be removed in autoconf 3.0. >+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2 >+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && >+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2 >+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} > ;; > > esac > done > > if test -n "$ac_prev"; then >- { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } >+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` >+ { echo "$as_me: error: missing argument to $ac_option" >&2 >+ { (exit 1); exit 1; }; } > fi > >-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 >- >-# File descriptor usage: >-# 0 standard input >-# 1 file creation >-# 2 errors and warnings >-# 3 some systems may open it to /dev/tty >-# 4 used on the Kubota Titan >-# 6 checking for... messages and results >-# 5 compiler messages saved in config.log >-if test "$silent" = yes; then >- exec 6>/dev/null >-else >- exec 6>&1 >-fi >-exec 5>./config.log >- >-echo "\ >-This file contains any messages produced by compilers while >-running configure, to aid debugging if configure makes a mistake. >-" 1>&5 >+# Be sure to have absolute paths. >+for ac_var in exec_prefix prefix >+do >+ eval ac_val=$`echo $ac_var` >+ case $ac_val in >+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;; >+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 >+ { (exit 1); exit 1; }; };; >+ esac >+done > >-# Strip out --no-create and --no-recursion so they do not pile up. >-# Also quote any args containing shell metacharacters. >-ac_configure_args= >-for ac_arg >+# Be sure to have absolute paths. >+for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ >+ localstatedir libdir includedir oldincludedir infodir mandir > do >- case "$ac_arg" in >- -no-create | --no-create | --no-creat | --no-crea | --no-cre \ >- | --no-cr | --no-c) ;; >- -no-recursion | --no-recursion | --no-recursio | --no-recursi \ >- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; >- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) >- ac_configure_args="$ac_configure_args '$ac_arg'" ;; >- *) ac_configure_args="$ac_configure_args $ac_arg" ;; >+ eval ac_val=$`echo $ac_var` >+ case $ac_val in >+ [\\/$]* | ?:[\\/]* ) ;; >+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 >+ { (exit 1); exit 1; }; };; > esac > done > >-# NLS nuisances. >-# Only set these to C if already set. These must not be set unconditionally >-# because not all systems understand e.g. LANG=C (notably SCO). >-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! >-# Non-C LC_CTYPE values break the ctype check. >-if test "${LANG+set}" = set; then LANG=C; export LANG; fi >-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi >-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi >-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi >+# There might be people who depend on the old broken behavior: `$host' >+# used to hold the argument of --host etc. >+# FIXME: To remove some day. >+build=$build_alias >+host=$host_alias >+target=$target_alias >+ >+# FIXME: To remove some day. >+if test "x$host_alias" != x; then >+ if test "x$build_alias" = x; then >+ cross_compiling=maybe >+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. >+ If a cross compiler is detected then cross compile mode will be used." >&2 >+ elif test "x$build_alias" != "x$host_alias"; then >+ cross_compiling=yes >+ fi >+fi > >-# confdefs.h avoids OS command line length limits that DEFS can exceed. >-rm -rf conftest* confdefs.h >-# AIX cpp loses on an empty file, so make sure it contains at least a newline. >-echo > confdefs.h >+ac_tool_prefix= >+test -n "$host_alias" && ac_tool_prefix=$host_alias- >+ >+test "$silent" = yes && exec 6>/dev/null > >-# A filename unique to this package, relative to the directory that >-# configure is in, which we can look for to find out if srcdir is correct. >-ac_unique_file=ghc.spec.in > > # Find the source files, if location was not specified. > if test -z "$srcdir"; then > ac_srcdir_defaulted=yes > # Try the directory containing this script, then its parent. >- ac_prog=$0 >- ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` >- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. >+ ac_confdir=`(dirname "$0") 2>/dev/null || >+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$0" : 'X\(//\)[^/]' \| \ >+ X"$0" : 'X\(//\)$' \| \ >+ X"$0" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$0" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` > srcdir=$ac_confdir > if test ! -r $srcdir/$ac_unique_file; then > srcdir=.. >@@ -469,13 +693,330 @@ > fi > if test ! -r $srcdir/$ac_unique_file; then > if test "$ac_srcdir_defaulted" = yes; then >- { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } >+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 >+ { (exit 1); exit 1; }; } > else >- { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } >+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 >+ { (exit 1); exit 1; }; } > fi > fi >-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` >+srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` >+ac_env_build_alias_set=${build_alias+set} >+ac_env_build_alias_value=$build_alias >+ac_cv_env_build_alias_set=${build_alias+set} >+ac_cv_env_build_alias_value=$build_alias >+ac_env_host_alias_set=${host_alias+set} >+ac_env_host_alias_value=$host_alias >+ac_cv_env_host_alias_set=${host_alias+set} >+ac_cv_env_host_alias_value=$host_alias >+ac_env_target_alias_set=${target_alias+set} >+ac_env_target_alias_value=$target_alias >+ac_cv_env_target_alias_set=${target_alias+set} >+ac_cv_env_target_alias_value=$target_alias >+ >+# >+# Report the --help message. >+# >+if test "$ac_init_help" = "long"; then >+ # Omit some internal or obsolete options to make the list less imposing. >+ # This message is too long to be a string in the A/UX 3.1 sh. >+ cat <<_ACEOF >+\`configure' configures this package to adapt to many kinds of systems. >+ >+Usage: $0 [OPTION]... [VAR=VALUE]... >+ >+To assign environment variables (e.g., CC, CFLAGS...), specify them as >+VAR=VALUE. See below for descriptions of some of the useful variables. >+ >+Defaults for the options are specified in brackets. >+ >+Configuration: >+ -h, --help display this help and exit >+ --help=short display options specific to this package >+ --help=recursive display the short help of all the included packages >+ -V, --version display version information and exit >+ -q, --quiet, --silent do not print \`checking...' messages >+ --cache-file=FILE cache test results in FILE [disabled] >+ -C, --config-cache alias for \`--cache-file=config.cache' >+ -n, --no-create do not create output files >+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] >+ >+_ACEOF >+ >+ cat <<_ACEOF >+Installation directories: >+ --prefix=PREFIX install architecture-independent files in PREFIX >+ [$ac_default_prefix] >+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX >+ [PREFIX] >+ >+By default, \`make install' will install all the files in >+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify >+an installation prefix other than \`$ac_default_prefix' using \`--prefix', >+for instance \`--prefix=\$HOME'. >+ >+For better control, use the options below. >+ >+Fine tuning of the installation directories: >+ --bindir=DIR user executables [EPREFIX/bin] >+ --sbindir=DIR system admin executables [EPREFIX/sbin] >+ --libexecdir=DIR program executables [EPREFIX/libexec] >+ --datadir=DIR read-only architecture-independent data [PREFIX/share] >+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] >+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] >+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] >+ --libdir=DIR object code libraries [EPREFIX/lib] >+ --includedir=DIR C header files [PREFIX/include] >+ --oldincludedir=DIR C header files for non-gcc [/usr/include] >+ --infodir=DIR info documentation [PREFIX/info] >+ --mandir=DIR man documentation [PREFIX/man] >+_ACEOF >+ >+ cat <<\_ACEOF >+_ACEOF >+fi >+ >+if test -n "$ac_init_help"; then >+ >+ cat <<\_ACEOF >+ >+_ACEOF >+fi >+ >+if test "$ac_init_help" = "recursive"; then >+ # If there are subdirs, report their specific --help. >+ ac_popdir=`pwd` >+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue >+ test -d $ac_dir || continue >+ ac_builddir=. >+ >+if test "$ac_dir" != .; then >+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >+ # A "../" for each directory in $ac_dir_suffix. >+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` >+else >+ ac_dir_suffix= ac_top_builddir= >+fi >+ >+case $srcdir in >+ .) # No --srcdir option. We are building in place. >+ ac_srcdir=. >+ if test -z "$ac_top_builddir"; then >+ ac_top_srcdir=. >+ else >+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` >+ fi ;; >+ [\\/]* | ?:[\\/]* ) # Absolute path. >+ ac_srcdir=$srcdir$ac_dir_suffix; >+ ac_top_srcdir=$srcdir ;; >+ *) # Relative path. >+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix >+ ac_top_srcdir=$ac_top_builddir$srcdir ;; >+esac >+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be >+# absolute. >+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` >+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` >+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` >+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` >+ >+ cd $ac_dir >+ # Check for guested configure; otherwise get Cygnus style configure. >+ if test -f $ac_srcdir/configure.gnu; then >+ echo >+ $SHELL $ac_srcdir/configure.gnu --help=recursive >+ elif test -f $ac_srcdir/configure; then >+ echo >+ $SHELL $ac_srcdir/configure --help=recursive >+ elif test -f $ac_srcdir/configure.ac || >+ test -f $ac_srcdir/configure.in; then >+ echo >+ $ac_configure --help >+ else >+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 >+ fi >+ cd $ac_popdir >+ done >+fi >+ >+test -n "$ac_init_help" && exit 0 >+if $ac_init_version; then >+ cat <<\_ACEOF >+ >+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 >+Free Software Foundation, Inc. >+This configure script is free software; the Free Software Foundation >+gives unlimited permission to copy, distribute and modify it. >+_ACEOF >+ exit 0 >+fi >+exec 5>config.log >+cat >&5 <<_ACEOF >+This file contains any messages produced by compilers while >+running configure, to aid debugging if configure makes a mistake. >+ >+It was created by $as_me, which was >+generated by GNU Autoconf 2.53a. Invocation command line was >+ >+ $ $0 $@ >+ >+_ACEOF >+{ >+cat <<_ASUNAME >+## --------- ## >+## Platform. ## >+## --------- ## >+ >+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` >+uname -m = `(uname -m) 2>/dev/null || echo unknown` >+uname -r = `(uname -r) 2>/dev/null || echo unknown` >+uname -s = `(uname -s) 2>/dev/null || echo unknown` >+uname -v = `(uname -v) 2>/dev/null || echo unknown` >+ >+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` >+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` >+ >+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` >+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` >+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` >+hostinfo = `(hostinfo) 2>/dev/null || echo unknown` >+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` >+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` >+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` >+ >+_ASUNAME >+ >+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ echo "PATH: $as_dir" >+done >+ >+} >&5 >+ >+cat >&5 <<_ACEOF >+ >+ >+## ----------- ## >+## Core tests. ## >+## ----------- ## >+ >+_ACEOF >+ >+ >+# Keep a trace of the command line. >+# Strip out --no-create and --no-recursion so they do not pile up. >+# Also quote any args containing shell meta-characters. >+ac_configure_args= >+ac_sep= >+for ac_arg >+do >+ case $ac_arg in >+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ >+ | --no-cr | --no-c | -n ) continue ;; >+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ >+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) >+ continue ;; >+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) >+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; >+ esac >+ case " $ac_configure_args " in >+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. >+ *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" >+ ac_sep=" " ;; >+ esac >+ # Get rid of the leading space. >+done >+ >+# When interrupted or exit'd, cleanup temporary files, and complete >+# config.log. We remove comments because anyway the quotes in there >+# would cause problems or look ugly. >+# WARNING: Be sure not to use single quotes in there, as some shells, >+# such as our DU 5.0 friend, will then `close' the trap. >+trap 'exit_status=$? >+ # Save into config.log some information that might help in debugging. >+ { >+ echo >+ cat <<\_ASBOX >+## ---------------- ## >+## Cache variables. ## >+## ---------------- ## >+_ASBOX >+ echo >+ # The following way of writing the cache mishandles newlines in values, >+{ >+ (set) 2>&1 | >+ case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in >+ *ac_space=\ *) >+ sed -n \ >+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; >+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" >+ ;; >+ *) >+ sed -n \ >+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" >+ ;; >+ esac; >+} >+ echo >+ if test -s confdefs.h; then >+ cat <<\_ASBOX >+## ----------- ## >+## confdefs.h. ## >+## ----------- ## >+_ASBOX >+ echo >+ sed "/^$/d" confdefs.h >+ echo >+ fi >+ test "$ac_signal" != 0 && >+ echo "$as_me: caught signal $ac_signal" >+ echo "$as_me: exit $exit_status" >+ } >&5 >+ rm -f core core.* *.core && >+ rm -rf conftest* confdefs* conf$$* $ac_clean_files && >+ exit $exit_status >+ ' 0 >+for ac_signal in 1 2 13 15; do >+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal >+done >+ac_signal=0 >+ >+# confdefs.h avoids OS command line length limits that DEFS can exceed. >+rm -rf conftest* confdefs.h >+# AIX cpp loses on an empty file, so make sure it contains at least a newline. >+echo >confdefs.h >+ >+# Predefined preprocessor variables. >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_NAME "$PACKAGE_NAME" >+_ACEOF >+ >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" >+_ACEOF >+ >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_VERSION "$PACKAGE_VERSION" >+_ACEOF >+ >+ >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_STRING "$PACKAGE_STRING" >+_ACEOF >+ > >+cat >>confdefs.h <<_ACEOF >+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" >+_ACEOF >+ >+ >+# Let the site file select an alternate cache file if it wants to. > # Prefer explicitly selected file to automatically selected ones. > if test -z "$CONFIG_SITE"; then > if test "x$prefix" != xNONE; then >@@ -486,40 +1027,104 @@ > fi > for ac_site_file in $CONFIG_SITE; do > if test -r "$ac_site_file"; then >- echo "loading site script $ac_site_file" >+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 >+echo "$as_me: loading site script $ac_site_file" >&6;} >+ sed 's/^/| /' "$ac_site_file" >&5 > . "$ac_site_file" > fi > done > > if test -r "$cache_file"; then >- echo "loading cache $cache_file" >- . $cache_file >+ # Some versions of bash will fail to source /dev/null (special >+ # files actually), so we avoid doing that. >+ if test -f "$cache_file"; then >+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5 >+echo "$as_me: loading cache $cache_file" >&6;} >+ case $cache_file in >+ [\\/]* | ?:[\\/]* ) . $cache_file;; >+ *) . ./$cache_file;; >+ esac >+ fi > else >- echo "creating cache $cache_file" >- > $cache_file >+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5 >+echo "$as_me: creating cache $cache_file" >&6;} >+ >$cache_file > fi > >-ac_ext=c >-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. >-ac_cpp='$CPP $CPPFLAGS' >-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' >-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' >-cross_compiling=$ac_cv_prog_cc_cross >- >-ac_exeext= >-ac_objext=o >-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then >- # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. >- if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then >- ac_n= ac_c=' >-' ac_t=' ' >- else >- ac_n=-n ac_c= ac_t= >+# Check that the precious variables saved in the cache have kept the same >+# value. >+ac_cache_corrupted=false >+for ac_var in `(set) 2>&1 | >+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do >+ eval ac_old_set=\$ac_cv_env_${ac_var}_set >+ eval ac_new_set=\$ac_env_${ac_var}_set >+ eval ac_old_val="\$ac_cv_env_${ac_var}_value" >+ eval ac_new_val="\$ac_env_${ac_var}_value" >+ case $ac_old_set,$ac_new_set in >+ set,) >+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 >+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} >+ ac_cache_corrupted=: ;; >+ ,set) >+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 >+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} >+ ac_cache_corrupted=: ;; >+ ,);; >+ *) >+ if test "x$ac_old_val" != "x$ac_new_val"; then >+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 >+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} >+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 >+echo "$as_me: former value: $ac_old_val" >&2;} >+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 >+echo "$as_me: current value: $ac_new_val" >&2;} >+ ac_cache_corrupted=: >+ fi;; >+ esac >+ # Pass precious variables to config.status. >+ if test "$ac_new_set" = set; then >+ case $ac_new_val in >+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) >+ ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; >+ *) ac_arg=$ac_var=$ac_new_val ;; >+ esac >+ case " $ac_configure_args " in >+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. >+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; >+ esac > fi >-else >- ac_n= ac_c='\c' ac_t= >+done >+if $ac_cache_corrupted; then >+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 >+echo "$as_me: error: changes in the environment can compromise the build" >&2;} >+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 >+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} >+ { (exit 1); exit 1; }; } > fi > >+ac_ext=c >+ac_cpp='$CPP $CPPFLAGS' >+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' >+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' >+ac_compiler_gnu=$ac_cv_c_compiler_gnu >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ > > > version=`sed -e 's/.*\([0-9]\)\.\([0-9]*\).*/\1.\2/' VERSION` >@@ -528,256 +1133,838 @@ > > > >-trap '' 1 2 15 >-cat > confcache <<\EOF >+ ac_config_files="$ac_config_files ghc.spec" >+cat >confcache <<\_ACEOF > # This file is a shell script that caches the results of configure > # tests run on this system so they can be shared between configure >-# scripts and configure runs. It is not useful on other systems. >-# If it contains results you don't want to keep, you may remove or edit it. >+# scripts and configure runs, see configure's option --config-cache. >+# It is not useful on other systems. If it contains results you don't >+# want to keep, you may remove or edit it. > # >-# By default, configure uses ./config.cache as the cache file, >-# creating it if it does not exist already. You can give configure >-# the --cache-file=FILE option to use a different cache file; that is >-# what configure does when it calls configure scripts in >-# subdirectories, so they share the cache. >-# Giving --cache-file=/dev/null disables caching, for debugging configure. >-# config.status only pays attention to the cache file if you give it the >-# --recheck option to rerun configure. >+# config.status only pays attention to the cache file if you give it >+# the --recheck option to rerun configure. > # >-EOF >+# `ac_cv_env_foo' variables (set or unset) will be overridden when >+# loading this file, other *unset* `ac_cv_foo' will be assigned the >+# following values. >+ >+_ACEOF >+ > # The following way of writing the cache mishandles newlines in values, > # but we know of no workaround that is simple, portable, and efficient. > # So, don't put newlines in cache variables' values. > # Ultrix sh set writes to stderr and can't be redirected directly, > # and sets the high bit in the cache file unless we assign to the vars. >-(set) 2>&1 | >- case `(ac_space=' '; set | grep ac_space) 2>&1` in >- *ac_space=\ *) >- # `set' does not quote correctly, so add quotes (double-quote substitution >- # turns \\\\ into \\, and sed turns \\ into \). >- sed -n \ >- -e "s/'/'\\\\''/g" \ >- -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" >- ;; >- *) >- # `set' quotes correctly as required by POSIX, so do not add quotes. >- sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' >- ;; >- esac >> confcache >-if cmp -s $cache_file confcache; then >- : >-else >+{ >+ (set) 2>&1 | >+ case `(ac_space=' '; set | grep ac_space) 2>&1` in >+ *ac_space=\ *) >+ # `set' does not quote correctly, so add quotes (double-quote >+ # substitution turns \\\\ into \\, and sed turns \\ into \). >+ sed -n \ >+ "s/'/'\\\\''/g; >+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" >+ ;; >+ *) >+ # `set' quotes correctly as required by POSIX, so do not add quotes. >+ sed -n \ >+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" >+ ;; >+ esac; >+} | >+ sed ' >+ t clear >+ : clear >+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ >+ t end >+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ >+ : end' >>confcache >+if cmp -s $cache_file confcache; then :; else > if test -w $cache_file; then >- echo "updating cache $cache_file" >- cat confcache > $cache_file >+ test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" >+ cat confcache >$cache_file > else > echo "not updating unwritable cache $cache_file" > fi > fi > rm -f confcache > >-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 >- > test "x$prefix" = xNONE && prefix=$ac_default_prefix > # Let make expand exec_prefix. > test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' > >-# Any assignment to VPATH causes Sun make to only execute >-# the first set of double-colon rules, so remove it if not needed. >-# If there is a colon in the path, we need to keep it. >+# VPATH may cause trouble with some makes, so we remove $(srcdir), >+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and >+# trailing colons and then remove the whole line if VPATH becomes empty >+# (actually we leave an empty line to preserve line numbers). > if test "x$srcdir" = x.; then >- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' >+ ac_vpsub='/^[ ]*VPATH[ ]*=/{ >+s/:*\$(srcdir):*/:/; >+s/:*\${srcdir}:*/:/; >+s/:*@srcdir@:*/:/; >+s/^\([^=]*=[ ]*\):*/\1/; >+s/:*$//; >+s/^[^=]*=[ ]*$//; >+}' > fi > >-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 >- > # Transform confdefs.h into DEFS. > # Protect against shell expansion while executing Makefile rules. > # Protect against Makefile macro expansion. >-cat > conftest.defs <<\EOF >-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g >-s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g >-s%\[%\\&%g >-s%\]%\\&%g >-s%\$%$$%g >-EOF >-DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` >-rm -f conftest.defs >+# >+# If the first sed substitution is executed (which looks for macros that >+# take arguments), then we branch to the quote section. Otherwise, >+# look for a macro that doesn't take arguments. >+cat >confdef2opt.sed <<\_ACEOF >+t clear >+: clear >+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g >+t quote >+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g >+t quote >+d >+: quote >+s,[ `~#$^&*(){}\\|;'"<>?],\\&,g >+s,\[,\\&,g >+s,\],\\&,g >+s,\$,$$,g >+p >+_ACEOF >+# We use echo to avoid assuming a particular line-breaking character. >+# The extra dot is to prevent the shell from consuming trailing >+# line-breaks from the sub-command output. A line-break within >+# single-quotes doesn't work because, if this script is created in a >+# platform that uses two characters for line-breaks (e.g., DOS), tr >+# would break. >+ac_LF_and_DOT=`echo; echo .` >+DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` >+rm -f confdef2opt.sed > > >-# Without the "./", some shells look in PATH for config.status. >-: ${CONFIG_STATUS=./config.status} > >-echo creating $CONFIG_STATUS >-rm -f $CONFIG_STATUS >-cat > $CONFIG_STATUS <<EOF >-#! /bin/sh >-# Generated automatically by configure. >+: ${CONFIG_STATUS=./config.status} >+ac_clean_files_save=$ac_clean_files >+ac_clean_files="$ac_clean_files $CONFIG_STATUS" >+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 >+echo "$as_me: creating $CONFIG_STATUS" >&6;} >+cat >$CONFIG_STATUS <<_ACEOF >+#! $SHELL >+# Generated by $as_me. > # Run this file to recreate the current configuration. >-# This directory was configured as follows, >-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: >-# >-# $0 $ac_configure_args >-# > # Compiler output produced by configure, useful for debugging >-# configure, is in ./config.log if it exists. >+# configure, is in config.log if it exists. > >-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" >-for ac_option >+debug=false >+SHELL=\${CONFIG_SHELL-$SHELL} >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+## --------------------- ## >+## M4sh Initialization. ## >+## --------------------- ## >+ >+# Be Bourne compatible >+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then >+ emulate sh >+ NULLCMD=: >+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which >+ # is contrary to our usage. Disable this feature. >+ alias -g '${1+"$@"}'='"$@"' >+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then >+ set -o posix >+fi >+ >+# NLS nuisances. >+# Support unset when possible. >+if (FOO=FOO; unset FOO) >/dev/null 2>&1; then >+ as_unset=unset >+else >+ as_unset=false >+fi >+ >+(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && >+ { $as_unset LANG || test "${LANG+set}" != set; } || >+ { LANG=C; export LANG; } >+(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && >+ { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || >+ { LC_ALL=C; export LC_ALL; } >+(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && >+ { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || >+ { LC_TIME=C; export LC_TIME; } >+(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && >+ { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || >+ { LC_CTYPE=C; export LC_CTYPE; } >+(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && >+ { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || >+ { LANGUAGE=C; export LANGUAGE; } >+(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && >+ { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || >+ { LC_COLLATE=C; export LC_COLLATE; } >+(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && >+ { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || >+ { LC_NUMERIC=C; export LC_NUMERIC; } >+(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && >+ { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || >+ { LC_MESSAGES=C; export LC_MESSAGES; } >+ >+ >+# Required to use basename. >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then >+ as_basename=basename >+else >+ as_basename=false >+fi >+ >+ >+# Name of the executable. >+as_me=`$as_basename "$0" || >+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ >+ X"$0" : 'X\(//\)$' \| \ >+ X"$0" : 'X\(/\)$' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X/"$0" | >+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } >+ /^X\/\(\/\/\)$/{ s//\1/; q; } >+ /^X\/\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ >+ >+# PATH needs CR, and LINENO needs CR and PATH. >+# Avoid depending upon Character Ranges. >+as_cr_letters='abcdefghijklmnopqrstuvwxyz' >+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' >+as_cr_Letters=$as_cr_letters$as_cr_LETTERS >+as_cr_digits='0123456789' >+as_cr_alnum=$as_cr_Letters$as_cr_digits >+ >+# The user is always right. >+if test "${PATH_SEPARATOR+set}" != set; then >+ echo "#! /bin/sh" >conftest.sh >+ echo "exit 0" >>conftest.sh >+ chmod +x conftest.sh >+ if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then >+ PATH_SEPARATOR=';' >+ else >+ PATH_SEPARATOR=: >+ fi >+ rm -f conftest.sh >+fi >+ >+ >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" || { >+ # Find who we are. Look in the path if we contain no path at all >+ # relative or not. >+ case $0 in >+ *[\\/]* ) as_myself=$0 ;; >+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in $PATH > do >- case "\$ac_option" in >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break >+done >+ >+ ;; >+ esac >+ # We did not find ourselves, most probably we were run as `sh COMMAND' >+ # in which case we are not to be found in the path. >+ if test "x$as_myself" = x; then >+ as_myself=$0 >+ fi >+ if test ! -f "$as_myself"; then >+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 >+echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} >+ { (exit 1); exit 1; }; } >+ fi >+ case $CONFIG_SHELL in >+ '') >+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR >+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH >+do >+ IFS=$as_save_IFS >+ test -z "$as_dir" && as_dir=. >+ for as_base in sh bash ksh sh5; do >+ case $as_dir in >+ /*) >+ if ("$as_dir/$as_base" -c ' >+ as_lineno_1=$LINENO >+ as_lineno_2=$LINENO >+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` >+ test "x$as_lineno_1" != "x$as_lineno_2" && >+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then >+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } >+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } >+ CONFIG_SHELL=$as_dir/$as_base >+ export CONFIG_SHELL >+ exec "$CONFIG_SHELL" "$0" ${1+"$@"} >+ fi;; >+ esac >+ done >+done >+;; >+ esac >+ >+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO >+ # uniformly replaced by the line number. The first 'sed' inserts a >+ # line-number line before each line; the second 'sed' does the real >+ # work. The second script uses 'N' to pair each line-number line >+ # with the numbered line, and appends trailing '-' during >+ # substitution so that $LINENO is not a special case at line end. >+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the >+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) >+ sed '=' <$as_myself | >+ sed ' >+ N >+ s,$,-, >+ : loop >+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, >+ t loop >+ s,-$,, >+ s,^['$as_cr_digits']*\n,, >+ ' >$as_me.lineno && >+ chmod +x $as_me.lineno || >+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 >+echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} >+ { (exit 1); exit 1; }; } >+ >+ # Don't try to exec as it changes $[0], causing all sort of problems >+ # (the dirname of $[0] is not the place where we might find the >+ # original and so on. Autoconf is especially sensible to this). >+ . ./$as_me.lineno >+ # Exit status is that of the last command. >+ exit >+} >+ >+ >+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in >+ *c*,-n*) ECHO_N= ECHO_C=' >+' ECHO_T=' ' ;; >+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; >+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;; >+esac >+ >+if expr a : '\(a\)' >/dev/null 2>&1; then >+ as_expr=expr >+else >+ as_expr=false >+fi >+ >+rm -f conf$$ conf$$.exe conf$$.file >+echo >conf$$.file >+if ln -s conf$$.file conf$$ 2>/dev/null; then >+ # We could just check for DJGPP; but this test a) works b) is more generic >+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). >+ if test -f conf$$.exe; then >+ # Don't use ln at all; we don't have any links >+ as_ln_s='cp -p' >+ else >+ as_ln_s='ln -s' >+ fi >+elif ln conf$$.file conf$$ 2>/dev/null; then >+ as_ln_s=ln >+else >+ as_ln_s='cp -p' >+fi >+rm -f conf$$ conf$$.exe conf$$.file >+ >+if mkdir -p . 2>/dev/null; then >+ as_mkdir_p=: >+else >+ as_mkdir_p=false >+fi >+ >+as_executable_p="test -f" >+ >+# Sed expression to map a string onto a valid CPP name. >+as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" >+ >+# Sed expression to map a string onto a valid variable name. >+as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" >+ >+ >+# IFS >+# We need space, tab and new line, in precisely that order. >+as_nl=' >+' >+IFS=" $as_nl" >+ >+# CDPATH. >+$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } >+ >+exec 6>&1 >+ >+# Open the log real soon, to keep \$[0] and so on meaningful, and to >+# report actual input values of CONFIG_FILES etc. instead of their >+# values after options handling. Logging --version etc. is OK. >+exec 5>>config.log >+{ >+ echo >+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX >+## Running $as_me. ## >+_ASBOX >+} >&5 >+cat >&5 <<_CSEOF >+ >+This file was extended by $as_me, which was >+generated by GNU Autoconf 2.53a. Invocation command line was >+ >+ CONFIG_FILES = $CONFIG_FILES >+ CONFIG_HEADERS = $CONFIG_HEADERS >+ CONFIG_LINKS = $CONFIG_LINKS >+ CONFIG_COMMANDS = $CONFIG_COMMANDS >+ $ $0 $@ >+ >+_CSEOF >+echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 >+echo >&5 >+_ACEOF >+ >+# Files that config.status was made for. >+if test -n "$ac_config_files"; then >+ echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS >+fi >+ >+if test -n "$ac_config_headers"; then >+ echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS >+fi >+ >+if test -n "$ac_config_links"; then >+ echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS >+fi >+ >+if test -n "$ac_config_commands"; then >+ echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS >+fi >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+ >+ac_cs_usage="\ >+\`$as_me' instantiates files from templates according to the >+current configuration. >+ >+Usage: $0 [OPTIONS] [FILE]... >+ >+ -h, --help print this help, then exit >+ -V, --version print version number, then exit >+ -d, --debug don't remove temporary files >+ --recheck update $as_me by reconfiguring in the same conditions >+ --file=FILE[:TEMPLATE] >+ instantiate the configuration file FILE >+ >+Configuration files: >+$config_files >+ >+Report bugs to <bug-autoconf@gnu.org>." >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<_ACEOF >+ac_cs_version="\\ >+config.status >+configured by $0, generated by GNU Autoconf 2.53a, >+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" >+ >+Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 >+Free Software Foundation, Inc. >+This config.status script is free software; the Free Software Foundation >+gives unlimited permission to copy, distribute and modify it." >+srcdir=$srcdir >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+# If no file are specified by the user, then we need to provide default >+# value. By we need to know if files were specified by the user. >+ac_need_defaults=: >+while test $# != 0 >+do >+ case $1 in >+ --*=*) >+ ac_option=`expr "x$1" : 'x\([^=]*\)='` >+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` >+ ac_shift=: >+ ;; >+ -*) >+ ac_option=$1 >+ ac_optarg=$2 >+ ac_shift=shift >+ ;; >+ *) # This is not an option, so the user has probably given explicit >+ # arguments. >+ ac_option=$1 >+ ac_need_defaults=false;; >+ esac >+ >+ case $ac_option in >+ # Handling of the options. >+_ACEOF >+cat >>$CONFIG_STATUS <<_ACEOF > -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) >- echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" >- exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; >- -version | --version | --versio | --versi | --vers | --ver | --ve | --v) >- echo "$CONFIG_STATUS generated by autoconf version 2.13" >- exit 0 ;; >- -help | --help | --hel | --he | --h) >- echo "\$ac_cs_usage"; exit 0 ;; >- *) echo "\$ac_cs_usage"; exit 1 ;; >+ echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" >+ exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF >+ --version | --vers* | -V ) >+ echo "$ac_cs_version"; exit 0 ;; >+ --he | --h) >+ # Conflict between --help and --header >+ { { echo "$as_me:$LINENO: error: ambiguous option: $1 >+Try \`$0 --help' for more information." >&5 >+echo "$as_me: error: ambiguous option: $1 >+Try \`$0 --help' for more information." >&2;} >+ { (exit 1); exit 1; }; };; >+ --help | --hel | -h ) >+ echo "$ac_cs_usage"; exit 0 ;; >+ --debug | --d* | -d ) >+ debug=: ;; >+ --file | --fil | --fi | --f ) >+ $ac_shift >+ CONFIG_FILES="$CONFIG_FILES $ac_optarg" >+ ac_need_defaults=false;; >+ --header | --heade | --head | --hea ) >+ $ac_shift >+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" >+ ac_need_defaults=false;; >+ >+ # This is an error. >+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 >+Try \`$0 --help' for more information." >&5 >+echo "$as_me: error: unrecognized option: $1 >+Try \`$0 --help' for more information." >&2;} >+ { (exit 1); exit 1; }; } ;; >+ >+ *) ac_config_targets="$ac_config_targets $1" ;; >+ > esac >+ shift > done > >-ac_given_srcdir=$srcdir >- >-trap 'rm -fr `echo "ghc.spec" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 >-EOF >-cat >> $CONFIG_STATUS <<EOF >- >-# Protect against being on the right side of a sed subst in config.status. >-sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; >- s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF >-$ac_vpsub >-$extrasub >-s%@SHELL@%$SHELL%g >-s%@CFLAGS@%$CFLAGS%g >-s%@CPPFLAGS@%$CPPFLAGS%g >-s%@CXXFLAGS@%$CXXFLAGS%g >-s%@FFLAGS@%$FFLAGS%g >-s%@DEFS@%$DEFS%g >-s%@LDFLAGS@%$LDFLAGS%g >-s%@LIBS@%$LIBS%g >-s%@exec_prefix@%$exec_prefix%g >-s%@prefix@%$prefix%g >-s%@program_transform_name@%$program_transform_name%g >-s%@bindir@%$bindir%g >-s%@sbindir@%$sbindir%g >-s%@libexecdir@%$libexecdir%g >-s%@datadir@%$datadir%g >-s%@sysconfdir@%$sysconfdir%g >-s%@sharedstatedir@%$sharedstatedir%g >-s%@localstatedir@%$localstatedir%g >-s%@libdir@%$libdir%g >-s%@includedir@%$includedir%g >-s%@oldincludedir@%$oldincludedir%g >-s%@infodir@%$infodir%g >-s%@mandir@%$mandir%g >-s%@version@%$version%g >-s%@patchlevel@%$patchlevel%g >+_ACEOF >+ >+ >+ > >+ >+cat >>$CONFIG_STATUS <<\_ACEOF >+for ac_config_target in $ac_config_targets >+do >+ case "$ac_config_target" in >+ # Handling of arguments. >+ "ghc.spec" ) CONFIG_FILES="$CONFIG_FILES ghc.spec" ;; >+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 >+echo "$as_me: error: invalid argument: $ac_config_target" >&2;} >+ { (exit 1); exit 1; }; };; >+ esac >+done >+ >+# If the user did not use the arguments to specify the items to instantiate, >+# then the envvar interface is used. Set only those that are not. >+# We use the long form for the default assignment because of an extremely >+# bizarre bug on SunOS 4.1.3. >+if $ac_need_defaults; then >+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files >+fi >+ >+# Create a temporary directory, and hook for its removal unless debugging. >+$debug || >+{ >+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 >+ trap '{ (exit 1); exit 1; }' 1 2 13 15 >+} >+ >+# Create a (secure) tmp directory for tmp files. >+: ${TMPDIR=/tmp} >+{ >+ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && >+ test -n "$tmp" && test -d "$tmp" >+} || >+{ >+ tmp=$TMPDIR/cs$$-$RANDOM >+ (umask 077 && mkdir $tmp) >+} || >+{ >+ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 >+ { (exit 1); exit 1; } >+} >+ >+_ACEOF >+ >+cat >>$CONFIG_STATUS <<_ACEOF >+ >+# >+# CONFIG_FILES section. >+# >+ >+# No need to generate the scripts if there are no CONFIG_FILES. >+# This happens for instance when ./config.status config.h >+if test -n "\$CONFIG_FILES"; then >+ # Protect against being on the right side of a sed subst in config.status. >+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; >+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF >+s,@SHELL@,$SHELL,;t t >+s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t >+s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t >+s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t >+s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t >+s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t >+s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t >+s,@exec_prefix@,$exec_prefix,;t t >+s,@prefix@,$prefix,;t t >+s,@program_transform_name@,$program_transform_name,;t t >+s,@bindir@,$bindir,;t t >+s,@sbindir@,$sbindir,;t t >+s,@libexecdir@,$libexecdir,;t t >+s,@datadir@,$datadir,;t t >+s,@sysconfdir@,$sysconfdir,;t t >+s,@sharedstatedir@,$sharedstatedir,;t t >+s,@localstatedir@,$localstatedir,;t t >+s,@libdir@,$libdir,;t t >+s,@includedir@,$includedir,;t t >+s,@oldincludedir@,$oldincludedir,;t t >+s,@infodir@,$infodir,;t t >+s,@mandir@,$mandir,;t t >+s,@build_alias@,$build_alias,;t t >+s,@host_alias@,$host_alias,;t t >+s,@target_alias@,$target_alias,;t t >+s,@DEFS@,$DEFS,;t t >+s,@ECHO_C@,$ECHO_C,;t t >+s,@ECHO_N@,$ECHO_N,;t t >+s,@ECHO_T@,$ECHO_T,;t t >+s,@LIBS@,$LIBS,;t t >+s,@version@,$version,;t t >+s,@patchlevel@,$patchlevel,;t t > CEOF >-EOF > >-cat >> $CONFIG_STATUS <<\EOF >+_ACEOF > >-# Split the substitutions into bite-sized pieces for seds with >-# small command number limits, like on Digital OSF/1 and HP-UX. >-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. >-ac_file=1 # Number of current file. >-ac_beg=1 # First line for current file. >-ac_end=$ac_max_sed_cmds # Line after last line for current file. >-ac_more_lines=: >-ac_sed_cmds="" >-while $ac_more_lines; do >- if test $ac_beg -gt 1; then >- sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file >- else >- sed "${ac_end}q" conftest.subs > conftest.s$ac_file >- fi >- if test ! -s conftest.s$ac_file; then >- ac_more_lines=false >- rm -f conftest.s$ac_file >- else >- if test -z "$ac_sed_cmds"; then >- ac_sed_cmds="sed -f conftest.s$ac_file" >+ cat >>$CONFIG_STATUS <<\_ACEOF >+ # Split the substitutions into bite-sized pieces for seds with >+ # small command number limits, like on Digital OSF/1 and HP-UX. >+ ac_max_sed_lines=48 >+ ac_sed_frag=1 # Number of current file. >+ ac_beg=1 # First line for current file. >+ ac_end=$ac_max_sed_lines # Line after last line for current file. >+ ac_more_lines=: >+ ac_sed_cmds= >+ while $ac_more_lines; do >+ if test $ac_beg -gt 1; then >+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag >+ else >+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag >+ fi >+ if test ! -s $tmp/subs.frag; then >+ ac_more_lines=false > else >- ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" >+ # The purpose of the label and of the branching condition is to >+ # speed up the sed processing (if there are no `@' at all, there >+ # is no need to browse any of the substitutions). >+ # These are the two extra sed commands mentioned above. >+ (echo ':t >+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed >+ if test -z "$ac_sed_cmds"; then >+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" >+ else >+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" >+ fi >+ ac_sed_frag=`expr $ac_sed_frag + 1` >+ ac_beg=$ac_end >+ ac_end=`expr $ac_end + $ac_max_sed_lines` > fi >- ac_file=`expr $ac_file + 1` >- ac_beg=$ac_end >- ac_end=`expr $ac_end + $ac_max_sed_cmds` >+ done >+ if test -z "$ac_sed_cmds"; then >+ ac_sed_cmds=cat > fi >-done >-if test -z "$ac_sed_cmds"; then >- ac_sed_cmds=cat >-fi >-EOF >+fi # test -n "$CONFIG_FILES" > >-cat >> $CONFIG_STATUS <<EOF >- >-CONFIG_FILES=\${CONFIG_FILES-"ghc.spec"} >-EOF >-cat >> $CONFIG_STATUS <<\EOF >-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF >+for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue > # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". >- case "$ac_file" in >- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` >- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; >- *) ac_file_in="${ac_file}.in" ;; >- esac >- >- # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. >- >- # Remove last slash and all that follows it. Not all systems have dirname. >- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` >- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then >- # The file is in a subdirectory. >- test ! -d "$ac_dir" && mkdir "$ac_dir" >- ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" >- # A "../" for each directory in $ac_dir_suffix. >- ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` >+ case $ac_file in >+ - | *:- | *:-:* ) # input from stdin >+ cat >$tmp/stdin >+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` >+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; >+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` >+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; >+ * ) ac_file_in=$ac_file.in ;; >+ esac >+ >+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. >+ ac_dir=`(dirname "$ac_file") 2>/dev/null || >+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$ac_file" : 'X\(//\)[^/]' \| \ >+ X"$ac_file" : 'X\(//\)$' \| \ >+ X"$ac_file" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$ac_file" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ { if $as_mkdir_p; then >+ mkdir -p "$ac_dir" > else >- ac_dir_suffix= ac_dots= >- fi >+ as_dir="$ac_dir" >+ as_dirs= >+ while test ! -d "$as_dir"; do >+ as_dirs="$as_dir $as_dirs" >+ as_dir=`(dirname "$as_dir") 2>/dev/null || >+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ >+ X"$as_dir" : 'X\(//\)[^/]' \| \ >+ X"$as_dir" : 'X\(//\)$' \| \ >+ X"$as_dir" : 'X\(/\)' \| \ >+ . : '\(.\)' 2>/dev/null || >+echo X"$as_dir" | >+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } >+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } >+ /^X\(\/\/\)$/{ s//\1/; q; } >+ /^X\(\/\).*/{ s//\1/; q; } >+ s/.*/./; q'` >+ done >+ test ! -n "$as_dirs" || mkdir $as_dirs >+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 >+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} >+ { (exit 1); exit 1; }; }; } >+ >+ ac_builddir=. >+ >+if test "$ac_dir" != .; then >+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` >+ # A "../" for each directory in $ac_dir_suffix. >+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` >+else >+ ac_dir_suffix= ac_top_builddir= >+fi > >- case "$ac_given_srcdir" in >- .) srcdir=. >- if test -z "$ac_dots"; then top_srcdir=. >- else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; >- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; >+case $srcdir in >+ .) # No --srcdir option. We are building in place. >+ ac_srcdir=. >+ if test -z "$ac_top_builddir"; then >+ ac_top_srcdir=. >+ else >+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` >+ fi ;; >+ [\\/]* | ?:[\\/]* ) # Absolute path. >+ ac_srcdir=$srcdir$ac_dir_suffix; >+ ac_top_srcdir=$srcdir ;; > *) # Relative path. >- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" >- top_srcdir="$ac_dots$ac_given_srcdir" ;; >- esac >+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix >+ ac_top_srcdir=$ac_top_builddir$srcdir ;; >+esac >+# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be >+# absolute. >+ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` >+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` >+ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` >+ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` > > >- echo creating "$ac_file" >- rm -f "$ac_file" >- configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." >- case "$ac_file" in >- *Makefile*) ac_comsub="1i\\ >-# $configure_input" ;; >- *) ac_comsub= ;; >- esac > >- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` >- sed -e "$ac_comsub >-s%@configure_input@%$configure_input%g >-s%@srcdir@%$srcdir%g >-s%@top_srcdir@%$top_srcdir%g >-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file >-fi; done >-rm -f conftest.s* >+ if test x"$ac_file" != x-; then >+ { echo "$as_me:$LINENO: creating $ac_file" >&5 >+echo "$as_me: creating $ac_file" >&6;} >+ rm -f "$ac_file" >+ fi >+ # Let's still pretend it is `configure' which instantiates (i.e., don't >+ # use $as_me), people would be surprised to read: >+ # /* config.h. Generated by config.status. */ >+ if test x"$ac_file" = x-; then >+ configure_input= >+ else >+ configure_input="$ac_file. " >+ fi >+ configure_input=$configure_input"Generated from `echo $ac_file_in | >+ sed 's,.*/,,'` by configure." >+ >+ # First look for the input files in the build tree, otherwise in the >+ # src tree. >+ ac_file_inputs=`IFS=: >+ for f in $ac_file_in; do >+ case $f in >+ -) echo $tmp/stdin ;; >+ [\\/$]*) >+ # Absolute (can't be DOS-style, as IFS=:) >+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 >+echo "$as_me: error: cannot find input file: $f" >&2;} >+ { (exit 1); exit 1; }; } >+ echo $f;; >+ *) # Relative >+ if test -f "$f"; then >+ # Build tree >+ echo $f >+ elif test -f "$srcdir/$f"; then >+ # Source tree >+ echo $srcdir/$f >+ else >+ # /dev/null tree >+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 >+echo "$as_me: error: cannot find input file: $f" >&2;} >+ { (exit 1); exit 1; }; } >+ fi;; >+ esac >+ done` || { (exit 1); exit 1; } >+_ACEOF >+cat >>$CONFIG_STATUS <<_ACEOF >+ sed "$ac_vpsub >+$extrasub >+_ACEOF >+cat >>$CONFIG_STATUS <<\_ACEOF >+:t >+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b >+s,@configure_input@,$configure_input,;t t >+s,@srcdir@,$ac_srcdir,;t t >+s,@abs_srcdir@,$ac_abs_srcdir,;t t >+s,@top_srcdir@,$ac_top_srcdir,;t t >+s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t >+s,@builddir@,$ac_builddir,;t t >+s,@abs_builddir@,$ac_abs_builddir,;t t >+s,@top_builddir@,$ac_top_builddir,;t t >+s,@abs_top_builddir@,$ac_abs_top_builddir,;t t >+" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out >+ rm -f $tmp/stdin >+ if test x"$ac_file" != x-; then >+ mv $tmp/out $ac_file >+ else >+ cat $tmp/out >+ rm -f $tmp/out >+ fi > >-EOF >-cat >> $CONFIG_STATUS <<EOF >+done >+_ACEOF > >-EOF >-cat >> $CONFIG_STATUS <<\EOF >+cat >>$CONFIG_STATUS <<\_ACEOF > >-exit 0 >-EOF >+{ (exit 0); exit 0; } >+_ACEOF > chmod +x $CONFIG_STATUS >-rm -fr confdefs* $ac_clean_files >-test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 >+ac_clean_files=$ac_clean_files_save >+ >+ >+# configure is writing to config.log, and then calls config.status. >+# config.status does its own redirection, appending to config.log. >+# Unfortunately, on DOS this fails, as config.log is still kept open >+# by configure, so config.status won't be able to write to it; its >+# output is simply discarded. So we exec the FD to /dev/null, >+# effectively closing config.log, so it can be properly (re)opened and >+# appended to by config.status. When coming back to configure, we >+# need to make the FD available again. >+if test "$no_create" != yes; then >+ ac_cs_success=: >+ exec 5>/dev/null >+ $SHELL $CONFIG_STATUS || ac_cs_success=false >+ exec 5>>config.log >+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which >+ # would make configure fail if this is the last instruction. >+ $ac_cs_success || { (exit 1); exit 1; } >+fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5318
:
2421
|
2422
| 2423