Changeset ba8f1a in git for factory/configure


Ignore:
Timestamp:
Jan 13, 2005, 11:41:10 AM (19 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
22347b6562a892784bfd7995db6aa0e9e0bc8ef8
Parents:
d617147de528a55024fe3f50df37bc9f27683fd6
Message:
+ gmp find bug fixed


git-svn-id: file:///usr/local/Singular/svn/trunk@7654 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/configure

    rd617147 rba8f1a  
    11#! /bin/sh
    2 
    3 # From configure.in Id: configure.in
     2# From configure.in Id: configure.in.
    43# Guess values for system-dependent variables and create Makefiles.
    5 # Generated automatically using autoconf version 2.13
    6 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
     4# Generated by GNU Autoconf 2.57.
    75#
     6# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     7# Free Software Foundation, Inc.
    88# This configure script is free software; the Free Software Foundation
    99# gives unlimited permission to copy, distribute and modify it.
    10 
    11 # Defaults:
    12 ac_help=
     10## --------------------- ##
     11## M4sh Initialization.  ##
     12## --------------------- ##
     13
     14# Be Bourne compatible
     15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16  emulate sh
     17  NULLCMD=:
     18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19  # is contrary to our usage.  Disable this feature.
     20  alias -g '${1+"$@"}'='"$@"'
     21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22  set -o posix
     23fi
     24
     25# Support unset when possible.
     26if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     27  as_unset=unset
     28else
     29  as_unset=false
     30fi
     31
     32
     33# Work around bugs in pre-3.0 UWIN ksh.
     34$as_unset ENV MAIL MAILPATH
     35PS1='$ '
     36PS2='> '
     37PS4='+ '
     38
     39# NLS nuisances.
     40for as_var in \
     41  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     42  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     43  LC_TELEPHONE LC_TIME
     44do
     45  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     46    eval $as_var=C; export $as_var
     47  else
     48    $as_unset $as_var
     49  fi
     50done
     51
     52# Required to use basename.
     53if expr a : '\(a\)' >/dev/null 2>&1; then
     54  as_expr=expr
     55else
     56  as_expr=false
     57fi
     58
     59if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     60  as_basename=basename
     61else
     62  as_basename=false
     63fi
     64
     65
     66# Name of the executable.
     67as_me=`$as_basename "$0" ||
     68$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     69         X"$0" : 'X\(//\)$' \| \
     70         X"$0" : 'X\(/\)$' \| \
     71         .     : '\(.\)' 2>/dev/null ||
     72echo X/"$0" |
     73    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     74          /^X\/\(\/\/\)$/{ s//\1/; q; }
     75          /^X\/\(\/\).*/{ s//\1/; q; }
     76          s/.*/./; q'`
     77
     78
     79# PATH needs CR, and LINENO needs CR and PATH.
     80# Avoid depending upon Character Ranges.
     81as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     82as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     83as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     84as_cr_digits='0123456789'
     85as_cr_alnum=$as_cr_Letters$as_cr_digits
     86
     87# The user is always right.
     88if test "${PATH_SEPARATOR+set}" != set; then
     89  echo "#! /bin/sh" >conf$$.sh
     90  echo  "exit 0"   >>conf$$.sh
     91  chmod +x conf$$.sh
     92  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     93    PATH_SEPARATOR=';'
     94  else
     95    PATH_SEPARATOR=:
     96  fi
     97  rm -f conf$$.sh
     98fi
     99
     100
     101  as_lineno_1=$LINENO
     102  as_lineno_2=$LINENO
     103  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     104  test "x$as_lineno_1" != "x$as_lineno_2" &&
     105  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     106  # Find who we are.  Look in the path if we contain no path at all
     107  # relative or not.
     108  case $0 in
     109    *[\\/]* ) as_myself=$0 ;;
     110    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     111for as_dir in $PATH
     112do
     113  IFS=$as_save_IFS
     114  test -z "$as_dir" && as_dir=.
     115  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     116done
     117
     118       ;;
     119  esac
     120  # We did not find ourselves, most probably we were run as `sh COMMAND'
     121  # in which case we are not to be found in the path.
     122  if test "x$as_myself" = x; then
     123    as_myself=$0
     124  fi
     125  if test ! -f "$as_myself"; then
     126    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
     127   { (exit 1); exit 1; }; }
     128  fi
     129  case $CONFIG_SHELL in
     130  '')
     131    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     132for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     133do
     134  IFS=$as_save_IFS
     135  test -z "$as_dir" && as_dir=.
     136  for as_base in sh bash ksh sh5; do
     137         case $as_dir in
     138         /*)
     139           if ("$as_dir/$as_base" -c '
     140  as_lineno_1=$LINENO
     141  as_lineno_2=$LINENO
     142  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     143  test "x$as_lineno_1" != "x$as_lineno_2" &&
     144  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     145             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     146             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     147             CONFIG_SHELL=$as_dir/$as_base
     148             export CONFIG_SHELL
     149             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     150           fi;;
     151         esac
     152       done
     153done
     154;;
     155  esac
     156
     157  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     158  # uniformly replaced by the line number.  The first 'sed' inserts a
     159  # line-number line before each line; the second 'sed' does the real
     160  # work.  The second script uses 'N' to pair each line-number line
     161  # with the numbered line, and appends trailing '-' during
     162  # substitution so that $LINENO is not a special case at line end.
     163  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     164  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     165  sed '=' <$as_myself |
     166    sed '
     167      N
     168      s,$,-,
     169      : loop
     170      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     171      t loop
     172      s,-$,,
     173      s,^['$as_cr_digits']*\n,,
     174    ' >$as_me.lineno &&
     175  chmod +x $as_me.lineno ||
     176    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     177   { (exit 1); exit 1; }; }
     178
     179  # Don't try to exec as it changes $[0], causing all sort of problems
     180  # (the dirname of $[0] is not the place where we might find the
     181  # original and so on.  Autoconf is especially sensible to this).
     182  . ./$as_me.lineno
     183  # Exit status is that of the last command.
     184  exit
     185}
     186
     187
     188case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     189  *c*,-n*) ECHO_N= ECHO_C='
     190' ECHO_T='      ' ;;
     191  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     192  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     193esac
     194
     195if expr a : '\(a\)' >/dev/null 2>&1; then
     196  as_expr=expr
     197else
     198  as_expr=false
     199fi
     200
     201rm -f conf$$ conf$$.exe conf$$.file
     202echo >conf$$.file
     203if ln -s conf$$.file conf$$ 2>/dev/null; then
     204  # We could just check for DJGPP; but this test a) works b) is more generic
     205  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     206  if test -f conf$$.exe; then
     207    # Don't use ln at all; we don't have any links
     208    as_ln_s='cp -p'
     209  else
     210    as_ln_s='ln -s'
     211  fi
     212elif ln conf$$.file conf$$ 2>/dev/null; then
     213  as_ln_s=ln
     214else
     215  as_ln_s='cp -p'
     216fi
     217rm -f conf$$ conf$$.exe conf$$.file
     218
     219if mkdir -p . 2>/dev/null; then
     220  as_mkdir_p=:
     221else
     222  as_mkdir_p=false
     223fi
     224
     225as_executable_p="test -f"
     226
     227# Sed expression to map a string onto a valid CPP name.
     228as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     229
     230# Sed expression to map a string onto a valid variable name.
     231as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     232
     233
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
     243
     244# Name of the host.
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     246# so uname gets run too.
     247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     248
     249exec 6>&1
     250
     251#
     252# Initializations.
     253#
    13254ac_default_prefix=/usr/local
    14 # Any additions from configure.in:
    15 ac_help="$ac_help
    16   --with-memman(=<memman>) specify Factory memory manager.
    17                           <memman> is either \`old' (default), \`new', or \`no'."
    18 ac_help="$ac_help
    19   --with-omalloc           build for use with omalloc"
    20 ac_help="$ac_help
    21   --with-gmp(=<gmp_inc_path>(,<gmp_lib_path>))
    22                           specify where to find gmp library."
    23 ac_help="$ac_help
    24   --with-Singular         build for use with computer algebra system Singular."
    25 ac_help="$ac_help
    26   --with-NTL              build for use with NTL."
    27 ac_help="$ac_help
    28   --enable-NTL              build for use with NTL."
    29 ac_help="$ac_help
    30   --enable-cf-inline      build Factory with \"configurable inline methods\"
    31                           enabled."
    32 ac_help="$ac_help
    33   --disable-streamio      build Factory without stream IO"
    34 ac_help="$ac_help
    35   --enable-memdebug=<level> switch on memory management debugging.  Meaningful
    36                           with \`--with-memman=new' only.  <level> may be either
    37                           \`no' (default), \`normal', or \`full'."
    38 ac_help="$ac_help
    39   --enable-assertions     build Factory with assertions activated"
    40 ac_help="$ac_help
    41   --enable-timing         build Factory so it will print timing information"
    42 ac_help="$ac_help
    43   --enable-debugoutput    build Factory so it will print debugging information"
    44 ac_help="$ac_help
    45   --enable-gmp            together with \`--with-Singular' means: installation
    46                           in process, be graceful when there is no \`gmp.h'"
     255ac_config_libobj_dir=.
     256cross_compiling=no
     257subdirs=
     258MFLAGS=
     259MAKEFLAGS=
     260SHELL=${CONFIG_SHELL-/bin/sh}
     261
     262# Maximum number of lines to put in a shell here document.
     263# This variable seems obsolete.  It should probably be removed, and
     264# only ac_max_sed_lines should be used.
     265: ${ac_max_here_lines=38}
     266
     267# Identity of this package.
     268PACKAGE_NAME=
     269PACKAGE_TARNAME=
     270PACKAGE_VERSION=
     271PACKAGE_STRING=
     272PACKAGE_BUGREPORT=
     273
     274ac_unique_file="canonicalform.cc"
     275# Factoring default headers for most tests.
     276ac_includes_default="\
     277#include <stdio.h>
     278#if HAVE_SYS_TYPES_H
     279# include <sys/types.h>
     280#endif
     281#if HAVE_SYS_STAT_H
     282# include <sys/stat.h>
     283#endif
     284#if STDC_HEADERS
     285# include <stdlib.h>
     286# include <stddef.h>
     287#else
     288# if HAVE_STDLIB_H
     289#  include <stdlib.h>
     290# endif
     291#endif
     292#if HAVE_STRING_H
     293# if !STDC_HEADERS && HAVE_MEMORY_H
     294#  include <memory.h>
     295# endif
     296# include <string.h>
     297#endif
     298#if HAVE_STRINGS_H
     299# include <strings.h>
     300#endif
     301#if HAVE_INTTYPES_H
     302# include <inttypes.h>
     303#else
     304# if HAVE_STDINT_H
     305#  include <stdint.h>
     306# endif
     307#endif
     308#if HAVE_UNISTD_H
     309# include <unistd.h>
     310#endif"
     311
     312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP CXXCPP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB SET_MAKE AR M4 BISON FACTORY_MKINSTALLDIRS FACTORY_MAKEHEADER EGREP gftabledir templatedir factory_version libfactory ARFLAGS M4FLAGS MAKEHEADERFLAGS factorysrc factoryincl memmansrc memmanincl alltargets installtargets uninstalltargets LIBOBJS LTLIBOBJS'
     313ac_subst_files=''
    47314
    48315# Initialize some variables set by options.
     316ac_init_help=
     317ac_init_version=false
    49318# The variables have the same names as the options, with
    50319# dashes changed to underlines.
    51 build=NONE
    52 cache_file=./config.cache
     320cache_file=/dev/null
    53321exec_prefix=NONE
    54 host=NONE
    55322no_create=
    56 nonopt=NONE
    57323no_recursion=
    58324prefix=NONE
     
    63329site=
    64330srcdir=
    65 target=NONE
    66331verbose=
    67332x_includes=NONE
    68333x_libraries=NONE
     334
     335# Installation directory options.
     336# These are left unexpanded so users can "make install exec_prefix=/foo"
     337# and all the variables that are supposed to be based on exec_prefix
     338# by default will actually change.
     339# Use braces instead of parens because sh, perl, etc. also accept them.
    69340bindir='${exec_prefix}/bin'
    70341sbindir='${exec_prefix}/sbin'
     
    80351mandir='${prefix}/man'
    81352
    82 # Initialize some other variables.
    83 subdirs=
    84 MFLAGS= MAKEFLAGS=
    85 SHELL=${CONFIG_SHELL-/bin/sh}
    86 # Maximum number of lines to put in a shell here document.
    87 ac_max_here_lines=12
    88 
    89353ac_prev=
    90354for ac_option
    91355do
    92 
    93356  # If the previous option needs an argument, assign it.
    94357  if test -n "$ac_prev"; then
     
    98361  fi
    99362
    100   case "$ac_option" in
    101   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    102   *) ac_optarg= ;;
    103   esac
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    104364
    105365  # Accept the important Cygnus configure options, so we can diagnose typos.
    106366
    107   case "$ac_option" in
     367  case $ac_option in
    108368
    109369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    110370    ac_prev=bindir ;;
    111371  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    112     bindir="$ac_optarg" ;;
     372    bindir=$ac_optarg ;;
    113373
    114374  -build | --build | --buil | --bui | --bu)
    115     ac_prev=build ;;
     375    ac_prev=build_alias ;;
    116376  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    117     build="$ac_optarg" ;;
     377    build_alias=$ac_optarg ;;
    118378
    119379  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    122382  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    123383  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    124     cache_file="$ac_optarg" ;;
     384    cache_file=$ac_optarg ;;
     385
     386  --config-cache | -C)
     387    cache_file=config.cache ;;
    125388
    126389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    128391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    129392  | --da=*)
    130     datadir="$ac_optarg" ;;
     393    datadir=$ac_optarg ;;
    131394
    132395  -disable-* | --disable-*)
    133     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
     396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    134397    # Reject names that are not valid shell variable names.
    135     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
    136       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    137     fi
    138     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    139     eval "enable_${ac_feature}=no" ;;
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     400   { (exit 1); exit 1; }; }
     401    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     402    eval "enable_$ac_feature=no" ;;
    140403
    141404  -enable-* | --enable-*)
    142     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
     405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    143406    # Reject names that are not valid shell variable names.
    144     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
    145       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    146     fi
    147     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    148     case "$ac_option" in
    149       *=*) ;;
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     409   { (exit 1); exit 1; }; }
     410    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     411    case $ac_option in
     412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    150413      *) ac_optarg=yes ;;
    151414    esac
    152     eval "enable_${ac_feature}='$ac_optarg'" ;;
     415    eval "enable_$ac_feature='$ac_optarg'" ;;
    153416
    154417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    159422  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    160423  | --exec=* | --exe=* | --ex=*)
    161     exec_prefix="$ac_optarg" ;;
     424    exec_prefix=$ac_optarg ;;
    162425
    163426  -gas | --gas | --ga | --g)
     
    165428    with_gas=yes ;;
    166429
    167   -help | --help | --hel | --he)
    168     # Omit some internal or obsolete options to make the list less imposing.
    169     # This message is too long to be a string in the A/UX 3.1 sh.
    170     cat << EOF
    171 Usage: configure [options] [host]
    172 Options: [defaults in brackets after descriptions]
    173 Configuration:
    174   --cache-file=FILE       cache test results in FILE
    175   --help                  print this message
    176   --no-create             do not create output files
    177   --quiet, --silent       do not print \`checking...' messages
    178   --version               print the version of autoconf that created configure
    179 Directory and file names:
    180   --prefix=PREFIX         install architecture-independent files in PREFIX
    181                           [$ac_default_prefix]
    182   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    183                           [same as prefix]
    184   --bindir=DIR            user executables in DIR [EPREFIX/bin]
    185   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
    186   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
    187   --datadir=DIR           read-only architecture-independent data in DIR
    188                           [PREFIX/share]
    189   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
    190   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
    191                           [PREFIX/com]
    192   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
    193   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
    194   --includedir=DIR        C header files in DIR [PREFIX/include]
    195   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
    196   --infodir=DIR           info documentation in DIR [PREFIX/info]
    197   --mandir=DIR            man documentation in DIR [PREFIX/man]
    198   --srcdir=DIR            find the sources in DIR [configure dir or ..]
    199   --program-prefix=PREFIX prepend PREFIX to installed program names
    200   --program-suffix=SUFFIX append SUFFIX to installed program names
    201   --program-transform-name=PROGRAM
    202                           run sed PROGRAM on installed program names
    203 EOF
    204     cat << EOF
    205 Host type:
    206   --build=BUILD           configure for building on BUILD [BUILD=HOST]
    207   --host=HOST             configure for HOST [guessed]
    208   --target=TARGET         configure for TARGET [TARGET=HOST]
    209 Features and packages:
    210   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    211   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    212   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    213   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    214   --x-includes=DIR        X include files are in DIR
    215   --x-libraries=DIR       X library files are in DIR
    216 EOF
    217     if test -n "$ac_help"; then
    218       echo "--enable and --with options recognized:$ac_help"
    219     fi
    220     exit 0 ;;
     430  -help | --help | --hel | --he | -h)
     431    ac_init_help=long ;;
     432  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
     433    ac_init_help=recursive ;;
     434  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
     435    ac_init_help=short ;;
    221436
    222437  -host | --host | --hos | --ho)
    223     ac_prev=host ;;
     438    ac_prev=host_alias ;;
    224439  -host=* | --host=* | --hos=* | --ho=*)
    225     host="$ac_optarg" ;;
     440    host_alias=$ac_optarg ;;
    226441
    227442  -includedir | --includedir | --includedi | --included | --include \
     
    230445  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    231446  | --includ=* | --inclu=* | --incl=* | --inc=*)
    232     includedir="$ac_optarg" ;;
     447    includedir=$ac_optarg ;;
    233448
    234449  -infodir | --infodir | --infodi | --infod | --info | --inf)
    235450    ac_prev=infodir ;;
    236451  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    237     infodir="$ac_optarg" ;;
     452    infodir=$ac_optarg ;;
    238453
    239454  -libdir | --libdir | --libdi | --libd)
    240455    ac_prev=libdir ;;
    241456  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    242     libdir="$ac_optarg" ;;
     457    libdir=$ac_optarg ;;
    243458
    244459  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    247462  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    248463  | --libexe=* | --libex=* | --libe=*)
    249     libexecdir="$ac_optarg" ;;
     464    libexecdir=$ac_optarg ;;
    250465
    251466  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    256471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    257472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    258     localstatedir="$ac_optarg" ;;
     473    localstatedir=$ac_optarg ;;
    259474
    260475  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    261476    ac_prev=mandir ;;
    262477  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    263     mandir="$ac_optarg" ;;
     478    mandir=$ac_optarg ;;
    264479
    265480  -nfp | --nfp | --nf)
     
    268483
    269484  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    270   | --no-cr | --no-c)
     485  | --no-cr | --no-c | -n)
    271486    no_create=yes ;;
    272487
     
    282497  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    283498  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    284     oldincludedir="$ac_optarg" ;;
     499    oldincludedir=$ac_optarg ;;
    285500
    286501  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    287502    ac_prev=prefix ;;
    288503  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    289     prefix="$ac_optarg" ;;
     504    prefix=$ac_optarg ;;
    290505
    291506  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    294509  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    295510  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    296     program_prefix="$ac_optarg" ;;
     511    program_prefix=$ac_optarg ;;
    297512
    298513  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    301516  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    302517  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    303     program_suffix="$ac_optarg" ;;
     518    program_suffix=$ac_optarg ;;
    304519
    305520  -program-transform-name | --program-transform-name \
     
    318533  | --program-trans=* | --program-tran=* \
    319534  | --progr-tra=* | --program-tr=* | --program-t=*)
    320     program_transform_name="$ac_optarg" ;;
     535    program_transform_name=$ac_optarg ;;
    321536
    322537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    328543  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    329544  | --sbi=* | --sb=*)
    330     sbindir="$ac_optarg" ;;
     545    sbindir=$ac_optarg ;;
    331546
    332547  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    339554  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    340555  | --sha=* | --sh=*)
    341     sharedstatedir="$ac_optarg" ;;
     556    sharedstatedir=$ac_optarg ;;
    342557
    343558  -site | --site | --sit)
    344559    ac_prev=site ;;
    345560  -site=* | --site=* | --sit=*)
    346     site="$ac_optarg" ;;
     561    site=$ac_optarg ;;
    347562
    348563  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    349564    ac_prev=srcdir ;;
    350565  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    351     srcdir="$ac_optarg" ;;
     566    srcdir=$ac_optarg ;;
    352567
    353568  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    356571  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    357572  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    358     sysconfdir="$ac_optarg" ;;
     573    sysconfdir=$ac_optarg ;;
    359574
    360575  -target | --target | --targe | --targ | --tar | --ta | --t)
    361     ac_prev=target ;;
     576    ac_prev=target_alias ;;
    362577  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    363     target="$ac_optarg" ;;
     578    target_alias=$ac_optarg ;;
    364579
    365580  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    366581    verbose=yes ;;
    367582
    368   -version | --version | --versio | --versi | --vers)
    369     echo "configure generated by autoconf version 2.13"
    370     exit 0 ;;
     583  -version | --version | --versio | --versi | --vers | -V)
     584    ac_init_version=: ;;
    371585
    372586  -with-* | --with-*)
    373     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
     587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    374588    # Reject names that are not valid shell variable names.
    375     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
    376       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    377     fi
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     590      { echo "$as_me: error: invalid package name: $ac_package" >&2
     591   { (exit 1); exit 1; }; }
    378592    ac_package=`echo $ac_package| sed 's/-/_/g'`
    379     case "$ac_option" in
    380       *=*) ;;
     593    case $ac_option in
     594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    381595      *) ac_optarg=yes ;;
    382596    esac
    383     eval "with_${ac_package}='$ac_optarg'" ;;
     597    eval "with_$ac_package='$ac_optarg'" ;;
    384598
    385599  -without-* | --without-*)
    386     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
     600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    387601    # Reject names that are not valid shell variable names.
    388     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
    389       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    390     fi
    391     ac_package=`echo $ac_package| sed 's/-/_/g'`
    392     eval "with_${ac_package}=no" ;;
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     603      { echo "$as_me: error: invalid package name: $ac_package" >&2
     604   { (exit 1); exit 1; }; }
     605    ac_package=`echo $ac_package | sed 's/-/_/g'`
     606    eval "with_$ac_package=no" ;;
    393607
    394608  --x)
     
    401615  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    402616  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    403     x_includes="$ac_optarg" ;;
     617    x_includes=$ac_optarg ;;
    404618
    405619  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    408622  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    409623  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    410     x_libraries="$ac_optarg" ;;
    411 
    412   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
     624    x_libraries=$ac_optarg ;;
     625
     626  -*) { echo "$as_me: error: unrecognized option: $ac_option
     627Try \`$0 --help' for more information." >&2
     628   { (exit 1); exit 1; }; }
    413629    ;;
    414630
     631  *=*)
     632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     633    # Reject names that are not valid shell variable names.
     634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     636   { (exit 1); exit 1; }; }
     637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     638    eval "$ac_envvar='$ac_optarg'"
     639    export $ac_envvar ;;
     640
    415641  *)
    416     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
    417       echo "configure: warning: $ac_option: invalid host type" 1>&2
    418     fi
    419     if test "x$nonopt" != xNONE; then
    420       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    421     fi
    422     nonopt="$ac_option"
     642    # FIXME: should be removed in autoconf 3.0.
     643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    423647    ;;
    424648
     
    427651
    428652if test -n "$ac_prev"; then
    429   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
    430 fi
    431 
    432 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    433 
    434 # File descriptor usage:
    435 # 0 standard input
    436 # 1 file creation
    437 # 2 errors and warnings
    438 # 3 some systems may open it to /dev/tty
    439 # 4 used on the Kubota Titan
    440 # 6 checking for... messages and results
    441 # 5 compiler messages saved in config.log
    442 if test "$silent" = yes; then
    443   exec 6>/dev/null
    444 else
    445   exec 6>&1
    446 fi
    447 exec 5>./config.log
    448 
    449 echo "\
    450 This file contains any messages produced by compilers while
    451 running configure, to aid debugging if configure makes a mistake.
    452 " 1>&5
    453 
    454 # Strip out --no-create and --no-recursion so they do not pile up.
    455 # Also quote any args containing shell metacharacters.
    456 ac_configure_args=
    457 for ac_arg
     653  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     654  { echo "$as_me: error: missing argument to $ac_option" >&2
     655   { (exit 1); exit 1; }; }
     656fi
     657
     658# Be sure to have absolute paths.
     659for ac_var in exec_prefix prefix
    458660do
    459   case "$ac_arg" in
    460   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    461   | --no-cr | --no-c) ;;
    462   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    463   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    464   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
    465   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    466   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
     661  eval ac_val=$`echo $ac_var`
     662  case $ac_val in
     663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     665   { (exit 1); exit 1; }; };;
    467666  esac
    468667done
    469668
    470 # NLS nuisances.
    471 # Only set these to C if already set.  These must not be set unconditionally
    472 # because not all systems understand e.g. LANG=C (notably SCO).
    473 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
    474 # Non-C LC_CTYPE values break the ctype check.
    475 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    476 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    477 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
    478 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    479 
    480 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    481 rm -rf conftest* confdefs.h
    482 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    483 echo > confdefs.h
    484 
    485 # A filename unique to this package, relative to the directory that
    486 # configure is in, which we can look for to find out if srcdir is correct.
    487 ac_unique_file=canonicalform.cc
     669# Be sure to have absolute paths.
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     671              localstatedir libdir includedir oldincludedir infodir mandir
     672do
     673  eval ac_val=$`echo $ac_var`
     674  case $ac_val in
     675    [\\/$]* | ?:[\\/]* ) ;;
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     677   { (exit 1); exit 1; }; };;
     678  esac
     679done
     680
     681# There might be people who depend on the old broken behavior: `$host'
     682# used to hold the argument of --host etc.
     683# FIXME: To remove some day.
     684build=$build_alias
     685host=$host_alias
     686target=$target_alias
     687
     688# FIXME: To remove some day.
     689if test "x$host_alias" != x; then
     690  if test "x$build_alias" = x; then
     691    cross_compiling=maybe
     692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     693    If a cross compiler is detected then cross compile mode will be used." >&2
     694  elif test "x$build_alias" != "x$host_alias"; then
     695    cross_compiling=yes
     696  fi
     697fi
     698
     699ac_tool_prefix=
     700test -n "$host_alias" && ac_tool_prefix=$host_alias-
     701
     702test "$silent" = yes && exec 6>/dev/null
     703
    488704
    489705# Find the source files, if location was not specified.
     
    491707  ac_srcdir_defaulted=yes
    492708  # Try the directory containing this script, then its parent.
    493   ac_prog=$0
    494   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    495   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
     709  ac_confdir=`(dirname "$0") 2>/dev/null ||
     710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     711         X"$0" : 'X\(//\)[^/]' \| \
     712         X"$0" : 'X\(//\)$' \| \
     713         X"$0" : 'X\(/\)' \| \
     714         .     : '\(.\)' 2>/dev/null ||
     715echo X"$0" |
     716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     717          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     718          /^X\(\/\/\)$/{ s//\1/; q; }
     719          /^X\(\/\).*/{ s//\1/; q; }
     720          s/.*/./; q'`
    496721  srcdir=$ac_confdir
    497722  if test ! -r $srcdir/$ac_unique_file; then
     
    503728if test ! -r $srcdir/$ac_unique_file; then
    504729  if test "$ac_srcdir_defaulted" = yes; then
    505     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     731   { (exit 1); exit 1; }; }
    506732  else
    507     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    508   fi
    509 fi
    510 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
    511 
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     734   { (exit 1); exit 1; }; }
     735  fi
     736fi
     737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     739   { (exit 1); exit 1; }; }
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     741ac_env_build_alias_set=${build_alias+set}
     742ac_env_build_alias_value=$build_alias
     743ac_cv_env_build_alias_set=${build_alias+set}
     744ac_cv_env_build_alias_value=$build_alias
     745ac_env_host_alias_set=${host_alias+set}
     746ac_env_host_alias_value=$host_alias
     747ac_cv_env_host_alias_set=${host_alias+set}
     748ac_cv_env_host_alias_value=$host_alias
     749ac_env_target_alias_set=${target_alias+set}
     750ac_env_target_alias_value=$target_alias
     751ac_cv_env_target_alias_set=${target_alias+set}
     752ac_cv_env_target_alias_value=$target_alias
     753ac_env_CC_set=${CC+set}
     754ac_env_CC_value=$CC
     755ac_cv_env_CC_set=${CC+set}
     756ac_cv_env_CC_value=$CC
     757ac_env_CFLAGS_set=${CFLAGS+set}
     758ac_env_CFLAGS_value=$CFLAGS
     759ac_cv_env_CFLAGS_set=${CFLAGS+set}
     760ac_cv_env_CFLAGS_value=$CFLAGS
     761ac_env_LDFLAGS_set=${LDFLAGS+set}
     762ac_env_LDFLAGS_value=$LDFLAGS
     763ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_cv_env_LDFLAGS_value=$LDFLAGS
     765ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     766ac_env_CPPFLAGS_value=$CPPFLAGS
     767ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     769ac_env_CXX_set=${CXX+set}
     770ac_env_CXX_value=$CXX
     771ac_cv_env_CXX_set=${CXX+set}
     772ac_cv_env_CXX_value=$CXX
     773ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     774ac_env_CXXFLAGS_value=$CXXFLAGS
     775ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     776ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     777ac_env_CPP_set=${CPP+set}
     778ac_env_CPP_value=$CPP
     779ac_cv_env_CPP_set=${CPP+set}
     780ac_cv_env_CPP_value=$CPP
     781ac_env_CXXCPP_set=${CXXCPP+set}
     782ac_env_CXXCPP_value=$CXXCPP
     783ac_cv_env_CXXCPP_set=${CXXCPP+set}
     784ac_cv_env_CXXCPP_value=$CXXCPP
     785
     786#
     787# Report the --help message.
     788#
     789if test "$ac_init_help" = "long"; then
     790  # Omit some internal or obsolete options to make the list less imposing.
     791  # This message is too long to be a string in the A/UX 3.1 sh.
     792  cat <<_ACEOF
     793\`configure' configures this package to adapt to many kinds of systems.
     794
     795Usage: $0 [OPTION]... [VAR=VALUE]...
     796
     797To assign environment variables (e.g., CC, CFLAGS...), specify them as
     798VAR=VALUE.  See below for descriptions of some of the useful variables.
     799
     800Defaults for the options are specified in brackets.
     801
     802Configuration:
     803  -h, --help              display this help and exit
     804      --help=short        display options specific to this package
     805      --help=recursive    display the short help of all the included packages
     806  -V, --version           display version information and exit
     807  -q, --quiet, --silent   do not print \`checking...' messages
     808      --cache-file=FILE   cache test results in FILE [disabled]
     809  -C, --config-cache      alias for \`--cache-file=config.cache'
     810  -n, --no-create         do not create output files
     811      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
     812
     813_ACEOF
     814
     815  cat <<_ACEOF
     816Installation directories:
     817  --prefix=PREFIX         install architecture-independent files in PREFIX
     818                          [$ac_default_prefix]
     819  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     820                          [PREFIX]
     821
     822By default, \`make install' will install all the files in
     823\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     824an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     825for instance \`--prefix=\$HOME'.
     826
     827For better control, use the options below.
     828
     829Fine tuning of the installation directories:
     830  --bindir=DIR           user executables [EPREFIX/bin]
     831  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     832  --libexecdir=DIR       program executables [EPREFIX/libexec]
     833  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     834  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     835  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     836  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     837  --libdir=DIR           object code libraries [EPREFIX/lib]
     838  --includedir=DIR       C header files [PREFIX/include]
     839  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     840  --infodir=DIR          info documentation [PREFIX/info]
     841  --mandir=DIR           man documentation [PREFIX/man]
     842_ACEOF
     843
     844  cat <<\_ACEOF
     845_ACEOF
     846fi
     847
     848if test -n "$ac_init_help"; then
     849
     850  cat <<\_ACEOF
     851
     852Optional Features:
     853  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     854  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     855  --enable-NTL              build for use with NTL.
     856  --enable-cf-inline      build Factory with \"configurable inline methods\"
     857                          enabled.
     858  --disable-streamio      build Factory without stream IO
     859  --enable-memdebug=<level> switch on memory management debugging.  Meaningful
     860                          with \`--with-memman=new' only.  <level> may be either
     861                          \`no' (default), \`normal', or \`full'.
     862  --enable-assertions     build Factory with assertions activated
     863  --enable-timing         build Factory so it will print timing information
     864  --enable-debugoutput    build Factory so it will print debugging information
     865  --enable-gmp            together with \`--with-Singular' means: installation
     866                          in process, be graceful when there is no \`gmp.h'
     867
     868Optional Packages:
     869  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     870  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     871  --with-memman(=<memman>) specify Factory memory manager.
     872                          <memman> is either \`old' (default), \`new', or \`no'.
     873  --with-omalloc           build for use with omalloc
     874  --with-gmp(=<gmp_inc_path>(,<gmp_lib_path>))
     875                          specify where to find gmp library.
     876  --with-Singular         build for use with computer algebra system Singular.
     877  --with-NTL              build for use with NTL.
     878
     879Some influential environment variables:
     880  CC          C compiler command
     881  CFLAGS      C compiler flags
     882  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
     883              nonstandard directory <lib dir>
     884  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     885              headers in a nonstandard directory <include dir>
     886  CXX         C++ compiler command
     887  CXXFLAGS    C++ compiler flags
     888  CPP         C preprocessor
     889  CXXCPP      C++ preprocessor
     890
     891Use these variables to override the choices made by `configure' or to help
     892it to find libraries and programs with nonstandard names/locations.
     893
     894_ACEOF
     895fi
     896
     897if test "$ac_init_help" = "recursive"; then
     898  # If there are subdirs, report their specific --help.
     899  ac_popdir=`pwd`
     900  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     901    test -d $ac_dir || continue
     902    ac_builddir=.
     903
     904if test "$ac_dir" != .; then
     905  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     906  # A "../" for each directory in $ac_dir_suffix.
     907  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     908else
     909  ac_dir_suffix= ac_top_builddir=
     910fi
     911
     912case $srcdir in
     913  .)  # No --srcdir option.  We are building in place.
     914    ac_srcdir=.
     915    if test -z "$ac_top_builddir"; then
     916       ac_top_srcdir=.
     917    else
     918       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     919    fi ;;
     920  [\\/]* | ?:[\\/]* )  # Absolute path.
     921    ac_srcdir=$srcdir$ac_dir_suffix;
     922    ac_top_srcdir=$srcdir ;;
     923  *) # Relative path.
     924    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     925    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     926esac
     927# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     928# absolute.
     929ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     930ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     931ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     932ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     933
     934    cd $ac_dir
     935    # Check for guested configure; otherwise get Cygnus style configure.
     936    if test -f $ac_srcdir/configure.gnu; then
     937      echo
     938      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     939    elif test -f $ac_srcdir/configure; then
     940      echo
     941      $SHELL $ac_srcdir/configure  --help=recursive
     942    elif test -f $ac_srcdir/configure.ac ||
     943           test -f $ac_srcdir/configure.in; then
     944      echo
     945      $ac_configure --help
     946    else
     947      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     948    fi
     949    cd $ac_popdir
     950  done
     951fi
     952
     953test -n "$ac_init_help" && exit 0
     954if $ac_init_version; then
     955  cat <<\_ACEOF
     956
     957Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
     958Free Software Foundation, Inc.
     959This configure script is free software; the Free Software Foundation
     960gives unlimited permission to copy, distribute and modify it.
     961_ACEOF
     962  exit 0
     963fi
     964exec 5>config.log
     965cat >&5 <<_ACEOF
     966This file contains any messages produced by compilers while
     967running configure, to aid debugging if configure makes a mistake.
     968
     969It was created by $as_me, which was
     970generated by GNU Autoconf 2.57.  Invocation command line was
     971
     972  $ $0 $@
     973
     974_ACEOF
     975{
     976cat <<_ASUNAME
     977## --------- ##
     978## Platform. ##
     979## --------- ##
     980
     981hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     982uname -m = `(uname -m) 2>/dev/null || echo unknown`
     983uname -r = `(uname -r) 2>/dev/null || echo unknown`
     984uname -s = `(uname -s) 2>/dev/null || echo unknown`
     985uname -v = `(uname -v) 2>/dev/null || echo unknown`
     986
     987/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
     988/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
     989
     990/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
     991/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
     992/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
     993hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     994/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
     995/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     996/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     997
     998_ASUNAME
     999
     1000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1001for as_dir in $PATH
     1002do
     1003  IFS=$as_save_IFS
     1004  test -z "$as_dir" && as_dir=.
     1005  echo "PATH: $as_dir"
     1006done
     1007
     1008} >&5
     1009
     1010cat >&5 <<_ACEOF
     1011
     1012
     1013## ----------- ##
     1014## Core tests. ##
     1015## ----------- ##
     1016
     1017_ACEOF
     1018
     1019
     1020# Keep a trace of the command line.
     1021# Strip out --no-create and --no-recursion so they do not pile up.
     1022# Strip out --silent because we don't want to record it for future runs.
     1023# Also quote any args containing shell meta-characters.
     1024# Make two passes to allow for proper duplicate-argument suppression.
     1025ac_configure_args=
     1026ac_configure_args0=
     1027ac_configure_args1=
     1028ac_sep=
     1029ac_must_keep_next=false
     1030for ac_pass in 1 2
     1031do
     1032  for ac_arg
     1033  do
     1034    case $ac_arg in
     1035    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
     1036    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     1037    | -silent | --silent | --silen | --sile | --sil)
     1038      continue ;;
     1039    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1040      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1041    esac
     1042    case $ac_pass in
     1043    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1044    2)
     1045      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1046      if test $ac_must_keep_next = true; then
     1047        ac_must_keep_next=false # Got value, back to normal.
     1048      else
     1049        case $ac_arg in
     1050          *=* | --config-cache | -C | -disable-* | --disable-* \
     1051          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1052          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1053          | -with-* | --with-* | -without-* | --without-* | --x)
     1054            case "$ac_configure_args0 " in
     1055              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1056            esac
     1057            ;;
     1058          -* ) ac_must_keep_next=true ;;
     1059        esac
     1060      fi
     1061      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1062      # Get rid of the leading space.
     1063      ac_sep=" "
     1064      ;;
     1065    esac
     1066  done
     1067done
     1068$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1069$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1070
     1071# When interrupted or exit'd, cleanup temporary files, and complete
     1072# config.log.  We remove comments because anyway the quotes in there
     1073# would cause problems or look ugly.
     1074# WARNING: Be sure not to use single quotes in there, as some shells,
     1075# such as our DU 5.0 friend, will then `close' the trap.
     1076trap 'exit_status=$?
     1077  # Save into config.log some information that might help in debugging.
     1078  {
     1079    echo
     1080
     1081    cat <<\_ASBOX
     1082## ---------------- ##
     1083## Cache variables. ##
     1084## ---------------- ##
     1085_ASBOX
     1086    echo
     1087    # The following way of writing the cache mishandles newlines in values,
     1088{
     1089  (set) 2>&1 |
     1090    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1091    *ac_space=\ *)
     1092      sed -n \
     1093        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1094          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1095      ;;
     1096    *)
     1097      sed -n \
     1098        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1099      ;;
     1100    esac;
     1101}
     1102    echo
     1103
     1104    cat <<\_ASBOX
     1105## ----------------- ##
     1106## Output variables. ##
     1107## ----------------- ##
     1108_ASBOX
     1109    echo
     1110    for ac_var in $ac_subst_vars
     1111    do
     1112      eval ac_val=$`echo $ac_var`
     1113      echo "$ac_var='"'"'$ac_val'"'"'"
     1114    done | sort
     1115    echo
     1116
     1117    if test -n "$ac_subst_files"; then
     1118      cat <<\_ASBOX
     1119## ------------- ##
     1120## Output files. ##
     1121## ------------- ##
     1122_ASBOX
     1123      echo
     1124      for ac_var in $ac_subst_files
     1125      do
     1126        eval ac_val=$`echo $ac_var`
     1127        echo "$ac_var='"'"'$ac_val'"'"'"
     1128      done | sort
     1129      echo
     1130    fi
     1131
     1132    if test -s confdefs.h; then
     1133      cat <<\_ASBOX
     1134## ----------- ##
     1135## confdefs.h. ##
     1136## ----------- ##
     1137_ASBOX
     1138      echo
     1139      sed "/^$/d" confdefs.h | sort
     1140      echo
     1141    fi
     1142    test "$ac_signal" != 0 &&
     1143      echo "$as_me: caught signal $ac_signal"
     1144    echo "$as_me: exit $exit_status"
     1145  } >&5
     1146  rm -f core core.* *.core &&
     1147  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1148    exit $exit_status
     1149     ' 0
     1150for ac_signal in 1 2 13 15; do
     1151  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1152done
     1153ac_signal=0
     1154
     1155# confdefs.h avoids OS command line length limits that DEFS can exceed.
     1156rm -rf conftest* confdefs.h
     1157# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1158echo >confdefs.h
     1159
     1160# Predefined preprocessor variables.
     1161
     1162cat >>confdefs.h <<_ACEOF
     1163#define PACKAGE_NAME "$PACKAGE_NAME"
     1164_ACEOF
     1165
     1166
     1167cat >>confdefs.h <<_ACEOF
     1168#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1169_ACEOF
     1170
     1171
     1172cat >>confdefs.h <<_ACEOF
     1173#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1174_ACEOF
     1175
     1176
     1177cat >>confdefs.h <<_ACEOF
     1178#define PACKAGE_STRING "$PACKAGE_STRING"
     1179_ACEOF
     1180
     1181
     1182cat >>confdefs.h <<_ACEOF
     1183#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1184_ACEOF
     1185
     1186
     1187# Let the site file select an alternate cache file if it wants to.
    5121188# Prefer explicitly selected file to automatically selected ones.
    5131189if test -z "$CONFIG_SITE"; then
     
    5201196for ac_site_file in $CONFIG_SITE; do
    5211197  if test -r "$ac_site_file"; then
    522     echo "loading site script $ac_site_file"
     1198    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1199echo "$as_me: loading site script $ac_site_file" >&6;}
     1200    sed 's/^/| /' "$ac_site_file" >&5
    5231201    . "$ac_site_file"
    5241202  fi
     
    5261204
    5271205if test -r "$cache_file"; then
    528   echo "loading cache $cache_file"
    529   . $cache_file
    530 else
    531   echo "creating cache $cache_file"
    532   > $cache_file
     1206  # Some versions of bash will fail to source /dev/null (special
     1207  # files actually), so we avoid doing that.
     1208  if test -f "$cache_file"; then
     1209    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1210echo "$as_me: loading cache $cache_file" >&6;}
     1211    case $cache_file in
     1212      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1213      *)                      . ./$cache_file;;
     1214    esac
     1215  fi
     1216else
     1217  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1218echo "$as_me: creating cache $cache_file" >&6;}
     1219  >$cache_file
     1220fi
     1221
     1222# Check that the precious variables saved in the cache have kept the same
     1223# value.
     1224ac_cache_corrupted=false
     1225for ac_var in `(set) 2>&1 |
     1226               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1227  eval ac_old_set=\$ac_cv_env_${ac_var}_set
     1228  eval ac_new_set=\$ac_env_${ac_var}_set
     1229  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1230  eval ac_new_val="\$ac_env_${ac_var}_value"
     1231  case $ac_old_set,$ac_new_set in
     1232    set,)
     1233      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1234echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1235      ac_cache_corrupted=: ;;
     1236    ,set)
     1237      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1238echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1239      ac_cache_corrupted=: ;;
     1240    ,);;
     1241    *)
     1242      if test "x$ac_old_val" != "x$ac_new_val"; then
     1243        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1244echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1245        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1246echo "$as_me:   former value:  $ac_old_val" >&2;}
     1247        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1248echo "$as_me:   current value: $ac_new_val" >&2;}
     1249        ac_cache_corrupted=:
     1250      fi;;
     1251  esac
     1252  # Pass precious variables to config.status.
     1253  if test "$ac_new_set" = set; then
     1254    case $ac_new_val in
     1255    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1256      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1257    *) ac_arg=$ac_var=$ac_new_val ;;
     1258    esac
     1259    case " $ac_configure_args " in
     1260      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     1261      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     1262    esac
     1263  fi
     1264done
     1265if $ac_cache_corrupted; then
     1266  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1267echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1268  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1269echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1270   { (exit 1); exit 1; }; }
    5331271fi
    5341272
    5351273ac_ext=c
    536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    5371274ac_cpp='$CPP $CPPFLAGS'
    538 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    539 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    540 cross_compiling=$ac_cv_prog_cc_cross
    541 
    542 ac_exeext=
    543 ac_objext=o
    544 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    545   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
    546   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    547     ac_n= ac_c='
    548 ' ac_t='        '
    549   else
    550     ac_n=-n ac_c= ac_t=
    551   fi
    552 else
    553   ac_n= ac_c='\c' ac_t=
    554 fi
    555 
    556 
     1275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1277ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1278
     1279
     1280
     1281
     1282
     1283
     1284
     1285
     1286
     1287
     1288
     1289
     1290
     1291
     1292
     1293
     1294
     1295
     1296
     1297          ac_config_headers="$ac_config_headers config.h"
    5571298
    5581299ac_aux_dir=
     
    5661307    ac_install_sh="$ac_aux_dir/install.sh -c"
    5671308    break
     1309  elif test -f $ac_dir/shtool; then
     1310    ac_aux_dir=$ac_dir
     1311    ac_install_sh="$ac_aux_dir/shtool install -c"
     1312    break
    5681313  fi
    5691314done
    5701315if test -z "$ac_aux_dir"; then
    571   { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
    572 fi
    573 ac_config_guess=$ac_aux_dir/config.guess
    574 ac_config_sub=$ac_aux_dir/config.sub
    575 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     1316  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&5
     1317echo "$as_me: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&2;}
     1318   { (exit 1); exit 1; }; }
     1319fi
     1320ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1321ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1322ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    5761323
    5771324
     
    5851332# - check withs and enables.
    5861333#
     1334
    5871335# Check whether --with-memman or --without-memman was given.
    5881336if test "${with_memman+set}" = set; then
    5891337  withval="$with_memman"
    590   :
     1338
    5911339else
    5921340   if test "x$with_Singular" = xyes; then
     
    5941342    else
    5951343      with_memman=old
    596     fi
    597 fi
    598 
     1344    fi
     1345fi;
    5991346
    6001347# font-lock-trick: '
     1348
    6011349
    6021350# Check whether --with-omalloc or --without-omalloc was given.
    6031351if test "${with_omalloc+set}" = set; then
    6041352  withval="$with_omalloc"
    605   :
    606 fi
     1353
     1354fi;
    6071355
    6081356# Check whether --with-gmp or --without-gmp was given.
    6091357if test "${with_gmp+set}" = set; then
    6101358  withval="$with_gmp"
    611   :
    612 fi
     1359
     1360fi;
    6131361
    6141362
     
    6161364if test "${with_Singular+set}" = set; then
    6171365  withval="$with_Singular"
    618   :
     1366
    6191367else
    6201368  with_Singular=no
    621 fi
     1369fi;
    6221370
    6231371
     
    6261374  withval="$with_NTL"
    6271375  with_NTL=yes
    628 fi
    629 
     1376fi;
    6301377
    6311378# Check whether --enable-NTL or --disable-NTL was given.
     
    6331380  enableval="$enable_NTL"
    6341381  with_NTL=yes
    635 fi
    636 
     1382fi;
    6371383
    6381384# Check whether --enable-cf-inline or --disable-cf-inline was given.
    6391385if test "${enable_cf_inline+set}" = set; then
    6401386  enableval="$enable_cf_inline"
    641   :
     1387
    6421388else
    6431389  enable_cf_inline=no
    644 fi
    645 
     1390fi;
    6461391
    6471392# Check whether --enable-streamio or --disable-streamio was given.
    6481393if test "${enable_streamio+set}" = set; then
    6491394  enableval="$enable_streamio"
    650   :
     1395
    6511396else
    6521397   if test "x$with_Singular" = xyes; then
     
    6541399    else
    6551400      enable_streamio=yes
    656     fi
    657 fi
    658 
     1401    fi
     1402fi;
    6591403
    6601404# Check whether --enable-memdebug or --disable-memdebug was given.
    6611405if test "${enable_memdebug+set}" = set; then
    6621406  enableval="$enable_memdebug"
    663   :
     1407
    6641408else
    6651409  enable_memdebug=no
    666 fi
    667 
     1410fi;
    6681411
    6691412# Check whether --enable-assertions or --disable-assertions was given.
    6701413if test "${enable_assertions+set}" = set; then
    6711414  enableval="$enable_assertions"
    672   :
     1415
    6731416else
    6741417  enable_assertions=no
    675 fi
    676 
     1418fi;
    6771419
    6781420# Check whether --enable-timing or --disable-timing was given.
    6791421if test "${enable_timing+set}" = set; then
    6801422  enableval="$enable_timing"
    681   :
     1423
    6821424else
    6831425  enable_timing=no
    684 fi
    685 
     1426fi;
    6861427
    6871428# Check whether --enable-debugoutput or --disable-debugoutput was given.
    6881429if test "${enable_debugoutput+set}" = set; then
    6891430  enableval="$enable_debugoutput"
    690   :
     1431
    6911432else
    6921433  enable_debugoutput=no
    693 fi
    694 
     1434fi;
    6951435
    6961436# a tribute to Singular
     
    7001440   if test "x$with_Singular" = xyes && test "x$enable_gmp" != xno; then
    7011441      with_gmp='$(includedir)'
    702     fi
    703 fi
    704 
     1442    fi
     1443fi;
    7051444
    7061445#
     
    7201459    gmp_in_installation=no ;;
    7211460  *)
    722     CPPFLAGS="-I$with_gmp $CPPFLAGS" 
     1461    CPPFLAGS="-I$with_gmp $CPPFLAGS"
    7231462    LDFLAGS="-L$with_gmp/../lib $LDFLAGS"
    7241463    gmp_in_installation=no ;;
     
    7291468#
    7301469test "${CFLAGS+set}" = set || cflags_expl_set=no
    731 # Extract the first word of "gcc", so it can be a program name with args.
    732 set dummy gcc; ac_word=$2
    733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    734 echo "configure:735: checking for $ac_word" >&5
    735 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    736   echo $ac_n "(cached) $ac_c" 1>&6
     1470ac_ext=c
     1471ac_cpp='$CPP $CPPFLAGS'
     1472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1474ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1475if test -n "$ac_tool_prefix"; then
     1476  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     1477set dummy ${ac_tool_prefix}gcc; ac_word=$2
     1478echo "$as_me:$LINENO: checking for $ac_word" >&5
     1479echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1480if test "${ac_cv_prog_CC+set}" = set; then
     1481  echo $ECHO_N "(cached) $ECHO_C" >&6
    7371482else
    7381483  if test -n "$CC"; then
    7391484  ac_cv_prog_CC="$CC" # Let the user override the test.
    7401485else
    741   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    742   ac_dummy="$PATH"
    743   for ac_dir in $ac_dummy; do
    744     test -z "$ac_dir" && ac_dir=.
    745     if test -f $ac_dir/$ac_word; then
    746       ac_cv_prog_CC="gcc"
    747       break
    748     fi
    749   done
    750   IFS="$ac_save_ifs"
    751 fi
    752 fi
    753 CC="$ac_cv_prog_CC"
     1486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1487for as_dir in $PATH
     1488do
     1489  IFS=$as_save_IFS
     1490  test -z "$as_dir" && as_dir=.
     1491  for ac_exec_ext in '' $ac_executable_extensions; do
     1492  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1493    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     1494    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1495    break 2
     1496  fi
     1497done
     1498done
     1499
     1500fi
     1501fi
     1502CC=$ac_cv_prog_CC
    7541503if test -n "$CC"; then
    755   echo "$ac_t""$CC" 1>&6
    756 else
    757   echo "$ac_t""no" 1>&6
    758 fi
    759 
     1504  echo "$as_me:$LINENO: result: $CC" >&5
     1505echo "${ECHO_T}$CC" >&6
     1506else
     1507  echo "$as_me:$LINENO: result: no" >&5
     1508echo "${ECHO_T}no" >&6
     1509fi
     1510
     1511fi
     1512if test -z "$ac_cv_prog_CC"; then
     1513  ac_ct_CC=$CC
     1514  # Extract the first word of "gcc", so it can be a program name with args.
     1515set dummy gcc; ac_word=$2
     1516echo "$as_me:$LINENO: checking for $ac_word" >&5
     1517echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1518if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1519  echo $ECHO_N "(cached) $ECHO_C" >&6
     1520else
     1521  if test -n "$ac_ct_CC"; then
     1522  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1523else
     1524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1525for as_dir in $PATH
     1526do
     1527  IFS=$as_save_IFS
     1528  test -z "$as_dir" && as_dir=.
     1529  for ac_exec_ext in '' $ac_executable_extensions; do
     1530  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1531    ac_cv_prog_ac_ct_CC="gcc"
     1532    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1533    break 2
     1534  fi
     1535done
     1536done
     1537
     1538fi
     1539fi
     1540ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1541if test -n "$ac_ct_CC"; then
     1542  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1543echo "${ECHO_T}$ac_ct_CC" >&6
     1544else
     1545  echo "$as_me:$LINENO: result: no" >&5
     1546echo "${ECHO_T}no" >&6
     1547fi
     1548
     1549  CC=$ac_ct_CC
     1550else
     1551  CC="$ac_cv_prog_CC"
     1552fi
     1553
     1554if test -z "$CC"; then
     1555  if test -n "$ac_tool_prefix"; then
     1556  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     1557set dummy ${ac_tool_prefix}cc; ac_word=$2
     1558echo "$as_me:$LINENO: checking for $ac_word" >&5
     1559echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1560if test "${ac_cv_prog_CC+set}" = set; then
     1561  echo $ECHO_N "(cached) $ECHO_C" >&6
     1562else
     1563  if test -n "$CC"; then
     1564  ac_cv_prog_CC="$CC" # Let the user override the test.
     1565else
     1566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1567for as_dir in $PATH
     1568do
     1569  IFS=$as_save_IFS
     1570  test -z "$as_dir" && as_dir=.
     1571  for ac_exec_ext in '' $ac_executable_extensions; do
     1572  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1573    ac_cv_prog_CC="${ac_tool_prefix}cc"
     1574    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1575    break 2
     1576  fi
     1577done
     1578done
     1579
     1580fi
     1581fi
     1582CC=$ac_cv_prog_CC
     1583if test -n "$CC"; then
     1584  echo "$as_me:$LINENO: result: $CC" >&5
     1585echo "${ECHO_T}$CC" >&6
     1586else
     1587  echo "$as_me:$LINENO: result: no" >&5
     1588echo "${ECHO_T}no" >&6
     1589fi
     1590
     1591fi
     1592if test -z "$ac_cv_prog_CC"; then
     1593  ac_ct_CC=$CC
     1594  # Extract the first word of "cc", so it can be a program name with args.
     1595set dummy cc; ac_word=$2
     1596echo "$as_me:$LINENO: checking for $ac_word" >&5
     1597echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1598if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1599  echo $ECHO_N "(cached) $ECHO_C" >&6
     1600else
     1601  if test -n "$ac_ct_CC"; then
     1602  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1603else
     1604as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1605for as_dir in $PATH
     1606do
     1607  IFS=$as_save_IFS
     1608  test -z "$as_dir" && as_dir=.
     1609  for ac_exec_ext in '' $ac_executable_extensions; do
     1610  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1611    ac_cv_prog_ac_ct_CC="cc"
     1612    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1613    break 2
     1614  fi
     1615done
     1616done
     1617
     1618fi
     1619fi
     1620ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1621if test -n "$ac_ct_CC"; then
     1622  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1623echo "${ECHO_T}$ac_ct_CC" >&6
     1624else
     1625  echo "$as_me:$LINENO: result: no" >&5
     1626echo "${ECHO_T}no" >&6
     1627fi
     1628
     1629  CC=$ac_ct_CC
     1630else
     1631  CC="$ac_cv_prog_CC"
     1632fi
     1633
     1634fi
    7601635if test -z "$CC"; then
    7611636  # Extract the first word of "cc", so it can be a program name with args.
    7621637set dummy cc; ac_word=$2
    763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    764 echo "configure:765: checking for $ac_word" >&5
    765 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    766   echo $ac_n "(cached) $ac_c" 1>&6
     1638echo "$as_me:$LINENO: checking for $ac_word" >&5
     1639echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1640if test "${ac_cv_prog_CC+set}" = set; then
     1641  echo $ECHO_N "(cached) $ECHO_C" >&6
    7671642else
    7681643  if test -n "$CC"; then
    7691644  ac_cv_prog_CC="$CC" # Let the user override the test.
    7701645else
    771   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    7721646  ac_prog_rejected=no
    773   ac_dummy="$PATH"
    774   for ac_dir in $ac_dummy; do
    775     test -z "$ac_dir" && ac_dir=.
    776     if test -f $ac_dir/$ac_word; then
    777       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
    778         ac_prog_rejected=yes
    779         continue
    780       fi
    781       ac_cv_prog_CC="cc"
    782       break
    783     fi
    784   done
    785   IFS="$ac_save_ifs"
     1647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1648for as_dir in $PATH
     1649do
     1650  IFS=$as_save_IFS
     1651  test -z "$as_dir" && as_dir=.
     1652  for ac_exec_ext in '' $ac_executable_extensions; do
     1653  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1654    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     1655       ac_prog_rejected=yes
     1656       continue
     1657     fi
     1658    ac_cv_prog_CC="cc"
     1659    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1660    break 2
     1661  fi
     1662done
     1663done
     1664
    7861665if test $ac_prog_rejected = yes; then
    7871666  # We found a bogon in the path, so make sure we never use it.
    7881667  set dummy $ac_cv_prog_CC
    7891668  shift
    790   if test $# -gt 0; then
     1669  if test $# != 0; then
    7911670    # We chose a different compiler from the bogus one.
    7921671    # However, it has the same basename, so the bogon will be chosen
    7931672    # first if we set CC to just the basename; use the full file name.
    7941673    shift
    795     set dummy "$ac_dir/$ac_word" "$@"
    796     shift
    797     ac_cv_prog_CC="$@"
    798   fi
    799 fi
    800 fi
    801 fi
    802 CC="$ac_cv_prog_CC"
     1674    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     1675  fi
     1676fi
     1677fi
     1678fi
     1679CC=$ac_cv_prog_CC
    8031680if test -n "$CC"; then
    804   echo "$ac_t""$CC" 1>&6
    805 else
    806   echo "$ac_t""no" 1>&6
    807 fi
    808 
    809   if test -z "$CC"; then
    810     case "`uname -s`" in
    811     *win32* | *WIN32*)
    812       # Extract the first word of "cl", so it can be a program name with args.
    813 set dummy cl; ac_word=$2
    814 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    815 echo "configure:816: checking for $ac_word" >&5
    816 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    817   echo $ac_n "(cached) $ac_c" 1>&6
     1681  echo "$as_me:$LINENO: result: $CC" >&5
     1682echo "${ECHO_T}$CC" >&6
     1683else
     1684  echo "$as_me:$LINENO: result: no" >&5
     1685echo "${ECHO_T}no" >&6
     1686fi
     1687
     1688fi
     1689if test -z "$CC"; then
     1690  if test -n "$ac_tool_prefix"; then
     1691  for ac_prog in cl
     1692  do
     1693    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     1694set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     1695echo "$as_me:$LINENO: checking for $ac_word" >&5
     1696echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1697if test "${ac_cv_prog_CC+set}" = set; then
     1698  echo $ECHO_N "(cached) $ECHO_C" >&6
    8181699else
    8191700  if test -n "$CC"; then
    8201701  ac_cv_prog_CC="$CC" # Let the user override the test.
    8211702else
    822   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    823   ac_dummy="$PATH"
    824   for ac_dir in $ac_dummy; do
    825     test -z "$ac_dir" && ac_dir=.
    826     if test -f $ac_dir/$ac_word; then
    827       ac_cv_prog_CC="cl"
    828       break
     1703as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1704for as_dir in $PATH
     1705do
     1706  IFS=$as_save_IFS
     1707  test -z "$as_dir" && as_dir=.
     1708  for ac_exec_ext in '' $ac_executable_extensions; do
     1709  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1710    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     1711    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1712    break 2
     1713  fi
     1714done
     1715done
     1716
     1717fi
     1718fi
     1719CC=$ac_cv_prog_CC
     1720if test -n "$CC"; then
     1721  echo "$as_me:$LINENO: result: $CC" >&5
     1722echo "${ECHO_T}$CC" >&6
     1723else
     1724  echo "$as_me:$LINENO: result: no" >&5
     1725echo "${ECHO_T}no" >&6
     1726fi
     1727
     1728    test -n "$CC" && break
     1729  done
     1730fi
     1731if test -z "$CC"; then
     1732  ac_ct_CC=$CC
     1733  for ac_prog in cl
     1734do
     1735  # Extract the first word of "$ac_prog", so it can be a program name with args.
     1736set dummy $ac_prog; ac_word=$2
     1737echo "$as_me:$LINENO: checking for $ac_word" >&5
     1738echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1739if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1740  echo $ECHO_N "(cached) $ECHO_C" >&6
     1741else
     1742  if test -n "$ac_ct_CC"; then
     1743  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1744else
     1745as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1746for as_dir in $PATH
     1747do
     1748  IFS=$as_save_IFS
     1749  test -z "$as_dir" && as_dir=.
     1750  for ac_exec_ext in '' $ac_executable_extensions; do
     1751  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1752    ac_cv_prog_ac_ct_CC="$ac_prog"
     1753    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1754    break 2
     1755  fi
     1756done
     1757done
     1758
     1759fi
     1760fi
     1761ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1762if test -n "$ac_ct_CC"; then
     1763  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1764echo "${ECHO_T}$ac_ct_CC" >&6
     1765else
     1766  echo "$as_me:$LINENO: result: no" >&5
     1767echo "${ECHO_T}no" >&6
     1768fi
     1769
     1770  test -n "$ac_ct_CC" && break
     1771done
     1772
     1773  CC=$ac_ct_CC
     1774fi
     1775
     1776fi
     1777
     1778
     1779test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1780See \`config.log' for more details." >&5
     1781echo "$as_me: error: no acceptable C compiler found in \$PATH
     1782See \`config.log' for more details." >&2;}
     1783   { (exit 1); exit 1; }; }
     1784
     1785# Provide some information about the compiler.
     1786echo "$as_me:$LINENO:" \
     1787     "checking for C compiler version" >&5
     1788ac_compiler=`set X $ac_compile; echo $2`
     1789{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     1790  (eval $ac_compiler --version </dev/null >&5) 2>&5
     1791  ac_status=$?
     1792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1793  (exit $ac_status); }
     1794{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     1795  (eval $ac_compiler -v </dev/null >&5) 2>&5
     1796  ac_status=$?
     1797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1798  (exit $ac_status); }
     1799{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     1800  (eval $ac_compiler -V </dev/null >&5) 2>&5
     1801  ac_status=$?
     1802  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1803  (exit $ac_status); }
     1804
     1805cat >conftest.$ac_ext <<_ACEOF
     1806#line $LINENO "configure"
     1807/* confdefs.h.  */
     1808_ACEOF
     1809cat confdefs.h >>conftest.$ac_ext
     1810cat >>conftest.$ac_ext <<_ACEOF
     1811/* end confdefs.h.  */
     1812
     1813int
     1814main ()
     1815{
     1816
     1817  ;
     1818  return 0;
     1819}
     1820_ACEOF
     1821ac_clean_files_save=$ac_clean_files
     1822ac_clean_files="$ac_clean_files a.out a.exe b.out"
     1823# Try to create an executable without -o first, disregard a.out.
     1824# It will help us diagnose broken compilers, and finding out an intuition
     1825# of exeext.
     1826echo "$as_me:$LINENO: checking for C compiler default output" >&5
     1827echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
     1828ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     1829if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     1830  (eval $ac_link_default) 2>&5
     1831  ac_status=$?
     1832  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1833  (exit $ac_status); }; then
     1834  # Find the output, starting from the most likely.  This scheme is
     1835# not robust to junk in `.', hence go to wildcards (a.*) only as a last
     1836# resort.
     1837
     1838# Be careful to initialize this variable, since it used to be cached.
     1839# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
     1840ac_cv_exeext=
     1841# b.out is created by i960 compilers.
     1842for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     1843do
     1844  test -f "$ac_file" || continue
     1845  case $ac_file in
     1846    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
     1847        ;;
     1848    conftest.$ac_ext )
     1849        # This is the source file.
     1850        ;;
     1851    [ab].out )
     1852        # We found the default executable, but exeext='' is most
     1853        # certainly right.
     1854        break;;
     1855    *.* )
     1856        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1857        # FIXME: I believe we export ac_cv_exeext for Libtool,
     1858        # but it would be cool to find out if it's true.  Does anybody
     1859        # maintain Libtool? --akim.
     1860        export ac_cv_exeext
     1861        break;;
     1862    * )
     1863        break;;
     1864  esac
     1865done
     1866else
     1867  echo "$as_me: failed program was:" >&5
     1868sed 's/^/| /' conftest.$ac_ext >&5
     1869
     1870{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     1871See \`config.log' for more details." >&5
     1872echo "$as_me: error: C compiler cannot create executables
     1873See \`config.log' for more details." >&2;}
     1874   { (exit 77); exit 77; }; }
     1875fi
     1876
     1877ac_exeext=$ac_cv_exeext
     1878echo "$as_me:$LINENO: result: $ac_file" >&5
     1879echo "${ECHO_T}$ac_file" >&6
     1880
     1881# Check the compiler produces executables we can run.  If not, either
     1882# the compiler is broken, or we cross compile.
     1883echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1884echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     1885# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     1886# If not cross compiling, check that we can run a simple program.
     1887if test "$cross_compiling" != yes; then
     1888  if { ac_try='./$ac_file'
     1889  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1890  (eval $ac_try) 2>&5
     1891  ac_status=$?
     1892  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1893  (exit $ac_status); }; }; then
     1894    cross_compiling=no
     1895  else
     1896    if test "$cross_compiling" = maybe; then
     1897        cross_compiling=yes
     1898    else
     1899        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
     1900If you meant to cross compile, use \`--host'.
     1901See \`config.log' for more details." >&5
     1902echo "$as_me: error: cannot run C compiled programs.
     1903If you meant to cross compile, use \`--host'.
     1904See \`config.log' for more details." >&2;}
     1905   { (exit 1); exit 1; }; }
    8291906    fi
    830   done
    831   IFS="$ac_save_ifs"
    832 fi
    833 fi
    834 CC="$ac_cv_prog_CC"
    835 if test -n "$CC"; then
    836   echo "$ac_t""$CC" 1>&6
    837 else
    838   echo "$ac_t""no" 1>&6
    839 fi
    840  ;;
    841     esac
    842   fi
    843   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
    844 fi
    845 
    846 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    847 echo "configure:848: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    848 
    849 ac_ext=c
    850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    851 ac_cpp='$CPP $CPPFLAGS'
    852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    854 cross_compiling=$ac_cv_prog_cc_cross
    855 
    856 cat > conftest.$ac_ext << EOF
    857 
    858 #line 859 "configure"
    859 #include "confdefs.h"
    860 
    861 main(){return(0);}
    862 EOF
    863 if { (eval echo configure:864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    864   ac_cv_prog_cc_works=yes
    865   # If we can't run a trivial program, we are probably using a cross compiler.
    866   if (./conftest; exit) 2>/dev/null; then
    867     ac_cv_prog_cc_cross=no
    868   else
    869     ac_cv_prog_cc_cross=yes
    870   fi
    871 else
    872   echo "configure: failed program was:" >&5
    873   cat conftest.$ac_ext >&5
    874   ac_cv_prog_cc_works=no
    875 fi
    876 rm -fr conftest*
    877 ac_ext=c
    878 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    879 ac_cpp='$CPP $CPPFLAGS'
    880 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    881 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    882 cross_compiling=$ac_cv_prog_cc_cross
    883 
    884 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
    885 if test $ac_cv_prog_cc_works = no; then
    886   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
    887 fi
    888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    889 echo "configure:890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    890 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    891 cross_compiling=$ac_cv_prog_cc_cross
    892 
    893 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    894 echo "configure:895: checking whether we are using GNU C" >&5
    895 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    896   echo $ac_n "(cached) $ac_c" 1>&6
    897 else
    898   cat > conftest.c <<EOF
    899 #ifdef __GNUC__
    900   yes;
     1907  fi
     1908fi
     1909echo "$as_me:$LINENO: result: yes" >&5
     1910echo "${ECHO_T}yes" >&6
     1911
     1912rm -f a.out a.exe conftest$ac_cv_exeext b.out
     1913ac_clean_files=$ac_clean_files_save
     1914# Check the compiler produces executables we can run.  If not, either
     1915# the compiler is broken, or we cross compile.
     1916echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1917echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1918echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1919echo "${ECHO_T}$cross_compiling" >&6
     1920
     1921echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1922echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1923if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     1924  (eval $ac_link) 2>&5
     1925  ac_status=$?
     1926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1927  (exit $ac_status); }; then
     1928  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     1929# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     1930# work properly (i.e., refer to `conftest.exe'), while it won't with
     1931# `rm'.
     1932for ac_file in conftest.exe conftest conftest.*; do
     1933  test -f "$ac_file" || continue
     1934  case $ac_file in
     1935    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     1936    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1937          export ac_cv_exeext
     1938          break;;
     1939    * ) break;;
     1940  esac
     1941done
     1942else
     1943  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     1944See \`config.log' for more details." >&5
     1945echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     1946See \`config.log' for more details." >&2;}
     1947   { (exit 1); exit 1; }; }
     1948fi
     1949
     1950rm -f conftest$ac_cv_exeext
     1951echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1952echo "${ECHO_T}$ac_cv_exeext" >&6
     1953
     1954rm -f conftest.$ac_ext
     1955EXEEXT=$ac_cv_exeext
     1956ac_exeext=$EXEEXT
     1957echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1958echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     1959if test "${ac_cv_objext+set}" = set; then
     1960  echo $ECHO_N "(cached) $ECHO_C" >&6
     1961else
     1962  cat >conftest.$ac_ext <<_ACEOF
     1963#line $LINENO "configure"
     1964/* confdefs.h.  */
     1965_ACEOF
     1966cat confdefs.h >>conftest.$ac_ext
     1967cat >>conftest.$ac_ext <<_ACEOF
     1968/* end confdefs.h.  */
     1969
     1970int
     1971main ()
     1972{
     1973
     1974  ;
     1975  return 0;
     1976}
     1977_ACEOF
     1978rm -f conftest.o conftest.obj
     1979if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     1980  (eval $ac_compile) 2>&5
     1981  ac_status=$?
     1982  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1983  (exit $ac_status); }; then
     1984  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     1985  case $ac_file in
     1986    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     1987    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
     1988       break;;
     1989  esac
     1990done
     1991else
     1992  echo "$as_me: failed program was:" >&5
     1993sed 's/^/| /' conftest.$ac_ext >&5
     1994
     1995{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     1996See \`config.log' for more details." >&5
     1997echo "$as_me: error: cannot compute suffix of object files: cannot compile
     1998See \`config.log' for more details." >&2;}
     1999   { (exit 1); exit 1; }; }
     2000fi
     2001
     2002rm -f conftest.$ac_cv_objext conftest.$ac_ext
     2003fi
     2004echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2005echo "${ECHO_T}$ac_cv_objext" >&6
     2006OBJEXT=$ac_cv_objext
     2007ac_objext=$OBJEXT
     2008echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2009echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     2010if test "${ac_cv_c_compiler_gnu+set}" = set; then
     2011  echo $ECHO_N "(cached) $ECHO_C" >&6
     2012else
     2013  cat >conftest.$ac_ext <<_ACEOF
     2014#line $LINENO "configure"
     2015/* confdefs.h.  */
     2016_ACEOF
     2017cat confdefs.h >>conftest.$ac_ext
     2018cat >>conftest.$ac_ext <<_ACEOF
     2019/* end confdefs.h.  */
     2020
     2021int
     2022main ()
     2023{
     2024#ifndef __GNUC__
     2025       choke me
    9012026#endif
    902 EOF
    903 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    904   ac_cv_prog_gcc=yes
    905 else
    906   ac_cv_prog_gcc=no
    907 fi
    908 fi
    909 
    910 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
    911 
    912 if test $ac_cv_prog_gcc = yes; then
    913   GCC=yes
    914 else
    915   GCC=
    916 fi
    917 
    918 ac_test_CFLAGS="${CFLAGS+set}"
    919 ac_save_CFLAGS="$CFLAGS"
    920 CFLAGS=
    921 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    922 echo "configure:923: checking whether ${CC-cc} accepts -g" >&5
    923 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    924   echo $ac_n "(cached) $ac_c" 1>&6
    925 else
    926   echo 'void f(){}' > conftest.c
    927 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
     2027
     2028  ;
     2029  return 0;
     2030}
     2031_ACEOF
     2032rm -f conftest.$ac_objext
     2033if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2034  (eval $ac_compile) 2>&5
     2035  ac_status=$?
     2036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2037  (exit $ac_status); } &&
     2038         { ac_try='test -s conftest.$ac_objext'
     2039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2040  (eval $ac_try) 2>&5
     2041  ac_status=$?
     2042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2043  (exit $ac_status); }; }; then
     2044  ac_compiler_gnu=yes
     2045else
     2046  echo "$as_me: failed program was:" >&5
     2047sed 's/^/| /' conftest.$ac_ext >&5
     2048
     2049ac_compiler_gnu=no
     2050fi
     2051rm -f conftest.$ac_objext conftest.$ac_ext
     2052ac_cv_c_compiler_gnu=$ac_compiler_gnu
     2053
     2054fi
     2055echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2056echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2057GCC=`test $ac_compiler_gnu = yes && echo yes`
     2058ac_test_CFLAGS=${CFLAGS+set}
     2059ac_save_CFLAGS=$CFLAGS
     2060CFLAGS="-g"
     2061echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2062echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2063if test "${ac_cv_prog_cc_g+set}" = set; then
     2064  echo $ECHO_N "(cached) $ECHO_C" >&6
     2065else
     2066  cat >conftest.$ac_ext <<_ACEOF
     2067#line $LINENO "configure"
     2068/* confdefs.h.  */
     2069_ACEOF
     2070cat confdefs.h >>conftest.$ac_ext
     2071cat >>conftest.$ac_ext <<_ACEOF
     2072/* end confdefs.h.  */
     2073
     2074int
     2075main ()
     2076{
     2077
     2078  ;
     2079  return 0;
     2080}
     2081_ACEOF
     2082rm -f conftest.$ac_objext
     2083if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2084  (eval $ac_compile) 2>&5
     2085  ac_status=$?
     2086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2087  (exit $ac_status); } &&
     2088         { ac_try='test -s conftest.$ac_objext'
     2089  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2090  (eval $ac_try) 2>&5
     2091  ac_status=$?
     2092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2093  (exit $ac_status); }; }; then
    9282094  ac_cv_prog_cc_g=yes
    9292095else
    930   ac_cv_prog_cc_g=no
    931 fi
    932 rm -f conftest*
    933 
    934 fi
    935 
    936 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
     2096  echo "$as_me: failed program was:" >&5
     2097sed 's/^/| /' conftest.$ac_ext >&5
     2098
     2099ac_cv_prog_cc_g=no
     2100fi
     2101rm -f conftest.$ac_objext conftest.$ac_ext
     2102fi
     2103echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2104echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    9372105if test "$ac_test_CFLAGS" = set; then
    938   CFLAGS="$ac_save_CFLAGS"
     2106  CFLAGS=$ac_save_CFLAGS
    9392107elif test $ac_cv_prog_cc_g = yes; then
    9402108  if test "$GCC" = yes; then
     
    9502118  fi
    9512119fi
     2120echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2121echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2122if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2123  echo $ECHO_N "(cached) $ECHO_C" >&6
     2124else
     2125  ac_cv_prog_cc_stdc=no
     2126ac_save_CC=$CC
     2127cat >conftest.$ac_ext <<_ACEOF
     2128#line $LINENO "configure"
     2129/* confdefs.h.  */
     2130_ACEOF
     2131cat confdefs.h >>conftest.$ac_ext
     2132cat >>conftest.$ac_ext <<_ACEOF
     2133/* end confdefs.h.  */
     2134#include <stdarg.h>
     2135#include <stdio.h>
     2136#include <sys/types.h>
     2137#include <sys/stat.h>
     2138/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     2139struct buf { int x; };
     2140FILE * (*rcsopen) (struct buf *, struct stat *, int);
     2141static char *e (p, i)
     2142     char **p;
     2143     int i;
     2144{
     2145  return p[i];
     2146}
     2147static char *f (char * (*g) (char **, int), char **p, ...)
     2148{
     2149  char *s;
     2150  va_list v;
     2151  va_start (v,p);
     2152  s = g (p, va_arg (v,int));
     2153  va_end (v);
     2154  return s;
     2155}
     2156int test (int i, double x);
     2157struct s1 {int (*f) (int a);};
     2158struct s2 {int (*f) (double a);};
     2159int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     2160int argc;
     2161char **argv;
     2162int
     2163main ()
     2164{
     2165return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     2166  ;
     2167  return 0;
     2168}
     2169_ACEOF
     2170# Don't try gcc -ansi; that turns off useful extensions and
     2171# breaks some systems' header files.
     2172# AIX                   -qlanglvl=ansi
     2173# Ultrix and OSF/1      -std1
     2174# HP-UX 10.20 and later -Ae
     2175# HP-UX older versions  -Aa -D_HPUX_SOURCE
     2176# SVR4                  -Xc -D__EXTENSIONS__
     2177for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2178do
     2179  CC="$ac_save_CC $ac_arg"
     2180  rm -f conftest.$ac_objext
     2181if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2182  (eval $ac_compile) 2>&5
     2183  ac_status=$?
     2184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2185  (exit $ac_status); } &&
     2186         { ac_try='test -s conftest.$ac_objext'
     2187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2188  (eval $ac_try) 2>&5
     2189  ac_status=$?
     2190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2191  (exit $ac_status); }; }; then
     2192  ac_cv_prog_cc_stdc=$ac_arg
     2193break
     2194else
     2195  echo "$as_me: failed program was:" >&5
     2196sed 's/^/| /' conftest.$ac_ext >&5
     2197
     2198fi
     2199rm -f conftest.$ac_objext
     2200done
     2201rm -f conftest.$ac_ext conftest.$ac_objext
     2202CC=$ac_save_CC
     2203
     2204fi
     2205
     2206case "x$ac_cv_prog_cc_stdc" in
     2207  x|xno)
     2208    echo "$as_me:$LINENO: result: none needed" >&5
     2209echo "${ECHO_T}none needed" >&6 ;;
     2210  *)
     2211    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2212echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2213    CC="$CC $ac_cv_prog_cc_stdc" ;;
     2214esac
     2215
     2216# Some people use a C++ compiler to compile C.  Since we use `exit',
     2217# in C++ we need to declare it.  In case someone uses the same compiler
     2218# for both compiling C and C++ we need to have the C++ compiler decide
     2219# the declaration of exit, since it's the most demanding environment.
     2220cat >conftest.$ac_ext <<_ACEOF
     2221#ifndef __cplusplus
     2222  choke me
     2223#endif
     2224_ACEOF
     2225rm -f conftest.$ac_objext
     2226if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2227  (eval $ac_compile) 2>&5
     2228  ac_status=$?
     2229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2230  (exit $ac_status); } &&
     2231         { ac_try='test -s conftest.$ac_objext'
     2232  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2233  (eval $ac_try) 2>&5
     2234  ac_status=$?
     2235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2236  (exit $ac_status); }; }; then
     2237  for ac_declaration in \
     2238   ''\
     2239   '#include <stdlib.h>' \
     2240   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2241   'extern "C" void std::exit (int); using std::exit;' \
     2242   'extern "C" void exit (int) throw ();' \
     2243   'extern "C" void exit (int);' \
     2244   'void exit (int);'
     2245do
     2246  cat >conftest.$ac_ext <<_ACEOF
     2247#line $LINENO "configure"
     2248/* confdefs.h.  */
     2249_ACEOF
     2250cat confdefs.h >>conftest.$ac_ext
     2251cat >>conftest.$ac_ext <<_ACEOF
     2252/* end confdefs.h.  */
     2253#include <stdlib.h>
     2254$ac_declaration
     2255int
     2256main ()
     2257{
     2258exit (42);
     2259  ;
     2260  return 0;
     2261}
     2262_ACEOF
     2263rm -f conftest.$ac_objext
     2264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2265  (eval $ac_compile) 2>&5
     2266  ac_status=$?
     2267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2268  (exit $ac_status); } &&
     2269         { ac_try='test -s conftest.$ac_objext'
     2270  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2271  (eval $ac_try) 2>&5
     2272  ac_status=$?
     2273  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2274  (exit $ac_status); }; }; then
     2275  :
     2276else
     2277  echo "$as_me: failed program was:" >&5
     2278sed 's/^/| /' conftest.$ac_ext >&5
     2279
     2280continue
     2281fi
     2282rm -f conftest.$ac_objext conftest.$ac_ext
     2283  cat >conftest.$ac_ext <<_ACEOF
     2284#line $LINENO "configure"
     2285/* confdefs.h.  */
     2286_ACEOF
     2287cat confdefs.h >>conftest.$ac_ext
     2288cat >>conftest.$ac_ext <<_ACEOF
     2289/* end confdefs.h.  */
     2290$ac_declaration
     2291int
     2292main ()
     2293{
     2294exit (42);
     2295  ;
     2296  return 0;
     2297}
     2298_ACEOF
     2299rm -f conftest.$ac_objext
     2300if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2301  (eval $ac_compile) 2>&5
     2302  ac_status=$?
     2303  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2304  (exit $ac_status); } &&
     2305         { ac_try='test -s conftest.$ac_objext'
     2306  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2307  (eval $ac_try) 2>&5
     2308  ac_status=$?
     2309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2310  (exit $ac_status); }; }; then
     2311  break
     2312else
     2313  echo "$as_me: failed program was:" >&5
     2314sed 's/^/| /' conftest.$ac_ext >&5
     2315
     2316fi
     2317rm -f conftest.$ac_objext conftest.$ac_ext
     2318done
     2319rm -f conftest*
     2320if test -n "$ac_declaration"; then
     2321  echo '#ifdef __cplusplus' >>confdefs.h
     2322  echo $ac_declaration      >>confdefs.h
     2323  echo '#endif'             >>confdefs.h
     2324fi
     2325
     2326else
     2327  echo "$as_me: failed program was:" >&5
     2328sed 's/^/| /' conftest.$ac_ext >&5
     2329
     2330fi
     2331rm -f conftest.$ac_objext conftest.$ac_ext
     2332ac_ext=c
     2333ac_cpp='$CPP $CPPFLAGS'
     2334ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2335ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2336ac_compiler_gnu=$ac_cv_c_compiler_gnu
    9522337
    9532338test "${CXXFLAGS+set}" = set || cxxflags_expl_set=no
    954 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    955 do
    956 # Extract the first word of "$ac_prog", so it can be a program name with args.
    957 set dummy $ac_prog; ac_word=$2
    958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    959 echo "configure:960: checking for $ac_word" >&5
    960 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    961   echo $ac_n "(cached) $ac_c" 1>&6
     2339ac_ext=cc
     2340ac_cpp='$CXXCPP $CPPFLAGS'
     2341ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2342ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2343ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2344if test -n "$ac_tool_prefix"; then
     2345  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2346  do
     2347    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     2348set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     2349echo "$as_me:$LINENO: checking for $ac_word" >&5
     2350echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2351if test "${ac_cv_prog_CXX+set}" = set; then
     2352  echo $ECHO_N "(cached) $ECHO_C" >&6
    9622353else
    9632354  if test -n "$CXX"; then
    9642355  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    9652356else
    966   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    967   ac_dummy="$PATH"
    968   for ac_dir in $ac_dummy; do
    969     test -z "$ac_dir" && ac_dir=.
    970     if test -f $ac_dir/$ac_word; then
    971       ac_cv_prog_CXX="$ac_prog"
    972       break
    973     fi
     2357as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2358for as_dir in $PATH
     2359do
     2360  IFS=$as_save_IFS
     2361  test -z "$as_dir" && as_dir=.
     2362  for ac_exec_ext in '' $ac_executable_extensions; do
     2363  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2364    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     2365    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2366    break 2
     2367  fi
     2368done
     2369done
     2370
     2371fi
     2372fi
     2373CXX=$ac_cv_prog_CXX
     2374if test -n "$CXX"; then
     2375  echo "$as_me:$LINENO: result: $CXX" >&5
     2376echo "${ECHO_T}$CXX" >&6
     2377else
     2378  echo "$as_me:$LINENO: result: no" >&5
     2379echo "${ECHO_T}no" >&6
     2380fi
     2381
     2382    test -n "$CXX" && break
    9742383  done
    975   IFS="$ac_save_ifs"
    976 fi
    977 fi
    978 CXX="$ac_cv_prog_CXX"
    979 if test -n "$CXX"; then
    980   echo "$ac_t""$CXX" 1>&6
    981 else
    982   echo "$ac_t""no" 1>&6
    983 fi
    984 
    985 test -n "$CXX" && break
    986 done
    987 test -n "$CXX" || CXX="gcc"
    988 
    989 
    990 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    991 echo "configure:992: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    992 
    993 ac_ext=C
    994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    995 ac_cpp='$CXXCPP $CPPFLAGS'
    996 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    997 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    998 cross_compiling=$ac_cv_prog_cxx_cross
    999 
    1000 cat > conftest.$ac_ext << EOF
    1001 
    1002 #line 1003 "configure"
    1003 #include "confdefs.h"
    1004 
    1005 int main(){return(0);}
    1006 EOF
    1007 if { (eval echo configure:1008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1008   ac_cv_prog_cxx_works=yes
    1009   # If we can't run a trivial program, we are probably using a cross compiler.
    1010   if (./conftest; exit) 2>/dev/null; then
    1011     ac_cv_prog_cxx_cross=no
    1012   else
    1013     ac_cv_prog_cxx_cross=yes
    1014   fi
    1015 else
    1016   echo "configure: failed program was:" >&5
    1017   cat conftest.$ac_ext >&5
    1018   ac_cv_prog_cxx_works=no
    1019 fi
    1020 rm -fr conftest*
    1021 ac_ext=c
    1022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    1023 ac_cpp='$CPP $CPPFLAGS'
    1024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    1026 cross_compiling=$ac_cv_prog_cc_cross
    1027 
    1028 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
    1029 if test $ac_cv_prog_cxx_works = no; then
    1030   { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
    1031 fi
    1032 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1033 echo "configure:1034: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    1034 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    1035 cross_compiling=$ac_cv_prog_cxx_cross
    1036 
    1037 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1038 echo "configure:1039: checking whether we are using GNU C++" >&5
    1039 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    1040   echo $ac_n "(cached) $ac_c" 1>&6
    1041 else
    1042   cat > conftest.C <<EOF
    1043 #ifdef __GNUC__
    1044   yes;
     2384fi
     2385if test -z "$CXX"; then
     2386  ac_ct_CXX=$CXX
     2387  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     2388do
     2389  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2390set dummy $ac_prog; ac_word=$2
     2391echo "$as_me:$LINENO: checking for $ac_word" >&5
     2392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2393if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     2394  echo $ECHO_N "(cached) $ECHO_C" >&6
     2395else
     2396  if test -n "$ac_ct_CXX"; then
     2397  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     2398else
     2399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2400for as_dir in $PATH
     2401do
     2402  IFS=$as_save_IFS
     2403  test -z "$as_dir" && as_dir=.
     2404  for ac_exec_ext in '' $ac_executable_extensions; do
     2405  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2406    ac_cv_prog_ac_ct_CXX="$ac_prog"
     2407    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2408    break 2
     2409  fi
     2410done
     2411done
     2412
     2413fi
     2414fi
     2415ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     2416if test -n "$ac_ct_CXX"; then
     2417  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2418echo "${ECHO_T}$ac_ct_CXX" >&6
     2419else
     2420  echo "$as_me:$LINENO: result: no" >&5
     2421echo "${ECHO_T}no" >&6
     2422fi
     2423
     2424  test -n "$ac_ct_CXX" && break
     2425done
     2426test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2427
     2428  CXX=$ac_ct_CXX
     2429fi
     2430
     2431
     2432# Provide some information about the compiler.
     2433echo "$as_me:$LINENO:" \
     2434     "checking for C++ compiler version" >&5
     2435ac_compiler=`set X $ac_compile; echo $2`
     2436{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     2437  (eval $ac_compiler --version </dev/null >&5) 2>&5
     2438  ac_status=$?
     2439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2440  (exit $ac_status); }
     2441{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
     2442  (eval $ac_compiler -v </dev/null >&5) 2>&5
     2443  ac_status=$?
     2444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2445  (exit $ac_status); }
     2446{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     2447  (eval $ac_compiler -V </dev/null >&5) 2>&5
     2448  ac_status=$?
     2449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2450  (exit $ac_status); }
     2451
     2452echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2453echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2454if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2455  echo $ECHO_N "(cached) $ECHO_C" >&6
     2456else
     2457  cat >conftest.$ac_ext <<_ACEOF
     2458#line $LINENO "configure"
     2459/* confdefs.h.  */
     2460_ACEOF
     2461cat confdefs.h >>conftest.$ac_ext
     2462cat >>conftest.$ac_ext <<_ACEOF
     2463/* end confdefs.h.  */
     2464
     2465int
     2466main ()
     2467{
     2468#ifndef __GNUC__
     2469       choke me
    10452470#endif
    1046 EOF
    1047 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    1048   ac_cv_prog_gxx=yes
    1049 else
    1050   ac_cv_prog_gxx=no
    1051 fi
    1052 fi
    1053 
    1054 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
    1055 
    1056 if test $ac_cv_prog_gxx = yes; then
    1057   GXX=yes
    1058 else
    1059   GXX=
    1060 fi
    1061 
    1062 ac_test_CXXFLAGS="${CXXFLAGS+set}"
    1063 ac_save_CXXFLAGS="$CXXFLAGS"
    1064 CXXFLAGS=
    1065 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1066 echo "configure:1067: checking whether ${CXX-g++} accepts -g" >&5
    1067 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    1068   echo $ac_n "(cached) $ac_c" 1>&6
    1069 else
    1070   echo 'void f(){}' > conftest.cc
    1071 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
     2471
     2472  ;
     2473  return 0;
     2474}
     2475_ACEOF
     2476rm -f conftest.$ac_objext
     2477if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2478  (eval $ac_compile) 2>&5
     2479  ac_status=$?
     2480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2481  (exit $ac_status); } &&
     2482         { ac_try='test -s conftest.$ac_objext'
     2483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2484  (eval $ac_try) 2>&5
     2485  ac_status=$?
     2486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2487  (exit $ac_status); }; }; then
     2488  ac_compiler_gnu=yes
     2489else
     2490  echo "$as_me: failed program was:" >&5
     2491sed 's/^/| /' conftest.$ac_ext >&5
     2492
     2493ac_compiler_gnu=no
     2494fi
     2495rm -f conftest.$ac_objext conftest.$ac_ext
     2496ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     2497
     2498fi
     2499echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2500echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2501GXX=`test $ac_compiler_gnu = yes && echo yes`
     2502ac_test_CXXFLAGS=${CXXFLAGS+set}
     2503ac_save_CXXFLAGS=$CXXFLAGS
     2504CXXFLAGS="-g"
     2505echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2506echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2507if test "${ac_cv_prog_cxx_g+set}" = set; then
     2508  echo $ECHO_N "(cached) $ECHO_C" >&6
     2509else
     2510  cat >conftest.$ac_ext <<_ACEOF
     2511#line $LINENO "configure"
     2512/* confdefs.h.  */
     2513_ACEOF
     2514cat confdefs.h >>conftest.$ac_ext
     2515cat >>conftest.$ac_ext <<_ACEOF
     2516/* end confdefs.h.  */
     2517
     2518int
     2519main ()
     2520{
     2521
     2522  ;
     2523  return 0;
     2524}
     2525_ACEOF
     2526rm -f conftest.$ac_objext
     2527if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2528  (eval $ac_compile) 2>&5
     2529  ac_status=$?
     2530  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2531  (exit $ac_status); } &&
     2532         { ac_try='test -s conftest.$ac_objext'
     2533  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2534  (eval $ac_try) 2>&5
     2535  ac_status=$?
     2536  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2537  (exit $ac_status); }; }; then
    10722538  ac_cv_prog_cxx_g=yes
    10732539else
    1074   ac_cv_prog_cxx_g=no
    1075 fi
    1076 rm -f conftest*
    1077 
    1078 fi
    1079 
    1080 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
     2540  echo "$as_me: failed program was:" >&5
     2541sed 's/^/| /' conftest.$ac_ext >&5
     2542
     2543ac_cv_prog_cxx_g=no
     2544fi
     2545rm -f conftest.$ac_objext conftest.$ac_ext
     2546fi
     2547echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2548echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    10812549if test "$ac_test_CXXFLAGS" = set; then
    1082   CXXFLAGS="$ac_save_CXXFLAGS"
     2550  CXXFLAGS=$ac_save_CXXFLAGS
    10832551elif test $ac_cv_prog_cxx_g = yes; then
    10842552  if test "$GXX" = yes; then
     
    10942562  fi
    10952563fi
     2564for ac_declaration in \
     2565   ''\
     2566   '#include <stdlib.h>' \
     2567   'extern "C" void std::exit (int) throw (); using std::exit;' \
     2568   'extern "C" void std::exit (int); using std::exit;' \
     2569   'extern "C" void exit (int) throw ();' \
     2570   'extern "C" void exit (int);' \
     2571   'void exit (int);'
     2572do
     2573  cat >conftest.$ac_ext <<_ACEOF
     2574#line $LINENO "configure"
     2575/* confdefs.h.  */
     2576_ACEOF
     2577cat confdefs.h >>conftest.$ac_ext
     2578cat >>conftest.$ac_ext <<_ACEOF
     2579/* end confdefs.h.  */
     2580#include <stdlib.h>
     2581$ac_declaration
     2582int
     2583main ()
     2584{
     2585exit (42);
     2586  ;
     2587  return 0;
     2588}
     2589_ACEOF
     2590rm -f conftest.$ac_objext
     2591if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2592  (eval $ac_compile) 2>&5
     2593  ac_status=$?
     2594  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2595  (exit $ac_status); } &&
     2596         { ac_try='test -s conftest.$ac_objext'
     2597  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2598  (eval $ac_try) 2>&5
     2599  ac_status=$?
     2600  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2601  (exit $ac_status); }; }; then
     2602  :
     2603else
     2604  echo "$as_me: failed program was:" >&5
     2605sed 's/^/| /' conftest.$ac_ext >&5
     2606
     2607continue
     2608fi
     2609rm -f conftest.$ac_objext conftest.$ac_ext
     2610  cat >conftest.$ac_ext <<_ACEOF
     2611#line $LINENO "configure"
     2612/* confdefs.h.  */
     2613_ACEOF
     2614cat confdefs.h >>conftest.$ac_ext
     2615cat >>conftest.$ac_ext <<_ACEOF
     2616/* end confdefs.h.  */
     2617$ac_declaration
     2618int
     2619main ()
     2620{
     2621exit (42);
     2622  ;
     2623  return 0;
     2624}
     2625_ACEOF
     2626rm -f conftest.$ac_objext
     2627if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2628  (eval $ac_compile) 2>&5
     2629  ac_status=$?
     2630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2631  (exit $ac_status); } &&
     2632         { ac_try='test -s conftest.$ac_objext'
     2633  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2634  (eval $ac_try) 2>&5
     2635  ac_status=$?
     2636  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2637  (exit $ac_status); }; }; then
     2638  break
     2639else
     2640  echo "$as_me: failed program was:" >&5
     2641sed 's/^/| /' conftest.$ac_ext >&5
     2642
     2643fi
     2644rm -f conftest.$ac_objext conftest.$ac_ext
     2645done
     2646rm -f conftest*
     2647if test -n "$ac_declaration"; then
     2648  echo '#ifdef __cplusplus' >>confdefs.h
     2649  echo $ac_declaration      >>confdefs.h
     2650  echo '#endif'             >>confdefs.h
     2651fi
     2652
     2653ac_ext=c
     2654ac_cpp='$CPP $CPPFLAGS'
     2655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2657ac_compiler_gnu=$ac_cv_c_compiler_gnu
    10962658
    10972659if test "x$GCC" != xyes && test "x$GXX" != xyes; then
    1098   echo "configure: warning: you better use gcc to compile Factory" 1>&2
     2660  { echo "$as_me:$LINENO: WARNING: you better use gcc to compile Factory" >&5
     2661echo "$as_me: WARNING: you better use gcc to compile Factory" >&2;}
    10992662else
    11002663  if test "x$GXX" = xyes && test "x$cxxflags_expl_set" = xno; then
    1101     echo "configure: warning: we use \`-O2 -fomit-frame-pointer' as default for \`CXXFLAGS'
    1102                     (instead of the configure default \`-g -O')" 1>&2
     2664    { echo "$as_me:$LINENO: WARNING: we use \`-O2 -fomit-frame-pointer' as default for \`CXXFLAGS'
     2665                    (instead of the configure default \`-g -O')" >&5
     2666echo "$as_me: WARNING: we use \`-O2 -fomit-frame-pointer' as default for \`CXXFLAGS'
     2667                    (instead of the configure default \`-g -O')" >&2;}
    11032668  fi
    11042669  if test "x$GCC" = xyes && test "x$cflags_expl_set" = xno; then
    1105     echo "configure: warning: we use \`-O2 -fomit-frame-pointer' as default for \`CFLAGS'
    1106                     (instead of the configure default \`-g -O')" 1>&2
     2670    { echo "$as_me:$LINENO: WARNING: we use \`-O2 -fomit-frame-pointer' as default for \`CFLAGS'
     2671                    (instead of the configure default \`-g -O')" >&5
     2672echo "$as_me: WARNING: we use \`-O2 -fomit-frame-pointer' as default for \`CFLAGS'
     2673                    (instead of the configure default \`-g -O')" >&2;}
    11072674  fi
    11082675fi
     
    11112678# - check for some other programs.
    11122679#
    1113 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    1114 echo "configure:1115: checking how to run the C preprocessor" >&5
     2680ac_ext=c
     2681ac_cpp='$CPP $CPPFLAGS'
     2682ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2683ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2684ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2685echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     2686echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    11152687# On Suns, sometimes $CPP names a directory.
    11162688if test -n "$CPP" && test -d "$CPP"; then
     
    11182690fi
    11192691if test -z "$CPP"; then
    1120 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
    1121   echo $ac_n "(cached) $ac_c" 1>&6
    1122 else
    1123     # This must be in double quotes, not single quotes, because CPP may get
    1124   # substituted into the Makefile and "${CC-cc}" will confuse make.
    1125   CPP="${CC-cc} -E"
     2692  if test "${ac_cv_prog_CPP+set}" = set; then
     2693  echo $ECHO_N "(cached) $ECHO_C" >&6
     2694else
     2695      # Double quotes because CPP needs to be expanded
     2696    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     2697    do
     2698      ac_preproc_ok=false
     2699for ac_c_preproc_warn_flag in '' yes
     2700do
     2701  # Use a header file that comes with gcc, so configuring glibc
     2702  # with a fresh cross-compiler works.
     2703  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2704  # <limits.h> exists even on freestanding compilers.
    11262705  # On the NeXT, cc -E runs the code through the compiler's parser,
    1127   # not just through cpp.
    1128   cat > conftest.$ac_ext <<EOF
    1129 #line 1130 "configure"
    1130 #include "confdefs.h"
    1131 #include <assert.h>
    1132 Syntax Error
    1133 EOF
    1134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1135 { (eval echo configure:1136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1137 if test -z "$ac_err"; then
     2706  # not just through cpp. "Syntax error" is here to catch this case.
     2707  cat >conftest.$ac_ext <<_ACEOF
     2708#line $LINENO "configure"
     2709/* confdefs.h.  */
     2710_ACEOF
     2711cat confdefs.h >>conftest.$ac_ext
     2712cat >>conftest.$ac_ext <<_ACEOF
     2713/* end confdefs.h.  */
     2714#ifdef __STDC__
     2715# include <limits.h>
     2716#else
     2717# include <assert.h>
     2718#endif
     2719                     Syntax error
     2720_ACEOF
     2721if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2722  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2723  ac_status=$?
     2724  grep -v '^ *+' conftest.er1 >conftest.err
     2725  rm -f conftest.er1
     2726  cat conftest.err >&5
     2727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2728  (exit $ac_status); } >/dev/null; then
     2729  if test -s conftest.err; then
     2730    ac_cpp_err=$ac_c_preproc_warn_flag
     2731  else
     2732    ac_cpp_err=
     2733  fi
     2734else
     2735  ac_cpp_err=yes
     2736fi
     2737if test -z "$ac_cpp_err"; then
    11382738  :
    11392739else
    1140   echo "$ac_err" >&5
    1141   echo "configure: failed program was:" >&5
    1142   cat conftest.$ac_ext >&5
    1143   rm -rf conftest*
    1144   CPP="${CC-cc} -E -traditional-cpp"
    1145   cat > conftest.$ac_ext <<EOF
    1146 #line 1147 "configure"
    1147 #include "confdefs.h"
    1148 #include <assert.h>
    1149 Syntax Error
    1150 EOF
    1151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1152 { (eval echo configure:1153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1154 if test -z "$ac_err"; then
     2740  echo "$as_me: failed program was:" >&5
     2741sed 's/^/| /' conftest.$ac_ext >&5
     2742
     2743  # Broken: fails on valid input.
     2744continue
     2745fi
     2746rm -f conftest.err conftest.$ac_ext
     2747
     2748  # OK, works on sane cases.  Now check whether non-existent headers
     2749  # can be detected and how.
     2750  cat >conftest.$ac_ext <<_ACEOF
     2751#line $LINENO "configure"
     2752/* confdefs.h.  */
     2753_ACEOF
     2754cat confdefs.h >>conftest.$ac_ext
     2755cat >>conftest.$ac_ext <<_ACEOF
     2756/* end confdefs.h.  */
     2757#include <ac_nonexistent.h>
     2758_ACEOF
     2759if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2760  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2761  ac_status=$?
     2762  grep -v '^ *+' conftest.er1 >conftest.err
     2763  rm -f conftest.er1
     2764  cat conftest.err >&5
     2765  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2766  (exit $ac_status); } >/dev/null; then
     2767  if test -s conftest.err; then
     2768    ac_cpp_err=$ac_c_preproc_warn_flag
     2769  else
     2770    ac_cpp_err=
     2771  fi
     2772else
     2773  ac_cpp_err=yes
     2774fi
     2775if test -z "$ac_cpp_err"; then
     2776  # Broken: success on invalid input.
     2777continue
     2778else
     2779  echo "$as_me: failed program was:" >&5
     2780sed 's/^/| /' conftest.$ac_ext >&5
     2781
     2782  # Passes both tests.
     2783ac_preproc_ok=:
     2784break
     2785fi
     2786rm -f conftest.err conftest.$ac_ext
     2787
     2788done
     2789# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     2790rm -f conftest.err conftest.$ac_ext
     2791if $ac_preproc_ok; then
     2792  break
     2793fi
     2794
     2795    done
     2796    ac_cv_prog_CPP=$CPP
     2797
     2798fi
     2799  CPP=$ac_cv_prog_CPP
     2800else
     2801  ac_cv_prog_CPP=$CPP
     2802fi
     2803echo "$as_me:$LINENO: result: $CPP" >&5
     2804echo "${ECHO_T}$CPP" >&6
     2805ac_preproc_ok=false
     2806for ac_c_preproc_warn_flag in '' yes
     2807do
     2808  # Use a header file that comes with gcc, so configuring glibc
     2809  # with a fresh cross-compiler works.
     2810  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2811  # <limits.h> exists even on freestanding compilers.
     2812  # On the NeXT, cc -E runs the code through the compiler's parser,
     2813  # not just through cpp. "Syntax error" is here to catch this case.
     2814  cat >conftest.$ac_ext <<_ACEOF
     2815#line $LINENO "configure"
     2816/* confdefs.h.  */
     2817_ACEOF
     2818cat confdefs.h >>conftest.$ac_ext
     2819cat >>conftest.$ac_ext <<_ACEOF
     2820/* end confdefs.h.  */
     2821#ifdef __STDC__
     2822# include <limits.h>
     2823#else
     2824# include <assert.h>
     2825#endif
     2826                     Syntax error
     2827_ACEOF
     2828if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2829  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2830  ac_status=$?
     2831  grep -v '^ *+' conftest.er1 >conftest.err
     2832  rm -f conftest.er1
     2833  cat conftest.err >&5
     2834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2835  (exit $ac_status); } >/dev/null; then
     2836  if test -s conftest.err; then
     2837    ac_cpp_err=$ac_c_preproc_warn_flag
     2838  else
     2839    ac_cpp_err=
     2840  fi
     2841else
     2842  ac_cpp_err=yes
     2843fi
     2844if test -z "$ac_cpp_err"; then
    11552845  :
    11562846else
    1157   echo "$ac_err" >&5
    1158   echo "configure: failed program was:" >&5
    1159   cat conftest.$ac_ext >&5
    1160   rm -rf conftest*
    1161   CPP="${CC-cc} -nologo -E"
    1162   cat > conftest.$ac_ext <<EOF
    1163 #line 1164 "configure"
    1164 #include "confdefs.h"
    1165 #include <assert.h>
    1166 Syntax Error
    1167 EOF
    1168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1169 { (eval echo configure:1170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1171 if test -z "$ac_err"; then
     2847  echo "$as_me: failed program was:" >&5
     2848sed 's/^/| /' conftest.$ac_ext >&5
     2849
     2850  # Broken: fails on valid input.
     2851continue
     2852fi
     2853rm -f conftest.err conftest.$ac_ext
     2854
     2855  # OK, works on sane cases.  Now check whether non-existent headers
     2856  # can be detected and how.
     2857  cat >conftest.$ac_ext <<_ACEOF
     2858#line $LINENO "configure"
     2859/* confdefs.h.  */
     2860_ACEOF
     2861cat confdefs.h >>conftest.$ac_ext
     2862cat >>conftest.$ac_ext <<_ACEOF
     2863/* end confdefs.h.  */
     2864#include <ac_nonexistent.h>
     2865_ACEOF
     2866if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2867  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2868  ac_status=$?
     2869  grep -v '^ *+' conftest.er1 >conftest.err
     2870  rm -f conftest.er1
     2871  cat conftest.err >&5
     2872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2873  (exit $ac_status); } >/dev/null; then
     2874  if test -s conftest.err; then
     2875    ac_cpp_err=$ac_c_preproc_warn_flag
     2876  else
     2877    ac_cpp_err=
     2878  fi
     2879else
     2880  ac_cpp_err=yes
     2881fi
     2882if test -z "$ac_cpp_err"; then
     2883  # Broken: success on invalid input.
     2884continue
     2885else
     2886  echo "$as_me: failed program was:" >&5
     2887sed 's/^/| /' conftest.$ac_ext >&5
     2888
     2889  # Passes both tests.
     2890ac_preproc_ok=:
     2891break
     2892fi
     2893rm -f conftest.err conftest.$ac_ext
     2894
     2895done
     2896# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     2897rm -f conftest.err conftest.$ac_ext
     2898if $ac_preproc_ok; then
    11722899  :
    11732900else
    1174   echo "$ac_err" >&5
    1175   echo "configure: failed program was:" >&5
    1176   cat conftest.$ac_ext >&5
    1177   rm -rf conftest*
    1178   CPP=/lib/cpp
    1179 fi
    1180 rm -f conftest*
    1181 fi
    1182 rm -f conftest*
    1183 fi
    1184 rm -f conftest*
    1185   ac_cv_prog_CPP="$CPP"
    1186 fi
    1187   CPP="$ac_cv_prog_CPP"
    1188 else
    1189   ac_cv_prog_CPP="$CPP"
    1190 fi
    1191 echo "$ac_t""$CPP" 1>&6
    1192 
    1193 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    1194 echo "configure:1195: checking how to run the C++ preprocessor" >&5
     2901  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     2902See \`config.log' for more details." >&5
     2903echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     2904See \`config.log' for more details." >&2;}
     2905   { (exit 1); exit 1; }; }
     2906fi
     2907
     2908ac_ext=c
     2909ac_cpp='$CPP $CPPFLAGS'
     2910ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2911ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2912ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2913
     2914ac_ext=cc
     2915ac_cpp='$CXXCPP $CPPFLAGS'
     2916ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2917ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2918ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2919echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     2920echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    11952921if test -z "$CXXCPP"; then
    1196 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
    1197   echo $ac_n "(cached) $ac_c" 1>&6
    1198 else
    1199   ac_ext=C
    1200 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    1201 ac_cpp='$CXXCPP $CPPFLAGS'
    1202 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1203 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    1204 cross_compiling=$ac_cv_prog_cxx_cross
    1205   CXXCPP="${CXX-g++} -E"
    1206   cat > conftest.$ac_ext <<EOF
    1207 #line 1208 "configure"
    1208 #include "confdefs.h"
    1209 #include <stdlib.h>
    1210 EOF
    1211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1212 { (eval echo configure:1213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1214 if test -z "$ac_err"; then
     2922  if test "${ac_cv_prog_CXXCPP+set}" = set; then
     2923  echo $ECHO_N "(cached) $ECHO_C" >&6
     2924else
     2925      # Double quotes because CXXCPP needs to be expanded
     2926    for CXXCPP in "$CXX -E" "/lib/cpp"
     2927    do
     2928      ac_preproc_ok=false
     2929for ac_cxx_preproc_warn_flag in '' yes
     2930do
     2931  # Use a header file that comes with gcc, so configuring glibc
     2932  # with a fresh cross-compiler works.
     2933  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2934  # <limits.h> exists even on freestanding compilers.
     2935  # On the NeXT, cc -E runs the code through the compiler's parser,
     2936  # not just through cpp. "Syntax error" is here to catch this case.
     2937  cat >conftest.$ac_ext <<_ACEOF
     2938#line $LINENO "configure"
     2939/* confdefs.h.  */
     2940_ACEOF
     2941cat confdefs.h >>conftest.$ac_ext
     2942cat >>conftest.$ac_ext <<_ACEOF
     2943/* end confdefs.h.  */
     2944#ifdef __STDC__
     2945# include <limits.h>
     2946#else
     2947# include <assert.h>
     2948#endif
     2949                     Syntax error
     2950_ACEOF
     2951if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2952  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2953  ac_status=$?
     2954  grep -v '^ *+' conftest.er1 >conftest.err
     2955  rm -f conftest.er1
     2956  cat conftest.err >&5
     2957  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2958  (exit $ac_status); } >/dev/null; then
     2959  if test -s conftest.err; then
     2960    ac_cpp_err=$ac_cxx_preproc_warn_flag
     2961  else
     2962    ac_cpp_err=
     2963  fi
     2964else
     2965  ac_cpp_err=yes
     2966fi
     2967if test -z "$ac_cpp_err"; then
    12152968  :
    12162969else
    1217   echo "$ac_err" >&5
    1218   echo "configure: failed program was:" >&5
    1219   cat conftest.$ac_ext >&5
    1220   rm -rf conftest*
    1221   CXXCPP=/lib/cpp
    1222 fi
    1223 rm -f conftest*
    1224   ac_cv_prog_CXXCPP="$CXXCPP"
     2970  echo "$as_me: failed program was:" >&5
     2971sed 's/^/| /' conftest.$ac_ext >&5
     2972
     2973  # Broken: fails on valid input.
     2974continue
     2975fi
     2976rm -f conftest.err conftest.$ac_ext
     2977
     2978  # OK, works on sane cases.  Now check whether non-existent headers
     2979  # can be detected and how.
     2980  cat >conftest.$ac_ext <<_ACEOF
     2981#line $LINENO "configure"
     2982/* confdefs.h.  */
     2983_ACEOF
     2984cat confdefs.h >>conftest.$ac_ext
     2985cat >>conftest.$ac_ext <<_ACEOF
     2986/* end confdefs.h.  */
     2987#include <ac_nonexistent.h>
     2988_ACEOF
     2989if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2990  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2991  ac_status=$?
     2992  grep -v '^ *+' conftest.er1 >conftest.err
     2993  rm -f conftest.er1
     2994  cat conftest.err >&5
     2995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2996  (exit $ac_status); } >/dev/null; then
     2997  if test -s conftest.err; then
     2998    ac_cpp_err=$ac_cxx_preproc_warn_flag
     2999  else
     3000    ac_cpp_err=
     3001  fi
     3002else
     3003  ac_cpp_err=yes
     3004fi
     3005if test -z "$ac_cpp_err"; then
     3006  # Broken: success on invalid input.
     3007continue
     3008else
     3009  echo "$as_me: failed program was:" >&5
     3010sed 's/^/| /' conftest.$ac_ext >&5
     3011
     3012  # Passes both tests.
     3013ac_preproc_ok=:
     3014break
     3015fi
     3016rm -f conftest.err conftest.$ac_ext
     3017
     3018done
     3019# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3020rm -f conftest.err conftest.$ac_ext
     3021if $ac_preproc_ok; then
     3022  break
     3023fi
     3024
     3025    done
     3026    ac_cv_prog_CXXCPP=$CXXCPP
     3027
     3028fi
     3029  CXXCPP=$ac_cv_prog_CXXCPP
     3030else
     3031  ac_cv_prog_CXXCPP=$CXXCPP
     3032fi
     3033echo "$as_me:$LINENO: result: $CXXCPP" >&5
     3034echo "${ECHO_T}$CXXCPP" >&6
     3035ac_preproc_ok=false
     3036for ac_cxx_preproc_warn_flag in '' yes
     3037do
     3038  # Use a header file that comes with gcc, so configuring glibc
     3039  # with a fresh cross-compiler works.
     3040  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3041  # <limits.h> exists even on freestanding compilers.
     3042  # On the NeXT, cc -E runs the code through the compiler's parser,
     3043  # not just through cpp. "Syntax error" is here to catch this case.
     3044  cat >conftest.$ac_ext <<_ACEOF
     3045#line $LINENO "configure"
     3046/* confdefs.h.  */
     3047_ACEOF
     3048cat confdefs.h >>conftest.$ac_ext
     3049cat >>conftest.$ac_ext <<_ACEOF
     3050/* end confdefs.h.  */
     3051#ifdef __STDC__
     3052# include <limits.h>
     3053#else
     3054# include <assert.h>
     3055#endif
     3056                     Syntax error
     3057_ACEOF
     3058if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3059  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3060  ac_status=$?
     3061  grep -v '^ *+' conftest.er1 >conftest.err
     3062  rm -f conftest.er1
     3063  cat conftest.err >&5
     3064  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3065  (exit $ac_status); } >/dev/null; then
     3066  if test -s conftest.err; then
     3067    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3068  else
     3069    ac_cpp_err=
     3070  fi
     3071else
     3072  ac_cpp_err=yes
     3073fi
     3074if test -z "$ac_cpp_err"; then
     3075  :
     3076else
     3077  echo "$as_me: failed program was:" >&5
     3078sed 's/^/| /' conftest.$ac_ext >&5
     3079
     3080  # Broken: fails on valid input.
     3081continue
     3082fi
     3083rm -f conftest.err conftest.$ac_ext
     3084
     3085  # OK, works on sane cases.  Now check whether non-existent headers
     3086  # can be detected and how.
     3087  cat >conftest.$ac_ext <<_ACEOF
     3088#line $LINENO "configure"
     3089/* confdefs.h.  */
     3090_ACEOF
     3091cat confdefs.h >>conftest.$ac_ext
     3092cat >>conftest.$ac_ext <<_ACEOF
     3093/* end confdefs.h.  */
     3094#include <ac_nonexistent.h>
     3095_ACEOF
     3096if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3097  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3098  ac_status=$?
     3099  grep -v '^ *+' conftest.er1 >conftest.err
     3100  rm -f conftest.er1
     3101  cat conftest.err >&5
     3102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3103  (exit $ac_status); } >/dev/null; then
     3104  if test -s conftest.err; then
     3105    ac_cpp_err=$ac_cxx_preproc_warn_flag
     3106  else
     3107    ac_cpp_err=
     3108  fi
     3109else
     3110  ac_cpp_err=yes
     3111fi
     3112if test -z "$ac_cpp_err"; then
     3113  # Broken: success on invalid input.
     3114continue
     3115else
     3116  echo "$as_me: failed program was:" >&5
     3117sed 's/^/| /' conftest.$ac_ext >&5
     3118
     3119  # Passes both tests.
     3120ac_preproc_ok=:
     3121break
     3122fi
     3123rm -f conftest.err conftest.$ac_ext
     3124
     3125done
     3126# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3127rm -f conftest.err conftest.$ac_ext
     3128if $ac_preproc_ok; then
     3129  :
     3130else
     3131  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     3132See \`config.log' for more details." >&5
     3133echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     3134See \`config.log' for more details." >&2;}
     3135   { (exit 1); exit 1; }; }
     3136fi
     3137
    12253138ac_ext=c
    1226 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    12273139ac_cpp='$CPP $CPPFLAGS'
    1228 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1229 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    1230 cross_compiling=$ac_cv_prog_cc_cross
    1231 fi
    1232 fi
    1233 CXXCPP="$ac_cv_prog_CXXCPP"
    1234 echo "$ac_t""$CXXCPP" 1>&6
    1235 
    1236 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1237 echo "configure:1238: checking whether ln -s works" >&5
    1238 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    1239   echo $ac_n "(cached) $ac_c" 1>&6
    1240 else
    1241   rm -f conftestdata
    1242 if ln -s X conftestdata 2>/dev/null
    1243 then
    1244   rm -f conftestdata
    1245   ac_cv_prog_LN_S="ln -s"
    1246 else
    1247   ac_cv_prog_LN_S=ln
    1248 fi
    1249 fi
    1250 LN_S="$ac_cv_prog_LN_S"
    1251 if test "$ac_cv_prog_LN_S" = "ln -s"; then
    1252   echo "$ac_t""yes" 1>&6
    1253 else
    1254   echo "$ac_t""no" 1>&6
     3140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3142ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3143
     3144echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3145echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3146LN_S=$as_ln_s
     3147if test "$LN_S" = "ln -s"; then
     3148  echo "$as_me:$LINENO: result: yes" >&5
     3149echo "${ECHO_T}yes" >&6
     3150else
     3151  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3152echo "${ECHO_T}no, using $LN_S" >&6
    12553153fi
    12563154
     
    12623160# IRIX /sbin/install
    12633161# AIX /bin/install
     3162# AmigaOS /C/install, which installs bootblocks on floppy discs
    12643163# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    12653164# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    12663165# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    12673166# ./install, which can be erroneously created by make from ./install.sh.
    1268 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1269 echo "configure:1270: checking for a BSD compatible install" >&5
     3167echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     3168echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    12703169if test -z "$INSTALL"; then
    1271 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    1272   echo $ac_n "(cached) $ac_c" 1>&6
    1273 else
    1274     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    1275   for ac_dir in $PATH; do
    1276     # Account for people who put trailing slashes in PATH elements.
    1277     case "$ac_dir/" in
    1278     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    1279     *)
    1280       # OSF1 and SCO ODT 3.0 have their own names for install.
    1281       # Don't use installbsd from OSF since it installs stuff as root
    1282       # by default.
    1283       for ac_prog in ginstall scoinst install; do
    1284         if test -f $ac_dir/$ac_prog; then
    1285           if test $ac_prog = install &&
    1286             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    1287             # AIX install.  It has an incompatible calling convention.
    1288             :
    1289           else
    1290             ac_cv_path_install="$ac_dir/$ac_prog -c"
    1291             break 2
    1292           fi
    1293         fi
     3170if test "${ac_cv_path_install+set}" = set; then
     3171  echo $ECHO_N "(cached) $ECHO_C" >&6
     3172else
     3173  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3174for as_dir in $PATH
     3175do
     3176  IFS=$as_save_IFS
     3177  test -z "$as_dir" && as_dir=.
     3178  # Account for people who put trailing slashes in PATH elements.
     3179case $as_dir/ in
     3180  ./ | .// | /cC/* | \
     3181  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     3182  /usr/ucb/* ) ;;
     3183  *)
     3184    # OSF1 and SCO ODT 3.0 have their own names for install.
     3185    # Don't use installbsd from OSF since it installs stuff as root
     3186    # by default.
     3187    for ac_prog in ginstall scoinst install; do
     3188      for ac_exec_ext in '' $ac_executable_extensions; do
     3189        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3190          if test $ac_prog = install &&
     3191            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3192            # AIX install.  It has an incompatible calling convention.
     3193            :
     3194          elif test $ac_prog = install &&
     3195            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     3196            # program-specific install script used by HP pwplus--don't use.
     3197            :
     3198          else
     3199            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3200            break 3
     3201          fi
     3202        fi
    12943203      done
    1295       ;;
    1296     esac
    1297   done
    1298   IFS="$ac_save_IFS"
     3204    done
     3205    ;;
     3206esac
     3207done
     3208
    12993209
    13003210fi
    13013211  if test "${ac_cv_path_install+set}" = set; then
    1302     INSTALL="$ac_cv_path_install"
     3212    INSTALL=$ac_cv_path_install
    13033213  else
    13043214    # As a last resort, use the slow shell script.  We don't cache a
     
    13063216    # break other packages using the cache if that directory is
    13073217    # removed, or if the path is relative.
    1308     INSTALL="$ac_install_sh"
    1309   fi
    1310 fi
    1311 echo "$ac_t""$INSTALL" 1>&6
     3218    INSTALL=$ac_install_sh
     3219  fi
     3220fi
     3221echo "$as_me:$LINENO: result: $INSTALL" >&5
     3222echo "${ECHO_T}$INSTALL" >&6
    13123223
    13133224# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    13153226test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    13163227
    1317 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     3228test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    13183229
    13193230test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    13203231
    1321 # Extract the first word of "ranlib", so it can be a program name with args.
    1322 set dummy ranlib; ac_word=$2
    1323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1324 echo "configure:1325: checking for $ac_word" >&5
    1325 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    1326   echo $ac_n "(cached) $ac_c" 1>&6
     3232if test -n "$ac_tool_prefix"; then
     3233  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     3234set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     3235echo "$as_me:$LINENO: checking for $ac_word" >&5
     3236echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3237if test "${ac_cv_prog_RANLIB+set}" = set; then
     3238  echo $ECHO_N "(cached) $ECHO_C" >&6
    13273239else
    13283240  if test -n "$RANLIB"; then
    13293241  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    13303242else
    1331   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1332   ac_dummy="$PATH"
    1333   for ac_dir in $ac_dummy; do
    1334     test -z "$ac_dir" && ac_dir=.
    1335     if test -f $ac_dir/$ac_word; then
    1336       ac_cv_prog_RANLIB="ranlib"
    1337       break
    1338     fi
    1339   done
    1340   IFS="$ac_save_ifs"
    1341   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
    1342 fi
    1343 fi
    1344 RANLIB="$ac_cv_prog_RANLIB"
     3243as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3244for as_dir in $PATH
     3245do
     3246  IFS=$as_save_IFS
     3247  test -z "$as_dir" && as_dir=.
     3248  for ac_exec_ext in '' $ac_executable_extensions; do
     3249  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3250    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     3251    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3252    break 2
     3253  fi
     3254done
     3255done
     3256
     3257fi
     3258fi
     3259RANLIB=$ac_cv_prog_RANLIB
    13453260if test -n "$RANLIB"; then
    1346   echo "$ac_t""$RANLIB" 1>&6
    1347 else
    1348   echo "$ac_t""no" 1>&6
    1349 fi
    1350 
    1351 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1352 echo "configure:1353: checking whether ${MAKE-make} sets \${MAKE}" >&5
    1353 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    1354 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    1355   echo $ac_n "(cached) $ac_c" 1>&6
    1356 else
    1357   cat > conftestmake <<\EOF
     3261  echo "$as_me:$LINENO: result: $RANLIB" >&5
     3262echo "${ECHO_T}$RANLIB" >&6
     3263else
     3264  echo "$as_me:$LINENO: result: no" >&5
     3265echo "${ECHO_T}no" >&6
     3266fi
     3267
     3268fi
     3269if test -z "$ac_cv_prog_RANLIB"; then
     3270  ac_ct_RANLIB=$RANLIB
     3271  # Extract the first word of "ranlib", so it can be a program name with args.
     3272set dummy ranlib; ac_word=$2
     3273echo "$as_me:$LINENO: checking for $ac_word" >&5
     3274echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3275if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     3276  echo $ECHO_N "(cached) $ECHO_C" >&6
     3277else
     3278  if test -n "$ac_ct_RANLIB"; then
     3279  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     3280else
     3281as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3282for as_dir in $PATH
     3283do
     3284  IFS=$as_save_IFS
     3285  test -z "$as_dir" && as_dir=.
     3286  for ac_exec_ext in '' $ac_executable_extensions; do
     3287  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3288    ac_cv_prog_ac_ct_RANLIB="ranlib"
     3289    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3290    break 2
     3291  fi
     3292done
     3293done
     3294
     3295  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     3296fi
     3297fi
     3298ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     3299if test -n "$ac_ct_RANLIB"; then
     3300  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3301echo "${ECHO_T}$ac_ct_RANLIB" >&6
     3302else
     3303  echo "$as_me:$LINENO: result: no" >&5
     3304echo "${ECHO_T}no" >&6
     3305fi
     3306
     3307  RANLIB=$ac_ct_RANLIB
     3308else
     3309  RANLIB="$ac_cv_prog_RANLIB"
     3310fi
     3311
     3312echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3313echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     3314set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
     3315if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     3316  echo $ECHO_N "(cached) $ECHO_C" >&6
     3317else
     3318  cat >conftest.make <<\_ACEOF
    13583319all:
    1359         @echo 'ac_maketemp="${MAKE}"'
    1360 EOF
     3320        @echo 'ac_maketemp="$(MAKE)"'
     3321_ACEOF
    13613322# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    1362 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
     3323eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    13633324if test -n "$ac_maketemp"; then
    13643325  eval ac_cv_prog_make_${ac_make}_set=yes
     
    13663327  eval ac_cv_prog_make_${ac_make}_set=no
    13673328fi
    1368 rm -f conftestmake
     3329rm -f conftest.make
    13693330fi
    13703331if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    1371   echo "$ac_t""yes" 1>&6
     3332  echo "$as_me:$LINENO: result: yes" >&5
     3333echo "${ECHO_T}yes" >&6
    13723334  SET_MAKE=
    13733335else
    1374   echo "$ac_t""no" 1>&6
     3336  echo "$as_me:$LINENO: result: no" >&5
     3337echo "${ECHO_T}no" >&6
    13753338  SET_MAKE="MAKE=${MAKE-make}"
    13763339fi
     
    13783341# Extract the first word of "ar", so it can be a program name with args.
    13793342set dummy ar; ac_word=$2
    1380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1381 echo "configure:1382: checking for $ac_word" >&5
    1382 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    1383   echo $ac_n "(cached) $ac_c" 1>&6
     3343echo "$as_me:$LINENO: checking for $ac_word" >&5
     3344echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3345if test "${ac_cv_prog_AR+set}" = set; then
     3346  echo $ECHO_N "(cached) $ECHO_C" >&6
    13843347else
    13853348  if test -n "$AR"; then
    13863349  ac_cv_prog_AR="$AR" # Let the user override the test.
    13873350else
    1388   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1389   ac_dummy="$PATH"
    1390   for ac_dir in $ac_dummy; do
    1391     test -z "$ac_dir" && ac_dir=.
    1392     if test -f $ac_dir/$ac_word; then
    1393       ac_cv_prog_AR="ar"
    1394       break
    1395     fi
    1396   done
    1397   IFS="$ac_save_ifs"
     3351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3352for as_dir in $PATH
     3353do
     3354  IFS=$as_save_IFS
     3355  test -z "$as_dir" && as_dir=.
     3356  for ac_exec_ext in '' $ac_executable_extensions; do
     3357  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3358    ac_cv_prog_AR="ar"
     3359    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3360    break 2
     3361  fi
     3362done
     3363done
     3364
    13983365  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="where-is-your-ar"
    13993366fi
    14003367fi
    1401 AR="$ac_cv_prog_AR"
     3368AR=$ac_cv_prog_AR
    14023369if test -n "$AR"; then
    1403   echo "$ac_t""$AR" 1>&6
    1404 else
    1405   echo "$ac_t""no" 1>&6
     3370  echo "$as_me:$LINENO: result: $AR" >&5
     3371echo "${ECHO_T}$AR" >&6
     3372else
     3373  echo "$as_me:$LINENO: result: no" >&5
     3374echo "${ECHO_T}no" >&6
    14063375fi
    14073376
    14083377# Extract the first word of "m4", so it can be a program name with args.
    14093378set dummy m4; ac_word=$2
    1410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1411 echo "configure:1412: checking for $ac_word" >&5
    1412 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
    1413   echo $ac_n "(cached) $ac_c" 1>&6
     3379echo "$as_me:$LINENO: checking for $ac_word" >&5
     3380echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3381if test "${ac_cv_prog_M4+set}" = set; then
     3382  echo $ECHO_N "(cached) $ECHO_C" >&6
    14143383else
    14153384  if test -n "$M4"; then
    14163385  ac_cv_prog_M4="$M4" # Let the user override the test.
    14173386else
    1418   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1419   ac_dummy="$PATH"
    1420   for ac_dir in $ac_dummy; do
    1421     test -z "$ac_dir" && ac_dir=.
    1422     if test -f $ac_dir/$ac_word; then
    1423       ac_cv_prog_M4="m4"
    1424       break
    1425     fi
    1426   done
    1427   IFS="$ac_save_ifs"
     3387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3388for as_dir in $PATH
     3389do
     3390  IFS=$as_save_IFS
     3391  test -z "$as_dir" && as_dir=.
     3392  for ac_exec_ext in '' $ac_executable_extensions; do
     3393  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3394    ac_cv_prog_M4="m4"
     3395    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3396    break 2
     3397  fi
     3398done
     3399done
     3400
    14283401  test -z "$ac_cv_prog_M4" && ac_cv_prog_M4="where-is-your-m4"
    14293402fi
    14303403fi
    1431 M4="$ac_cv_prog_M4"
     3404M4=$ac_cv_prog_M4
    14323405if test -n "$M4"; then
    1433   echo "$ac_t""$M4" 1>&6
    1434 else
    1435   echo "$ac_t""no" 1>&6
     3406  echo "$as_me:$LINENO: result: $M4" >&5
     3407echo "${ECHO_T}$M4" >&6
     3408else
     3409  echo "$as_me:$LINENO: result: no" >&5
     3410echo "${ECHO_T}no" >&6
    14363411fi
    14373412
    14383413# Extract the first word of "bison", so it can be a program name with args.
    14393414set dummy bison; ac_word=$2
    1440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1441 echo "configure:1442: checking for $ac_word" >&5
    1442 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    1443   echo $ac_n "(cached) $ac_c" 1>&6
     3415echo "$as_me:$LINENO: checking for $ac_word" >&5
     3416echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3417if test "${ac_cv_prog_BISON+set}" = set; then
     3418  echo $ECHO_N "(cached) $ECHO_C" >&6
    14443419else
    14453420  if test -n "$BISON"; then
    14463421  ac_cv_prog_BISON="$BISON" # Let the user override the test.
    14473422else
    1448   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1449   ac_dummy="$PATH"
    1450   for ac_dir in $ac_dummy; do
    1451     test -z "$ac_dir" && ac_dir=.
    1452     if test -f $ac_dir/$ac_word; then
    1453       ac_cv_prog_BISON="bison"
    1454       break
    1455     fi
    1456   done
    1457   IFS="$ac_save_ifs"
     3423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3424for as_dir in $PATH
     3425do
     3426  IFS=$as_save_IFS
     3427  test -z "$as_dir" && as_dir=.
     3428  for ac_exec_ext in '' $ac_executable_extensions; do
     3429  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3430    ac_cv_prog_BISON="bison"
     3431    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3432    break 2
     3433  fi
     3434done
     3435done
     3436
    14583437  test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="where-is-your-bison"
    14593438fi
    14603439fi
    1461 BISON="$ac_cv_prog_BISON"
     3440BISON=$ac_cv_prog_BISON
    14623441if test -n "$BISON"; then
    1463   echo "$ac_t""$BISON" 1>&6
    1464 else
    1465   echo "$ac_t""no" 1>&6
     3442  echo "$as_me:$LINENO: result: $BISON" >&5
     3443echo "${ECHO_T}$BISON" >&6
     3444else
     3445  echo "$as_me:$LINENO: result: no" >&5
     3446echo "${ECHO_T}no" >&6
    14663447fi
    14673448
     
    14773458# Extract the first word of "mkinstalldirs", so it can be a program name with args.
    14783459set dummy mkinstalldirs; ac_word=$2
    1479 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1480 echo "configure:1481: checking for $ac_word" >&5
    1481 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
    1482   echo $ac_n "(cached) $ac_c" 1>&6
    1483 else
    1484   case "$FACTORY_MKINSTALLDIRS" in
    1485   /*)
     3460echo "$as_me:$LINENO: checking for $ac_word" >&5
     3461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3462if test "${ac_cv_path_FACTORY_MKINSTALLDIRS+set}" = set; then
     3463  echo $ECHO_N "(cached) $ECHO_C" >&6
     3464else
     3465  case $FACTORY_MKINSTALLDIRS in
     3466  [\\/]* | ?:[\\/]*)
    14863467  ac_cv_path_FACTORY_MKINSTALLDIRS="$FACTORY_MKINSTALLDIRS" # Let the user override the test with a path.
    14873468  ;;
    1488   ?:/*)                 
    1489   ac_cv_path_FACTORY_MKINSTALLDIRS="$FACTORY_MKINSTALLDIRS" # Let the user override the test with a dos path.
    1490   ;;
    14913469  *)
    1492   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1493   ac_dummy="$PATH"
    1494   for ac_dir in $ac_dummy; do
    1495     test -z "$ac_dir" && ac_dir=.
    1496     if test -f $ac_dir/$ac_word; then
    1497       ac_cv_path_FACTORY_MKINSTALLDIRS="$ac_dir/$ac_word"
    1498       break
    1499     fi
    1500   done
    1501   IFS="$ac_save_ifs"
     3470  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3471for as_dir in $PATH
     3472do
     3473  IFS=$as_save_IFS
     3474  test -z "$as_dir" && as_dir=.
     3475  for ac_exec_ext in '' $ac_executable_extensions; do
     3476  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3477    ac_cv_path_FACTORY_MKINSTALLDIRS="$as_dir/$ac_word$ac_exec_ext"
     3478    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3479    break 2
     3480  fi
     3481done
     3482done
     3483
    15023484  test -z "$ac_cv_path_FACTORY_MKINSTALLDIRS" && ac_cv_path_FACTORY_MKINSTALLDIRS="-mkdir"
    15033485  ;;
    15043486esac
    15053487fi
    1506 FACTORY_MKINSTALLDIRS="$ac_cv_path_FACTORY_MKINSTALLDIRS"
     3488FACTORY_MKINSTALLDIRS=$ac_cv_path_FACTORY_MKINSTALLDIRS
     3489
    15073490if test -n "$FACTORY_MKINSTALLDIRS"; then
    1508   echo "$ac_t""$FACTORY_MKINSTALLDIRS" 1>&6
    1509 else
    1510   echo "$ac_t""no" 1>&6
     3491  echo "$as_me:$LINENO: result: $FACTORY_MKINSTALLDIRS" >&5
     3492echo "${ECHO_T}$FACTORY_MKINSTALLDIRS" >&6
     3493else
     3494  echo "$as_me:$LINENO: result: no" >&5
     3495echo "${ECHO_T}no" >&6
    15113496fi
    15123497
     
    15143499# Extract the first word of "makeheader", so it can be a program name with args.
    15153500set dummy makeheader; ac_word=$2
    1516 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1517 echo "configure:1518: checking for $ac_word" >&5
    1518 if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
    1519   echo $ac_n "(cached) $ac_c" 1>&6
    1520 else
    1521   case "$FACTORY_MAKEHEADER" in
    1522   /*)
     3501echo "$as_me:$LINENO: checking for $ac_word" >&5
     3502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3503if test "${ac_cv_path_FACTORY_MAKEHEADER+set}" = set; then
     3504  echo $ECHO_N "(cached) $ECHO_C" >&6
     3505else
     3506  case $FACTORY_MAKEHEADER in
     3507  [\\/]* | ?:[\\/]*)
    15233508  ac_cv_path_FACTORY_MAKEHEADER="$FACTORY_MAKEHEADER" # Let the user override the test with a path.
    15243509  ;;
    1525   ?:/*)                 
    1526   ac_cv_path_FACTORY_MAKEHEADER="$FACTORY_MAKEHEADER" # Let the user override the test with a dos path.
    1527   ;;
    15283510  *)
    1529   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1530   ac_dummy="$PATH"
    1531   for ac_dir in $ac_dummy; do
    1532     test -z "$ac_dir" && ac_dir=.
    1533     if test -f $ac_dir/$ac_word; then
    1534       ac_cv_path_FACTORY_MAKEHEADER="$ac_dir/$ac_word"
    1535       break
    1536     fi
    1537   done
    1538   IFS="$ac_save_ifs"
     3511  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3512for as_dir in $PATH
     3513do
     3514  IFS=$as_save_IFS
     3515  test -z "$as_dir" && as_dir=.
     3516  for ac_exec_ext in '' $ac_executable_extensions; do
     3517  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3518    ac_cv_path_FACTORY_MAKEHEADER="$as_dir/$ac_word$ac_exec_ext"
     3519    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3520    break 2
     3521  fi
     3522done
     3523done
     3524
    15393525  ;;
    15403526esac
    15413527fi
    1542 FACTORY_MAKEHEADER="$ac_cv_path_FACTORY_MAKEHEADER"
     3528FACTORY_MAKEHEADER=$ac_cv_path_FACTORY_MAKEHEADER
     3529
    15433530if test -n "$FACTORY_MAKEHEADER"; then
    1544   echo "$ac_t""$FACTORY_MAKEHEADER" 1>&6
    1545 else
    1546   echo "$ac_t""no" 1>&6
     3531  echo "$as_me:$LINENO: result: $FACTORY_MAKEHEADER" >&5
     3532echo "${ECHO_T}$FACTORY_MAKEHEADER" >&6
     3533else
     3534  echo "$as_me:$LINENO: result: no" >&5
     3535echo "${ECHO_T}no" >&6
    15473536fi
    15483537
     
    15533542#
    15543543
    1555 echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6
    1556 echo "configure:1557: checking and generating explicit install paths" >&5
     3544echo "$as_me:$LINENO: checking and generating explicit install paths" >&5
     3545echo $ECHO_N "checking and generating explicit install paths... $ECHO_C" >&6
    15573546
    15583547# generate Makefile
     
    15883577rm -f ./conftest.mk ./conftest.dir
    15893578
    1590 echo "$ac_t""done" 1>&6
     3579echo "$as_me:$LINENO: result: done" >&5
     3580echo "${ECHO_T}done" >&6
    15913581
    15923582#
    15933583# - check for libraries.
    15943584#
    1595 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1596 echo "configure:1597: checking for atof in -lm" >&5
    1597 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    1598 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1599   echo $ac_n "(cached) $ac_c" 1>&6
    1600 else
    1601   ac_save_LIBS="$LIBS"
     3585
     3586
     3587echo "$as_me:$LINENO: checking for atof in -lm" >&5
     3588echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6
     3589if test "${ac_cv_lib_m_atof+set}" = set; then
     3590  echo $ECHO_N "(cached) $ECHO_C" >&6
     3591else
     3592  ac_check_lib_save_LIBS=$LIBS
    16023593LIBS="-lm  $LIBS"
    1603 cat > conftest.$ac_ext <<EOF
    1604 #line 1605 "configure"
    1605 #include "confdefs.h"
     3594cat >conftest.$ac_ext <<_ACEOF
     3595#line $LINENO "configure"
     3596/* confdefs.h.  */
     3597_ACEOF
     3598cat confdefs.h >>conftest.$ac_ext
     3599cat >>conftest.$ac_ext <<_ACEOF
     3600/* end confdefs.h.  */
     3601
    16063602/* Override any gcc2 internal prototype to avoid an error.  */
     3603#ifdef __cplusplus
     3604extern "C"
     3605#endif
    16073606/* We use char because int might match the return type of a gcc2
    1608     builtin and then its argument prototype would still apply.  */
    1609 char atof();
    1610 
    1611 int main() {
    1612 atof()
    1613 ; return 0; }
    1614 EOF
    1615 if { (eval echo configure:1616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1616   rm -rf conftest*
    1617   eval "ac_cv_lib_$ac_lib_var=yes"
    1618 else
    1619   echo "configure: failed program was:" >&5
    1620   cat conftest.$ac_ext >&5
    1621   rm -rf conftest*
    1622   eval "ac_cv_lib_$ac_lib_var=no"
    1623 fi
    1624 rm -f conftest*
    1625 LIBS="$ac_save_LIBS"
    1626 
    1627 fi
    1628 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    1629   echo "$ac_t""yes" 1>&6
    1630     ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    1631     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    1632   cat >> confdefs.h <<EOF
    1633 #define $ac_tr_lib 1
    1634 EOF
     3607   builtin and then its argument prototype would still apply.  */
     3608char atof ();
     3609int
     3610main ()
     3611{
     3612atof ();
     3613  ;
     3614  return 0;
     3615}
     3616_ACEOF
     3617rm -f conftest.$ac_objext conftest$ac_exeext
     3618if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3619  (eval $ac_link) 2>&5
     3620  ac_status=$?
     3621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3622  (exit $ac_status); } &&
     3623         { ac_try='test -s conftest$ac_exeext'
     3624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3625  (eval $ac_try) 2>&5
     3626  ac_status=$?
     3627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3628  (exit $ac_status); }; }; then
     3629  ac_cv_lib_m_atof=yes
     3630else
     3631  echo "$as_me: failed program was:" >&5
     3632sed 's/^/| /' conftest.$ac_ext >&5
     3633
     3634ac_cv_lib_m_atof=no
     3635fi
     3636rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     3637LIBS=$ac_check_lib_save_LIBS
     3638fi
     3639echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5
     3640echo "${ECHO_T}$ac_cv_lib_m_atof" >&6
     3641if test $ac_cv_lib_m_atof = yes; then
     3642  cat >>confdefs.h <<_ACEOF
     3643#define HAVE_LIBM 1
     3644_ACEOF
    16353645
    16363646  LIBS="-lm $LIBS"
    16373647
    16383648else
    1639   echo "$ac_t""no" 1>&6
    1640  { echo "configure: error: libm.a not found" 1>&2; exit 1; }
     3649   { { echo "$as_me:$LINENO: error: libm.a not found" >&5
     3650echo "$as_me: error: libm.a not found" >&2;}
     3651   { (exit 1); exit 1; }; }
    16413652fi
    16423653
    16433654
    16443655if test "x$gmp_in_installation" != xyes; then
    1645   echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1646 echo "configure:1647: checking for main in -lgmp" >&5
    1647 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    1648 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1649   echo $ac_n "(cached) $ac_c" 1>&6
    1650 else
    1651   ac_save_LIBS="$LIBS"
     3656
     3657echo "$as_me:$LINENO: checking for main in -lgmp" >&5
     3658echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
     3659if test "${ac_cv_lib_gmp_main+set}" = set; then
     3660  echo $ECHO_N "(cached) $ECHO_C" >&6
     3661else
     3662  ac_check_lib_save_LIBS=$LIBS
    16523663LIBS="-lgmp  $LIBS"
    1653 cat > conftest.$ac_ext <<EOF
    1654 #line 1655 "configure"
    1655 #include "confdefs.h"
    1656 
    1657 int main() {
    1658 main()
    1659 ; return 0; }
    1660 EOF
    1661 if { (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1662   rm -rf conftest*
    1663   eval "ac_cv_lib_$ac_lib_var=yes"
    1664 else
    1665   echo "configure: failed program was:" >&5
    1666   cat conftest.$ac_ext >&5
    1667   rm -rf conftest*
    1668   eval "ac_cv_lib_$ac_lib_var=no"
    1669 fi
    1670 rm -f conftest*
    1671 LIBS="$ac_save_LIBS"
    1672 
    1673 fi
    1674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    1675   echo "$ac_t""yes" 1>&6
    1676     ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    1677     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    1678   cat >> confdefs.h <<EOF
    1679 #define $ac_tr_lib 1
    1680 EOF
     3664cat >conftest.$ac_ext <<_ACEOF
     3665#line $LINENO "configure"
     3666/* confdefs.h.  */
     3667_ACEOF
     3668cat confdefs.h >>conftest.$ac_ext
     3669cat >>conftest.$ac_ext <<_ACEOF
     3670/* end confdefs.h.  */
     3671
     3672
     3673int
     3674main ()
     3675{
     3676main ();
     3677  ;
     3678  return 0;
     3679}
     3680_ACEOF
     3681rm -f conftest.$ac_objext conftest$ac_exeext
     3682if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3683  (eval $ac_link) 2>&5
     3684  ac_status=$?
     3685  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3686  (exit $ac_status); } &&
     3687         { ac_try='test -s conftest$ac_exeext'
     3688  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3689  (eval $ac_try) 2>&5
     3690  ac_status=$?
     3691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3692  (exit $ac_status); }; }; then
     3693  ac_cv_lib_gmp_main=yes
     3694else
     3695  echo "$as_me: failed program was:" >&5
     3696sed 's/^/| /' conftest.$ac_ext >&5
     3697
     3698ac_cv_lib_gmp_main=no
     3699fi
     3700rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     3701LIBS=$ac_check_lib_save_LIBS
     3702fi
     3703echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
     3704echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
     3705if test $ac_cv_lib_gmp_main = yes; then
     3706  cat >>confdefs.h <<_ACEOF
     3707#define HAVE_LIBGMP 1
     3708_ACEOF
    16813709
    16823710  LIBS="-lgmp $LIBS"
    16833711
    16843712else
    1685   echo "$ac_t""no" 1>&6
    16863713
    16873714      # check a second time in `$(libdir)'.  This is a bit tricky,
     
    16893716      unset ac_cv_lib_gmp_main
    16903717      LDFLAGS="-L$explicit_libdir $LDFLAGS"
    1691       echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1692 echo "configure:1693: checking for main in -lgmp" >&5
    1693 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    1694 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1695   echo $ac_n "(cached) $ac_c" 1>&6
    1696 else
    1697   ac_save_LIBS="$LIBS"
     3718
     3719echo "$as_me:$LINENO: checking for main in -lgmp" >&5
     3720echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
     3721if test "${ac_cv_lib_gmp_main+set}" = set; then
     3722  echo $ECHO_N "(cached) $ECHO_C" >&6
     3723else
     3724  ac_check_lib_save_LIBS=$LIBS
    16983725LIBS="-lgmp  $LIBS"
    1699 cat > conftest.$ac_ext <<EOF
    1700 #line 1701 "configure"
    1701 #include "confdefs.h"
    1702 
    1703 int main() {
    1704 main()
    1705 ; return 0; }
    1706 EOF
    1707 if { (eval echo configure:1708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    1708   rm -rf conftest*
    1709   eval "ac_cv_lib_$ac_lib_var=yes"
    1710 else
    1711   echo "configure: failed program was:" >&5
    1712   cat conftest.$ac_ext >&5
    1713   rm -rf conftest*
    1714   eval "ac_cv_lib_$ac_lib_var=no"
    1715 fi
    1716 rm -f conftest*
    1717 LIBS="$ac_save_LIBS"
    1718 
    1719 fi
    1720 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    1721   echo "$ac_t""yes" 1>&6
    1722     ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    1723     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    1724   cat >> confdefs.h <<EOF
    1725 #define $ac_tr_lib 1
    1726 EOF
     3726cat >conftest.$ac_ext <<_ACEOF
     3727#line $LINENO "configure"
     3728/* confdefs.h.  */
     3729_ACEOF
     3730cat confdefs.h >>conftest.$ac_ext
     3731cat >>conftest.$ac_ext <<_ACEOF
     3732/* end confdefs.h.  */
     3733
     3734
     3735int
     3736main ()
     3737{
     3738main ();
     3739  ;
     3740  return 0;
     3741}
     3742_ACEOF
     3743rm -f conftest.$ac_objext conftest$ac_exeext
     3744if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3745  (eval $ac_link) 2>&5
     3746  ac_status=$?
     3747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3748  (exit $ac_status); } &&
     3749         { ac_try='test -s conftest$ac_exeext'
     3750  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3751  (eval $ac_try) 2>&5
     3752  ac_status=$?
     3753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3754  (exit $ac_status); }; }; then
     3755  ac_cv_lib_gmp_main=yes
     3756else
     3757  echo "$as_me: failed program was:" >&5
     3758sed 's/^/| /' conftest.$ac_ext >&5
     3759
     3760ac_cv_lib_gmp_main=no
     3761fi
     3762rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     3763LIBS=$ac_check_lib_save_LIBS
     3764fi
     3765echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
     3766echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
     3767if test $ac_cv_lib_gmp_main = yes; then
     3768  cat >>confdefs.h <<_ACEOF
     3769#define HAVE_LIBGMP 1
     3770_ACEOF
    17273771
    17283772  LIBS="-lgmp $LIBS"
    17293773
    17303774else
    1731   echo "$ac_t""no" 1>&6
    1732  { echo "configure: error: libgmp.a not found.  Use option --with-gmp to specify path" 1>&2; exit 1; }
     3775   { { echo "$as_me:$LINENO: error: libgmp.a not found.  Use option --with-gmp to specify path" >&5
     3776echo "$as_me: error: libgmp.a not found.  Use option --with-gmp to specify path" >&2;}
     3777   { (exit 1); exit 1; }; }
    17333778fi
    17343779
    17353780      unset ac_cv_lib_gmp_main
    1736    
     3781
    17373782fi
    17383783
     
    17423787# - check for header files.
    17433788#
    1744 ac_ext=C
    1745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     3789ac_ext=cc
    17463790ac_cpp='$CXXCPP $CPPFLAGS'
    1747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    1749 cross_compiling=$ac_cv_prog_cxx_cross
     3791ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3792ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3793ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    17503794
    17513795
    17523796if test "x$gmp_in_installation" != xyes; then
    1753   for ac_hdr in gmp.h
     3797
     3798
     3799echo "$as_me:$LINENO: checking for egrep" >&5
     3800echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3801if test "${ac_cv_prog_egrep+set}" = set; then
     3802  echo $ECHO_N "(cached) $ECHO_C" >&6
     3803else
     3804  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3805    then ac_cv_prog_egrep='grep -E'
     3806    else ac_cv_prog_egrep='egrep'
     3807    fi
     3808fi
     3809echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3810echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3811 EGREP=$ac_cv_prog_egrep
     3812
     3813
     3814echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3815echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3816if test "${ac_cv_header_stdc+set}" = set; then
     3817  echo $ECHO_N "(cached) $ECHO_C" >&6
     3818else
     3819  cat >conftest.$ac_ext <<_ACEOF
     3820#line $LINENO "configure"
     3821/* confdefs.h.  */
     3822_ACEOF
     3823cat confdefs.h >>conftest.$ac_ext
     3824cat >>conftest.$ac_ext <<_ACEOF
     3825/* end confdefs.h.  */
     3826#include <stdlib.h>
     3827#include <stdarg.h>
     3828#include <string.h>
     3829#include <float.h>
     3830
     3831int
     3832main ()
     3833{
     3834
     3835  ;
     3836  return 0;
     3837}
     3838_ACEOF
     3839rm -f conftest.$ac_objext
     3840if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3841  (eval $ac_compile) 2>&5
     3842  ac_status=$?
     3843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3844  (exit $ac_status); } &&
     3845         { ac_try='test -s conftest.$ac_objext'
     3846  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3847  (eval $ac_try) 2>&5
     3848  ac_status=$?
     3849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3850  (exit $ac_status); }; }; then
     3851  ac_cv_header_stdc=yes
     3852else
     3853  echo "$as_me: failed program was:" >&5
     3854sed 's/^/| /' conftest.$ac_ext >&5
     3855
     3856ac_cv_header_stdc=no
     3857fi
     3858rm -f conftest.$ac_objext conftest.$ac_ext
     3859
     3860if test $ac_cv_header_stdc = yes; then
     3861  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     3862  cat >conftest.$ac_ext <<_ACEOF
     3863#line $LINENO "configure"
     3864/* confdefs.h.  */
     3865_ACEOF
     3866cat confdefs.h >>conftest.$ac_ext
     3867cat >>conftest.$ac_ext <<_ACEOF
     3868/* end confdefs.h.  */
     3869#include <string.h>
     3870
     3871_ACEOF
     3872if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3873  $EGREP "memchr" >/dev/null 2>&1; then
     3874  :
     3875else
     3876  ac_cv_header_stdc=no
     3877fi
     3878rm -f conftest*
     3879
     3880fi
     3881
     3882if test $ac_cv_header_stdc = yes; then
     3883  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     3884  cat >conftest.$ac_ext <<_ACEOF
     3885#line $LINENO "configure"
     3886/* confdefs.h.  */
     3887_ACEOF
     3888cat confdefs.h >>conftest.$ac_ext
     3889cat >>conftest.$ac_ext <<_ACEOF
     3890/* end confdefs.h.  */
     3891#include <stdlib.h>
     3892
     3893_ACEOF
     3894if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3895  $EGREP "free" >/dev/null 2>&1; then
     3896  :
     3897else
     3898  ac_cv_header_stdc=no
     3899fi
     3900rm -f conftest*
     3901
     3902fi
     3903
     3904if test $ac_cv_header_stdc = yes; then
     3905  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     3906  if test "$cross_compiling" = yes; then
     3907  :
     3908else
     3909  cat >conftest.$ac_ext <<_ACEOF
     3910#line $LINENO "configure"
     3911/* confdefs.h.  */
     3912_ACEOF
     3913cat confdefs.h >>conftest.$ac_ext
     3914cat >>conftest.$ac_ext <<_ACEOF
     3915/* end confdefs.h.  */
     3916#include <ctype.h>
     3917#if ((' ' & 0x0FF) == 0x020)
     3918# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     3919# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     3920#else
     3921# define ISLOWER(c) \
     3922                   (('a' <= (c) && (c) <= 'i') \
     3923                     || ('j' <= (c) && (c) <= 'r') \
     3924                     || ('s' <= (c) && (c) <= 'z'))
     3925# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     3926#endif
     3927
     3928#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     3929int
     3930main ()
     3931{
     3932  int i;
     3933  for (i = 0; i < 256; i++)
     3934    if (XOR (islower (i), ISLOWER (i))
     3935        || toupper (i) != TOUPPER (i))
     3936      exit(2);
     3937  exit (0);
     3938}
     3939_ACEOF
     3940rm -f conftest$ac_exeext
     3941if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3942  (eval $ac_link) 2>&5
     3943  ac_status=$?
     3944  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3945  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3946  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3947  (eval $ac_try) 2>&5
     3948  ac_status=$?
     3949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3950  (exit $ac_status); }; }; then
     3951  :
     3952else
     3953  echo "$as_me: program exited with status $ac_status" >&5
     3954echo "$as_me: failed program was:" >&5
     3955sed 's/^/| /' conftest.$ac_ext >&5
     3956
     3957( exit $ac_status )
     3958ac_cv_header_stdc=no
     3959fi
     3960rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3961fi
     3962fi
     3963fi
     3964echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3965echo "${ECHO_T}$ac_cv_header_stdc" >&6
     3966if test $ac_cv_header_stdc = yes; then
     3967
     3968cat >>confdefs.h <<\_ACEOF
     3969#define STDC_HEADERS 1
     3970_ACEOF
     3971
     3972fi
     3973
     3974# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3975
     3976
     3977
     3978
     3979
     3980
     3981
     3982
     3983
     3984for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     3985                  inttypes.h stdint.h unistd.h
    17543986do
    1755 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1756 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1757 echo "configure:1758: checking for $ac_hdr" >&5
    1758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    1759   echo $ac_n "(cached) $ac_c" 1>&6
    1760 else
    1761   cat > conftest.$ac_ext <<EOF
    1762 #line 1763 "configure"
    1763 #include "confdefs.h"
    1764 #include <$ac_hdr>
    1765 EOF
    1766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1767 { (eval echo configure:1768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1769 if test -z "$ac_err"; then
    1770   rm -rf conftest*
    1771   eval "ac_cv_header_$ac_safe=yes"
    1772 else
    1773   echo "$ac_err" >&5
    1774   echo "configure: failed program was:" >&5
    1775   cat conftest.$ac_ext >&5
    1776   rm -rf conftest*
    1777   eval "ac_cv_header_$ac_safe=no"
    1778 fi
    1779 rm -f conftest*
    1780 fi
    1781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    1782   echo "$ac_t""yes" 1>&6
    1783     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    1784   cat >> confdefs.h <<EOF
    1785 #define $ac_tr_hdr 1
    1786 EOF
    1787  
    1788 else
    1789   echo "$ac_t""no" 1>&6
    1790 # check a second time in `$(includedir)'.  This is a bit tricky,
     3987as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3988echo "$as_me:$LINENO: checking for $ac_header" >&5
     3989echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3990if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3991  echo $ECHO_N "(cached) $ECHO_C" >&6
     3992else
     3993  cat >conftest.$ac_ext <<_ACEOF
     3994#line $LINENO "configure"
     3995/* confdefs.h.  */
     3996_ACEOF
     3997cat confdefs.h >>conftest.$ac_ext
     3998cat >>conftest.$ac_ext <<_ACEOF
     3999/* end confdefs.h.  */
     4000$ac_includes_default
     4001
     4002#include <$ac_header>
     4003_ACEOF
     4004rm -f conftest.$ac_objext
     4005if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4006  (eval $ac_compile) 2>&5
     4007  ac_status=$?
     4008  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4009  (exit $ac_status); } &&
     4010         { ac_try='test -s conftest.$ac_objext'
     4011  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4012  (eval $ac_try) 2>&5
     4013  ac_status=$?
     4014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4015  (exit $ac_status); }; }; then
     4016  eval "$as_ac_Header=yes"
     4017else
     4018  echo "$as_me: failed program was:" >&5
     4019sed 's/^/| /' conftest.$ac_ext >&5
     4020
     4021eval "$as_ac_Header=no"
     4022fi
     4023rm -f conftest.$ac_objext conftest.$ac_ext
     4024fi
     4025echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4026echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4027if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4028  cat >>confdefs.h <<_ACEOF
     4029#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4030_ACEOF
     4031
     4032fi
     4033
     4034done
     4035
     4036
     4037
     4038for ac_header in gmp.h
     4039do
     4040as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4041if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4042  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4043echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4044if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4045  echo $ECHO_N "(cached) $ECHO_C" >&6
     4046fi
     4047echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4048echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4049else
     4050  # Is the header compilable?
     4051echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4052echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4053cat >conftest.$ac_ext <<_ACEOF
     4054#line $LINENO "configure"
     4055/* confdefs.h.  */
     4056_ACEOF
     4057cat confdefs.h >>conftest.$ac_ext
     4058cat >>conftest.$ac_ext <<_ACEOF
     4059/* end confdefs.h.  */
     4060$ac_includes_default
     4061#include <$ac_header>
     4062_ACEOF
     4063rm -f conftest.$ac_objext
     4064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4065  (eval $ac_compile) 2>&5
     4066  ac_status=$?
     4067  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4068  (exit $ac_status); } &&
     4069         { ac_try='test -s conftest.$ac_objext'
     4070  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4071  (eval $ac_try) 2>&5
     4072  ac_status=$?
     4073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4074  (exit $ac_status); }; }; then
     4075  ac_header_compiler=yes
     4076else
     4077  echo "$as_me: failed program was:" >&5
     4078sed 's/^/| /' conftest.$ac_ext >&5
     4079
     4080ac_header_compiler=no
     4081fi
     4082rm -f conftest.$ac_objext conftest.$ac_ext
     4083echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4084echo "${ECHO_T}$ac_header_compiler" >&6
     4085
     4086# Is the header present?
     4087echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4088echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4089cat >conftest.$ac_ext <<_ACEOF
     4090#line $LINENO "configure"
     4091/* confdefs.h.  */
     4092_ACEOF
     4093cat confdefs.h >>conftest.$ac_ext
     4094cat >>conftest.$ac_ext <<_ACEOF
     4095/* end confdefs.h.  */
     4096#include <$ac_header>
     4097_ACEOF
     4098if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4099  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4100  ac_status=$?
     4101  grep -v '^ *+' conftest.er1 >conftest.err
     4102  rm -f conftest.er1
     4103  cat conftest.err >&5
     4104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4105  (exit $ac_status); } >/dev/null; then
     4106  if test -s conftest.err; then
     4107    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4108  else
     4109    ac_cpp_err=
     4110  fi
     4111else
     4112  ac_cpp_err=yes
     4113fi
     4114if test -z "$ac_cpp_err"; then
     4115  ac_header_preproc=yes
     4116else
     4117  echo "$as_me: failed program was:" >&5
     4118sed 's/^/| /' conftest.$ac_ext >&5
     4119
     4120  ac_header_preproc=no
     4121fi
     4122rm -f conftest.err conftest.$ac_ext
     4123echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4124echo "${ECHO_T}$ac_header_preproc" >&6
     4125
     4126# So?  What about this header?
     4127case $ac_header_compiler:$ac_header_preproc in
     4128  yes:no )
     4129    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4130echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4131    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4132echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4133    (
     4134      cat <<\_ASBOX
     4135## ------------------------------------ ##
     4136## Report this to bug-autoconf@gnu.org. ##
     4137## ------------------------------------ ##
     4138_ASBOX
     4139    ) |
     4140      sed "s/^/$as_me: WARNING:     /" >&2
     4141    ;;
     4142  no:yes )
     4143    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4144echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4145    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4146echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     4147    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4148echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4149    (
     4150      cat <<\_ASBOX
     4151## ------------------------------------ ##
     4152## Report this to bug-autoconf@gnu.org. ##
     4153## ------------------------------------ ##
     4154_ASBOX
     4155    ) |
     4156      sed "s/^/$as_me: WARNING:     /" >&2
     4157    ;;
     4158esac
     4159echo "$as_me:$LINENO: checking for $ac_header" >&5
     4160echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4161if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4162  echo $ECHO_N "(cached) $ECHO_C" >&6
     4163else
     4164  eval "$as_ac_Header=$ac_header_preproc"
     4165fi
     4166echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4167echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4168
     4169fi
     4170if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4171  cat >>confdefs.h <<_ACEOF
     4172#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4173_ACEOF
     4174
     4175else
     4176
     4177      # check a second time in `$(includedir)'.  This is a bit tricky,
    17914178      # but I think it's worth avoiding long option values.
    17924179      unset ac_cv_header_gmp_h
    17934180      CPPFLAGS="-I$explicit_includedir $CPPFLAGS"
    1794       for ac_hdr in gmp.h
     4181
     4182for ac_header in gmp.h
    17954183do
    1796 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1797 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1798 echo "configure:1799: checking for $ac_hdr" >&5
    1799 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    1800   echo $ac_n "(cached) $ac_c" 1>&6
    1801 else
    1802   cat > conftest.$ac_ext <<EOF
    1803 #line 1804 "configure"
    1804 #include "confdefs.h"
    1805 #include <$ac_hdr>
    1806 EOF
    1807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1808 { (eval echo configure:1809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1810 if test -z "$ac_err"; then
    1811   rm -rf conftest*
    1812   eval "ac_cv_header_$ac_safe=yes"
    1813 else
    1814   echo "$ac_err" >&5
    1815   echo "configure: failed program was:" >&5
    1816   cat conftest.$ac_ext >&5
    1817   rm -rf conftest*
    1818   eval "ac_cv_header_$ac_safe=no"
    1819 fi
    1820 rm -f conftest*
    1821 fi
    1822 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    1823   echo "$ac_t""yes" 1>&6
    1824     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    1825   cat >> confdefs.h <<EOF
    1826 #define $ac_tr_hdr 1
    1827 EOF
    1828  
    1829 else
    1830   echo "$ac_t""no" 1>&6
    1831 { echo "configure: error: gmp.h not found.  Use option --with-gmp to specify path" 1>&2; exit 1; }
    1832 fi
     4184as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4185if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4186  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4187echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4188if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4189  echo $ECHO_N "(cached) $ECHO_C" >&6
     4190fi
     4191echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4192echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4193else
     4194  # Is the header compilable?
     4195echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4196echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4197cat >conftest.$ac_ext <<_ACEOF
     4198#line $LINENO "configure"
     4199/* confdefs.h.  */
     4200_ACEOF
     4201cat confdefs.h >>conftest.$ac_ext
     4202cat >>conftest.$ac_ext <<_ACEOF
     4203/* end confdefs.h.  */
     4204$ac_includes_default
     4205#include <$ac_header>
     4206_ACEOF
     4207rm -f conftest.$ac_objext
     4208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4209  (eval $ac_compile) 2>&5
     4210  ac_status=$?
     4211  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4212  (exit $ac_status); } &&
     4213         { ac_try='test -s conftest.$ac_objext'
     4214  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4215  (eval $ac_try) 2>&5
     4216  ac_status=$?
     4217  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4218  (exit $ac_status); }; }; then
     4219  ac_header_compiler=yes
     4220else
     4221  echo "$as_me: failed program was:" >&5
     4222sed 's/^/| /' conftest.$ac_ext >&5
     4223
     4224ac_header_compiler=no
     4225fi
     4226rm -f conftest.$ac_objext conftest.$ac_ext
     4227echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4228echo "${ECHO_T}$ac_header_compiler" >&6
     4229
     4230# Is the header present?
     4231echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4232echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4233cat >conftest.$ac_ext <<_ACEOF
     4234#line $LINENO "configure"
     4235/* confdefs.h.  */
     4236_ACEOF
     4237cat confdefs.h >>conftest.$ac_ext
     4238cat >>conftest.$ac_ext <<_ACEOF
     4239/* end confdefs.h.  */
     4240#include <$ac_header>
     4241_ACEOF
     4242if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4243  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4244  ac_status=$?
     4245  grep -v '^ *+' conftest.er1 >conftest.err
     4246  rm -f conftest.er1
     4247  cat conftest.err >&5
     4248  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4249  (exit $ac_status); } >/dev/null; then
     4250  if test -s conftest.err; then
     4251    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4252  else
     4253    ac_cpp_err=
     4254  fi
     4255else
     4256  ac_cpp_err=yes
     4257fi
     4258if test -z "$ac_cpp_err"; then
     4259  ac_header_preproc=yes
     4260else
     4261  echo "$as_me: failed program was:" >&5
     4262sed 's/^/| /' conftest.$ac_ext >&5
     4263
     4264  ac_header_preproc=no
     4265fi
     4266rm -f conftest.err conftest.$ac_ext
     4267echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4268echo "${ECHO_T}$ac_header_preproc" >&6
     4269
     4270# So?  What about this header?
     4271case $ac_header_compiler:$ac_header_preproc in
     4272  yes:no )
     4273    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4274echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4275    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4276echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4277    (
     4278      cat <<\_ASBOX
     4279## ------------------------------------ ##
     4280## Report this to bug-autoconf@gnu.org. ##
     4281## ------------------------------------ ##
     4282_ASBOX
     4283    ) |
     4284      sed "s/^/$as_me: WARNING:     /" >&2
     4285    ;;
     4286  no:yes )
     4287    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4288echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4289    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4290echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     4291    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4292echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4293    (
     4294      cat <<\_ASBOX
     4295## ------------------------------------ ##
     4296## Report this to bug-autoconf@gnu.org. ##
     4297## ------------------------------------ ##
     4298_ASBOX
     4299    ) |
     4300      sed "s/^/$as_me: WARNING:     /" >&2
     4301    ;;
     4302esac
     4303echo "$as_me:$LINENO: checking for $ac_header" >&5
     4304echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4305if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4306  echo $ECHO_N "(cached) $ECHO_C" >&6
     4307else
     4308  eval "$as_ac_Header=$ac_header_preproc"
     4309fi
     4310echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4311echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4312
     4313fi
     4314if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4315  cat >>confdefs.h <<_ACEOF
     4316#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4317_ACEOF
     4318
     4319else
     4320   { { echo "$as_me:$LINENO: error: gmp.h not found.  Use option --with-gmp to specify path" >&5
     4321echo "$as_me: error: gmp.h not found.  Use option --with-gmp to specify path" >&2;}
     4322   { (exit 1); exit 1; }; }
     4323fi
     4324
    18334325done
    18344326
    18354327      unset ac_cv_header_gmp_h
    1836    
    1837 fi
    1838 done
    1839 
    1840 fi
    1841 
    1842 for ac_hdr in stdio.h stdlib.h string.h time.h math.h
     4328
     4329fi
     4330
     4331done
     4332
     4333fi
     4334
     4335
     4336
     4337
     4338
     4339
     4340for ac_header in stdio.h stdlib.h string.h time.h math.h
    18434341do
    1844 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1845 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1846 echo "configure:1847: checking for $ac_hdr" >&5
    1847 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    1848   echo $ac_n "(cached) $ac_c" 1>&6
    1849 else
    1850   cat > conftest.$ac_ext <<EOF
    1851 #line 1852 "configure"
    1852 #include "confdefs.h"
    1853 #include <$ac_hdr>
    1854 EOF
    1855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1856 { (eval echo configure:1857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1858 if test -z "$ac_err"; then
    1859   rm -rf conftest*
    1860   eval "ac_cv_header_$ac_safe=yes"
    1861 else
    1862   echo "$ac_err" >&5
    1863   echo "configure: failed program was:" >&5
    1864   cat conftest.$ac_ext >&5
    1865   rm -rf conftest*
    1866   eval "ac_cv_header_$ac_safe=no"
    1867 fi
    1868 rm -f conftest*
    1869 fi
    1870 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    1871   echo "$ac_t""yes" 1>&6
    1872     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    1873   cat >> confdefs.h <<EOF
    1874 #define $ac_tr_hdr 1
    1875 EOF
    1876  
    1877 else
    1878   echo "$ac_t""no" 1>&6
    1879 { echo "configure: error: C header files not found" 1>&2; exit 1; }
    1880 fi
     4342as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4343if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4344  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4345echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4346if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4347  echo $ECHO_N "(cached) $ECHO_C" >&6
     4348fi
     4349echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4350echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4351else
     4352  # Is the header compilable?
     4353echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4354echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4355cat >conftest.$ac_ext <<_ACEOF
     4356#line $LINENO "configure"
     4357/* confdefs.h.  */
     4358_ACEOF
     4359cat confdefs.h >>conftest.$ac_ext
     4360cat >>conftest.$ac_ext <<_ACEOF
     4361/* end confdefs.h.  */
     4362$ac_includes_default
     4363#include <$ac_header>
     4364_ACEOF
     4365rm -f conftest.$ac_objext
     4366if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4367  (eval $ac_compile) 2>&5
     4368  ac_status=$?
     4369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4370  (exit $ac_status); } &&
     4371         { ac_try='test -s conftest.$ac_objext'
     4372  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4373  (eval $ac_try) 2>&5
     4374  ac_status=$?
     4375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4376  (exit $ac_status); }; }; then
     4377  ac_header_compiler=yes
     4378else
     4379  echo "$as_me: failed program was:" >&5
     4380sed 's/^/| /' conftest.$ac_ext >&5
     4381
     4382ac_header_compiler=no
     4383fi
     4384rm -f conftest.$ac_objext conftest.$ac_ext
     4385echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4386echo "${ECHO_T}$ac_header_compiler" >&6
     4387
     4388# Is the header present?
     4389echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4390echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4391cat >conftest.$ac_ext <<_ACEOF
     4392#line $LINENO "configure"
     4393/* confdefs.h.  */
     4394_ACEOF
     4395cat confdefs.h >>conftest.$ac_ext
     4396cat >>conftest.$ac_ext <<_ACEOF
     4397/* end confdefs.h.  */
     4398#include <$ac_header>
     4399_ACEOF
     4400if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4401  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4402  ac_status=$?
     4403  grep -v '^ *+' conftest.er1 >conftest.err
     4404  rm -f conftest.er1
     4405  cat conftest.err >&5
     4406  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4407  (exit $ac_status); } >/dev/null; then
     4408  if test -s conftest.err; then
     4409    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4410  else
     4411    ac_cpp_err=
     4412  fi
     4413else
     4414  ac_cpp_err=yes
     4415fi
     4416if test -z "$ac_cpp_err"; then
     4417  ac_header_preproc=yes
     4418else
     4419  echo "$as_me: failed program was:" >&5
     4420sed 's/^/| /' conftest.$ac_ext >&5
     4421
     4422  ac_header_preproc=no
     4423fi
     4424rm -f conftest.err conftest.$ac_ext
     4425echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4426echo "${ECHO_T}$ac_header_preproc" >&6
     4427
     4428# So?  What about this header?
     4429case $ac_header_compiler:$ac_header_preproc in
     4430  yes:no )
     4431    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4432echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4433    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4434echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4435    (
     4436      cat <<\_ASBOX
     4437## ------------------------------------ ##
     4438## Report this to bug-autoconf@gnu.org. ##
     4439## ------------------------------------ ##
     4440_ASBOX
     4441    ) |
     4442      sed "s/^/$as_me: WARNING:     /" >&2
     4443    ;;
     4444  no:yes )
     4445    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4446echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4447    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4448echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     4449    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4450echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4451    (
     4452      cat <<\_ASBOX
     4453## ------------------------------------ ##
     4454## Report this to bug-autoconf@gnu.org. ##
     4455## ------------------------------------ ##
     4456_ASBOX
     4457    ) |
     4458      sed "s/^/$as_me: WARNING:     /" >&2
     4459    ;;
     4460esac
     4461echo "$as_me:$LINENO: checking for $ac_header" >&5
     4462echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4463if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4464  echo $ECHO_N "(cached) $ECHO_C" >&6
     4465else
     4466  eval "$as_ac_Header=$ac_header_preproc"
     4467fi
     4468echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4469echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4470
     4471fi
     4472if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4473  cat >>confdefs.h <<_ACEOF
     4474#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4475_ACEOF
     4476
     4477else
     4478   { { echo "$as_me:$LINENO: error: C header files not found" >&5
     4479echo "$as_me: error: C header files not found" >&2;}
     4480   { (exit 1); exit 1; }; }
     4481fi
     4482
    18814483done
    18824484
    18834485
    18844486if test "x$enable_streamio" != xno; then
    1885   for ac_hdr in iostream.h strstream.h fstream.h
     4487
     4488
     4489
     4490for ac_header in iostream.h strstream.h fstream.h
    18864491do
    1887 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1888 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1889 echo "configure:1890: checking for $ac_hdr" >&5
    1890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    1891   echo $ac_n "(cached) $ac_c" 1>&6
    1892 else
    1893   cat > conftest.$ac_ext <<EOF
    1894 #line 1895 "configure"
    1895 #include "confdefs.h"
    1896 #include <$ac_hdr>
    1897 EOF
    1898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1899 { (eval echo configure:1900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1901 if test -z "$ac_err"; then
    1902   rm -rf conftest*
    1903   eval "ac_cv_header_$ac_safe=yes"
    1904 else
    1905   echo "$ac_err" >&5
    1906   echo "configure: failed program was:" >&5
    1907   cat conftest.$ac_ext >&5
    1908   rm -rf conftest*
    1909   eval "ac_cv_header_$ac_safe=no"
    1910 fi
    1911 rm -f conftest*
    1912 fi
    1913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    1914   echo "$ac_t""yes" 1>&6
    1915     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    1916   cat >> confdefs.h <<EOF
    1917 #define $ac_tr_hdr 1
    1918 EOF
    1919  
    1920 else
    1921   echo "$ac_t""no" 1>&6
    1922 echo "configure: warning: C++ header files not found" 1>&2
    1923 fi
    1924 done
    1925 
    1926   for ac_hdr in ctype.h
     4492as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4493if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4494  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4495echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4496if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4497  echo $ECHO_N "(cached) $ECHO_C" >&6
     4498fi
     4499echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4500echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4501else
     4502  # Is the header compilable?
     4503echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4504echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4505cat >conftest.$ac_ext <<_ACEOF
     4506#line $LINENO "configure"
     4507/* confdefs.h.  */
     4508_ACEOF
     4509cat confdefs.h >>conftest.$ac_ext
     4510cat >>conftest.$ac_ext <<_ACEOF
     4511/* end confdefs.h.  */
     4512$ac_includes_default
     4513#include <$ac_header>
     4514_ACEOF
     4515rm -f conftest.$ac_objext
     4516if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4517  (eval $ac_compile) 2>&5
     4518  ac_status=$?
     4519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4520  (exit $ac_status); } &&
     4521         { ac_try='test -s conftest.$ac_objext'
     4522  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4523  (eval $ac_try) 2>&5
     4524  ac_status=$?
     4525  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4526  (exit $ac_status); }; }; then
     4527  ac_header_compiler=yes
     4528else
     4529  echo "$as_me: failed program was:" >&5
     4530sed 's/^/| /' conftest.$ac_ext >&5
     4531
     4532ac_header_compiler=no
     4533fi
     4534rm -f conftest.$ac_objext conftest.$ac_ext
     4535echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4536echo "${ECHO_T}$ac_header_compiler" >&6
     4537
     4538# Is the header present?
     4539echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4540echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4541cat >conftest.$ac_ext <<_ACEOF
     4542#line $LINENO "configure"
     4543/* confdefs.h.  */
     4544_ACEOF
     4545cat confdefs.h >>conftest.$ac_ext
     4546cat >>conftest.$ac_ext <<_ACEOF
     4547/* end confdefs.h.  */
     4548#include <$ac_header>
     4549_ACEOF
     4550if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4551  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4552  ac_status=$?
     4553  grep -v '^ *+' conftest.er1 >conftest.err
     4554  rm -f conftest.er1
     4555  cat conftest.err >&5
     4556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4557  (exit $ac_status); } >/dev/null; then
     4558  if test -s conftest.err; then
     4559    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4560  else
     4561    ac_cpp_err=
     4562  fi
     4563else
     4564  ac_cpp_err=yes
     4565fi
     4566if test -z "$ac_cpp_err"; then
     4567  ac_header_preproc=yes
     4568else
     4569  echo "$as_me: failed program was:" >&5
     4570sed 's/^/| /' conftest.$ac_ext >&5
     4571
     4572  ac_header_preproc=no
     4573fi
     4574rm -f conftest.err conftest.$ac_ext
     4575echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4576echo "${ECHO_T}$ac_header_preproc" >&6
     4577
     4578# So?  What about this header?
     4579case $ac_header_compiler:$ac_header_preproc in
     4580  yes:no )
     4581    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4582echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4583    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4584echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4585    (
     4586      cat <<\_ASBOX
     4587## ------------------------------------ ##
     4588## Report this to bug-autoconf@gnu.org. ##
     4589## ------------------------------------ ##
     4590_ASBOX
     4591    ) |
     4592      sed "s/^/$as_me: WARNING:     /" >&2
     4593    ;;
     4594  no:yes )
     4595    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4596echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4597    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4598echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     4599    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4600echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4601    (
     4602      cat <<\_ASBOX
     4603## ------------------------------------ ##
     4604## Report this to bug-autoconf@gnu.org. ##
     4605## ------------------------------------ ##
     4606_ASBOX
     4607    ) |
     4608      sed "s/^/$as_me: WARNING:     /" >&2
     4609    ;;
     4610esac
     4611echo "$as_me:$LINENO: checking for $ac_header" >&5
     4612echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4613if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4614  echo $ECHO_N "(cached) $ECHO_C" >&6
     4615else
     4616  eval "$as_ac_Header=$ac_header_preproc"
     4617fi
     4618echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4619echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4620
     4621fi
     4622if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4623  cat >>confdefs.h <<_ACEOF
     4624#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4625_ACEOF
     4626
     4627else
     4628   { echo "$as_me:$LINENO: WARNING: C++ header files not found" >&5
     4629echo "$as_me: WARNING: C++ header files not found" >&2;}
     4630fi
     4631
     4632done
     4633
     4634
     4635for ac_header in ctype.h
    19274636do
    1928 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1929 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1930 echo "configure:1931: checking for $ac_hdr" >&5
    1931 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    1932   echo $ac_n "(cached) $ac_c" 1>&6
    1933 else
    1934   cat > conftest.$ac_ext <<EOF
    1935 #line 1936 "configure"
    1936 #include "confdefs.h"
    1937 #include <$ac_hdr>
    1938 EOF
    1939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1940 { (eval echo configure:1941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1942 if test -z "$ac_err"; then
    1943   rm -rf conftest*
    1944   eval "ac_cv_header_$ac_safe=yes"
    1945 else
    1946   echo "$ac_err" >&5
    1947   echo "configure: failed program was:" >&5
    1948   cat conftest.$ac_ext >&5
    1949   rm -rf conftest*
    1950   eval "ac_cv_header_$ac_safe=no"
    1951 fi
    1952 rm -f conftest*
    1953 fi
    1954 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    1955   echo "$ac_t""yes" 1>&6
    1956     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    1957   cat >> confdefs.h <<EOF
    1958 #define $ac_tr_hdr 1
    1959 EOF
    1960  
    1961 else
    1962   echo "$ac_t""no" 1>&6
    1963 { echo "configure: error: standard C header files not found" 1>&2; exit 1; }
    1964 fi
     4637as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4638if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4639  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4640echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4641if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4642  echo $ECHO_N "(cached) $ECHO_C" >&6
     4643fi
     4644echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4645echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4646else
     4647  # Is the header compilable?
     4648echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4649echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4650cat >conftest.$ac_ext <<_ACEOF
     4651#line $LINENO "configure"
     4652/* confdefs.h.  */
     4653_ACEOF
     4654cat confdefs.h >>conftest.$ac_ext
     4655cat >>conftest.$ac_ext <<_ACEOF
     4656/* end confdefs.h.  */
     4657$ac_includes_default
     4658#include <$ac_header>
     4659_ACEOF
     4660rm -f conftest.$ac_objext
     4661if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4662  (eval $ac_compile) 2>&5
     4663  ac_status=$?
     4664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4665  (exit $ac_status); } &&
     4666         { ac_try='test -s conftest.$ac_objext'
     4667  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4668  (eval $ac_try) 2>&5
     4669  ac_status=$?
     4670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4671  (exit $ac_status); }; }; then
     4672  ac_header_compiler=yes
     4673else
     4674  echo "$as_me: failed program was:" >&5
     4675sed 's/^/| /' conftest.$ac_ext >&5
     4676
     4677ac_header_compiler=no
     4678fi
     4679rm -f conftest.$ac_objext conftest.$ac_ext
     4680echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4681echo "${ECHO_T}$ac_header_compiler" >&6
     4682
     4683# Is the header present?
     4684echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4685echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4686cat >conftest.$ac_ext <<_ACEOF
     4687#line $LINENO "configure"
     4688/* confdefs.h.  */
     4689_ACEOF
     4690cat confdefs.h >>conftest.$ac_ext
     4691cat >>conftest.$ac_ext <<_ACEOF
     4692/* end confdefs.h.  */
     4693#include <$ac_header>
     4694_ACEOF
     4695if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4696  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4697  ac_status=$?
     4698  grep -v '^ *+' conftest.er1 >conftest.err
     4699  rm -f conftest.er1
     4700  cat conftest.err >&5
     4701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4702  (exit $ac_status); } >/dev/null; then
     4703  if test -s conftest.err; then
     4704    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4705  else
     4706    ac_cpp_err=
     4707  fi
     4708else
     4709  ac_cpp_err=yes
     4710fi
     4711if test -z "$ac_cpp_err"; then
     4712  ac_header_preproc=yes
     4713else
     4714  echo "$as_me: failed program was:" >&5
     4715sed 's/^/| /' conftest.$ac_ext >&5
     4716
     4717  ac_header_preproc=no
     4718fi
     4719rm -f conftest.err conftest.$ac_ext
     4720echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4721echo "${ECHO_T}$ac_header_preproc" >&6
     4722
     4723# So?  What about this header?
     4724case $ac_header_compiler:$ac_header_preproc in
     4725  yes:no )
     4726    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4727echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4728    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4729echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4730    (
     4731      cat <<\_ASBOX
     4732## ------------------------------------ ##
     4733## Report this to bug-autoconf@gnu.org. ##
     4734## ------------------------------------ ##
     4735_ASBOX
     4736    ) |
     4737      sed "s/^/$as_me: WARNING:     /" >&2
     4738    ;;
     4739  no:yes )
     4740    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4741echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4742    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4743echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     4744    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4745echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4746    (
     4747      cat <<\_ASBOX
     4748## ------------------------------------ ##
     4749## Report this to bug-autoconf@gnu.org. ##
     4750## ------------------------------------ ##
     4751_ASBOX
     4752    ) |
     4753      sed "s/^/$as_me: WARNING:     /" >&2
     4754    ;;
     4755esac
     4756echo "$as_me:$LINENO: checking for $ac_header" >&5
     4757echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4758if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4759  echo $ECHO_N "(cached) $ECHO_C" >&6
     4760else
     4761  eval "$as_ac_Header=$ac_header_preproc"
     4762fi
     4763echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4764echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4765
     4766fi
     4767if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4768  cat >>confdefs.h <<_ACEOF
     4769#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4770_ACEOF
     4771
     4772else
     4773   { { echo "$as_me:$LINENO: error: standard C header files not found" >&5
     4774echo "$as_me: error: standard C header files not found" >&2;}
     4775   { (exit 1); exit 1; }; }
     4776fi
     4777
    19654778done
    19664779
     
    19684781  # since the FTE will compile only with stream IO enabled we will not
    19694782  # check for the necessary header files if stream IO is disabled
    1970   for ac_hdr in stdarg.h signal.h errno.h unistd.h
     4783
     4784
     4785
     4786
     4787for ac_header in stdarg.h signal.h errno.h unistd.h
    19714788do
    1972 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    1973 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1974 echo "configure:1975: checking for $ac_hdr" >&5
    1975 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    1976   echo $ac_n "(cached) $ac_c" 1>&6
    1977 else
    1978   cat > conftest.$ac_ext <<EOF
    1979 #line 1980 "configure"
    1980 #include "confdefs.h"
    1981 #include <$ac_hdr>
    1982 EOF
    1983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1984 { (eval echo configure:1985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    1986 if test -z "$ac_err"; then
    1987   rm -rf conftest*
    1988   eval "ac_cv_header_$ac_safe=yes"
    1989 else
    1990   echo "$ac_err" >&5
    1991   echo "configure: failed program was:" >&5
    1992   cat conftest.$ac_ext >&5
    1993   rm -rf conftest*
    1994   eval "ac_cv_header_$ac_safe=no"
    1995 fi
    1996 rm -f conftest*
    1997 fi
    1998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    1999   echo "$ac_t""yes" 1>&6
    2000     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    2001   cat >> confdefs.h <<EOF
    2002 #define $ac_tr_hdr 1
    2003 EOF
    2004  
    2005 else
    2006   echo "$ac_t""no" 1>&6
    2007 echo "configure: warning: C/C++ header files not found.
     4789as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4790if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4791  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4792echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4793if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4794  echo $ECHO_N "(cached) $ECHO_C" >&6
     4795fi
     4796echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4797echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4798else
     4799  # Is the header compilable?
     4800echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4801echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4802cat >conftest.$ac_ext <<_ACEOF
     4803#line $LINENO "configure"
     4804/* confdefs.h.  */
     4805_ACEOF
     4806cat confdefs.h >>conftest.$ac_ext
     4807cat >>conftest.$ac_ext <<_ACEOF
     4808/* end confdefs.h.  */
     4809$ac_includes_default
     4810#include <$ac_header>
     4811_ACEOF
     4812rm -f conftest.$ac_objext
     4813if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4814  (eval $ac_compile) 2>&5
     4815  ac_status=$?
     4816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4817  (exit $ac_status); } &&
     4818         { ac_try='test -s conftest.$ac_objext'
     4819  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4820  (eval $ac_try) 2>&5
     4821  ac_status=$?
     4822  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4823  (exit $ac_status); }; }; then
     4824  ac_header_compiler=yes
     4825else
     4826  echo "$as_me: failed program was:" >&5
     4827sed 's/^/| /' conftest.$ac_ext >&5
     4828
     4829ac_header_compiler=no
     4830fi
     4831rm -f conftest.$ac_objext conftest.$ac_ext
     4832echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4833echo "${ECHO_T}$ac_header_compiler" >&6
     4834
     4835# Is the header present?
     4836echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4837echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4838cat >conftest.$ac_ext <<_ACEOF
     4839#line $LINENO "configure"
     4840/* confdefs.h.  */
     4841_ACEOF
     4842cat confdefs.h >>conftest.$ac_ext
     4843cat >>conftest.$ac_ext <<_ACEOF
     4844/* end confdefs.h.  */
     4845#include <$ac_header>
     4846_ACEOF
     4847if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4848  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4849  ac_status=$?
     4850  grep -v '^ *+' conftest.er1 >conftest.err
     4851  rm -f conftest.er1
     4852  cat conftest.err >&5
     4853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4854  (exit $ac_status); } >/dev/null; then
     4855  if test -s conftest.err; then
     4856    ac_cpp_err=$ac_cxx_preproc_warn_flag
     4857  else
     4858    ac_cpp_err=
     4859  fi
     4860else
     4861  ac_cpp_err=yes
     4862fi
     4863if test -z "$ac_cpp_err"; then
     4864  ac_header_preproc=yes
     4865else
     4866  echo "$as_me: failed program was:" >&5
     4867sed 's/^/| /' conftest.$ac_ext >&5
     4868
     4869  ac_header_preproc=no
     4870fi
     4871rm -f conftest.err conftest.$ac_ext
     4872echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4873echo "${ECHO_T}$ac_header_preproc" >&6
     4874
     4875# So?  What about this header?
     4876case $ac_header_compiler:$ac_header_preproc in
     4877  yes:no )
     4878    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4879echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4880    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4881echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4882    (
     4883      cat <<\_ASBOX
     4884## ------------------------------------ ##
     4885## Report this to bug-autoconf@gnu.org. ##
     4886## ------------------------------------ ##
     4887_ASBOX
     4888    ) |
     4889      sed "s/^/$as_me: WARNING:     /" >&2
     4890    ;;
     4891  no:yes )
     4892    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4893echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4894    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     4895echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     4896    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4897echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4898    (
     4899      cat <<\_ASBOX
     4900## ------------------------------------ ##
     4901## Report this to bug-autoconf@gnu.org. ##
     4902## ------------------------------------ ##
     4903_ASBOX
     4904    ) |
     4905      sed "s/^/$as_me: WARNING:     /" >&2
     4906    ;;
     4907esac
     4908echo "$as_me:$LINENO: checking for $ac_header" >&5
     4909echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4910if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4911  echo $ECHO_N "(cached) $ECHO_C" >&6
     4912else
     4913  eval "$as_ac_Header=$ac_header_preproc"
     4914fi
     4915echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4916echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4917
     4918fi
     4919if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4920  cat >>confdefs.h <<_ACEOF
     4921#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4922_ACEOF
     4923
     4924else
     4925   { echo "$as_me:$LINENO: WARNING: C/C++ header files not found.
    20084926                    You will not be able to build the Factory Test Environment
    2009                     (though Factory itself should compile)" 1>&2
    2010 fi
     4927                    (though Factory itself should compile)" >&5
     4928echo "$as_me: WARNING: C/C++ header files not found.
     4929                    You will not be able to build the Factory Test Environment
     4930                    (though Factory itself should compile)" >&2;}
     4931fi
     4932
    20114933done
    20124934
     
    20144936
    20154937if test "x$enable_timing" != xno; then
    2016   for ac_hdr in sys/param.h sys/times.h
     4938
     4939
     4940for ac_header in sys/param.h sys/times.h
    20174941do
    2018 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    2019 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2020 echo "configure:2021: checking for $ac_hdr" >&5
    2021 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2022   echo $ac_n "(cached) $ac_c" 1>&6
    2023 else
    2024   cat > conftest.$ac_ext <<EOF
    2025 #line 2026 "configure"
    2026 #include "confdefs.h"
    2027 #include <$ac_hdr>
    2028 EOF
    2029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2030 { (eval echo configure:2031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2031 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2032 if test -z "$ac_err"; then
    2033   rm -rf conftest*
    2034   eval "ac_cv_header_$ac_safe=yes"
    2035 else
    2036   echo "$ac_err" >&5
    2037   echo "configure: failed program was:" >&5
    2038   cat conftest.$ac_ext >&5
    2039   rm -rf conftest*
    2040   eval "ac_cv_header_$ac_safe=no"
    2041 fi
    2042 rm -f conftest*
    2043 fi
    2044 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2045   echo "$ac_t""yes" 1>&6
    2046     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    2047   cat >> confdefs.h <<EOF
    2048 #define $ac_tr_hdr 1
    2049 EOF
    2050  
    2051 else
    2052   echo "$ac_t""no" 1>&6
    2053 { echo "configure: error: \`sys/times.h' or \`sys/param.h' not found.  Try
    2054                   \`configure --disable-timing'" 1>&2; exit 1; }
    2055 fi
    2056 done
    2057 
    2058 fi
    2059 
    2060 for ac_hdr in omalloc.h
     4942as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4943if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4944  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4945echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4946if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4947  echo $ECHO_N "(cached) $ECHO_C" >&6
     4948fi
     4949echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4950echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4951else
     4952  # Is the header compilable?
     4953echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4954echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4955cat >conftest.$ac_ext <<_ACEOF
     4956#line $LINENO "configure"
     4957/* confdefs.h.  */
     4958_ACEOF
     4959cat confdefs.h >>conftest.$ac_ext
     4960cat >>conftest.$ac_ext <<_ACEOF
     4961/* end confdefs.h.  */
     4962$ac_includes_default
     4963#include <$ac_header>
     4964_ACEOF
     4965rm -f conftest.$ac_objext
     4966if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4967  (eval $ac_compile) 2>&5
     4968  ac_status=$?
     4969  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4970  (exit $ac_status); } &&
     4971         { ac_try='test -s conftest.$ac_objext'
     4972  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4973  (eval $ac_try) 2>&5
     4974  ac_status=$?
     4975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4976  (exit $ac_status); }; }; then
     4977  ac_header_compiler=yes
     4978else
     4979  echo "$as_me: failed program was:" >&5
     4980sed 's/^/| /' conftest.$ac_ext >&5
     4981
     4982ac_header_compiler=no
     4983fi
     4984rm -f conftest.$ac_objext conftest.$ac_ext
     4985echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4986echo "${ECHO_T}$ac_header_compiler" >&6
     4987
     4988# Is the header present?
     4989echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4990echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4991cat >conftest.$ac_ext <<_ACEOF
     4992#line $LINENO "configure"
     4993/* confdefs.h.  */
     4994_ACEOF
     4995cat confdefs.h >>conftest.$ac_ext
     4996cat >>conftest.$ac_ext <<_ACEOF
     4997/* end confdefs.h.  */
     4998#include <$ac_header>
     4999_ACEOF
     5000if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5001  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5002  ac_status=$?
     5003  grep -v '^ *+' conftest.er1 >conftest.err
     5004  rm -f conftest.er1
     5005  cat conftest.err >&5
     5006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5007  (exit $ac_status); } >/dev/null; then
     5008  if test -s conftest.err; then
     5009    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5010  else
     5011    ac_cpp_err=
     5012  fi
     5013else
     5014  ac_cpp_err=yes
     5015fi
     5016if test -z "$ac_cpp_err"; then
     5017  ac_header_preproc=yes
     5018else
     5019  echo "$as_me: failed program was:" >&5
     5020sed 's/^/| /' conftest.$ac_ext >&5
     5021
     5022  ac_header_preproc=no
     5023fi
     5024rm -f conftest.err conftest.$ac_ext
     5025echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5026echo "${ECHO_T}$ac_header_preproc" >&6
     5027
     5028# So?  What about this header?
     5029case $ac_header_compiler:$ac_header_preproc in
     5030  yes:no )
     5031    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5032echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5033    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5034echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5035    (
     5036      cat <<\_ASBOX
     5037## ------------------------------------ ##
     5038## Report this to bug-autoconf@gnu.org. ##
     5039## ------------------------------------ ##
     5040_ASBOX
     5041    ) |
     5042      sed "s/^/$as_me: WARNING:     /" >&2
     5043    ;;
     5044  no:yes )
     5045    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5046echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5047    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     5048echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     5049    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5050echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5051    (
     5052      cat <<\_ASBOX
     5053## ------------------------------------ ##
     5054## Report this to bug-autoconf@gnu.org. ##
     5055## ------------------------------------ ##
     5056_ASBOX
     5057    ) |
     5058      sed "s/^/$as_me: WARNING:     /" >&2
     5059    ;;
     5060esac
     5061echo "$as_me:$LINENO: checking for $ac_header" >&5
     5062echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5063if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5064  echo $ECHO_N "(cached) $ECHO_C" >&6
     5065else
     5066  eval "$as_ac_Header=$ac_header_preproc"
     5067fi
     5068echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5069echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5070
     5071fi
     5072if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5073  cat >>confdefs.h <<_ACEOF
     5074#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5075_ACEOF
     5076
     5077else
     5078   { { echo "$as_me:$LINENO: error: \`sys/times.h' or \`sys/param.h' not found.  Try
     5079                  \`configure --disable-timing'" >&5
     5080echo "$as_me: error: \`sys/times.h' or \`sys/param.h' not found.  Try
     5081                  \`configure --disable-timing'" >&2;}
     5082   { (exit 1); exit 1; }; }
     5083fi
     5084
     5085done
     5086
     5087fi
     5088
     5089
     5090for ac_header in omalloc.h
    20615091do
    2062 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    2063 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2064 echo "configure:2065: checking for $ac_hdr" >&5
    2065 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2066   echo $ac_n "(cached) $ac_c" 1>&6
    2067 else
    2068   cat > conftest.$ac_ext <<EOF
    2069 #line 2070 "configure"
    2070 #include "confdefs.h"
    2071 #include <$ac_hdr>
    2072 EOF
    2073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2074 { (eval echo configure:2075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2076 if test -z "$ac_err"; then
    2077   rm -rf conftest*
    2078   eval "ac_cv_header_$ac_safe=yes"
    2079 else
    2080   echo "$ac_err" >&5
    2081   echo "configure: failed program was:" >&5
    2082   cat conftest.$ac_ext >&5
    2083   rm -rf conftest*
    2084   eval "ac_cv_header_$ac_safe=no"
    2085 fi
    2086 rm -f conftest*
    2087 fi
    2088 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2089   echo "$ac_t""yes" 1>&6
    2090     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    2091   cat >> confdefs.h <<EOF
    2092 #define $ac_tr_hdr 1
    2093 EOF
    2094  
    2095 else
    2096   echo "$ac_t""no" 1>&6
    2097 fi
     5092as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5093if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5094  echo "$as_me:$LINENO: checking for $ac_header" >&5
     5095echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5096if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5097  echo $ECHO_N "(cached) $ECHO_C" >&6
     5098fi
     5099echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5100echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5101else
     5102  # Is the header compilable?
     5103echo "$as_me:$LINENO: checking $ac_header usability" >&5
     5104echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     5105cat >conftest.$ac_ext <<_ACEOF
     5106#line $LINENO "configure"
     5107/* confdefs.h.  */
     5108_ACEOF
     5109cat confdefs.h >>conftest.$ac_ext
     5110cat >>conftest.$ac_ext <<_ACEOF
     5111/* end confdefs.h.  */
     5112$ac_includes_default
     5113#include <$ac_header>
     5114_ACEOF
     5115rm -f conftest.$ac_objext
     5116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5117  (eval $ac_compile) 2>&5
     5118  ac_status=$?
     5119  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5120  (exit $ac_status); } &&
     5121         { ac_try='test -s conftest.$ac_objext'
     5122  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5123  (eval $ac_try) 2>&5
     5124  ac_status=$?
     5125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5126  (exit $ac_status); }; }; then
     5127  ac_header_compiler=yes
     5128else
     5129  echo "$as_me: failed program was:" >&5
     5130sed 's/^/| /' conftest.$ac_ext >&5
     5131
     5132ac_header_compiler=no
     5133fi
     5134rm -f conftest.$ac_objext conftest.$ac_ext
     5135echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5136echo "${ECHO_T}$ac_header_compiler" >&6
     5137
     5138# Is the header present?
     5139echo "$as_me:$LINENO: checking $ac_header presence" >&5
     5140echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     5141cat >conftest.$ac_ext <<_ACEOF
     5142#line $LINENO "configure"
     5143/* confdefs.h.  */
     5144_ACEOF
     5145cat confdefs.h >>conftest.$ac_ext
     5146cat >>conftest.$ac_ext <<_ACEOF
     5147/* end confdefs.h.  */
     5148#include <$ac_header>
     5149_ACEOF
     5150if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     5151  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     5152  ac_status=$?
     5153  grep -v '^ *+' conftest.er1 >conftest.err
     5154  rm -f conftest.er1
     5155  cat conftest.err >&5
     5156  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5157  (exit $ac_status); } >/dev/null; then
     5158  if test -s conftest.err; then
     5159    ac_cpp_err=$ac_cxx_preproc_warn_flag
     5160  else
     5161    ac_cpp_err=
     5162  fi
     5163else
     5164  ac_cpp_err=yes
     5165fi
     5166if test -z "$ac_cpp_err"; then
     5167  ac_header_preproc=yes
     5168else
     5169  echo "$as_me: failed program was:" >&5
     5170sed 's/^/| /' conftest.$ac_ext >&5
     5171
     5172  ac_header_preproc=no
     5173fi
     5174rm -f conftest.err conftest.$ac_ext
     5175echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5176echo "${ECHO_T}$ac_header_preproc" >&6
     5177
     5178# So?  What about this header?
     5179case $ac_header_compiler:$ac_header_preproc in
     5180  yes:no )
     5181    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     5182echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5183    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5184echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5185    (
     5186      cat <<\_ASBOX
     5187## ------------------------------------ ##
     5188## Report this to bug-autoconf@gnu.org. ##
     5189## ------------------------------------ ##
     5190_ASBOX
     5191    ) |
     5192      sed "s/^/$as_me: WARNING:     /" >&2
     5193    ;;
     5194  no:yes )
     5195    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     5196echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     5197    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
     5198echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
     5199    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     5200echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     5201    (
     5202      cat <<\_ASBOX
     5203## ------------------------------------ ##
     5204## Report this to bug-autoconf@gnu.org. ##
     5205## ------------------------------------ ##
     5206_ASBOX
     5207    ) |
     5208      sed "s/^/$as_me: WARNING:     /" >&2
     5209    ;;
     5210esac
     5211echo "$as_me:$LINENO: checking for $ac_header" >&5
     5212echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     5213if eval "test \"\${$as_ac_Header+set}\" = set"; then
     5214  echo $ECHO_N "(cached) $ECHO_C" >&6
     5215else
     5216  eval "$as_ac_Header=$ac_header_preproc"
     5217fi
     5218echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     5219echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     5220
     5221fi
     5222if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5223  cat >>confdefs.h <<_ACEOF
     5224#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5225_ACEOF
     5226
     5227fi
     5228
    20985229done
    20995230
     
    21085239# nextstep, checking with C++ may fail.
    21095240ac_ext=c
    2110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    21115241ac_cpp='$CPP $CPPFLAGS'
    2112 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2113 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    2114 cross_compiling=$ac_cv_prog_cc_cross
     5242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5244ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21155245
    21165246
     
    21285258
    21295259# arithmetic shift
    2130 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6
    2131 echo "configure:2132: checking whether your compiler does arithmetic shifts" >&5
    2132 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    2133   echo $ac_n "(cached) $ac_c" 1>&6
     5260echo "$as_me:$LINENO: checking whether your compiler does arithmetic shifts" >&5
     5261echo $ECHO_N "checking whether your compiler does arithmetic shifts... $ECHO_C" >&6
     5262if test "${ac_cv_shift+set}" = set; then
     5263  echo $ECHO_N "(cached) $ECHO_C" >&6
    21345264else
    21355265   if test "$cross_compiling" = yes; then
    21365266  ac_cv_shift=yes
    21375267else
    2138   cat > conftest.$ac_ext <<EOF
    2139 #line 2140 "configure"
    2140 #include "confdefs.h"
    2141  int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    2142 EOF
    2143 if { (eval echo configure:2144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    2144 then
     5268  cat >conftest.$ac_ext <<_ACEOF
     5269#line $LINENO "configure"
     5270/* confdefs.h.  */
     5271_ACEOF
     5272cat confdefs.h >>conftest.$ac_ext
     5273cat >>conftest.$ac_ext <<_ACEOF
     5274/* end confdefs.h.  */
     5275 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
     5276_ACEOF
     5277rm -f conftest$ac_exeext
     5278if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5279  (eval $ac_link) 2>&5
     5280  ac_status=$?
     5281  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5282  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     5283  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5284  (eval $ac_try) 2>&5
     5285  ac_status=$?
     5286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5287  (exit $ac_status); }; }; then
    21455288  ac_cv_shift=yes
    21465289else
    2147   echo "configure: failed program was:" >&5
    2148   cat conftest.$ac_ext >&5
    2149   rm -fr conftest*
    2150   ac_cv_shift=no
    2151 fi
    2152 rm -fr conftest*
    2153 fi
    2154  
    2155 fi
    2156 
    2157 if test "x$ac_cv_shift" = xyes; then   
    2158   echo "$ac_t""yes" 1>&6
    2159 else
    2160   echo "$ac_t""no" 1>&6
     5290  echo "$as_me: program exited with status $ac_status" >&5
     5291echo "$as_me: failed program was:" >&5
     5292sed 's/^/| /' conftest.$ac_ext >&5
     5293
     5294( exit $ac_status )
     5295ac_cv_shift=no
     5296fi
     5297rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     5298fi
     5299fi
     5300
     5301if test "x$ac_cv_shift" = xyes; then
     5302  echo "$as_me:$LINENO: result: yes" >&5
     5303echo "${ECHO_T}yes" >&6
     5304else
     5305  echo "$as_me:$LINENO: result: no" >&5
     5306echo "${ECHO_T}no" >&6
    21615307fi
    21625308
     
    22145360
    22155361
    2216 ac_ext=C
    2217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     5362
     5363ac_ext=cc
    22185364ac_cpp='$CXXCPP $CPPFLAGS'
    2219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    2221 cross_compiling=$ac_cv_prog_cxx_cross
     5365ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5366ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5367ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    22225368
    22235369# check whether CXX accepts -fno-rtti
    2224 echo $ac_n "checking whether gcc accepts -fno-rtti""... $ac_c" 1>&6
    2225 echo "configure:2226: checking whether gcc accepts -fno-rtti" >&5
     5370echo "$as_me:$LINENO: checking whether gcc accepts -fno-rtti" >&5
     5371echo $ECHO_N "checking whether gcc accepts -fno-rtti... $ECHO_C" >&6
    22265372tmp_flags=${CXXFLAGS}
    22275373CXXFLAGS="${CXXFLAGS} -fno-rtti"
    2228 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
    2229   echo $ac_n "(cached) $ac_c" 1>&6
    2230 else
    2231   cat > conftest.$ac_ext <<EOF
    2232 #line 2233 "configure"
    2233 #include "confdefs.h"
    2234 
    2235 int main() {
    2236 
    2237 ; return 0; }
    2238 EOF
    2239 if { (eval echo configure:2240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2240   rm -rf conftest*
     5374if test "${ac_cv_cxx_have_rtti+set}" = set; then
     5375  echo $ECHO_N "(cached) $ECHO_C" >&6
     5376else
     5377  cat >conftest.$ac_ext <<_ACEOF
     5378#line $LINENO "configure"
     5379/* confdefs.h.  */
     5380_ACEOF
     5381cat confdefs.h >>conftest.$ac_ext
     5382cat >>conftest.$ac_ext <<_ACEOF
     5383/* end confdefs.h.  */
     5384
     5385int
     5386main ()
     5387{
     5388
     5389  ;
     5390  return 0;
     5391}
     5392_ACEOF
     5393rm -f conftest.$ac_objext
     5394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     5395  (eval $ac_compile) 2>&5
     5396  ac_status=$?
     5397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5398  (exit $ac_status); } &&
     5399         { ac_try='test -s conftest.$ac_objext'
     5400  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5401  (eval $ac_try) 2>&5
     5402  ac_status=$?
     5403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5404  (exit $ac_status); }; }; then
    22415405  ac_cv_cxx_have_rtti=yes
    22425406else
    2243   echo "configure: failed program was:" >&5
    2244   cat conftest.$ac_ext >&5
    2245   rm -rf conftest*
    2246   ac_cv_cxx_have_rtti=no
    2247 fi
    2248 rm -f conftest*
    2249 
    2250 fi
    2251 
    2252 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6
     5407  echo "$as_me: failed program was:" >&5
     5408sed 's/^/| /' conftest.$ac_ext >&5
     5409
     5410ac_cv_cxx_have_rtti=no
     5411fi
     5412rm -f conftest.$ac_objext conftest.$ac_ext
     5413
     5414fi
     5415
     5416echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_rtti}" >&5
     5417echo "${ECHO_T}${ac_cv_cxx_have_rtti}" >&6
    22535418CXXFLAGS=$tmp_flags
    22545419if test "${ac_cv_cxx_have_rtti}" = yes; then
     
    22565421fi
    22575422
    2258 echo $ac_n "checking whether gcc accepts -fno-exceptions""... $ac_c" 1>&6
    2259 echo "configure:2260: checking whether gcc accepts -fno-exceptions" >&5
     5423echo "$as_me:$LINENO: checking whether gcc accepts -fno-exceptions" >&5
     5424echo $ECHO_N "checking whether gcc accepts -fno-exceptions... $ECHO_C" >&6
    22605425tmp_flags=${CXXFLAGS}
    22615426CXXFLAGS="${CXXFLAGS} -fno-exceptions"
    2262 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
    2263   echo $ac_n "(cached) $ac_c" 1>&6
    2264 else
    2265   cat > conftest.$ac_ext <<EOF
    2266 #line 2267 "configure"
    2267 #include "confdefs.h"
    2268 
    2269 int main() {
    2270 
    2271 ; return 0; }
    2272 EOF
    2273 if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2274   rm -rf conftest*
     5427if test "${ac_cv_cxx_have_exceptions+set}" = set; then
     5428  echo $ECHO_N "(cached) $ECHO_C" >&6
     5429else
     5430  cat >conftest.$ac_ext <<_ACEOF
     5431#line $LINENO "configure"
     5432/* confdefs.h.  */
     5433_ACEOF
     5434cat confdefs.h >>conftest.$ac_ext
     5435cat >>conftest.$ac_ext <<_ACEOF
     5436/* end confdefs.h.  */
     5437
     5438int
     5439main ()
     5440{
     5441
     5442  ;
     5443  return 0;
     5444}
     5445_ACEOF
     5446rm -f conftest.$ac_objext conftest$ac_exeext
     5447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     5448  (eval $ac_link) 2>&5
     5449  ac_status=$?
     5450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5451  (exit $ac_status); } &&
     5452         { ac_try='test -s conftest$ac_exeext'
     5453  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     5454  (eval $ac_try) 2>&5
     5455  ac_status=$?
     5456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5457  (exit $ac_status); }; }; then
    22755458  ac_cv_cxx_have_exceptions=yes
    22765459else
    2277   echo "configure: failed program was:" >&5
    2278   cat conftest.$ac_ext >&5
    2279   rm -rf conftest*
    2280   ac_cv_cxx_have_exceptions=no
    2281 fi
    2282 rm -f conftest*
    2283 
    2284 fi
    2285 
    2286 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6
     5460  echo "$as_me: failed program was:" >&5
     5461sed 's/^/| /' conftest.$ac_ext >&5
     5462
     5463ac_cv_cxx_have_exceptions=no
     5464fi
     5465rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     5466
     5467fi
     5468
     5469echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_exceptions}" >&5
     5470echo "${ECHO_T}${ac_cv_cxx_have_exceptions}" >&6
    22875471CXXFLAGS=$tmp_flags
    22885472if test "${ac_cv_cxx_have_exceptions}" = yes; then
     
    22905474fi
    22915475ac_ext=c
    2292 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    22935476ac_cpp='$CPP $CPPFLAGS'
    2294 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2295 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    2296 cross_compiling=$ac_cv_prog_cc_cross
     5477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5479ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22975480
    22985481
     
    23075490# Singular
    23085491if test "x$with_Singular" = xyes; then
    2309   cat >> confdefs.h <<\EOF
     5492  cat >>confdefs.h <<\_ACEOF
    23105493#define SINGULAR 1
    2311 EOF
     5494_ACEOF
    23125495
    23135496fi
     
    23155498# NTL
    23165499if test "x$with_NTL" = xyes; then
    2317   cat >> confdefs.h <<\EOF
     5500  cat >>confdefs.h <<\_ACEOF
    23185501#define HAVE_NTL 1
    2319 EOF
     5502_ACEOF
    23205503
    23215504fi
    23225505
    23235506# arithmetic shift
    2324 if test "x$ac_cv_shift" = xyes; then   
    2325   cat >> confdefs.h <<\EOF
     5507if test "x$ac_cv_shift" = xyes; then
     5508  cat >>confdefs.h <<\_ACEOF
    23265509#define HAS_ARITHMETIC_SHIFT 1
    2327 EOF
     5510_ACEOF
    23285511
    23295512fi
     
    23335516if test "x$gmp_in_installation" = xyes; then
    23345517  CPPFLAGS="-I\$(includedir) $CPPFLAGS"
    2335   LDFLAGS="-L\$(libdir) -lgmp $LDFLAGS"
    2336 fi
    2337 
    2338 echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6
    2339 echo "configure:2340: checking whether to use omalloc" >&5
     5518  if test "x$with_Singular" = xyes; then
     5519    LDFLAGS="-L\$(libdir) -lgmp $LDFLAGS"
     5520  fi
     5521fi
     5522
     5523echo "$as_me:$LINENO: checking whether to use omalloc" >&5
     5524echo $ECHO_N "checking whether to use omalloc... $ECHO_C" >&6
    23405525
    23415526if test "$with_omalloc" = yes; then
     
    23605545fi
    23615546if test "$with_omalloc" = yes; then
    2362   cat >> confdefs.h <<\EOF
     5547  cat >>confdefs.h <<\_ACEOF
    23635548#define HAVE_OMALLOC 1
    2364 EOF
    2365 
    2366   with_memman=no
    2367 fi
    2368 echo "$ac_t""$with_omalloc" 1>&6
     5549_ACEOF
     5550
     5551  with_memman=no
     5552fi
     5553echo "$as_me:$LINENO: result: $with_omalloc" >&5
     5554echo "${ECHO_T}$with_omalloc" >&6
    23695555if test "$warn_omalloc" = yes; then
    2370   echo "configure: warning: did not find omalloc.h -- install before compiling" 1>&2
    2371 fi
    2372 
    2373    
     5556  { echo "$as_me:$LINENO: WARNING: did not find omalloc.h -- install before compiling" >&5
     5557echo "$as_me: WARNING: did not find omalloc.h -- install before compiling" >&2;}
     5558fi
     5559
     5560
    23745561# memory manager
    23755562if test "x$with_memman" != xno; then
     
    23775564  installtargets="$installtargets installmem"
    23785565  uninstalltargets="$uninstalltargets uninstallmem"
    2379   cat >> confdefs.h <<\EOF
     5566  cat >>confdefs.h <<\_ACEOF
    23805567#define USE_MEMUTIL 1
    2381 EOF
     5568_ACEOF
    23825569
    23835570
     
    23855572    memmansrc="$memmansrc \$(oldmemmansrc)"
    23865573    memmanincl='$(oldmemmanincl)'
    2387     cat >> confdefs.h <<\EOF
     5574    cat >>confdefs.h <<\_ACEOF
    23885575#define USE_OLD_MEMMAN 1
    2389 EOF
     5576_ACEOF
    23905577
    23915578  else
     
    23945581
    23955582    if test "x$enable_memdebug" = xfull; then
    2396       cat >> confdefs.h <<\EOF
     5583      cat >>confdefs.h <<\_ACEOF
    23975584#define MDEBUG 1
    2398 EOF
     5585_ACEOF
    23995586
    24005587    elif test "x$enable_memdebug" != xno; then
    2401       cat >> confdefs.h <<\EOF
     5588      cat >>confdefs.h <<\_ACEOF
    24025589#define MDEBUG 0
    2403 EOF
     5590_ACEOF
    24045591
    24055592    fi
     
    24095596# "configurable inline methods"
    24105597if test "x$enable_cf_inline" != xno; then
    2411   cat >> confdefs.h <<\EOF
     5598  cat >>confdefs.h <<\_ACEOF
    24125599#define CF_USE_INLINE 1
    2413 EOF
     5600_ACEOF
    24145601
    24155602fi
     
    24175604# iostream
    24185605if test "x$enable_streamio" = xno; then
    2419   cat >> confdefs.h <<\EOF
     5606  cat >>confdefs.h <<\_ACEOF
    24205607#define NOSTREAMIO 1
    2421 EOF
     5608_ACEOF
    24225609
    24235610else
     
    24285615# assertions
    24295616if test "x$enable_assertions" = xno; then
    2430   cat >> confdefs.h <<\EOF
     5617  cat >>confdefs.h <<\_ACEOF
    24315618#define NOASSERT 1
    2432 EOF
     5619_ACEOF
    24335620
    24345621fi
     
    24365623# timing
    24375624if test "x$enable_timing" != xno; then
    2438   cat >> confdefs.h <<\EOF
     5625  cat >>confdefs.h <<\_ACEOF
    24395626#define TIMING 1
    2440 EOF
     5627_ACEOF
    24415628
    24425629fi
     
    24445631# debugoutput
    24455632if test "x$enable_debugoutput" != xno; then
    2446   cat >> confdefs.h <<\EOF
     5633  cat >>confdefs.h <<\_ACEOF
    24475634#define DEBUGOUTPUT 1
    2448 EOF
     5635_ACEOF
    24495636
    24505637fi
     
    24735660
    24745661
    2475 cat >> confdefs.h <<EOF
     5662cat >>confdefs.h <<_ACEOF
    24765663#define FACTORYVERSION "$factory_version"
    2477 EOF
    2478 
    2479 cat >> confdefs.h <<EOF
     5664_ACEOF
     5665
     5666cat >>confdefs.h <<_ACEOF
    24805667#define FACTORYCONFIGURATION "$factory_configuration"
    2481 EOF
    2482 
    2483 cat >> confdefs.h <<EOF
     5668_ACEOF
     5669
     5670cat >>confdefs.h <<_ACEOF
    24845671#define GFTABLEDIR "$explicit_gftabledir"
    2485 EOF
    2486 
    2487 
    2488 trap '' 1 2 15
    2489 cat > confcache <<\EOF
     5672_ACEOF
     5673
     5674
     5675                    ac_config_files="$ac_config_files GNUmakefile ftest/GNUmakefile"
     5676cat >confcache <<\_ACEOF
    24905677# This file is a shell script that caches the results of configure
    24915678# tests run on this system so they can be shared between configure
    2492 # scripts and configure runs.  It is not useful on other systems.
    2493 # If it contains results you don't want to keep, you may remove or edit it.
     5679# scripts and configure runs, see configure's option --config-cache.
     5680# It is not useful on other systems.  If it contains results you don't
     5681# want to keep, you may remove or edit it.
    24945682#
    2495 # By default, configure uses ./config.cache as the cache file,
    2496 # creating it if it does not exist already.  You can give configure
    2497 # the --cache-file=FILE option to use a different cache file; that is
    2498 # what configure does when it calls configure scripts in
    2499 # subdirectories, so they share the cache.
    2500 # Giving --cache-file=/dev/null disables caching, for debugging configure.
    2501 # config.status only pays attention to the cache file if you give it the
    2502 # --recheck option to rerun configure.
     5683# config.status only pays attention to the cache file if you give it
     5684# the --recheck option to rerun configure.
    25035685#
    2504 EOF
     5686# `ac_cv_env_foo' variables (set or unset) will be overridden when
     5687# loading this file, other *unset* `ac_cv_foo' will be assigned the
     5688# following values.
     5689
     5690_ACEOF
     5691
    25055692# The following way of writing the cache mishandles newlines in values,
    25065693# but we know of no workaround that is simple, portable, and efficient.
     
    25085695# Ultrix sh set writes to stderr and can't be redirected directly,
    25095696# and sets the high bit in the cache file unless we assign to the vars.
    2510 (set) 2>&1 |
    2511   case `(ac_space=' '; set | grep ac_space) 2>&1` in
    2512   *ac_space=\ *)
    2513     # `set' does not quote correctly, so add quotes (double-quote substitution
    2514     # turns \\\\ into \\, and sed turns \\ into \).
    2515     sed -n \
    2516       -e "s/'/'\\\\''/g" \
    2517       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    2518     ;;
    2519   *)
    2520     # `set' quotes correctly as required by POSIX, so do not add quotes.
    2521     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    2522     ;;
    2523   esac >> confcache
    2524 if cmp -s $cache_file confcache; then
    2525   :
    2526 else
     5697{
     5698  (set) 2>&1 |
     5699    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     5700    *ac_space=\ *)
     5701      # `set' does not quote correctly, so add quotes (double-quote
     5702      # substitution turns \\\\ into \\, and sed turns \\ into \).
     5703      sed -n \
     5704        "s/'/'\\\\''/g;
     5705          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     5706      ;;
     5707    *)
     5708      # `set' quotes correctly as required by POSIX, so do not add quotes.
     5709      sed -n \
     5710        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     5711      ;;
     5712    esac;
     5713} |
     5714  sed '
     5715     t clear
     5716     : clear
     5717     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     5718     t end
     5719     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     5720     : end' >>confcache
     5721if diff $cache_file confcache >/dev/null 2>&1; then :; else
    25275722  if test -w $cache_file; then
    2528     echo "updating cache $cache_file"
    2529     cat confcache > $cache_file
     5723    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     5724    cat confcache >$cache_file
    25305725  else
    25315726    echo "not updating unwritable cache $cache_file"
     
    25335728fi
    25345729rm -f confcache
    2535 
    2536 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    25375730
    25385731test "x$prefix" = xNONE && prefix=$ac_default_prefix
     
    25405733test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    25415734
    2542 # Any assignment to VPATH causes Sun make to only execute
    2543 # the first set of double-colon rules, so remove it if not needed.
    2544 # If there is a colon in the path, we need to keep it.
     5735# VPATH may cause trouble with some makes, so we remove $(srcdir),
     5736# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     5737# trailing colons and then remove the whole line if VPATH becomes empty
     5738# (actually we leave an empty line to preserve line numbers).
    25455739if test "x$srcdir" = x.; then
    2546   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
    2547 fi
    2548 
    2549 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
     5740  ac_vpsub='/^[         ]*VPATH[        ]*=/{
     5741s/:*\$(srcdir):*/:/;
     5742s/:*\${srcdir}:*/:/;
     5743s/:*@srcdir@:*/:/;
     5744s/^\([^=]*=[    ]*\):*/\1/;
     5745s/:*$//;
     5746s/^[^=]*=[      ]*$//;
     5747}'
     5748fi
    25505749
    25515750DEFS=-DHAVE_CONFIG_H
    25525751
    2553 # Without the "./", some shells look in PATH for config.status.
     5752ac_libobjs=
     5753ac_ltlibobjs=
     5754for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     5755  # 1. Remove the extension, and $U if already installed.
     5756  ac_i=`echo "$ac_i" |
     5757         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     5758  # 2. Add them.
     5759  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     5760  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     5761done
     5762LIBOBJS=$ac_libobjs
     5763
     5764LTLIBOBJS=$ac_ltlibobjs
     5765
     5766
     5767
    25545768: ${CONFIG_STATUS=./config.status}
    2555 
    2556 echo creating $CONFIG_STATUS
    2557 rm -f $CONFIG_STATUS
    2558 cat > $CONFIG_STATUS <<EOF
    2559 #! /bin/sh
    2560 # Generated automatically by configure.
     5769ac_clean_files_save=$ac_clean_files
     5770ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     5771{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     5772echo "$as_me: creating $CONFIG_STATUS" >&6;}
     5773cat >$CONFIG_STATUS <<_ACEOF
     5774#! $SHELL
     5775# Generated by $as_me.
    25615776# Run this file to recreate the current configuration.
    2562 # This directory was configured as follows,
    2563 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     5777# Compiler output produced by configure, useful for debugging
     5778# configure, is in config.log if it exists.
     5779
     5780debug=false
     5781ac_cs_recheck=false
     5782ac_cs_silent=false
     5783SHELL=\${CONFIG_SHELL-$SHELL}
     5784_ACEOF
     5785
     5786cat >>$CONFIG_STATUS <<\_ACEOF
     5787## --------------------- ##
     5788## M4sh Initialization.  ##
     5789## --------------------- ##
     5790
     5791# Be Bourne compatible
     5792if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     5793  emulate sh
     5794  NULLCMD=:
     5795  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     5796  # is contrary to our usage.  Disable this feature.
     5797  alias -g '${1+"$@"}'='"$@"'
     5798elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     5799  set -o posix
     5800fi
     5801
     5802# Support unset when possible.
     5803if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     5804  as_unset=unset
     5805else
     5806  as_unset=false
     5807fi
     5808
     5809
     5810# Work around bugs in pre-3.0 UWIN ksh.
     5811$as_unset ENV MAIL MAILPATH
     5812PS1='$ '
     5813PS2='> '
     5814PS4='+ '
     5815
     5816# NLS nuisances.
     5817for as_var in \
     5818  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     5819  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     5820  LC_TELEPHONE LC_TIME
     5821do
     5822  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     5823    eval $as_var=C; export $as_var
     5824  else
     5825    $as_unset $as_var
     5826  fi
     5827done
     5828
     5829# Required to use basename.
     5830if expr a : '\(a\)' >/dev/null 2>&1; then
     5831  as_expr=expr
     5832else
     5833  as_expr=false
     5834fi
     5835
     5836if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     5837  as_basename=basename
     5838else
     5839  as_basename=false
     5840fi
     5841
     5842
     5843# Name of the executable.
     5844as_me=`$as_basename "$0" ||
     5845$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     5846         X"$0" : 'X\(//\)$' \| \
     5847         X"$0" : 'X\(/\)$' \| \
     5848         .     : '\(.\)' 2>/dev/null ||
     5849echo X/"$0" |
     5850    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     5851          /^X\/\(\/\/\)$/{ s//\1/; q; }
     5852          /^X\/\(\/\).*/{ s//\1/; q; }
     5853          s/.*/./; q'`
     5854
     5855
     5856# PATH needs CR, and LINENO needs CR and PATH.
     5857# Avoid depending upon Character Ranges.
     5858as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     5859as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     5860as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     5861as_cr_digits='0123456789'
     5862as_cr_alnum=$as_cr_Letters$as_cr_digits
     5863
     5864# The user is always right.
     5865if test "${PATH_SEPARATOR+set}" != set; then
     5866  echo "#! /bin/sh" >conf$$.sh
     5867  echo  "exit 0"   >>conf$$.sh
     5868  chmod +x conf$$.sh
     5869  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     5870    PATH_SEPARATOR=';'
     5871  else
     5872    PATH_SEPARATOR=:
     5873  fi
     5874  rm -f conf$$.sh
     5875fi
     5876
     5877
     5878  as_lineno_1=$LINENO
     5879  as_lineno_2=$LINENO
     5880  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     5881  test "x$as_lineno_1" != "x$as_lineno_2" &&
     5882  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     5883  # Find who we are.  Look in the path if we contain no path at all
     5884  # relative or not.
     5885  case $0 in
     5886    *[\\/]* ) as_myself=$0 ;;
     5887    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5888for as_dir in $PATH
     5889do
     5890  IFS=$as_save_IFS
     5891  test -z "$as_dir" && as_dir=.
     5892  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     5893done
     5894
     5895       ;;
     5896  esac
     5897  # We did not find ourselves, most probably we were run as `sh COMMAND'
     5898  # in which case we are not to be found in the path.
     5899  if test "x$as_myself" = x; then
     5900    as_myself=$0
     5901  fi
     5902  if test ! -f "$as_myself"; then
     5903    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     5904echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     5905   { (exit 1); exit 1; }; }
     5906  fi
     5907  case $CONFIG_SHELL in
     5908  '')
     5909    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5910for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     5911do
     5912  IFS=$as_save_IFS
     5913  test -z "$as_dir" && as_dir=.
     5914  for as_base in sh bash ksh sh5; do
     5915         case $as_dir in
     5916         /*)
     5917           if ("$as_dir/$as_base" -c '
     5918  as_lineno_1=$LINENO
     5919  as_lineno_2=$LINENO
     5920  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     5921  test "x$as_lineno_1" != "x$as_lineno_2" &&
     5922  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     5923             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     5924             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     5925             CONFIG_SHELL=$as_dir/$as_base
     5926             export CONFIG_SHELL
     5927             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     5928           fi;;
     5929         esac
     5930       done
     5931done
     5932;;
     5933  esac
     5934
     5935  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     5936  # uniformly replaced by the line number.  The first 'sed' inserts a
     5937  # line-number line before each line; the second 'sed' does the real
     5938  # work.  The second script uses 'N' to pair each line-number line
     5939  # with the numbered line, and appends trailing '-' during
     5940  # substitution so that $LINENO is not a special case at line end.
     5941  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     5942  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     5943  sed '=' <$as_myself |
     5944    sed '
     5945      N
     5946      s,$,-,
     5947      : loop
     5948      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     5949      t loop
     5950      s,-$,,
     5951      s,^['$as_cr_digits']*\n,,
     5952    ' >$as_me.lineno &&
     5953  chmod +x $as_me.lineno ||
     5954    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     5955echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     5956   { (exit 1); exit 1; }; }
     5957
     5958  # Don't try to exec as it changes $[0], causing all sort of problems
     5959  # (the dirname of $[0] is not the place where we might find the
     5960  # original and so on.  Autoconf is especially sensible to this).
     5961  . ./$as_me.lineno
     5962  # Exit status is that of the last command.
     5963  exit
     5964}
     5965
     5966
     5967case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     5968  *c*,-n*) ECHO_N= ECHO_C='
     5969' ECHO_T='      ' ;;
     5970  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     5971  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     5972esac
     5973
     5974if expr a : '\(a\)' >/dev/null 2>&1; then
     5975  as_expr=expr
     5976else
     5977  as_expr=false
     5978fi
     5979
     5980rm -f conf$$ conf$$.exe conf$$.file
     5981echo >conf$$.file
     5982if ln -s conf$$.file conf$$ 2>/dev/null; then
     5983  # We could just check for DJGPP; but this test a) works b) is more generic
     5984  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     5985  if test -f conf$$.exe; then
     5986    # Don't use ln at all; we don't have any links
     5987    as_ln_s='cp -p'
     5988  else
     5989    as_ln_s='ln -s'
     5990  fi
     5991elif ln conf$$.file conf$$ 2>/dev/null; then
     5992  as_ln_s=ln
     5993else
     5994  as_ln_s='cp -p'
     5995fi
     5996rm -f conf$$ conf$$.exe conf$$.file
     5997
     5998if mkdir -p . 2>/dev/null; then
     5999  as_mkdir_p=:
     6000else
     6001  as_mkdir_p=false
     6002fi
     6003
     6004as_executable_p="test -f"
     6005
     6006# Sed expression to map a string onto a valid CPP name.
     6007as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     6008
     6009# Sed expression to map a string onto a valid variable name.
     6010as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     6011
     6012
     6013# IFS
     6014# We need space, tab and new line, in precisely that order.
     6015as_nl='
     6016'
     6017IFS="   $as_nl"
     6018
     6019# CDPATH.
     6020$as_unset CDPATH
     6021
     6022exec 6>&1
     6023
     6024# Open the log real soon, to keep \$[0] and so on meaningful, and to
     6025# report actual input values of CONFIG_FILES etc. instead of their
     6026# values after options handling.  Logging --version etc. is OK.
     6027exec 5>>config.log
     6028{
     6029  echo
     6030  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     6031## Running $as_me. ##
     6032_ASBOX
     6033} >&5
     6034cat >&5 <<_CSEOF
     6035
     6036This file was extended by $as_me, which was
     6037generated by GNU Autoconf 2.57.  Invocation command line was
     6038
     6039  CONFIG_FILES    = $CONFIG_FILES
     6040  CONFIG_HEADERS  = $CONFIG_HEADERS
     6041  CONFIG_LINKS    = $CONFIG_LINKS
     6042  CONFIG_COMMANDS = $CONFIG_COMMANDS
     6043  $ $0 $@
     6044
     6045_CSEOF
     6046echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     6047echo >&5
     6048_ACEOF
     6049
     6050# Files that config.status was made for.
     6051if test -n "$ac_config_files"; then
     6052  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     6053fi
     6054
     6055if test -n "$ac_config_headers"; then
     6056  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     6057fi
     6058
     6059if test -n "$ac_config_links"; then
     6060  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     6061fi
     6062
     6063if test -n "$ac_config_commands"; then
     6064  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     6065fi
     6066
     6067cat >>$CONFIG_STATUS <<\_ACEOF
     6068
     6069ac_cs_usage="\
     6070\`$as_me' instantiates files from templates according to the
     6071current configuration.
     6072
     6073Usage: $0 [OPTIONS] [FILE]...
     6074
     6075  -h, --help       print this help, then exit
     6076  -V, --version    print version number, then exit
     6077  -q, --quiet      do not print progress messages
     6078  -d, --debug      don't remove temporary files
     6079      --recheck    update $as_me by reconfiguring in the same conditions
     6080  --file=FILE[:TEMPLATE]
     6081                   instantiate the configuration file FILE
     6082  --header=FILE[:TEMPLATE]
     6083                   instantiate the configuration header FILE
     6084
     6085Configuration files:
     6086$config_files
     6087
     6088Configuration headers:
     6089$config_headers
     6090
     6091Report bugs to <bug-autoconf@gnu.org>."
     6092_ACEOF
     6093
     6094cat >>$CONFIG_STATUS <<_ACEOF
     6095ac_cs_version="\\
     6096config.status
     6097configured by $0, generated by GNU Autoconf 2.57,
     6098  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     6099
     6100Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
     6101Free Software Foundation, Inc.
     6102This config.status script is free software; the Free Software Foundation
     6103gives unlimited permission to copy, distribute and modify it."
     6104srcdir=$srcdir
     6105INSTALL="$INSTALL"
     6106_ACEOF
     6107
     6108cat >>$CONFIG_STATUS <<\_ACEOF
     6109# If no file are specified by the user, then we need to provide default
     6110# value.  By we need to know if files were specified by the user.
     6111ac_need_defaults=:
     6112while test $# != 0
     6113do
     6114  case $1 in
     6115  --*=*)
     6116    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     6117    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     6118    ac_shift=:
     6119    ;;
     6120  -*)
     6121    ac_option=$1
     6122    ac_optarg=$2
     6123    ac_shift=shift
     6124    ;;
     6125  *) # This is not an option, so the user has probably given explicit
     6126     # arguments.
     6127     ac_option=$1
     6128     ac_need_defaults=false;;
     6129  esac
     6130
     6131  case $ac_option in
     6132  # Handling of the options.
     6133_ACEOF
     6134cat >>$CONFIG_STATUS <<\_ACEOF
     6135  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     6136    ac_cs_recheck=: ;;
     6137  --version | --vers* | -V )
     6138    echo "$ac_cs_version"; exit 0 ;;
     6139  --he | --h)
     6140    # Conflict between --help and --header
     6141    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     6142Try \`$0 --help' for more information." >&5
     6143echo "$as_me: error: ambiguous option: $1
     6144Try \`$0 --help' for more information." >&2;}
     6145   { (exit 1); exit 1; }; };;
     6146  --help | --hel | -h )
     6147    echo "$ac_cs_usage"; exit 0 ;;
     6148  --debug | --d* | -d )
     6149    debug=: ;;
     6150  --file | --fil | --fi | --f )
     6151    $ac_shift
     6152    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     6153    ac_need_defaults=false;;
     6154  --header | --heade | --head | --hea )
     6155    $ac_shift
     6156    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     6157    ac_need_defaults=false;;
     6158  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     6159  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     6160    ac_cs_silent=: ;;
     6161
     6162  # This is an error.
     6163  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     6164Try \`$0 --help' for more information." >&5
     6165echo "$as_me: error: unrecognized option: $1
     6166Try \`$0 --help' for more information." >&2;}
     6167   { (exit 1); exit 1; }; } ;;
     6168
     6169  *) ac_config_targets="$ac_config_targets $1" ;;
     6170
     6171  esac
     6172  shift
     6173done
     6174
     6175ac_configure_extra_args=
     6176
     6177if $ac_cs_silent; then
     6178  exec 6>/dev/null
     6179  ac_configure_extra_args="$ac_configure_extra_args --silent"
     6180fi
     6181
     6182_ACEOF
     6183cat >>$CONFIG_STATUS <<_ACEOF
     6184if \$ac_cs_recheck; then
     6185  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     6186  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     6187fi
     6188
     6189_ACEOF
     6190
     6191
     6192
     6193
     6194
     6195cat >>$CONFIG_STATUS <<\_ACEOF
     6196for ac_config_target in $ac_config_targets
     6197do
     6198  case "$ac_config_target" in
     6199  # Handling of arguments.
     6200  "GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
     6201  "ftest/GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES ftest/GNUmakefile" ;;
     6202  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     6203  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     6204echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     6205   { (exit 1); exit 1; }; };;
     6206  esac
     6207done
     6208
     6209# If the user did not use the arguments to specify the items to instantiate,
     6210# then the envvar interface is used.  Set only those that are not.
     6211# We use the long form for the default assignment because of an extremely
     6212# bizarre bug on SunOS 4.1.3.
     6213if $ac_need_defaults; then
     6214  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     6215  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
     6216fi
     6217
     6218# Have a temporary directory for convenience.  Make it in the build tree
     6219# simply because there is no reason to put it here, and in addition,
     6220# creating and moving files from /tmp can sometimes cause problems.
     6221# Create a temporary directory, and hook for its removal unless debugging.
     6222$debug ||
     6223{
     6224  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     6225  trap '{ (exit 1); exit 1; }' 1 2 13 15
     6226}
     6227
     6228# Create a (secure) tmp directory for tmp files.
     6229
     6230{
     6231  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     6232  test -n "$tmp" && test -d "$tmp"
     6233}  ||
     6234{
     6235  tmp=./confstat$$-$RANDOM
     6236  (umask 077 && mkdir $tmp)
     6237} ||
     6238{
     6239   echo "$me: cannot create a temporary directory in ." >&2
     6240   { (exit 1); exit 1; }
     6241}
     6242
     6243_ACEOF
     6244
     6245cat >>$CONFIG_STATUS <<_ACEOF
     6246
    25646247#
    2565 # $0 $ac_configure_args
     6248# CONFIG_FILES section.
    25666249#
    2567 # Compiler output produced by configure, useful for debugging
    2568 # configure, is in ./config.log if it exists.
    2569 
    2570 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
    2571 for ac_option
    2572 do
    2573   case "\$ac_option" in
    2574   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    2575     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    2576     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    2577   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    2578     echo "$CONFIG_STATUS generated by autoconf version 2.13"
    2579     exit 0 ;;
    2580   -help | --help | --hel | --he | --h)
    2581     echo "\$ac_cs_usage"; exit 0 ;;
    2582   *) echo "\$ac_cs_usage"; exit 1 ;;
     6250
     6251# No need to generate the scripts if there are no CONFIG_FILES.
     6252# This happens for instance when ./config.status config.h
     6253if test -n "\$CONFIG_FILES"; then
     6254  # Protect against being on the right side of a sed subst in config.status.
     6255  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     6256   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     6257s,@SHELL@,$SHELL,;t t
     6258s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     6259s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     6260s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     6261s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     6262s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     6263s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     6264s,@exec_prefix@,$exec_prefix,;t t
     6265s,@prefix@,$prefix,;t t
     6266s,@program_transform_name@,$program_transform_name,;t t
     6267s,@bindir@,$bindir,;t t
     6268s,@sbindir@,$sbindir,;t t
     6269s,@libexecdir@,$libexecdir,;t t
     6270s,@datadir@,$datadir,;t t
     6271s,@sysconfdir@,$sysconfdir,;t t
     6272s,@sharedstatedir@,$sharedstatedir,;t t
     6273s,@localstatedir@,$localstatedir,;t t
     6274s,@libdir@,$libdir,;t t
     6275s,@includedir@,$includedir,;t t
     6276s,@oldincludedir@,$oldincludedir,;t t
     6277s,@infodir@,$infodir,;t t
     6278s,@mandir@,$mandir,;t t
     6279s,@build_alias@,$build_alias,;t t
     6280s,@host_alias@,$host_alias,;t t
     6281s,@target_alias@,$target_alias,;t t
     6282s,@DEFS@,$DEFS,;t t
     6283s,@ECHO_C@,$ECHO_C,;t t
     6284s,@ECHO_N@,$ECHO_N,;t t
     6285s,@ECHO_T@,$ECHO_T,;t t
     6286s,@LIBS@,$LIBS,;t t
     6287s,@CC@,$CC,;t t
     6288s,@CFLAGS@,$CFLAGS,;t t
     6289s,@LDFLAGS@,$LDFLAGS,;t t
     6290s,@CPPFLAGS@,$CPPFLAGS,;t t
     6291s,@ac_ct_CC@,$ac_ct_CC,;t t
     6292s,@EXEEXT@,$EXEEXT,;t t
     6293s,@OBJEXT@,$OBJEXT,;t t
     6294s,@CXX@,$CXX,;t t
     6295s,@CXXFLAGS@,$CXXFLAGS,;t t
     6296s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     6297s,@CPP@,$CPP,;t t
     6298s,@CXXCPP@,$CXXCPP,;t t
     6299s,@LN_S@,$LN_S,;t t
     6300s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     6301s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     6302s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     6303s,@RANLIB@,$RANLIB,;t t
     6304s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
     6305s,@SET_MAKE@,$SET_MAKE,;t t
     6306s,@AR@,$AR,;t t
     6307s,@M4@,$M4,;t t
     6308s,@BISON@,$BISON,;t t
     6309s,@FACTORY_MKINSTALLDIRS@,$FACTORY_MKINSTALLDIRS,;t t
     6310s,@FACTORY_MAKEHEADER@,$FACTORY_MAKEHEADER,;t t
     6311s,@EGREP@,$EGREP,;t t
     6312s,@gftabledir@,$gftabledir,;t t
     6313s,@templatedir@,$templatedir,;t t
     6314s,@factory_version@,$factory_version,;t t
     6315s,@libfactory@,$libfactory,;t t
     6316s,@ARFLAGS@,$ARFLAGS,;t t
     6317s,@M4FLAGS@,$M4FLAGS,;t t
     6318s,@MAKEHEADERFLAGS@,$MAKEHEADERFLAGS,;t t
     6319s,@factorysrc@,$factorysrc,;t t
     6320s,@factoryincl@,$factoryincl,;t t
     6321s,@memmansrc@,$memmansrc,;t t
     6322s,@memmanincl@,$memmanincl,;t t
     6323s,@alltargets@,$alltargets,;t t
     6324s,@installtargets@,$installtargets,;t t
     6325s,@uninstalltargets@,$uninstalltargets,;t t
     6326s,@LIBOBJS@,$LIBOBJS,;t t
     6327s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     6328CEOF
     6329
     6330_ACEOF
     6331
     6332  cat >>$CONFIG_STATUS <<\_ACEOF
     6333  # Split the substitutions into bite-sized pieces for seds with
     6334  # small command number limits, like on Digital OSF/1 and HP-UX.
     6335  ac_max_sed_lines=48
     6336  ac_sed_frag=1 # Number of current file.
     6337  ac_beg=1 # First line for current file.
     6338  ac_end=$ac_max_sed_lines # Line after last line for current file.
     6339  ac_more_lines=:
     6340  ac_sed_cmds=
     6341  while $ac_more_lines; do
     6342    if test $ac_beg -gt 1; then
     6343      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     6344    else
     6345      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     6346    fi
     6347    if test ! -s $tmp/subs.frag; then
     6348      ac_more_lines=false
     6349    else
     6350      # The purpose of the label and of the branching condition is to
     6351      # speed up the sed processing (if there are no `@' at all, there
     6352      # is no need to browse any of the substitutions).
     6353      # These are the two extra sed commands mentioned above.
     6354      (echo ':t
     6355  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     6356      if test -z "$ac_sed_cmds"; then
     6357        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     6358      else
     6359        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     6360      fi
     6361      ac_sed_frag=`expr $ac_sed_frag + 1`
     6362      ac_beg=$ac_end
     6363      ac_end=`expr $ac_end + $ac_max_sed_lines`
     6364    fi
     6365  done
     6366  if test -z "$ac_sed_cmds"; then
     6367    ac_sed_cmds=cat
     6368  fi
     6369fi # test -n "$CONFIG_FILES"
     6370
     6371_ACEOF
     6372cat >>$CONFIG_STATUS <<\_ACEOF
     6373for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     6374  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     6375  case $ac_file in
     6376  - | *:- | *:-:* ) # input from stdin
     6377        cat >$tmp/stdin
     6378        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     6379        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     6380  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     6381        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     6382  * )   ac_file_in=$ac_file.in ;;
    25836383  esac
    2584 done
    2585 
    2586 ac_given_srcdir=$srcdir
    2587 ac_given_INSTALL="$INSTALL"
    2588 
    2589 trap 'rm -fr `echo "GNUmakefile ftest/GNUmakefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    2590 EOF
    2591 cat >> $CONFIG_STATUS <<EOF
    2592 
    2593 # Protect against being on the right side of a sed subst in config.status.
    2594 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
    2595  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
    2596 $ac_vpsub
     6384
     6385  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     6386  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     6387$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6388         X"$ac_file" : 'X\(//\)[^/]' \| \
     6389         X"$ac_file" : 'X\(//\)$' \| \
     6390         X"$ac_file" : 'X\(/\)' \| \
     6391         .     : '\(.\)' 2>/dev/null ||
     6392echo X"$ac_file" |
     6393    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6394          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6395          /^X\(\/\/\)$/{ s//\1/; q; }
     6396          /^X\(\/\).*/{ s//\1/; q; }
     6397          s/.*/./; q'`
     6398  { if $as_mkdir_p; then
     6399    mkdir -p "$ac_dir"
     6400  else
     6401    as_dir="$ac_dir"
     6402    as_dirs=
     6403    while test ! -d "$as_dir"; do
     6404      as_dirs="$as_dir $as_dirs"
     6405      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     6406$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6407         X"$as_dir" : 'X\(//\)[^/]' \| \
     6408         X"$as_dir" : 'X\(//\)$' \| \
     6409         X"$as_dir" : 'X\(/\)' \| \
     6410         .     : '\(.\)' 2>/dev/null ||
     6411echo X"$as_dir" |
     6412    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6413          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6414          /^X\(\/\/\)$/{ s//\1/; q; }
     6415          /^X\(\/\).*/{ s//\1/; q; }
     6416          s/.*/./; q'`
     6417    done
     6418    test ! -n "$as_dirs" || mkdir $as_dirs
     6419  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     6420echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     6421   { (exit 1); exit 1; }; }; }
     6422
     6423  ac_builddir=.
     6424
     6425if test "$ac_dir" != .; then
     6426  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     6427  # A "../" for each directory in $ac_dir_suffix.
     6428  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     6429else
     6430  ac_dir_suffix= ac_top_builddir=
     6431fi
     6432
     6433case $srcdir in
     6434  .)  # No --srcdir option.  We are building in place.
     6435    ac_srcdir=.
     6436    if test -z "$ac_top_builddir"; then
     6437       ac_top_srcdir=.
     6438    else
     6439       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     6440    fi ;;
     6441  [\\/]* | ?:[\\/]* )  # Absolute path.
     6442    ac_srcdir=$srcdir$ac_dir_suffix;
     6443    ac_top_srcdir=$srcdir ;;
     6444  *) # Relative path.
     6445    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     6446    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     6447esac
     6448# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
     6449# absolute.
     6450ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
     6451ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
     6452ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
     6453ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     6454
     6455
     6456  case $INSTALL in
     6457  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     6458  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     6459  esac
     6460
     6461  if test x"$ac_file" != x-; then
     6462    { echo "$as_me:$LINENO: creating $ac_file" >&5
     6463echo "$as_me: creating $ac_file" >&6;}
     6464    rm -f "$ac_file"
     6465  fi
     6466  # Let's still pretend it is `configure' which instantiates (i.e., don't
     6467  # use $as_me), people would be surprised to read:
     6468  #    /* config.h.  Generated by config.status.  */
     6469  if test x"$ac_file" = x-; then
     6470    configure_input=
     6471  else
     6472    configure_input="$ac_file.  "
     6473  fi
     6474  configure_input=$configure_input"Generated from `echo $ac_file_in |
     6475                                     sed 's,.*/,,'` by configure."
     6476
     6477  # First look for the input files in the build tree, otherwise in the
     6478  # src tree.
     6479  ac_file_inputs=`IFS=:
     6480    for f in $ac_file_in; do
     6481      case $f in
     6482      -) echo $tmp/stdin ;;
     6483      [\\/$]*)
     6484         # Absolute (can't be DOS-style, as IFS=:)
     6485         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     6486echo "$as_me: error: cannot find input file: $f" >&2;}
     6487   { (exit 1); exit 1; }; }
     6488         echo $f;;
     6489      *) # Relative
     6490         if test -f "$f"; then
     6491           # Build tree
     6492           echo $f
     6493         elif test -f "$srcdir/$f"; then
     6494           # Source tree
     6495           echo $srcdir/$f
     6496         else
     6497           # /dev/null tree
     6498           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     6499echo "$as_me: error: cannot find input file: $f" >&2;}
     6500   { (exit 1); exit 1; }; }
     6501         fi;;
     6502      esac
     6503    done` || { (exit 1); exit 1; }
     6504_ACEOF
     6505cat >>$CONFIG_STATUS <<_ACEOF
     6506  sed "$ac_vpsub
    25976507$extrasub
    2598 s%@SHELL@%$SHELL%g
    2599 s%@CFLAGS@%$CFLAGS%g
    2600 s%@CPPFLAGS@%$CPPFLAGS%g
    2601 s%@CXXFLAGS@%$CXXFLAGS%g
    2602 s%@FFLAGS@%$FFLAGS%g
    2603 s%@DEFS@%$DEFS%g
    2604 s%@LDFLAGS@%$LDFLAGS%g
    2605 s%@LIBS@%$LIBS%g
    2606 s%@exec_prefix@%$exec_prefix%g
    2607 s%@prefix@%$prefix%g
    2608 s%@program_transform_name@%$program_transform_name%g
    2609 s%@bindir@%$bindir%g
    2610 s%@sbindir@%$sbindir%g
    2611 s%@libexecdir@%$libexecdir%g
    2612 s%@datadir@%$datadir%g
    2613 s%@sysconfdir@%$sysconfdir%g
    2614 s%@sharedstatedir@%$sharedstatedir%g
    2615 s%@localstatedir@%$localstatedir%g
    2616 s%@libdir@%$libdir%g
    2617 s%@includedir@%$includedir%g
    2618 s%@oldincludedir@%$oldincludedir%g
    2619 s%@infodir@%$infodir%g
    2620 s%@mandir@%$mandir%g
    2621 s%@CC@%$CC%g
    2622 s%@CXX@%$CXX%g
    2623 s%@CPP@%$CPP%g
    2624 s%@CXXCPP@%$CXXCPP%g
    2625 s%@LN_S@%$LN_S%g
    2626 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    2627 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    2628 s%@INSTALL_DATA@%$INSTALL_DATA%g
    2629 s%@RANLIB@%$RANLIB%g
    2630 s%@SET_MAKE@%$SET_MAKE%g
    2631 s%@AR@%$AR%g
    2632 s%@M4@%$M4%g
    2633 s%@BISON@%$BISON%g
    2634 s%@FACTORY_MKINSTALLDIRS@%$FACTORY_MKINSTALLDIRS%g
    2635 s%@FACTORY_MAKEHEADER@%$FACTORY_MAKEHEADER%g
    2636 s%@gftabledir@%$gftabledir%g
    2637 s%@templatedir@%$templatedir%g
    2638 s%@factory_version@%$factory_version%g
    2639 s%@libfactory@%$libfactory%g
    2640 s%@ARFLAGS@%$ARFLAGS%g
    2641 s%@M4FLAGS@%$M4FLAGS%g
    2642 s%@MAKEHEADERFLAGS@%$MAKEHEADERFLAGS%g
    2643 s%@factorysrc@%$factorysrc%g
    2644 s%@factoryincl@%$factoryincl%g
    2645 s%@memmansrc@%$memmansrc%g
    2646 s%@memmanincl@%$memmanincl%g
    2647 s%@alltargets@%$alltargets%g
    2648 s%@installtargets@%$installtargets%g
    2649 s%@uninstalltargets@%$uninstalltargets%g
    2650 
    2651 CEOF
    2652 EOF
    2653 
    2654 cat >> $CONFIG_STATUS <<\EOF
    2655 
    2656 # Split the substitutions into bite-sized pieces for seds with
    2657 # small command number limits, like on Digital OSF/1 and HP-UX.
    2658 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
    2659 ac_file=1 # Number of current file.
    2660 ac_beg=1 # First line for current file.
    2661 ac_end=$ac_max_sed_cmds # Line after last line for current file.
    2662 ac_more_lines=:
    2663 ac_sed_cmds=""
    2664 while $ac_more_lines; do
    2665   if test $ac_beg -gt 1; then
    2666     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     6508_ACEOF
     6509cat >>$CONFIG_STATUS <<\_ACEOF
     6510:t
     6511/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     6512s,@configure_input@,$configure_input,;t t
     6513s,@srcdir@,$ac_srcdir,;t t
     6514s,@abs_srcdir@,$ac_abs_srcdir,;t t
     6515s,@top_srcdir@,$ac_top_srcdir,;t t
     6516s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     6517s,@builddir@,$ac_builddir,;t t
     6518s,@abs_builddir@,$ac_abs_builddir,;t t
     6519s,@top_builddir@,$ac_top_builddir,;t t
     6520s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     6521s,@INSTALL@,$ac_INSTALL,;t t
     6522" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     6523  rm -f $tmp/stdin
     6524  if test x"$ac_file" != x-; then
     6525    mv $tmp/out $ac_file
    26676526  else
    2668     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
    2669   fi
    2670   if test ! -s conftest.s$ac_file; then
    2671     ac_more_lines=false
    2672     rm -f conftest.s$ac_file
    2673   else
    2674     if test -z "$ac_sed_cmds"; then
    2675       ac_sed_cmds="sed -f conftest.s$ac_file"
    2676     else
    2677       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    2678     fi
    2679     ac_file=`expr $ac_file + 1`
    2680     ac_beg=$ac_end
    2681     ac_end=`expr $ac_end + $ac_max_sed_cmds`
    2682   fi
    2683 done
    2684 if test -z "$ac_sed_cmds"; then
    2685   ac_sed_cmds=cat
    2686 fi
    2687 EOF
    2688 
    2689 cat >> $CONFIG_STATUS <<EOF
    2690 
    2691 CONFIG_FILES=\${CONFIG_FILES-"GNUmakefile ftest/GNUmakefile"}
    2692 EOF
    2693 cat >> $CONFIG_STATUS <<\EOF
    2694 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    2695   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    2696   case "$ac_file" in
    2697   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    2698        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    2699   *) ac_file_in="${ac_file}.in" ;;
    2700   esac
    2701 
    2702   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    2703 
    2704   # Remove last slash and all that follows it.  Not all systems have dirname.
    2705   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
    2706   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    2707     # The file is in a subdirectory.
    2708     test ! -d "$ac_dir" && mkdir "$ac_dir"
    2709     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    2710     # A "../" for each directory in $ac_dir_suffix.
    2711     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
    2712   else
    2713     ac_dir_suffix= ac_dots=
    2714   fi
    2715 
    2716   case "$ac_given_srcdir" in
    2717   .)  srcdir=.
    2718       if test -z "$ac_dots"; then top_srcdir=.
    2719       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    2720   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    2721   *) # Relative path.
    2722     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    2723     top_srcdir="$ac_dots$ac_given_srcdir" ;;
    2724   esac
    2725 
    2726   case "$ac_given_INSTALL" in
    2727   [/$]*) INSTALL="$ac_given_INSTALL" ;;
    2728   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    2729   esac
    2730 
    2731   echo creating "$ac_file"
    2732   rm -f "$ac_file"
    2733   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
    2734   case "$ac_file" in
    2735   *Makefile*) ac_comsub="1i\\
    2736 # $configure_input" ;;
    2737   *) ac_comsub= ;;
    2738   esac
    2739 
    2740   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
    2741   sed -e "$ac_comsub
    2742 s%@configure_input@%$configure_input%g
    2743 s%@srcdir@%$srcdir%g
    2744 s%@top_srcdir@%$top_srcdir%g
    2745 s%@INSTALL@%$INSTALL%g
    2746 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    2747 fi; done
    2748 rm -f conftest.s*
     6527    cat $tmp/out
     6528    rm -f $tmp/out
     6529  fi
     6530
     6531done
     6532_ACEOF
     6533cat >>$CONFIG_STATUS <<\_ACEOF
     6534
     6535#
     6536# CONFIG_HEADER section.
     6537#
    27496538
    27506539# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     
    27526541#
    27536542# ac_d sets the value in "#define NAME VALUE" lines.
    2754 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
    2755 ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
    2756 ac_dC='\3'
    2757 ac_dD='%g'
    2758 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
    2759 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    2760 ac_uB='\([      ]\)%\1#\2define\3'
     6543ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
     6544ac_dB='[        ].*$,\1#\2'
     6545ac_dC=' '
     6546ac_dD=',;t'
     6547# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     6548ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     6549ac_uB='$,\1#\2define\3'
    27616550ac_uC=' '
    2762 ac_uD='\4%g'
    2763 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    2764 ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    2765 ac_eB='$%\1#\2define\3'
    2766 ac_eC=' '
    2767 ac_eD='%g'
    2768 
    2769 if test "${CONFIG_HEADERS+set}" != set; then
    2770 EOF
    2771 cat >> $CONFIG_STATUS <<EOF
    2772   CONFIG_HEADERS="config.h"
    2773 EOF
    2774 cat >> $CONFIG_STATUS <<\EOF
    2775 fi
    2776 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
     6551ac_uD=',;t'
     6552
     6553for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    27776554  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    2778   case "$ac_file" in
    2779   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    2780        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    2781   *) ac_file_in="${ac_file}.in" ;;
     6555  case $ac_file in
     6556  - | *:- | *:-:* ) # input from stdin
     6557        cat >$tmp/stdin
     6558        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     6559        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     6560  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     6561        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     6562  * )   ac_file_in=$ac_file.in ;;
    27826563  esac
    27836564
    2784   echo creating $ac_file
    2785 
    2786   rm -f conftest.frag conftest.in conftest.out
    2787   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
    2788   cat $ac_file_inputs > conftest.in
    2789 
    2790 EOF
    2791 
    2792 # Transform confdefs.h into a sed script conftest.vals that substitutes
    2793 # the proper values into config.h.in to produce config.h.  And first:
    2794 # Protect against being on the right side of a sed subst in config.status.
    2795 # Protect against being in an unquoted here document in config.status.
    2796 rm -f conftest.vals
    2797 cat > conftest.hdr <<\EOF
    2798 s/[\\&%]/\\&/g
    2799 s%[\\$`]%\\&%g
    2800 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
    2801 s%ac_d%ac_u%gp
    2802 s%ac_u%ac_e%gp
    2803 EOF
    2804 sed -n -f conftest.hdr confdefs.h > conftest.vals
    2805 rm -f conftest.hdr
     6565  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
     6566echo "$as_me: creating $ac_file" >&6;}
     6567
     6568  # First look for the input files in the build tree, otherwise in the
     6569  # src tree.
     6570  ac_file_inputs=`IFS=:
     6571    for f in $ac_file_in; do
     6572      case $f in
     6573      -) echo $tmp/stdin ;;
     6574      [\\/$]*)
     6575         # Absolute (can't be DOS-style, as IFS=:)
     6576         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     6577echo "$as_me: error: cannot find input file: $f" >&2;}
     6578   { (exit 1); exit 1; }; }
     6579         echo $f;;
     6580      *) # Relative
     6581         if test -f "$f"; then
     6582           # Build tree
     6583           echo $f
     6584         elif test -f "$srcdir/$f"; then
     6585           # Source tree
     6586           echo $srcdir/$f
     6587         else
     6588           # /dev/null tree
     6589           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     6590echo "$as_me: error: cannot find input file: $f" >&2;}
     6591   { (exit 1); exit 1; }; }
     6592         fi;;
     6593      esac
     6594    done` || { (exit 1); exit 1; }
     6595  # Remove the trailing spaces.
     6596  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
     6597
     6598_ACEOF
     6599
     6600# Transform confdefs.h into two sed scripts, `conftest.defines' and
     6601# `conftest.undefs', that substitutes the proper values into
     6602# config.h.in to produce config.h.  The first handles `#define'
     6603# templates, and the second `#undef' templates.
     6604# And first: Protect against being on the right side of a sed subst in
     6605# config.status.  Protect against being in an unquoted here document
     6606# in config.status.
     6607rm -f conftest.defines conftest.undefs
     6608# Using a here document instead of a string reduces the quoting nightmare.
     6609# Putting comments in sed scripts is not portable.
     6610#
     6611# `end' is used to avoid that the second main sed command (meant for
     6612# 0-ary CPP macros) applies to n-ary macro definitions.
     6613# See the Autoconf documentation for `clear'.
     6614cat >confdef2sed.sed <<\_ACEOF
     6615s/[\\&,]/\\&/g
     6616s,[\\$`],\\&,g
     6617t clear
     6618: clear
     6619s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
     6620t end
     6621s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
     6622: end
     6623_ACEOF
     6624# If some macros were called several times there might be several times
     6625# the same #defines, which is useless.  Nevertheless, we may not want to
     6626# sort them, since we want the *last* AC-DEFINE to be honored.
     6627uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
     6628sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
     6629rm -f confdef2sed.sed
    28066630
    28076631# This sed command replaces #undef with comments.  This is necessary, for
    28086632# example, in the case of _POSIX_SOURCE, which is predefined and required
    28096633# on some systems where configure will not decide to define it.
    2810 cat >> conftest.vals <<\EOF
    2811 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
    2812 EOF
    2813 
    2814 # Break up conftest.vals because some shells have a limit on
    2815 # the size of here documents, and old seds have small limits too.
    2816 
     6634cat >>conftest.undefs <<\_ACEOF
     6635s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
     6636_ACEOF
     6637
     6638# Break up conftest.defines because some shells have a limit on the size
     6639# of here documents, and old seds have small limits too (100 cmds).
     6640echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
     6641echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
     6642echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
     6643echo '  :' >>$CONFIG_STATUS
    28176644rm -f conftest.tail
    2818 while :
     6645while grep . conftest.defines >/dev/null
    28196646do
    2820   ac_lines=`grep -c . conftest.vals`
    2821   # grep -c gives empty output for an empty file on some AIX systems.
    2822   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
    2823   # Write a limited-size here document to conftest.frag.
    2824   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
    2825   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
     6647  # Write a limited-size here document to $tmp/defines.sed.
     6648  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
     6649  # Speed up: don't consider the non `#define' lines.
     6650  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
     6651  # Work around the forget-to-reset-the-flag bug.
     6652  echo 't clr' >>$CONFIG_STATUS
     6653  echo ': clr' >>$CONFIG_STATUS
     6654  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    28266655  echo 'CEOF
    2827   sed -f conftest.frag conftest.in > conftest.out
    2828   rm -f conftest.in
    2829   mv conftest.out conftest.in
    2830 ' >> $CONFIG_STATUS
    2831   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
    2832   rm -f conftest.vals
    2833   mv conftest.tail conftest.vals
    2834 done
    2835 rm -f conftest.vals
    2836 
    2837 cat >> $CONFIG_STATUS <<\EOF
    2838   rm -f conftest.frag conftest.h
    2839   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
    2840   cat conftest.in >> conftest.h
    2841   rm -f conftest.in
    2842   if cmp -s $ac_file conftest.h 2>/dev/null; then
    2843     echo "$ac_file is unchanged"
    2844     rm -f conftest.h
     6656  sed -f $tmp/defines.sed $tmp/in >$tmp/out
     6657  rm -f $tmp/in
     6658  mv $tmp/out $tmp/in
     6659' >>$CONFIG_STATUS
     6660  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
     6661  rm -f conftest.defines
     6662  mv conftest.tail conftest.defines
     6663done
     6664rm -f conftest.defines
     6665echo '  fi # grep' >>$CONFIG_STATUS
     6666echo >>$CONFIG_STATUS
     6667
     6668# Break up conftest.undefs because some shells have a limit on the size
     6669# of here documents, and old seds have small limits too (100 cmds).
     6670echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
     6671rm -f conftest.tail
     6672while grep . conftest.undefs >/dev/null
     6673do
     6674  # Write a limited-size here document to $tmp/undefs.sed.
     6675  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
     6676  # Speed up: don't consider the non `#undef'
     6677  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     6678  # Work around the forget-to-reset-the-flag bug.
     6679  echo 't clr' >>$CONFIG_STATUS
     6680  echo ': clr' >>$CONFIG_STATUS
     6681  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
     6682  echo 'CEOF
     6683  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
     6684  rm -f $tmp/in
     6685  mv $tmp/out $tmp/in
     6686' >>$CONFIG_STATUS
     6687  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
     6688  rm -f conftest.undefs
     6689  mv conftest.tail conftest.undefs
     6690done
     6691rm -f conftest.undefs
     6692
     6693cat >>$CONFIG_STATUS <<\_ACEOF
     6694  # Let's still pretend it is `configure' which instantiates (i.e., don't
     6695  # use $as_me), people would be surprised to read:
     6696  #    /* config.h.  Generated by config.status.  */
     6697  if test x"$ac_file" = x-; then
     6698    echo "/* Generated by configure.  */" >$tmp/config.h
    28456699  else
    2846     # Remove last slash and all that follows it.  Not all systems have dirname.
    2847       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
    2848       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    2849       # The file is in a subdirectory.
    2850       test ! -d "$ac_dir" && mkdir "$ac_dir"
     6700    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     6701  fi
     6702  cat $tmp/in >>$tmp/config.h
     6703  rm -f $tmp/in
     6704  if test x"$ac_file" != x-; then
     6705    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
     6706      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     6707echo "$as_me: $ac_file is unchanged" >&6;}
     6708    else
     6709      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     6710$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6711         X"$ac_file" : 'X\(//\)[^/]' \| \
     6712         X"$ac_file" : 'X\(//\)$' \| \
     6713         X"$ac_file" : 'X\(/\)' \| \
     6714         .     : '\(.\)' 2>/dev/null ||
     6715echo X"$ac_file" |
     6716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6717          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6718          /^X\(\/\/\)$/{ s//\1/; q; }
     6719          /^X\(\/\).*/{ s//\1/; q; }
     6720          s/.*/./; q'`
     6721      { if $as_mkdir_p; then
     6722    mkdir -p "$ac_dir"
     6723  else
     6724    as_dir="$ac_dir"
     6725    as_dirs=
     6726    while test ! -d "$as_dir"; do
     6727      as_dirs="$as_dir $as_dirs"
     6728      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     6729$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6730         X"$as_dir" : 'X\(//\)[^/]' \| \
     6731         X"$as_dir" : 'X\(//\)$' \| \
     6732         X"$as_dir" : 'X\(/\)' \| \
     6733         .     : '\(.\)' 2>/dev/null ||
     6734echo X"$as_dir" |
     6735    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     6736          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     6737          /^X\(\/\/\)$/{ s//\1/; q; }
     6738          /^X\(\/\).*/{ s//\1/; q; }
     6739          s/.*/./; q'`
     6740    done
     6741    test ! -n "$as_dirs" || mkdir $as_dirs
     6742  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     6743echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     6744   { (exit 1); exit 1; }; }; }
     6745
     6746      rm -f $ac_file
     6747      mv $tmp/config.h $ac_file
    28516748    fi
    2852     rm -f $ac_file
    2853     mv conftest.h $ac_file
    2854   fi
    2855 fi; done
    2856 
    2857 EOF
    2858 cat >> $CONFIG_STATUS <<EOF
    2859 
    2860 EOF
    2861 cat >> $CONFIG_STATUS <<\EOF
    2862 
    2863 exit 0
    2864 EOF
     6749  else
     6750    cat $tmp/config.h
     6751    rm -f $tmp/config.h
     6752  fi
     6753done
     6754_ACEOF
     6755
     6756cat >>$CONFIG_STATUS <<\_ACEOF
     6757
     6758{ (exit 0); exit 0; }
     6759_ACEOF
    28656760chmod +x $CONFIG_STATUS
    2866 rm -fr confdefs* $ac_clean_files
    2867 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    2868 
     6761ac_clean_files=$ac_clean_files_save
     6762
     6763
     6764# configure is writing to config.log, and then calls config.status.
     6765# config.status does its own redirection, appending to config.log.
     6766# Unfortunately, on DOS this fails, as config.log is still kept open
     6767# by configure, so config.status won't be able to write to it; its
     6768# output is simply discarded.  So we exec the FD to /dev/null,
     6769# effectively closing config.log, so it can be properly (re)opened and
     6770# appended to by config.status.  When coming back to configure, we
     6771# need to make the FD available again.
     6772if test "$no_create" != yes; then
     6773  ac_cs_success=:
     6774  ac_config_status_args=
     6775  test "$silent" = yes &&
     6776    ac_config_status_args="$ac_config_status_args --quiet"
     6777  exec 5>/dev/null
     6778  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
     6779  exec 5>>config.log
     6780  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     6781  # would make configure fail if this is the last instruction.
     6782  $ac_cs_success || { (exit 1); exit 1; }
     6783fi
     6784
Note: See TracChangeset for help on using the changeset viewer.