Changeset d6d3b9 in git for factory/configure


Ignore:
Timestamp:
May 12, 2005, 3:53:40 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
145917dae5c021909d9ca1e2bc7bc0b7b80d4475
Parents:
67484b47101f208f2d03899a363767ee64e5c818
Message:
*hannes: version


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

Legend:

Unmodified
Added
Removed
  • factory/configure

    r67484b rd6d3b9  
    11#! /bin/sh
    2 # From configure.in Id: configure.in.
     2
     3# From configure.in Id: configure.in
    34# Guess values for system-dependent variables and create Makefiles.
    4 # Generated by GNU Autoconf 2.57.
    5 #
    6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    7 # Free Software Foundation, Inc.
     5# Generated automatically using autoconf version 2.13
     6# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
     7#
    88# This configure script is free software; the Free Software Foundation
    99# gives unlimited permission to copy, distribute and modify it.
    10 ## --------------------- ##
    11 ## M4sh Initialization.  ##
    12 ## --------------------- ##
    13 
    14 # Be Bourne compatible
    15 if 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+"$@"}'='"$@"'
    21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    22   set -o posix
    23 fi
    24 
    25 # Support unset when possible.
    26 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    27   as_unset=unset
    28 else
    29   as_unset=false
    30 fi
    31 
    32 
    33 # Work around bugs in pre-3.0 UWIN ksh.
    34 $as_unset ENV MAIL MAILPATH
    35 PS1='$ '
    36 PS2='> '
    37 PS4='+ '
    38 
    39 # NLS nuisances.
    40 for 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
    44 do
    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
    50 done
    51 
    52 # Required to use basename.
    53 if expr a : '\(a\)' >/dev/null 2>&1; then
    54   as_expr=expr
    55 else
    56   as_expr=false
    57 fi
    58 
    59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    60   as_basename=basename
    61 else
    62   as_basename=false
    63 fi
    64 
    65 
    66 # Name of the executable.
    67 as_me=`$as_basename "$0" ||
    68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    69          X"$0" : 'X\(//\)$' \| \
    70          X"$0" : 'X\(/\)$' \| \
    71          .     : '\(.\)' 2>/dev/null ||
    72 echo 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.
    81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    84 as_cr_digits='0123456789'
    85 as_cr_alnum=$as_cr_Letters$as_cr_digits
    86 
    87 # The user is always right.
    88 if 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
    98 fi
    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
    111 for as_dir in $PATH
    112 do
    113   IFS=$as_save_IFS
    114   test -z "$as_dir" && as_dir=.
    115   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    116 done
    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
    132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    133 do
    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
    153 done
    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 
    188 case `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= ;;
    193 esac
    194 
    195 if expr a : '\(a\)' >/dev/null 2>&1; then
    196   as_expr=expr
    197 else
    198   as_expr=false
    199 fi
    200 
    201 rm -f conf$$ conf$$.exe conf$$.file
    202 echo >conf$$.file
    203 if 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
    212 elif ln conf$$.file conf$$ 2>/dev/null; then
    213   as_ln_s=ln
    214 else
    215   as_ln_s='cp -p'
    216 fi
    217 rm -f conf$$ conf$$.exe conf$$.file
    218 
    219 if mkdir -p . 2>/dev/null; then
    220   as_mkdir_p=:
    221 else
    222   as_mkdir_p=false
    223 fi
    224 
    225 as_executable_p="test -f"
    226 
    227 # Sed expression to map a string onto a valid CPP name.
    228 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    229 
    230 # Sed expression to map a string onto a valid variable name.
    231 as_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.
    236 as_nl='
    237 '
    238 IFS="   $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.
    247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248 
    249 exec 6>&1
    250 
    251 #
    252 # Initializations.
    253 #
     10
     11# Defaults:
     12ac_help=
    25413ac_default_prefix=/usr/local
    255 ac_config_libobj_dir=.
    256 cross_compiling=no
    257 subdirs=
    258 MFLAGS=
    259 MAKEFLAGS=
    260 SHELL=${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.
    268 PACKAGE_NAME=
    269 PACKAGE_TARNAME=
    270 PACKAGE_VERSION=
    271 PACKAGE_STRING=
    272 PACKAGE_BUGREPORT=
    273 
    274 ac_unique_file="canonicalform.cc"
    275 # Factoring default headers for most tests.
    276 ac_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 
    312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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'
    313 ac_subst_files=''
     14# Any additions from configure.in:
     15ac_help="$ac_help
     16  --with-memman(=<memman>) specify Factory memory manager.
     17                          <memman> is either \`old' (default), \`new', or \`no'."
     18ac_help="$ac_help
     19  --with-omalloc           build for use with omalloc"
     20ac_help="$ac_help
     21  --with-gmp(=<gmp_inc_path>(,<gmp_lib_path>))
     22                          specify where to find gmp library."
     23ac_help="$ac_help
     24  --with-Singular         build for use with computer algebra system Singular."
     25ac_help="$ac_help
     26  --with-NTL              build for use with NTL."
     27ac_help="$ac_help
     28  --enable-NTL              build for use with NTL."
     29ac_help="$ac_help
     30  --enable-cf-inline      build Factory with \"configurable inline methods\"
     31                          enabled."
     32ac_help="$ac_help
     33  --disable-streamio      build Factory without stream IO"
     34ac_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'."
     38ac_help="$ac_help
     39  --enable-assertions     build Factory with assertions activated"
     40ac_help="$ac_help
     41  --enable-timing         build Factory so it will print timing information"
     42ac_help="$ac_help
     43  --enable-debugoutput    build Factory so it will print debugging information"
     44ac_help="$ac_help
     45  --enable-gmp            together with \`--with-Singular' means: installation
     46                          in process, be graceful when there is no \`gmp.h'"
    31447
    31548# Initialize some variables set by options.
    316 ac_init_help=
    317 ac_init_version=false
    31849# The variables have the same names as the options, with
    31950# dashes changed to underlines.
    320 cache_file=/dev/null
     51build=NONE
     52cache_file=./config.cache
    32153exec_prefix=NONE
     54host=NONE
    32255no_create=
     56nonopt=NONE
    32357no_recursion=
    32458prefix=NONE
     
    32963site=
    33064srcdir=
     65target=NONE
    33166verbose=
    33267x_includes=NONE
    33368x_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.
    34069bindir='${exec_prefix}/bin'
    34170sbindir='${exec_prefix}/sbin'
     
    35180mandir='${prefix}/man'
    35281
     82# Initialize some other variables.
     83subdirs=
     84MFLAGS= MAKEFLAGS=
     85SHELL=${CONFIG_SHELL-/bin/sh}
     86# Maximum number of lines to put in a shell here document.
     87ac_max_here_lines=12
     88
    35389ac_prev=
    35490for ac_option
    35591do
     92
    35693  # If the previous option needs an argument, assign it.
    35794  if test -n "$ac_prev"; then
     
    36198  fi
    36299
    363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     100  case "$ac_option" in
     101  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
     102  *) ac_optarg= ;;
     103  esac
    364104
    365105  # Accept the important Cygnus configure options, so we can diagnose typos.
    366106
    367   case $ac_option in
     107  case "$ac_option" in
    368108
    369109  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    370110    ac_prev=bindir ;;
    371111  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    372     bindir=$ac_optarg ;;
     112    bindir="$ac_optarg" ;;
    373113
    374114  -build | --build | --buil | --bui | --bu)
    375     ac_prev=build_alias ;;
     115    ac_prev=build ;;
    376116  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    377     build_alias=$ac_optarg ;;
     117    build="$ac_optarg" ;;
    378118
    379119  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    382122  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    383123  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    384     cache_file=$ac_optarg ;;
    385 
    386   --config-cache | -C)
    387     cache_file=config.cache ;;
     124    cache_file="$ac_optarg" ;;
    388125
    389126  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    391128  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    392129  | --da=*)
    393     datadir=$ac_optarg ;;
     130    datadir="$ac_optarg" ;;
    394131
    395132  -disable-* | --disable-*)
    396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     133    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    397134    # Reject names that are not valid shell variable names.
    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" ;;
     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" ;;
    403140
    404141  -enable-* | --enable-*)
    405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     142    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    406143    # Reject names that are not valid shell variable names.
    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"`;;
     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      *=*) ;;
    413150      *) ac_optarg=yes ;;
    414151    esac
    415     eval "enable_$ac_feature='$ac_optarg'" ;;
     152    eval "enable_${ac_feature}='$ac_optarg'" ;;
    416153
    417154  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    422159  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    423160  | --exec=* | --exe=* | --ex=*)
    424     exec_prefix=$ac_optarg ;;
     161    exec_prefix="$ac_optarg" ;;
    425162
    426163  -gas | --gas | --ga | --g)
     
    428165    with_gas=yes ;;
    429166
    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 ;;
     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
     171Usage: configure [options] [host]
     172Options: [defaults in brackets after descriptions]
     173Configuration:
     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
     179Directory 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
     203EOF
     204    cat << EOF
     205Host 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]
     209Features 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
     216EOF
     217    if test -n "$ac_help"; then
     218      echo "--enable and --with options recognized:$ac_help"
     219    fi
     220    exit 0 ;;
    436221
    437222  -host | --host | --hos | --ho)
    438     ac_prev=host_alias ;;
     223    ac_prev=host ;;
    439224  -host=* | --host=* | --hos=* | --ho=*)
    440     host_alias=$ac_optarg ;;
     225    host="$ac_optarg" ;;
    441226
    442227  -includedir | --includedir | --includedi | --included | --include \
     
    445230  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    446231  | --includ=* | --inclu=* | --incl=* | --inc=*)
    447     includedir=$ac_optarg ;;
     232    includedir="$ac_optarg" ;;
    448233
    449234  -infodir | --infodir | --infodi | --infod | --info | --inf)
    450235    ac_prev=infodir ;;
    451236  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    452     infodir=$ac_optarg ;;
     237    infodir="$ac_optarg" ;;
    453238
    454239  -libdir | --libdir | --libdi | --libd)
    455240    ac_prev=libdir ;;
    456241  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    457     libdir=$ac_optarg ;;
     242    libdir="$ac_optarg" ;;
    458243
    459244  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    462247  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    463248  | --libexe=* | --libex=* | --libe=*)
    464     libexecdir=$ac_optarg ;;
     249    libexecdir="$ac_optarg" ;;
    465250
    466251  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    471256  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    472257  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    473     localstatedir=$ac_optarg ;;
     258    localstatedir="$ac_optarg" ;;
    474259
    475260  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    476261    ac_prev=mandir ;;
    477262  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    478     mandir=$ac_optarg ;;
     263    mandir="$ac_optarg" ;;
    479264
    480265  -nfp | --nfp | --nf)
     
    483268
    484269  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    485   | --no-cr | --no-c | -n)
     270  | --no-cr | --no-c)
    486271    no_create=yes ;;
    487272
     
    497282  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    498283  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    499     oldincludedir=$ac_optarg ;;
     284    oldincludedir="$ac_optarg" ;;
    500285
    501286  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    502287    ac_prev=prefix ;;
    503288  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    504     prefix=$ac_optarg ;;
     289    prefix="$ac_optarg" ;;
    505290
    506291  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    509294  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    510295  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    511     program_prefix=$ac_optarg ;;
     296    program_prefix="$ac_optarg" ;;
    512297
    513298  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    516301  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    517302  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    518     program_suffix=$ac_optarg ;;
     303    program_suffix="$ac_optarg" ;;
    519304
    520305  -program-transform-name | --program-transform-name \
     
    533318  | --program-trans=* | --program-tran=* \
    534319  | --progr-tra=* | --program-tr=* | --program-t=*)
    535     program_transform_name=$ac_optarg ;;
     320    program_transform_name="$ac_optarg" ;;
    536321
    537322  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    543328  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    544329  | --sbi=* | --sb=*)
    545     sbindir=$ac_optarg ;;
     330    sbindir="$ac_optarg" ;;
    546331
    547332  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    554339  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    555340  | --sha=* | --sh=*)
    556     sharedstatedir=$ac_optarg ;;
     341    sharedstatedir="$ac_optarg" ;;
    557342
    558343  -site | --site | --sit)
    559344    ac_prev=site ;;
    560345  -site=* | --site=* | --sit=*)
    561     site=$ac_optarg ;;
     346    site="$ac_optarg" ;;
    562347
    563348  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    564349    ac_prev=srcdir ;;
    565350  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    566     srcdir=$ac_optarg ;;
     351    srcdir="$ac_optarg" ;;
    567352
    568353  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    571356  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    572357  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    573     sysconfdir=$ac_optarg ;;
     358    sysconfdir="$ac_optarg" ;;
    574359
    575360  -target | --target | --targe | --targ | --tar | --ta | --t)
    576     ac_prev=target_alias ;;
     361    ac_prev=target ;;
    577362  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    578     target_alias=$ac_optarg ;;
     363    target="$ac_optarg" ;;
    579364
    580365  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    581366    verbose=yes ;;
    582367
    583   -version | --version | --versio | --versi | --vers | -V)
    584     ac_init_version=: ;;
     368  -version | --version | --versio | --versi | --vers)
     369    echo "configure generated by autoconf version 2.13"
     370    exit 0 ;;
    585371
    586372  -with-* | --with-*)
    587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     373    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    588374    # Reject names that are not valid shell variable names.
    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; }; }
     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
    592378    ac_package=`echo $ac_package| sed 's/-/_/g'`
    593     case $ac_option in
    594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     379    case "$ac_option" in
     380      *=*) ;;
    595381      *) ac_optarg=yes ;;
    596382    esac
    597     eval "with_$ac_package='$ac_optarg'" ;;
     383    eval "with_${ac_package}='$ac_optarg'" ;;
    598384
    599385  -without-* | --without-*)
    600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     386    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    601387    # Reject names that are not valid shell variable names.
    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" ;;
     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" ;;
    607393
    608394  --x)
     
    615401  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    616402  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    617     x_includes=$ac_optarg ;;
     403    x_includes="$ac_optarg" ;;
    618404
    619405  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    622408  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    623409  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    624     x_libraries=$ac_optarg ;;
    625 
    626   -*) { echo "$as_me: error: unrecognized option: $ac_option
    627 Try \`$0 --help' for more information." >&2
    628    { (exit 1); exit 1; }; }
     410    x_libraries="$ac_optarg" ;;
     411
     412  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    629413    ;;
    630414
    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 
    641415  *)
    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}
     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"
    647423    ;;
    648424
     
    651427
    652428if test -n "$ac_prev"; then
    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; }; }
    656 fi
    657 
    658 # Be sure to have absolute paths.
    659 for ac_var in exec_prefix prefix
     429  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
     430fi
     431
     432trap '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
     442if test "$silent" = yes; then
     443  exec 6>/dev/null
     444else
     445  exec 6>&1
     446fi
     447exec 5>./config.log
     448
     449echo "\
     450This file contains any messages produced by compilers while
     451running 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.
     456ac_configure_args=
     457for ac_arg
    660458do
    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; }; };;
     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" ;;
    666467  esac
    667468done
    668469
    669 # Be sure to have absolute paths.
    670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    671               localstatedir libdir includedir oldincludedir infodir mandir
    672 do
    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
    679 done
    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.
    684 build=$build_alias
    685 host=$host_alias
    686 target=$target_alias
    687 
    688 # FIXME: To remove some day.
    689 if 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
    697 fi
    698 
    699 ac_tool_prefix=
    700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    701 
    702 test "$silent" = yes && exec 6>/dev/null
    703 
     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.
     475if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
     476if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
     477if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
     478if 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.
     481rm -rf conftest* confdefs.h
     482# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     483echo > 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.
     487ac_unique_file=canonicalform.cc
    704488
    705489# Find the source files, if location was not specified.
     
    707491  ac_srcdir_defaulted=yes
    708492  # Try the directory containing this script, then its parent.
    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 ||
    715 echo 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'`
     493  ac_prog=$0
     494  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
     495  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    721496  srcdir=$ac_confdir
    722497  if test ! -r $srcdir/$ac_unique_file; then
     
    728503if test ! -r $srcdir/$ac_unique_file; then
    729504  if test "$ac_srcdir_defaulted" = yes; then
    730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    731    { (exit 1); exit 1; }; }
     505    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
    732506  else
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    734    { (exit 1); exit 1; }; }
     507    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    735508  fi
    736509fi
    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; }; }
    740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    741 ac_env_build_alias_set=${build_alias+set}
    742 ac_env_build_alias_value=$build_alias
    743 ac_cv_env_build_alias_set=${build_alias+set}
    744 ac_cv_env_build_alias_value=$build_alias
    745 ac_env_host_alias_set=${host_alias+set}
    746 ac_env_host_alias_value=$host_alias
    747 ac_cv_env_host_alias_set=${host_alias+set}
    748 ac_cv_env_host_alias_value=$host_alias
    749 ac_env_target_alias_set=${target_alias+set}
    750 ac_env_target_alias_value=$target_alias
    751 ac_cv_env_target_alias_set=${target_alias+set}
    752 ac_cv_env_target_alias_value=$target_alias
    753 ac_env_CC_set=${CC+set}
    754 ac_env_CC_value=$CC
    755 ac_cv_env_CC_set=${CC+set}
    756 ac_cv_env_CC_value=$CC
    757 ac_env_CFLAGS_set=${CFLAGS+set}
    758 ac_env_CFLAGS_value=$CFLAGS
    759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    760 ac_cv_env_CFLAGS_value=$CFLAGS
    761 ac_env_LDFLAGS_set=${LDFLAGS+set}
    762 ac_env_LDFLAGS_value=$LDFLAGS
    763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_cv_env_LDFLAGS_value=$LDFLAGS
    765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    766 ac_env_CPPFLAGS_value=$CPPFLAGS
    767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_env_CXX_set=${CXX+set}
    770 ac_env_CXX_value=$CXX
    771 ac_cv_env_CXX_set=${CXX+set}
    772 ac_cv_env_CXX_value=$CXX
    773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    774 ac_env_CXXFLAGS_value=$CXXFLAGS
    775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    777 ac_env_CPP_set=${CPP+set}
    778 ac_env_CPP_value=$CPP
    779 ac_cv_env_CPP_set=${CPP+set}
    780 ac_cv_env_CPP_value=$CPP
    781 ac_env_CXXCPP_set=${CXXCPP+set}
    782 ac_env_CXXCPP_value=$CXXCPP
    783 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    784 ac_cv_env_CXXCPP_value=$CXXCPP
    785 
    786 #
    787 # Report the --help message.
    788 #
    789 if 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 
    795 Usage: $0 [OPTION]... [VAR=VALUE]...
    796 
    797 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    798 VAR=VALUE.  See below for descriptions of some of the useful variables.
    799 
    800 Defaults for the options are specified in brackets.
    801 
    802 Configuration:
    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
    816 Installation 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 
    822 By default, \`make install' will install all the files in
    823 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    824 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    825 for instance \`--prefix=\$HOME'.
    826 
    827 For better control, use the options below.
    828 
    829 Fine 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
    846 fi
    847 
    848 if test -n "$ac_init_help"; then
    849 
    850   cat <<\_ACEOF
    851 
    852 Optional 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 
    868 Optional 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 
    879 Some 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 
    891 Use these variables to override the choices made by `configure' or to help
    892 it to find libraries and programs with nonstandard names/locations.
    893 
    894 _ACEOF
    895 fi
    896 
    897 if 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 
    904 if 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'`
    908 else
    909   ac_dir_suffix= ac_top_builddir=
    910 fi
    911 
    912 case $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 ;;
    926 esac
    927 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    928 # absolute.
    929 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    930 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    931 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    932 ac_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
    951 fi
    952 
    953 test -n "$ac_init_help" && exit 0
    954 if $ac_init_version; then
    955   cat <<\_ACEOF
    956 
    957 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    958 Free Software Foundation, Inc.
    959 This configure script is free software; the Free Software Foundation
    960 gives unlimited permission to copy, distribute and modify it.
    961 _ACEOF
    962   exit 0
    963 fi
    964 exec 5>config.log
    965 cat >&5 <<_ACEOF
    966 This file contains any messages produced by compilers while
    967 running configure, to aid debugging if configure makes a mistake.
    968 
    969 It was created by $as_me, which was
    970 generated by GNU Autoconf 2.57.  Invocation command line was
    971 
    972   $ $0 $@
    973 
    974 _ACEOF
    975 {
    976 cat <<_ASUNAME
    977 ## --------- ##
    978 ## Platform. ##
    979 ## --------- ##
    980 
    981 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    982 uname -m = `(uname -m) 2>/dev/null || echo unknown`
    983 uname -r = `(uname -r) 2>/dev/null || echo unknown`
    984 uname -s = `(uname -s) 2>/dev/null || echo unknown`
    985 uname -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`
    993 hostinfo               = `(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 
    1000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1001 for as_dir in $PATH
    1002 do
    1003   IFS=$as_save_IFS
    1004   test -z "$as_dir" && as_dir=.
    1005   echo "PATH: $as_dir"
    1006 done
    1007 
    1008 } >&5
    1009 
    1010 cat >&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.
    1025 ac_configure_args=
    1026 ac_configure_args0=
    1027 ac_configure_args1=
    1028 ac_sep=
    1029 ac_must_keep_next=false
    1030 for ac_pass in 1 2
    1031 do
    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
    1067 done
    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.
    1076 trap '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
    1150 for ac_signal in 1 2 13 15; do
    1151   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    1152 done
    1153 ac_signal=0
    1154 
    1155 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    1156 rm -rf conftest* confdefs.h
    1157 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1158 echo >confdefs.h
    1159 
    1160 # Predefined preprocessor variables.
    1161 
    1162 cat >>confdefs.h <<_ACEOF
    1163 #define PACKAGE_NAME "$PACKAGE_NAME"
    1164 _ACEOF
    1165 
    1166 
    1167 cat >>confdefs.h <<_ACEOF
    1168 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    1169 _ACEOF
    1170 
    1171 
    1172 cat >>confdefs.h <<_ACEOF
    1173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
    1174 _ACEOF
    1175 
    1176 
    1177 cat >>confdefs.h <<_ACEOF
    1178 #define PACKAGE_STRING "$PACKAGE_STRING"
    1179 _ACEOF
    1180 
    1181 
    1182 cat >>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.
     510srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
     511
    1188512# Prefer explicitly selected file to automatically selected ones.
    1189513if test -z "$CONFIG_SITE"; then
     
    1196520for ac_site_file in $CONFIG_SITE; do
    1197521  if test -r "$ac_site_file"; then
    1198     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1199 echo "$as_me: loading site script $ac_site_file" >&6;}
    1200     sed 's/^/| /' "$ac_site_file" >&5
     522    echo "loading site script $ac_site_file"
    1201523    . "$ac_site_file"
    1202524  fi
     
    1204526
    1205527if test -r "$cache_file"; then
    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
    1210 echo "$as_me: loading cache $cache_file" >&6;}
    1211     case $cache_file in
    1212       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1213       *)                      . ./$cache_file;;
    1214     esac
     528  echo "loading cache $cache_file"
     529  . $cache_file
     530else
     531  echo "creating cache $cache_file"
     532  > $cache_file
     533fi
     534
     535ac_ext=c
     536# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     537ac_cpp='$CPP $CPPFLAGS'
     538ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     539ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     540cross_compiling=$ac_cv_prog_cc_cross
     541
     542ac_exeext=
     543ac_objext=o
     544if (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=
    1215551  fi
    1216552else
    1217   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1218 echo "$as_me: creating cache $cache_file" >&6;}
    1219   >$cache_file
    1220 fi
    1221 
    1222 # Check that the precious variables saved in the cache have kept the same
    1223 # value.
    1224 ac_cache_corrupted=false
    1225 for 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
    1234 echo "$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
    1238 echo "$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
    1244 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1245         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1246 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1247         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1248 echo "$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
    1264 done
    1265 if $ac_cache_corrupted; then
    1266   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1267 echo "$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
    1269 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1270    { (exit 1); exit 1; }; }
    1271 fi
    1272 
    1273 ac_ext=c
    1274 ac_cpp='$CPP $CPPFLAGS'
    1275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1277 ac_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"
     553  ac_n= ac_c='\c' ac_t=
     554fi
     555
     556
    1298557
    1299558ac_aux_dir=
     
    1307566    ac_install_sh="$ac_aux_dir/install.sh -c"
    1308567    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
    1313568  fi
    1314569done
    1315570if test -z "$ac_aux_dir"; then
    1316   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&5
    1317 echo "$as_me: error: cannot find install-sh or install.sh in bin $srcdir/bin" >&2;}
    1318    { (exit 1); exit 1; }; }
    1319 fi
    1320 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1321 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1322 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     571  { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
     572fi
     573ac_config_guess=$ac_aux_dir/config.guess
     574ac_config_sub=$ac_aux_dir/config.sub
     575ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    1323576
    1324577
     
    1326579# Do not change version here!!!
    1327580#
    1328 factory_version="2.0.5"
     581factory_version="3.0.0"
    1329582factory_configuration="'$ac_configure_args' in `pwd`"
    1330583
     
    1332585# - check withs and enables.
    1333586#
    1334 
    1335587# Check whether --with-memman or --without-memman was given.
    1336588if test "${with_memman+set}" = set; then
    1337589  withval="$with_memman"
    1338 
     590  :
    1339591else
    1340592   if test "x$with_Singular" = xyes; then
     
    1342594    else
    1343595      with_memman=old
    1344     fi
    1345 fi;
     596    fi
     597fi
     598
    1346599
    1347600# font-lock-trick: '
    1348 
    1349601
    1350602# Check whether --with-omalloc or --without-omalloc was given.
    1351603if test "${with_omalloc+set}" = set; then
    1352604  withval="$with_omalloc"
    1353 
    1354 fi;
     605  :
     606fi
    1355607
    1356608# Check whether --with-gmp or --without-gmp was given.
    1357609if test "${with_gmp+set}" = set; then
    1358610  withval="$with_gmp"
    1359 
    1360 fi;
     611  :
     612fi
    1361613
    1362614
     
    1364616if test "${with_Singular+set}" = set; then
    1365617  withval="$with_Singular"
    1366 
     618  :
    1367619else
    1368620  with_Singular=no
    1369 fi;
     621fi
    1370622
    1371623
     
    1374626  withval="$with_NTL"
    1375627  with_NTL=yes
    1376 fi;
     628fi
     629
    1377630
    1378631# Check whether --enable-NTL or --disable-NTL was given.
     
    1380633  enableval="$enable_NTL"
    1381634  with_NTL=yes
    1382 fi;
     635fi
     636
    1383637
    1384638# Check whether --enable-cf-inline or --disable-cf-inline was given.
    1385639if test "${enable_cf_inline+set}" = set; then
    1386640  enableval="$enable_cf_inline"
    1387 
     641  :
    1388642else
    1389643  enable_cf_inline=no
    1390 fi;
     644fi
     645
    1391646
    1392647# Check whether --enable-streamio or --disable-streamio was given.
    1393648if test "${enable_streamio+set}" = set; then
    1394649  enableval="$enable_streamio"
    1395 
     650  :
    1396651else
    1397652   if test "x$with_Singular" = xyes; then
     
    1399654    else
    1400655      enable_streamio=yes
    1401     fi
    1402 fi;
     656    fi
     657fi
     658
    1403659
    1404660# Check whether --enable-memdebug or --disable-memdebug was given.
    1405661if test "${enable_memdebug+set}" = set; then
    1406662  enableval="$enable_memdebug"
    1407 
     663  :
    1408664else
    1409665  enable_memdebug=no
    1410 fi;
     666fi
     667
    1411668
    1412669# Check whether --enable-assertions or --disable-assertions was given.
    1413670if test "${enable_assertions+set}" = set; then
    1414671  enableval="$enable_assertions"
    1415 
     672  :
    1416673else
    1417674  enable_assertions=no
    1418 fi;
     675fi
     676
    1419677
    1420678# Check whether --enable-timing or --disable-timing was given.
    1421679if test "${enable_timing+set}" = set; then
    1422680  enableval="$enable_timing"
    1423 
     681  :
    1424682else
    1425683  enable_timing=no
    1426 fi;
     684fi
     685
    1427686
    1428687# Check whether --enable-debugoutput or --disable-debugoutput was given.
    1429688if test "${enable_debugoutput+set}" = set; then
    1430689  enableval="$enable_debugoutput"
    1431 
     690  :
    1432691else
    1433692  enable_debugoutput=no
    1434 fi;
     693fi
     694
    1435695
    1436696# a tribute to Singular
     
    1440700   if test "x$with_Singular" = xyes && test "x$enable_gmp" != xno; then
    1441701      with_gmp='$(includedir)'
    1442     fi
    1443 fi;
     702    fi
     703fi
     704
    1444705
    1445706#
     
    1459720    gmp_in_installation=no ;;
    1460721  *)
    1461     CPPFLAGS="-I$with_gmp $CPPFLAGS"
     722    CPPFLAGS="-I$with_gmp $CPPFLAGS" 
    1462723    LDFLAGS="-L$with_gmp/../lib $LDFLAGS"
    1463724    gmp_in_installation=no ;;
     
    1468729#
    1469730test "${CFLAGS+set}" = set || cflags_expl_set=no
    1470 ac_ext=c
    1471 ac_cpp='$CPP $CPPFLAGS'
    1472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1475 if 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.
    1477 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1480 if test "${ac_cv_prog_CC+set}" = set; then
    1481   echo $ECHO_N "(cached) $ECHO_C" >&6
     731# Extract the first word of "gcc", so it can be a program name with args.
     732set dummy gcc; ac_word=$2
     733echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     734echo "configure:735: checking for $ac_word" >&5
     735if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     736  echo $ac_n "(cached) $ac_c" 1>&6
    1482737else
    1483738  if test -n "$CC"; then
    1484739  ac_cv_prog_CC="$CC" # Let the user override the test.
    1485740else
    1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1487 for as_dir in $PATH
    1488 do
    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
    1497 done
    1498 done
    1499 
    1500 fi
    1501 fi
    1502 CC=$ac_cv_prog_CC
     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"
     751fi
     752fi
     753CC="$ac_cv_prog_CC"
    1503754if test -n "$CC"; then
    1504   echo "$as_me:$LINENO: result: $CC" >&5
    1505 echo "${ECHO_T}$CC" >&6
    1506 else
    1507   echo "$as_me:$LINENO: result: no" >&5
    1508 echo "${ECHO_T}no" >&6
    1509 fi
    1510 
    1511 fi
    1512 if 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.
    1515 set dummy gcc; ac_word=$2
    1516 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1518 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1519   echo $ECHO_N "(cached) $ECHO_C" >&6
    1520 else
    1521   if test -n "$ac_ct_CC"; then
    1522   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1523 else
    1524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1525 for as_dir in $PATH
    1526 do
    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
    1535 done
    1536 done
    1537 
    1538 fi
    1539 fi
    1540 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1541 if test -n "$ac_ct_CC"; then
    1542   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1543 echo "${ECHO_T}$ac_ct_CC" >&6
    1544 else
    1545   echo "$as_me:$LINENO: result: no" >&5
    1546 echo "${ECHO_T}no" >&6
    1547 fi
    1548 
    1549   CC=$ac_ct_CC
    1550 else
    1551   CC="$ac_cv_prog_CC"
    1552 fi
    1553 
    1554 if 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.
    1557 set dummy ${ac_tool_prefix}cc; ac_word=$2
    1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1560 if test "${ac_cv_prog_CC+set}" = set; then
    1561   echo $ECHO_N "(cached) $ECHO_C" >&6
    1562 else
    1563   if test -n "$CC"; then
    1564   ac_cv_prog_CC="$CC" # Let the user override the test.
    1565 else
    1566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1567 for as_dir in $PATH
    1568 do
    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
    1577 done
    1578 done
    1579 
    1580 fi
    1581 fi
    1582 CC=$ac_cv_prog_CC
    1583 if test -n "$CC"; then
    1584   echo "$as_me:$LINENO: result: $CC" >&5
    1585 echo "${ECHO_T}$CC" >&6
    1586 else
    1587   echo "$as_me:$LINENO: result: no" >&5
    1588 echo "${ECHO_T}no" >&6
    1589 fi
    1590 
    1591 fi
    1592 if 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.
    1595 set dummy cc; ac_word=$2
    1596 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1598 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1599   echo $ECHO_N "(cached) $ECHO_C" >&6
    1600 else
    1601   if test -n "$ac_ct_CC"; then
    1602   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1603 else
    1604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1605 for as_dir in $PATH
    1606 do
    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
    1615 done
    1616 done
    1617 
    1618 fi
    1619 fi
    1620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1621 if test -n "$ac_ct_CC"; then
    1622   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1623 echo "${ECHO_T}$ac_ct_CC" >&6
    1624 else
    1625   echo "$as_me:$LINENO: result: no" >&5
    1626 echo "${ECHO_T}no" >&6
    1627 fi
    1628 
    1629   CC=$ac_ct_CC
    1630 else
    1631   CC="$ac_cv_prog_CC"
    1632 fi
    1633 
    1634 fi
     755  echo "$ac_t""$CC" 1>&6
     756else
     757  echo "$ac_t""no" 1>&6
     758fi
     759
    1635760if test -z "$CC"; then
    1636761  # Extract the first word of "cc", so it can be a program name with args.
    1637762set dummy cc; ac_word=$2
    1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1640 if test "${ac_cv_prog_CC+set}" = set; then
    1641   echo $ECHO_N "(cached) $ECHO_C" >&6
     763echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     764echo "configure:765: checking for $ac_word" >&5
     765if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     766  echo $ac_n "(cached) $ac_c" 1>&6
    1642767else
    1643768  if test -n "$CC"; then
    1644769  ac_cv_prog_CC="$CC" # Let the user override the test.
    1645770else
     771  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1646772  ac_prog_rejected=no
    1647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1648 for as_dir in $PATH
    1649 do
    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
    1662 done
    1663 done
    1664 
     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"
    1665786if test $ac_prog_rejected = yes; then
    1666787  # We found a bogon in the path, so make sure we never use it.
    1667788  set dummy $ac_cv_prog_CC
    1668789  shift
    1669   if test $# != 0; then
     790  if test $# -gt 0; then
    1670791    # We chose a different compiler from the bogus one.
    1671792    # However, it has the same basename, so the bogon will be chosen
    1672793    # first if we set CC to just the basename; use the full file name.
    1673794    shift
    1674     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     795    set dummy "$ac_dir/$ac_word" "$@"
     796    shift
     797    ac_cv_prog_CC="$@"
    1675798  fi
    1676799fi
    1677800fi
    1678801fi
    1679 CC=$ac_cv_prog_CC
     802CC="$ac_cv_prog_CC"
    1680803if test -n "$CC"; then
    1681   echo "$as_me:$LINENO: result: $CC" >&5
    1682 echo "${ECHO_T}$CC" >&6
    1683 else
    1684   echo "$as_me:$LINENO: result: no" >&5
    1685 echo "${ECHO_T}no" >&6
    1686 fi
    1687 
    1688 fi
    1689 if 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.
    1694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1695 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1697 if test "${ac_cv_prog_CC+set}" = set; then
    1698   echo $ECHO_N "(cached) $ECHO_C" >&6
     804  echo "$ac_t""$CC" 1>&6
     805else
     806  echo "$ac_t""no" 1>&6
     807fi
     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.
     813set dummy cl; ac_word=$2
     814echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     815echo "configure:816: checking for $ac_word" >&5
     816if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     817  echo $ac_n "(cached) $ac_c" 1>&6
    1699818else
    1700819  if test -n "$CC"; then
    1701820  ac_cv_prog_CC="$CC" # Let the user override the test.
    1702821else
    1703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1704 for as_dir in $PATH
    1705 do
    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
     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
     829    fi
     830  done
     831  IFS="$ac_save_ifs"
     832fi
     833fi
     834CC="$ac_cv_prog_CC"
     835if test -n "$CC"; then
     836  echo "$ac_t""$CC" 1>&6
     837else
     838  echo "$ac_t""no" 1>&6
     839fi
     840 ;;
     841    esac
    1713842  fi
    1714 done
    1715 done
    1716 
    1717 fi
    1718 fi
    1719 CC=$ac_cv_prog_CC
    1720 if test -n "$CC"; then
    1721   echo "$as_me:$LINENO: result: $CC" >&5
    1722 echo "${ECHO_T}$CC" >&6
    1723 else
    1724   echo "$as_me:$LINENO: result: no" >&5
    1725 echo "${ECHO_T}no" >&6
    1726 fi
    1727 
    1728     test -n "$CC" && break
    1729   done
    1730 fi
    1731 if test -z "$CC"; then
    1732   ac_ct_CC=$CC
    1733   for ac_prog in cl
    1734 do
    1735   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1736 set dummy $ac_prog; ac_word=$2
    1737 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1740   echo $ECHO_N "(cached) $ECHO_C" >&6
    1741 else
    1742   if test -n "$ac_ct_CC"; then
    1743   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1744 else
    1745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1746 for as_dir in $PATH
    1747 do
    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
     843  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
     844fi
     845
     846echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     847echo "configure:848: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     848
     849ac_ext=c
     850# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     851ac_cpp='$CPP $CPPFLAGS'
     852ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     853ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     854cross_compiling=$ac_cv_prog_cc_cross
     855
     856cat > conftest.$ac_ext << EOF
     857
     858#line 859 "configure"
     859#include "confdefs.h"
     860
     861main(){return(0);}
     862EOF
     863if { (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
    1755870  fi
    1756 done
    1757 done
    1758 
    1759 fi
    1760 fi
    1761 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1762 if test -n "$ac_ct_CC"; then
    1763   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1764 echo "${ECHO_T}$ac_ct_CC" >&6
    1765 else
    1766   echo "$as_me:$LINENO: result: no" >&5
    1767 echo "${ECHO_T}no" >&6
    1768 fi
    1769 
    1770   test -n "$ac_ct_CC" && break
    1771 done
    1772 
    1773   CC=$ac_ct_CC
    1774 fi
    1775 
    1776 fi
    1777 
    1778 
    1779 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    1780 See \`config.log' for more details." >&5
    1781 echo "$as_me: error: no acceptable C compiler found in \$PATH
    1782 See \`config.log' for more details." >&2;}
    1783    { (exit 1); exit 1; }; }
    1784 
    1785 # Provide some information about the compiler.
    1786 echo "$as_me:$LINENO:" \
    1787      "checking for C compiler version" >&5
    1788 ac_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 
    1805 cat >conftest.$ac_ext <<_ACEOF
    1806 #line $LINENO "configure"
    1807 /* confdefs.h.  */
    1808 _ACEOF
    1809 cat confdefs.h >>conftest.$ac_ext
    1810 cat >>conftest.$ac_ext <<_ACEOF
    1811 /* end confdefs.h.  */
    1812 
    1813 int
    1814 main ()
    1815 {
    1816 
    1817   ;
    1818   return 0;
    1819 }
    1820 _ACEOF
    1821 ac_clean_files_save=$ac_clean_files
    1822 ac_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.
    1826 echo "$as_me:$LINENO: checking for C compiler default output" >&5
    1827 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
    1828 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1829 if { (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.
    1840 ac_cv_exeext=
    1841 # b.out is created by i960 compilers.
    1842 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    1843 do
    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
    1865 done
    1866 else
    1867   echo "$as_me: failed program was:" >&5
    1868 sed 's/^/| /' conftest.$ac_ext >&5
    1869 
    1870 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    1871 See \`config.log' for more details." >&5
    1872 echo "$as_me: error: C compiler cannot create executables
    1873 See \`config.log' for more details." >&2;}
    1874    { (exit 77); exit 77; }; }
    1875 fi
    1876 
    1877 ac_exeext=$ac_cv_exeext
    1878 echo "$as_me:$LINENO: result: $ac_file" >&5
    1879 echo "${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.
    1883 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1884 echo $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.
    1887 if 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.
    1900 If you meant to cross compile, use \`--host'.
    1901 See \`config.log' for more details." >&5
    1902 echo "$as_me: error: cannot run C compiled programs.
    1903 If you meant to cross compile, use \`--host'.
    1904 See \`config.log' for more details." >&2;}
    1905    { (exit 1); exit 1; }; }
    1906     fi
    1907   fi
    1908 fi
    1909 echo "$as_me:$LINENO: result: yes" >&5
    1910 echo "${ECHO_T}yes" >&6
    1911 
    1912 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    1913 ac_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.
    1916 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1917 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1918 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1919 echo "${ECHO_T}$cross_compiling" >&6
    1920 
    1921 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1922 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1923 if { (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'.
    1932 for 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
    1941 done
    1942 else
    1943   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    1944 See \`config.log' for more details." >&5
    1945 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    1946 See \`config.log' for more details." >&2;}
    1947    { (exit 1); exit 1; }; }
    1948 fi
    1949 
    1950 rm -f conftest$ac_cv_exeext
    1951 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1952 echo "${ECHO_T}$ac_cv_exeext" >&6
    1953 
    1954 rm -f conftest.$ac_ext
    1955 EXEEXT=$ac_cv_exeext
    1956 ac_exeext=$EXEEXT
    1957 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1958 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    1959 if test "${ac_cv_objext+set}" = set; then
    1960   echo $ECHO_N "(cached) $ECHO_C" >&6
    1961 else
    1962   cat >conftest.$ac_ext <<_ACEOF
    1963 #line $LINENO "configure"
    1964 /* confdefs.h.  */
    1965 _ACEOF
    1966 cat confdefs.h >>conftest.$ac_ext
    1967 cat >>conftest.$ac_ext <<_ACEOF
    1968 /* end confdefs.h.  */
    1969 
    1970 int
    1971 main ()
    1972 {
    1973 
    1974   ;
    1975   return 0;
    1976 }
    1977 _ACEOF
    1978 rm -f conftest.o conftest.obj
    1979 if { (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
    1990 done
    1991 else
    1992   echo "$as_me: failed program was:" >&5
    1993 sed 's/^/| /' conftest.$ac_ext >&5
    1994 
    1995 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    1996 See \`config.log' for more details." >&5
    1997 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    1998 See \`config.log' for more details." >&2;}
    1999    { (exit 1); exit 1; }; }
    2000 fi
    2001 
    2002 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    2003 fi
    2004 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2005 echo "${ECHO_T}$ac_cv_objext" >&6
    2006 OBJEXT=$ac_cv_objext
    2007 ac_objext=$OBJEXT
    2008 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2009 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    2010 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2011   echo $ECHO_N "(cached) $ECHO_C" >&6
    2012 else
    2013   cat >conftest.$ac_ext <<_ACEOF
    2014 #line $LINENO "configure"
    2015 /* confdefs.h.  */
    2016 _ACEOF
    2017 cat confdefs.h >>conftest.$ac_ext
    2018 cat >>conftest.$ac_ext <<_ACEOF
    2019 /* end confdefs.h.  */
    2020 
    2021 int
    2022 main ()
    2023 {
    2024 #ifndef __GNUC__
    2025        choke me
     871else
     872  echo "configure: failed program was:" >&5
     873  cat conftest.$ac_ext >&5
     874  ac_cv_prog_cc_works=no
     875fi
     876rm -fr conftest*
     877ac_ext=c
     878# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     879ac_cpp='$CPP $CPPFLAGS'
     880ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     881ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     882cross_compiling=$ac_cv_prog_cc_cross
     883
     884echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     885if 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; }
     887fi
     888echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     889echo "configure:890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     890echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     891cross_compiling=$ac_cv_prog_cc_cross
     892
     893echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
     894echo "configure:895: checking whether we are using GNU C" >&5
     895if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
     896  echo $ac_n "(cached) $ac_c" 1>&6
     897else
     898  cat > conftest.c <<EOF
     899#ifdef __GNUC__
     900  yes;
    2026901#endif
    2027 
    2028   ;
    2029   return 0;
    2030 }
    2031 _ACEOF
    2032 rm -f conftest.$ac_objext
    2033 if { (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
    2045 else
    2046   echo "$as_me: failed program was:" >&5
    2047 sed 's/^/| /' conftest.$ac_ext >&5
    2048 
    2049 ac_compiler_gnu=no
    2050 fi
    2051 rm -f conftest.$ac_objext conftest.$ac_ext
    2052 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2053 
    2054 fi
    2055 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2056 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2057 GCC=`test $ac_compiler_gnu = yes && echo yes`
    2058 ac_test_CFLAGS=${CFLAGS+set}
    2059 ac_save_CFLAGS=$CFLAGS
    2060 CFLAGS="-g"
    2061 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2062 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2063 if test "${ac_cv_prog_cc_g+set}" = set; then
    2064   echo $ECHO_N "(cached) $ECHO_C" >&6
    2065 else
    2066   cat >conftest.$ac_ext <<_ACEOF
    2067 #line $LINENO "configure"
    2068 /* confdefs.h.  */
    2069 _ACEOF
    2070 cat confdefs.h >>conftest.$ac_ext
    2071 cat >>conftest.$ac_ext <<_ACEOF
    2072 /* end confdefs.h.  */
    2073 
    2074 int
    2075 main ()
    2076 {
    2077 
    2078   ;
    2079   return 0;
    2080 }
    2081 _ACEOF
    2082 rm -f conftest.$ac_objext
    2083 if { (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
     902EOF
     903if { 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
     905else
     906  ac_cv_prog_gcc=no
     907fi
     908fi
     909
     910echo "$ac_t""$ac_cv_prog_gcc" 1>&6
     911
     912if test $ac_cv_prog_gcc = yes; then
     913  GCC=yes
     914else
     915  GCC=
     916fi
     917
     918ac_test_CFLAGS="${CFLAGS+set}"
     919ac_save_CFLAGS="$CFLAGS"
     920CFLAGS=
     921echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     922echo "configure:923: checking whether ${CC-cc} accepts -g" >&5
     923if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
     924  echo $ac_n "(cached) $ac_c" 1>&6
     925else
     926  echo 'void f(){}' > conftest.c
     927if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    2094928  ac_cv_prog_cc_g=yes
    2095929else
    2096   echo "$as_me: failed program was:" >&5
    2097 sed 's/^/| /' conftest.$ac_ext >&5
    2098 
    2099 ac_cv_prog_cc_g=no
    2100 fi
    2101 rm -f conftest.$ac_objext conftest.$ac_ext
    2102 fi
    2103 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2104 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     930  ac_cv_prog_cc_g=no
     931fi
     932rm -f conftest*
     933
     934fi
     935
     936echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
    2105937if test "$ac_test_CFLAGS" = set; then
    2106   CFLAGS=$ac_save_CFLAGS
     938  CFLAGS="$ac_save_CFLAGS"
    2107939elif test $ac_cv_prog_cc_g = yes; then
    2108940  if test "$GCC" = yes; then
     
    2118950  fi
    2119951fi
    2120 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2121 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2122 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2123   echo $ECHO_N "(cached) $ECHO_C" >&6
    2124 else
    2125   ac_cv_prog_cc_stdc=no
    2126 ac_save_CC=$CC
    2127 cat >conftest.$ac_ext <<_ACEOF
    2128 #line $LINENO "configure"
    2129 /* confdefs.h.  */
    2130 _ACEOF
    2131 cat confdefs.h >>conftest.$ac_ext
    2132 cat >>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.  */
    2139 struct buf { int x; };
    2140 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    2141 static char *e (p, i)
    2142      char **p;
    2143      int i;
    2144 {
    2145   return p[i];
    2146 }
    2147 static 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 }
    2156 int test (int i, double x);
    2157 struct s1 {int (*f) (int a);};
    2158 struct s2 {int (*f) (double a);};
    2159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    2160 int argc;
    2161 char **argv;
    2162 int
    2163 main ()
    2164 {
    2165 return 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__
    2177 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     952
     953test "${CXXFLAGS+set}" = set || cxxflags_expl_set=no
     954for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    2178955do
    2179   CC="$ac_save_CC $ac_arg"
    2180   rm -f conftest.$ac_objext
    2181 if { (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
    2193 break
    2194 else
    2195   echo "$as_me: failed program was:" >&5
    2196 sed 's/^/| /' conftest.$ac_ext >&5
    2197 
    2198 fi
    2199 rm -f conftest.$ac_objext
    2200 done
    2201 rm -f conftest.$ac_ext conftest.$ac_objext
    2202 CC=$ac_save_CC
    2203 
    2204 fi
    2205 
    2206 case "x$ac_cv_prog_cc_stdc" in
    2207   x|xno)
    2208     echo "$as_me:$LINENO: result: none needed" >&5
    2209 echo "${ECHO_T}none needed" >&6 ;;
    2210   *)
    2211     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2212 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2213     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2214 esac
    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.
    2220 cat >conftest.$ac_ext <<_ACEOF
    2221 #ifndef __cplusplus
    2222   choke me
    2223 #endif
    2224 _ACEOF
    2225 rm -f conftest.$ac_objext
    2226 if { (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);'
    2245 do
    2246   cat >conftest.$ac_ext <<_ACEOF
    2247 #line $LINENO "configure"
    2248 /* confdefs.h.  */
    2249 _ACEOF
    2250 cat confdefs.h >>conftest.$ac_ext
    2251 cat >>conftest.$ac_ext <<_ACEOF
    2252 /* end confdefs.h.  */
    2253 #include <stdlib.h>
    2254 $ac_declaration
    2255 int
    2256 main ()
    2257 {
    2258 exit (42);
    2259   ;
    2260   return 0;
    2261 }
    2262 _ACEOF
    2263 rm -f conftest.$ac_objext
    2264 if { (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   :
    2276 else
    2277   echo "$as_me: failed program was:" >&5
    2278 sed 's/^/| /' conftest.$ac_ext >&5
    2279 
    2280 continue
    2281 fi
    2282 rm -f conftest.$ac_objext conftest.$ac_ext
    2283   cat >conftest.$ac_ext <<_ACEOF
    2284 #line $LINENO "configure"
    2285 /* confdefs.h.  */
    2286 _ACEOF
    2287 cat confdefs.h >>conftest.$ac_ext
    2288 cat >>conftest.$ac_ext <<_ACEOF
    2289 /* end confdefs.h.  */
    2290 $ac_declaration
    2291 int
    2292 main ()
    2293 {
    2294 exit (42);
    2295   ;
    2296   return 0;
    2297 }
    2298 _ACEOF
    2299 rm -f conftest.$ac_objext
    2300 if { (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
    2312 else
    2313   echo "$as_me: failed program was:" >&5
    2314 sed 's/^/| /' conftest.$ac_ext >&5
    2315 
    2316 fi
    2317 rm -f conftest.$ac_objext conftest.$ac_ext
    2318 done
    2319 rm -f conftest*
    2320 if test -n "$ac_declaration"; then
    2321   echo '#ifdef __cplusplus' >>confdefs.h
    2322   echo $ac_declaration      >>confdefs.h
    2323   echo '#endif'             >>confdefs.h
    2324 fi
    2325 
    2326 else
    2327   echo "$as_me: failed program was:" >&5
    2328 sed 's/^/| /' conftest.$ac_ext >&5
    2329 
    2330 fi
    2331 rm -f conftest.$ac_objext conftest.$ac_ext
    2332 ac_ext=c
    2333 ac_cpp='$CPP $CPPFLAGS'
    2334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2337 
    2338 test "${CXXFLAGS+set}" = set || cxxflags_expl_set=no
    2339 ac_ext=cc
    2340 ac_cpp='$CXXCPP $CPPFLAGS'
    2341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2344 if 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.
    2348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2349 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2351 if test "${ac_cv_prog_CXX+set}" = set; then
    2352   echo $ECHO_N "(cached) $ECHO_C" >&6
     956# Extract the first word of "$ac_prog", so it can be a program name with args.
     957set dummy $ac_prog; ac_word=$2
     958echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     959echo "configure:960: checking for $ac_word" >&5
     960if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
     961  echo $ac_n "(cached) $ac_c" 1>&6
    2353962else
    2354963  if test -n "$CXX"; then
    2355964  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    2356965else
    2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2358 for as_dir in $PATH
    2359 do
    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
     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
     974  done
     975  IFS="$ac_save_ifs"
     976fi
     977fi
     978CXX="$ac_cv_prog_CXX"
     979if test -n "$CXX"; then
     980  echo "$ac_t""$CXX" 1>&6
     981else
     982  echo "$ac_t""no" 1>&6
     983fi
     984
     985test -n "$CXX" && break
     986done
     987test -n "$CXX" || CXX="gcc"
     988
     989
     990echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     991echo "configure:992: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     992
     993ac_ext=C
     994# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     995ac_cpp='$CXXCPP $CPPFLAGS'
     996ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     997ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     998cross_compiling=$ac_cv_prog_cxx_cross
     999
     1000cat > conftest.$ac_ext << EOF
     1001
     1002#line 1003 "configure"
     1003#include "confdefs.h"
     1004
     1005int main(){return(0);}
     1006EOF
     1007if { (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
    23671014  fi
    2368 done
    2369 done
    2370 
    2371 fi
    2372 fi
    2373 CXX=$ac_cv_prog_CXX
    2374 if test -n "$CXX"; then
    2375   echo "$as_me:$LINENO: result: $CXX" >&5
    2376 echo "${ECHO_T}$CXX" >&6
    2377 else
    2378   echo "$as_me:$LINENO: result: no" >&5
    2379 echo "${ECHO_T}no" >&6
    2380 fi
    2381 
    2382     test -n "$CXX" && break
    2383   done
    2384 fi
    2385 if 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
    2388 do
    2389   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2390 set dummy $ac_prog; ac_word=$2
    2391 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2393 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2394   echo $ECHO_N "(cached) $ECHO_C" >&6
    2395 else
    2396   if test -n "$ac_ct_CXX"; then
    2397   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    2398 else
    2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2400 for as_dir in $PATH
    2401 do
    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
    2410 done
    2411 done
    2412 
    2413 fi
    2414 fi
    2415 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    2416 if test -n "$ac_ct_CXX"; then
    2417   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2418 echo "${ECHO_T}$ac_ct_CXX" >&6
    2419 else
    2420   echo "$as_me:$LINENO: result: no" >&5
    2421 echo "${ECHO_T}no" >&6
    2422 fi
    2423 
    2424   test -n "$ac_ct_CXX" && break
    2425 done
    2426 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2427 
    2428   CXX=$ac_ct_CXX
    2429 fi
    2430 
    2431 
    2432 # Provide some information about the compiler.
    2433 echo "$as_me:$LINENO:" \
    2434      "checking for C++ compiler version" >&5
    2435 ac_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 
    2452 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2453 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    2454 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2455   echo $ECHO_N "(cached) $ECHO_C" >&6
    2456 else
    2457   cat >conftest.$ac_ext <<_ACEOF
    2458 #line $LINENO "configure"
    2459 /* confdefs.h.  */
    2460 _ACEOF
    2461 cat confdefs.h >>conftest.$ac_ext
    2462 cat >>conftest.$ac_ext <<_ACEOF
    2463 /* end confdefs.h.  */
    2464 
    2465 int
    2466 main ()
    2467 {
    2468 #ifndef __GNUC__
    2469        choke me
     1015else
     1016  echo "configure: failed program was:" >&5
     1017  cat conftest.$ac_ext >&5
     1018  ac_cv_prog_cxx_works=no
     1019fi
     1020rm -fr conftest*
     1021ac_ext=c
     1022# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1023ac_cpp='$CPP $CPPFLAGS'
     1024ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1025ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1026cross_compiling=$ac_cv_prog_cc_cross
     1027
     1028echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
     1029if 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; }
     1031fi
     1032echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     1033echo "configure:1034: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1034echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
     1035cross_compiling=$ac_cv_prog_cxx_cross
     1036
     1037echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
     1038echo "configure:1039: checking whether we are using GNU C++" >&5
     1039if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
     1040  echo $ac_n "(cached) $ac_c" 1>&6
     1041else
     1042  cat > conftest.C <<EOF
     1043#ifdef __GNUC__
     1044  yes;
    24701045#endif
    2471 
    2472   ;
    2473   return 0;
    2474 }
    2475 _ACEOF
    2476 rm -f conftest.$ac_objext
    2477 if { (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
    2489 else
    2490   echo "$as_me: failed program was:" >&5
    2491 sed 's/^/| /' conftest.$ac_ext >&5
    2492 
    2493 ac_compiler_gnu=no
    2494 fi
    2495 rm -f conftest.$ac_objext conftest.$ac_ext
    2496 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    2497 
    2498 fi
    2499 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2500 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2501 GXX=`test $ac_compiler_gnu = yes && echo yes`
    2502 ac_test_CXXFLAGS=${CXXFLAGS+set}
    2503 ac_save_CXXFLAGS=$CXXFLAGS
    2504 CXXFLAGS="-g"
    2505 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2506 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    2507 if test "${ac_cv_prog_cxx_g+set}" = set; then
    2508   echo $ECHO_N "(cached) $ECHO_C" >&6
    2509 else
    2510   cat >conftest.$ac_ext <<_ACEOF
    2511 #line $LINENO "configure"
    2512 /* confdefs.h.  */
    2513 _ACEOF
    2514 cat confdefs.h >>conftest.$ac_ext
    2515 cat >>conftest.$ac_ext <<_ACEOF
    2516 /* end confdefs.h.  */
    2517 
    2518 int
    2519 main ()
    2520 {
    2521 
    2522   ;
    2523   return 0;
    2524 }
    2525 _ACEOF
    2526 rm -f conftest.$ac_objext
    2527 if { (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
     1046EOF
     1047if { 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
     1049else
     1050  ac_cv_prog_gxx=no
     1051fi
     1052fi
     1053
     1054echo "$ac_t""$ac_cv_prog_gxx" 1>&6
     1055
     1056if test $ac_cv_prog_gxx = yes; then
     1057  GXX=yes
     1058else
     1059  GXX=
     1060fi
     1061
     1062ac_test_CXXFLAGS="${CXXFLAGS+set}"
     1063ac_save_CXXFLAGS="$CXXFLAGS"
     1064CXXFLAGS=
     1065echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     1066echo "configure:1067: checking whether ${CXX-g++} accepts -g" >&5
     1067if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
     1068  echo $ac_n "(cached) $ac_c" 1>&6
     1069else
     1070  echo 'void f(){}' > conftest.cc
     1071if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
    25381072  ac_cv_prog_cxx_g=yes
    25391073else
    2540   echo "$as_me: failed program was:" >&5
    2541 sed 's/^/| /' conftest.$ac_ext >&5
    2542 
    2543 ac_cv_prog_cxx_g=no
    2544 fi
    2545 rm -f conftest.$ac_objext conftest.$ac_ext
    2546 fi
    2547 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2548 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     1074  ac_cv_prog_cxx_g=no
     1075fi
     1076rm -f conftest*
     1077
     1078fi
     1079
     1080echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
    25491081if test "$ac_test_CXXFLAGS" = set; then
    2550   CXXFLAGS=$ac_save_CXXFLAGS
     1082  CXXFLAGS="$ac_save_CXXFLAGS"
    25511083elif test $ac_cv_prog_cxx_g = yes; then
    25521084  if test "$GXX" = yes; then
     
    25621094  fi
    25631095fi
    2564 for 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);'
    2572 do
    2573   cat >conftest.$ac_ext <<_ACEOF
    2574 #line $LINENO "configure"
    2575 /* confdefs.h.  */
    2576 _ACEOF
    2577 cat confdefs.h >>conftest.$ac_ext
    2578 cat >>conftest.$ac_ext <<_ACEOF
    2579 /* end confdefs.h.  */
    2580 #include <stdlib.h>
    2581 $ac_declaration
    2582 int
    2583 main ()
    2584 {
    2585 exit (42);
    2586   ;
    2587   return 0;
    2588 }
    2589 _ACEOF
    2590 rm -f conftest.$ac_objext
    2591 if { (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   :
    2603 else
    2604   echo "$as_me: failed program was:" >&5
    2605 sed 's/^/| /' conftest.$ac_ext >&5
    2606 
    2607 continue
    2608 fi
    2609 rm -f conftest.$ac_objext conftest.$ac_ext
    2610   cat >conftest.$ac_ext <<_ACEOF
    2611 #line $LINENO "configure"
    2612 /* confdefs.h.  */
    2613 _ACEOF
    2614 cat confdefs.h >>conftest.$ac_ext
    2615 cat >>conftest.$ac_ext <<_ACEOF
    2616 /* end confdefs.h.  */
    2617 $ac_declaration
    2618 int
    2619 main ()
    2620 {
    2621 exit (42);
    2622   ;
    2623   return 0;
    2624 }
    2625 _ACEOF
    2626 rm -f conftest.$ac_objext
    2627 if { (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
    2639 else
    2640   echo "$as_me: failed program was:" >&5
    2641 sed 's/^/| /' conftest.$ac_ext >&5
    2642 
    2643 fi
    2644 rm -f conftest.$ac_objext conftest.$ac_ext
    2645 done
    2646 rm -f conftest*
    2647 if test -n "$ac_declaration"; then
    2648   echo '#ifdef __cplusplus' >>confdefs.h
    2649   echo $ac_declaration      >>confdefs.h
    2650   echo '#endif'             >>confdefs.h
    2651 fi
    2652 
    2653 ac_ext=c
    2654 ac_cpp='$CPP $CPPFLAGS'
    2655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    26581096
    26591097if test "x$GCC" != xyes && test "x$GXX" != xyes; then
    2660   { echo "$as_me:$LINENO: WARNING: you better use gcc to compile Factory" >&5
    2661 echo "$as_me: WARNING: you better use gcc to compile Factory" >&2;}
     1098  echo "configure: warning: you better use gcc to compile Factory" 1>&2
    26621099else
    26631100  if test "x$GXX" = xyes && test "x$cxxflags_expl_set" = xno; then
    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
    2666 echo "$as_me: WARNING: we use \`-O2 -fomit-frame-pointer' as default for \`CXXFLAGS'
    2667                     (instead of the configure default \`-g -O')" >&2;}
     1101    echo "configure: warning: we use \`-O2 -fomit-frame-pointer' as default for \`CXXFLAGS'
     1102                    (instead of the configure default \`-g -O')" 1>&2
    26681103  fi
    26691104  if test "x$GCC" = xyes && test "x$cflags_expl_set" = xno; then
    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
    2672 echo "$as_me: WARNING: we use \`-O2 -fomit-frame-pointer' as default for \`CFLAGS'
    2673                     (instead of the configure default \`-g -O')" >&2;}
     1105    echo "configure: warning: we use \`-O2 -fomit-frame-pointer' as default for \`CFLAGS'
     1106                    (instead of the configure default \`-g -O')" 1>&2
    26741107  fi
    26751108fi
     
    26781111# - check for some other programs.
    26791112#
    2680 ac_ext=c
    2681 ac_cpp='$CPP $CPPFLAGS'
    2682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2685 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2686 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     1113echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     1114echo "configure:1115: checking how to run the C preprocessor" >&5
    26871115# On Suns, sometimes $CPP names a directory.
    26881116if test -n "$CPP" && test -d "$CPP"; then
     
    26901118fi
    26911119if test -z "$CPP"; then
    2692   if test "${ac_cv_prog_CPP+set}" = set; then
    2693   echo $ECHO_N "(cached) $ECHO_C" >&6
    2694 else
    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
    2699 for ac_c_preproc_warn_flag in '' yes
    2700 do
    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.
     1120if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
     1121  echo $ac_n "(cached) $ac_c" 1>&6
     1122else
     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"
    27051126  # On the NeXT, cc -E runs the code through the compiler's parser,
    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
    2711 cat confdefs.h >>conftest.$ac_ext
    2712 cat >>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
    2721 if { (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
    2734 else
    2735   ac_cpp_err=yes
    2736 fi
    2737 if test -z "$ac_cpp_err"; then
     1127  # not just through cpp.
     1128  cat > conftest.$ac_ext <<EOF
     1129#line 1130 "configure"
     1130#include "confdefs.h"
     1131#include <assert.h>
     1132Syntax Error
     1133EOF
     1134ac_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; }
     1136ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1137if test -z "$ac_err"; then
    27381138  :
    27391139else
    2740   echo "$as_me: failed program was:" >&5
    2741 sed 's/^/| /' conftest.$ac_ext >&5
    2742 
    2743   # Broken: fails on valid input.
    2744 continue
    2745 fi
    2746 rm -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
    2754 cat confdefs.h >>conftest.$ac_ext
    2755 cat >>conftest.$ac_ext <<_ACEOF
    2756 /* end confdefs.h.  */
    2757 #include <ac_nonexistent.h>
    2758 _ACEOF
    2759 if { (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
    2772 else
    2773   ac_cpp_err=yes
    2774 fi
    2775 if test -z "$ac_cpp_err"; then
    2776   # Broken: success on invalid input.
    2777 continue
    2778 else
    2779   echo "$as_me: failed program was:" >&5
    2780 sed 's/^/| /' conftest.$ac_ext >&5
    2781 
    2782   # Passes both tests.
    2783 ac_preproc_ok=:
    2784 break
    2785 fi
    2786 rm -f conftest.err conftest.$ac_ext
    2787 
    2788 done
    2789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2790 rm -f conftest.err conftest.$ac_ext
    2791 if $ac_preproc_ok; then
    2792   break
    2793 fi
    2794 
    2795     done
    2796     ac_cv_prog_CPP=$CPP
    2797 
    2798 fi
    2799   CPP=$ac_cv_prog_CPP
    2800 else
    2801   ac_cv_prog_CPP=$CPP
    2802 fi
    2803 echo "$as_me:$LINENO: result: $CPP" >&5
    2804 echo "${ECHO_T}$CPP" >&6
    2805 ac_preproc_ok=false
    2806 for ac_c_preproc_warn_flag in '' yes
    2807 do
    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
    2818 cat confdefs.h >>conftest.$ac_ext
    2819 cat >>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
    2828 if { (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
    2841 else
    2842   ac_cpp_err=yes
    2843 fi
    2844 if test -z "$ac_cpp_err"; then
     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>
     1149Syntax Error
     1150EOF
     1151ac_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; }
     1153ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1154if test -z "$ac_err"; then
    28451155  :
    28461156else
    2847   echo "$as_me: failed program was:" >&5
    2848 sed 's/^/| /' conftest.$ac_ext >&5
    2849 
    2850   # Broken: fails on valid input.
    2851 continue
    2852 fi
    2853 rm -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
    2861 cat confdefs.h >>conftest.$ac_ext
    2862 cat >>conftest.$ac_ext <<_ACEOF
    2863 /* end confdefs.h.  */
    2864 #include <ac_nonexistent.h>
    2865 _ACEOF
    2866 if { (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
    2879 else
    2880   ac_cpp_err=yes
    2881 fi
    2882 if test -z "$ac_cpp_err"; then
    2883   # Broken: success on invalid input.
    2884 continue
    2885 else
    2886   echo "$as_me: failed program was:" >&5
    2887 sed 's/^/| /' conftest.$ac_ext >&5
    2888 
    2889   # Passes both tests.
    2890 ac_preproc_ok=:
    2891 break
    2892 fi
    2893 rm -f conftest.err conftest.$ac_ext
    2894 
    2895 done
    2896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2897 rm -f conftest.err conftest.$ac_ext
    2898 if $ac_preproc_ok; then
     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>
     1166Syntax Error
     1167EOF
     1168ac_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; }
     1170ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1171if test -z "$ac_err"; then
    28991172  :
    29001173else
    2901   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    2902 See \`config.log' for more details." >&5
    2903 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    2904 See \`config.log' for more details." >&2;}
    2905    { (exit 1); exit 1; }; }
    2906 fi
    2907 
     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
     1179fi
     1180rm -f conftest*
     1181fi
     1182rm -f conftest*
     1183fi
     1184rm -f conftest*
     1185  ac_cv_prog_CPP="$CPP"
     1186fi
     1187  CPP="$ac_cv_prog_CPP"
     1188else
     1189  ac_cv_prog_CPP="$CPP"
     1190fi
     1191echo "$ac_t""$CPP" 1>&6
     1192
     1193echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
     1194echo "configure:1195: checking how to run the C++ preprocessor" >&5
     1195if test -z "$CXXCPP"; then
     1196if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     1197  echo $ac_n "(cached) $ac_c" 1>&6
     1198else
     1199  ac_ext=C
     1200# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1201ac_cpp='$CXXCPP $CPPFLAGS'
     1202ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1203ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1204cross_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>
     1210EOF
     1211ac_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; }
     1213ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1214if test -z "$ac_err"; then
     1215  :
     1216else
     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
     1222fi
     1223rm -f conftest*
     1224  ac_cv_prog_CXXCPP="$CXXCPP"
    29081225ac_ext=c
     1226# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    29091227ac_cpp='$CPP $CPPFLAGS'
    2910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2913 
    2914 ac_ext=cc
    2915 ac_cpp='$CXXCPP $CPPFLAGS'
    2916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2919 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    2920 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    2921 if test -z "$CXXCPP"; then
    2922   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    2923   echo $ECHO_N "(cached) $ECHO_C" >&6
    2924 else
    2925       # Double quotes because CXXCPP needs to be expanded
    2926     for CXXCPP in "$CXX -E" "/lib/cpp"
    2927     do
    2928       ac_preproc_ok=false
    2929 for ac_cxx_preproc_warn_flag in '' yes
    2930 do
    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
    2941 cat confdefs.h >>conftest.$ac_ext
    2942 cat >>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
    2951 if { (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
    2964 else
    2965   ac_cpp_err=yes
    2966 fi
    2967 if test -z "$ac_cpp_err"; then
    2968   :
    2969 else
    2970   echo "$as_me: failed program was:" >&5
    2971 sed 's/^/| /' conftest.$ac_ext >&5
    2972 
    2973   # Broken: fails on valid input.
    2974 continue
    2975 fi
    2976 rm -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
    2984 cat confdefs.h >>conftest.$ac_ext
    2985 cat >>conftest.$ac_ext <<_ACEOF
    2986 /* end confdefs.h.  */
    2987 #include <ac_nonexistent.h>
    2988 _ACEOF
    2989 if { (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
    3002 else
    3003   ac_cpp_err=yes
    3004 fi
    3005 if test -z "$ac_cpp_err"; then
    3006   # Broken: success on invalid input.
    3007 continue
    3008 else
    3009   echo "$as_me: failed program was:" >&5
    3010 sed 's/^/| /' conftest.$ac_ext >&5
    3011 
    3012   # Passes both tests.
    3013 ac_preproc_ok=:
    3014 break
    3015 fi
    3016 rm -f conftest.err conftest.$ac_ext
    3017 
    3018 done
    3019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3020 rm -f conftest.err conftest.$ac_ext
    3021 if $ac_preproc_ok; then
    3022   break
    3023 fi
    3024 
    3025     done
    3026     ac_cv_prog_CXXCPP=$CXXCPP
    3027 
    3028 fi
    3029   CXXCPP=$ac_cv_prog_CXXCPP
    3030 else
    3031   ac_cv_prog_CXXCPP=$CXXCPP
    3032 fi
    3033 echo "$as_me:$LINENO: result: $CXXCPP" >&5
    3034 echo "${ECHO_T}$CXXCPP" >&6
    3035 ac_preproc_ok=false
    3036 for ac_cxx_preproc_warn_flag in '' yes
    3037 do
    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
    3048 cat confdefs.h >>conftest.$ac_ext
    3049 cat >>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
    3058 if { (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
    3071 else
    3072   ac_cpp_err=yes
    3073 fi
    3074 if test -z "$ac_cpp_err"; then
    3075   :
    3076 else
    3077   echo "$as_me: failed program was:" >&5
    3078 sed 's/^/| /' conftest.$ac_ext >&5
    3079 
    3080   # Broken: fails on valid input.
    3081 continue
    3082 fi
    3083 rm -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
    3091 cat confdefs.h >>conftest.$ac_ext
    3092 cat >>conftest.$ac_ext <<_ACEOF
    3093 /* end confdefs.h.  */
    3094 #include <ac_nonexistent.h>
    3095 _ACEOF
    3096 if { (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
    3109 else
    3110   ac_cpp_err=yes
    3111 fi
    3112 if test -z "$ac_cpp_err"; then
    3113   # Broken: success on invalid input.
    3114 continue
    3115 else
    3116   echo "$as_me: failed program was:" >&5
    3117 sed 's/^/| /' conftest.$ac_ext >&5
    3118 
    3119   # Passes both tests.
    3120 ac_preproc_ok=:
    3121 break
    3122 fi
    3123 rm -f conftest.err conftest.$ac_ext
    3124 
    3125 done
    3126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3127 rm -f conftest.err conftest.$ac_ext
    3128 if $ac_preproc_ok; then
    3129   :
    3130 else
    3131   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    3132 See \`config.log' for more details." >&5
    3133 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    3134 See \`config.log' for more details." >&2;}
    3135    { (exit 1); exit 1; }; }
    3136 fi
    3137 
    3138 ac_ext=c
    3139 ac_cpp='$CPP $CPPFLAGS'
    3140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3143 
    3144 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3145 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    3146 LN_S=$as_ln_s
    3147 if test "$LN_S" = "ln -s"; then
    3148   echo "$as_me:$LINENO: result: yes" >&5
    3149 echo "${ECHO_T}yes" >&6
    3150 else
    3151   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3152 echo "${ECHO_T}no, using $LN_S" >&6
     1228ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1229ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1230cross_compiling=$ac_cv_prog_cc_cross
     1231fi
     1232fi
     1233CXXCPP="$ac_cv_prog_CXXCPP"
     1234echo "$ac_t""$CXXCPP" 1>&6
     1235
     1236echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
     1237echo "configure:1238: checking whether ln -s works" >&5
     1238if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
     1239  echo $ac_n "(cached) $ac_c" 1>&6
     1240else
     1241  rm -f conftestdata
     1242if ln -s X conftestdata 2>/dev/null
     1243then
     1244  rm -f conftestdata
     1245  ac_cv_prog_LN_S="ln -s"
     1246else
     1247  ac_cv_prog_LN_S=ln
     1248fi
     1249fi
     1250LN_S="$ac_cv_prog_LN_S"
     1251if test "$ac_cv_prog_LN_S" = "ln -s"; then
     1252  echo "$ac_t""yes" 1>&6
     1253else
     1254  echo "$ac_t""no" 1>&6
    31531255fi
    31541256
     
    31601262# IRIX /sbin/install
    31611263# AIX /bin/install
    3162 # AmigaOS /C/install, which installs bootblocks on floppy discs
    31631264# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    31641265# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    31651266# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    31661267# ./install, which can be erroneously created by make from ./install.sh.
    3167 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3168 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     1268echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     1269echo "configure:1270: checking for a BSD compatible install" >&5
    31691270if test -z "$INSTALL"; then
    3170 if test "${ac_cv_path_install+set}" = set; then
    3171   echo $ECHO_N "(cached) $ECHO_C" >&6
    3172 else
    3173   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3174 for as_dir in $PATH
    3175 do
    3176   IFS=$as_save_IFS
    3177   test -z "$as_dir" && as_dir=.
    3178   # Account for people who put trailing slashes in PATH elements.
    3179 case $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
     1271if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     1272  echo $ac_n "(cached) $ac_c" 1>&6
     1273else
     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
    32031294      done
    3204     done
    3205     ;;
    3206 esac
    3207 done
    3208 
     1295      ;;
     1296    esac
     1297  done
     1298  IFS="$ac_save_IFS"
    32091299
    32101300fi
    32111301  if test "${ac_cv_path_install+set}" = set; then
    3212     INSTALL=$ac_cv_path_install
     1302    INSTALL="$ac_cv_path_install"
    32131303  else
    32141304    # As a last resort, use the slow shell script.  We don't cache a
     
    32161306    # break other packages using the cache if that directory is
    32171307    # removed, or if the path is relative.
    3218     INSTALL=$ac_install_sh
     1308    INSTALL="$ac_install_sh"
    32191309  fi
    32201310fi
    3221 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3222 echo "${ECHO_T}$INSTALL" >&6
     1311echo "$ac_t""$INSTALL" 1>&6
    32231312
    32241313# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    32261315test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    32271316
    3228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     1317test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    32291318
    32301319test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    32311320
    3232 if 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.
    3234 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3235 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3237 if test "${ac_cv_prog_RANLIB+set}" = set; then
    3238   echo $ECHO_N "(cached) $ECHO_C" >&6
     1321# Extract the first word of "ranlib", so it can be a program name with args.
     1322set dummy ranlib; ac_word=$2
     1323echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1324echo "configure:1325: checking for $ac_word" >&5
     1325if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
     1326  echo $ac_n "(cached) $ac_c" 1>&6
    32391327else
    32401328  if test -n "$RANLIB"; then
    32411329  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    32421330else
    3243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3244 for as_dir in $PATH
    3245 do
    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
    3254 done
    3255 done
    3256 
    3257 fi
    3258 fi
    3259 RANLIB=$ac_cv_prog_RANLIB
     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=":"
     1342fi
     1343fi
     1344RANLIB="$ac_cv_prog_RANLIB"
    32601345if test -n "$RANLIB"; then
    3261   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3262 echo "${ECHO_T}$RANLIB" >&6
    3263 else
    3264   echo "$as_me:$LINENO: result: no" >&5
    3265 echo "${ECHO_T}no" >&6
    3266 fi
    3267 
    3268 fi
    3269 if 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.
    3272 set dummy ranlib; ac_word=$2
    3273 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3275 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3276   echo $ECHO_N "(cached) $ECHO_C" >&6
    3277 else
    3278   if test -n "$ac_ct_RANLIB"; then
    3279   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    3280 else
    3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3282 for as_dir in $PATH
    3283 do
    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
    3292 done
    3293 done
    3294 
    3295   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
    3296 fi
    3297 fi
    3298 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    3299 if test -n "$ac_ct_RANLIB"; then
    3300   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3301 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3302 else
    3303   echo "$as_me:$LINENO: result: no" >&5
    3304 echo "${ECHO_T}no" >&6
    3305 fi
    3306 
    3307   RANLIB=$ac_ct_RANLIB
    3308 else
    3309   RANLIB="$ac_cv_prog_RANLIB"
    3310 fi
    3311 
    3312 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3313 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3314 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
    3315 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    3316   echo $ECHO_N "(cached) $ECHO_C" >&6
    3317 else
    3318   cat >conftest.make <<\_ACEOF
     1346  echo "$ac_t""$RANLIB" 1>&6
     1347else
     1348  echo "$ac_t""no" 1>&6
     1349fi
     1350
     1351echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
     1352echo "configure:1353: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1353set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     1354if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     1355  echo $ac_n "(cached) $ac_c" 1>&6
     1356else
     1357  cat > conftestmake <<\EOF
    33191358all:
    3320         @echo 'ac_maketemp="$(MAKE)"'
    3321 _ACEOF
     1359        @echo 'ac_maketemp="${MAKE}"'
     1360EOF
    33221361# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3323 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     1362eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
    33241363if test -n "$ac_maketemp"; then
    33251364  eval ac_cv_prog_make_${ac_make}_set=yes
     
    33271366  eval ac_cv_prog_make_${ac_make}_set=no
    33281367fi
    3329 rm -f conftest.make
     1368rm -f conftestmake
    33301369fi
    33311370if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3332   echo "$as_me:$LINENO: result: yes" >&5
    3333 echo "${ECHO_T}yes" >&6
     1371  echo "$ac_t""yes" 1>&6
    33341372  SET_MAKE=
    33351373else
    3336   echo "$as_me:$LINENO: result: no" >&5
    3337 echo "${ECHO_T}no" >&6
     1374  echo "$ac_t""no" 1>&6
    33381375  SET_MAKE="MAKE=${MAKE-make}"
    33391376fi
     
    33411378# Extract the first word of "ar", so it can be a program name with args.
    33421379set dummy ar; ac_word=$2
    3343 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3345 if test "${ac_cv_prog_AR+set}" = set; then
    3346   echo $ECHO_N "(cached) $ECHO_C" >&6
     1380echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1381echo "configure:1382: checking for $ac_word" >&5
     1382if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
     1383  echo $ac_n "(cached) $ac_c" 1>&6
    33471384else
    33481385  if test -n "$AR"; then
    33491386  ac_cv_prog_AR="$AR" # Let the user override the test.
    33501387else
    3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3352 for as_dir in $PATH
    3353 do
    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
    3362 done
    3363 done
    3364 
     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"
    33651398  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="where-is-your-ar"
    33661399fi
    33671400fi
    3368 AR=$ac_cv_prog_AR
     1401AR="$ac_cv_prog_AR"
    33691402if test -n "$AR"; then
    3370   echo "$as_me:$LINENO: result: $AR" >&5
    3371 echo "${ECHO_T}$AR" >&6
    3372 else
    3373   echo "$as_me:$LINENO: result: no" >&5
    3374 echo "${ECHO_T}no" >&6
     1403  echo "$ac_t""$AR" 1>&6
     1404else
     1405  echo "$ac_t""no" 1>&6
    33751406fi
    33761407
    33771408# Extract the first word of "m4", so it can be a program name with args.
    33781409set dummy m4; ac_word=$2
    3379 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3381 if test "${ac_cv_prog_M4+set}" = set; then
    3382   echo $ECHO_N "(cached) $ECHO_C" >&6
     1410echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1411echo "configure:1412: checking for $ac_word" >&5
     1412if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
     1413  echo $ac_n "(cached) $ac_c" 1>&6
    33831414else
    33841415  if test -n "$M4"; then
    33851416  ac_cv_prog_M4="$M4" # Let the user override the test.
    33861417else
    3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3388 for as_dir in $PATH
    3389 do
    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
    3398 done
    3399 done
    3400 
     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"
    34011428  test -z "$ac_cv_prog_M4" && ac_cv_prog_M4="where-is-your-m4"
    34021429fi
    34031430fi
    3404 M4=$ac_cv_prog_M4
     1431M4="$ac_cv_prog_M4"
    34051432if test -n "$M4"; then
    3406   echo "$as_me:$LINENO: result: $M4" >&5
    3407 echo "${ECHO_T}$M4" >&6
    3408 else
    3409   echo "$as_me:$LINENO: result: no" >&5
    3410 echo "${ECHO_T}no" >&6
     1433  echo "$ac_t""$M4" 1>&6
     1434else
     1435  echo "$ac_t""no" 1>&6
    34111436fi
    34121437
    34131438# Extract the first word of "bison", so it can be a program name with args.
    34141439set dummy bison; ac_word=$2
    3415 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3417 if test "${ac_cv_prog_BISON+set}" = set; then
    3418   echo $ECHO_N "(cached) $ECHO_C" >&6
     1440echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1441echo "configure:1442: checking for $ac_word" >&5
     1442if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
     1443  echo $ac_n "(cached) $ac_c" 1>&6
    34191444else
    34201445  if test -n "$BISON"; then
    34211446  ac_cv_prog_BISON="$BISON" # Let the user override the test.
    34221447else
    3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3424 for as_dir in $PATH
    3425 do
    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
    3434 done
    3435 done
    3436 
     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"
    34371458  test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="where-is-your-bison"
    34381459fi
    34391460fi
    3440 BISON=$ac_cv_prog_BISON
     1461BISON="$ac_cv_prog_BISON"
    34411462if test -n "$BISON"; then
    3442   echo "$as_me:$LINENO: result: $BISON" >&5
    3443 echo "${ECHO_T}$BISON" >&6
    3444 else
    3445   echo "$as_me:$LINENO: result: no" >&5
    3446 echo "${ECHO_T}no" >&6
     1463  echo "$ac_t""$BISON" 1>&6
     1464else
     1465  echo "$ac_t""no" 1>&6
    34471466fi
    34481467
     
    34581477# Extract the first word of "mkinstalldirs", so it can be a program name with args.
    34591478set dummy mkinstalldirs; ac_word=$2
    3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3462 if test "${ac_cv_path_FACTORY_MKINSTALLDIRS+set}" = set; then
    3463   echo $ECHO_N "(cached) $ECHO_C" >&6
    3464 else
    3465   case $FACTORY_MKINSTALLDIRS in
    3466   [\\/]* | ?:[\\/]*)
     1479echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1480echo "configure:1481: checking for $ac_word" >&5
     1481if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
     1482  echo $ac_n "(cached) $ac_c" 1>&6
     1483else
     1484  case "$FACTORY_MKINSTALLDIRS" in
     1485  /*)
    34671486  ac_cv_path_FACTORY_MKINSTALLDIRS="$FACTORY_MKINSTALLDIRS" # Let the user override the test with a path.
    34681487  ;;
     1488  ?:/*)                 
     1489  ac_cv_path_FACTORY_MKINSTALLDIRS="$FACTORY_MKINSTALLDIRS" # Let the user override the test with a dos path.
     1490  ;;
    34691491  *)
    3470   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3471 for as_dir in $PATH
    3472 do
    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
    3481 done
    3482 done
    3483 
     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"
    34841502  test -z "$ac_cv_path_FACTORY_MKINSTALLDIRS" && ac_cv_path_FACTORY_MKINSTALLDIRS="-mkdir"
    34851503  ;;
    34861504esac
    34871505fi
    3488 FACTORY_MKINSTALLDIRS=$ac_cv_path_FACTORY_MKINSTALLDIRS
    3489 
     1506FACTORY_MKINSTALLDIRS="$ac_cv_path_FACTORY_MKINSTALLDIRS"
    34901507if test -n "$FACTORY_MKINSTALLDIRS"; then
    3491   echo "$as_me:$LINENO: result: $FACTORY_MKINSTALLDIRS" >&5
    3492 echo "${ECHO_T}$FACTORY_MKINSTALLDIRS" >&6
    3493 else
    3494   echo "$as_me:$LINENO: result: no" >&5
    3495 echo "${ECHO_T}no" >&6
     1508  echo "$ac_t""$FACTORY_MKINSTALLDIRS" 1>&6
     1509else
     1510  echo "$ac_t""no" 1>&6
    34961511fi
    34971512
     
    34991514# Extract the first word of "makeheader", so it can be a program name with args.
    35001515set dummy makeheader; ac_word=$2
    3501 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3503 if test "${ac_cv_path_FACTORY_MAKEHEADER+set}" = set; then
    3504   echo $ECHO_N "(cached) $ECHO_C" >&6
    3505 else
    3506   case $FACTORY_MAKEHEADER in
    3507   [\\/]* | ?:[\\/]*)
     1516echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1517echo "configure:1518: checking for $ac_word" >&5
     1518if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
     1519  echo $ac_n "(cached) $ac_c" 1>&6
     1520else
     1521  case "$FACTORY_MAKEHEADER" in
     1522  /*)
    35081523  ac_cv_path_FACTORY_MAKEHEADER="$FACTORY_MAKEHEADER" # Let the user override the test with a path.
    35091524  ;;
     1525  ?:/*)                 
     1526  ac_cv_path_FACTORY_MAKEHEADER="$FACTORY_MAKEHEADER" # Let the user override the test with a dos path.
     1527  ;;
    35101528  *)
    3511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3512 for as_dir in $PATH
    3513 do
    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
    3522 done
    3523 done
    3524 
     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"
    35251539  ;;
    35261540esac
    35271541fi
    3528 FACTORY_MAKEHEADER=$ac_cv_path_FACTORY_MAKEHEADER
    3529 
     1542FACTORY_MAKEHEADER="$ac_cv_path_FACTORY_MAKEHEADER"
    35301543if test -n "$FACTORY_MAKEHEADER"; then
    3531   echo "$as_me:$LINENO: result: $FACTORY_MAKEHEADER" >&5
    3532 echo "${ECHO_T}$FACTORY_MAKEHEADER" >&6
    3533 else
    3534   echo "$as_me:$LINENO: result: no" >&5
    3535 echo "${ECHO_T}no" >&6
     1544  echo "$ac_t""$FACTORY_MAKEHEADER" 1>&6
     1545else
     1546  echo "$ac_t""no" 1>&6
    35361547fi
    35371548
     
    35421553#
    35431554
    3544 echo "$as_me:$LINENO: checking and generating explicit install paths" >&5
    3545 echo $ECHO_N "checking and generating explicit install paths... $ECHO_C" >&6
     1555echo $ac_n "checking and generating explicit install paths""... $ac_c" 1>&6
     1556echo "configure:1557: checking and generating explicit install paths" >&5
    35461557
    35471558# generate Makefile
     
    35771588rm -f ./conftest.mk ./conftest.dir
    35781589
    3579 echo "$as_me:$LINENO: result: done" >&5
    3580 echo "${ECHO_T}done" >&6
     1590echo "$ac_t""done" 1>&6
    35811591
    35821592#
    35831593# - check for libraries.
    35841594#
    3585 
    3586 
    3587 echo "$as_me:$LINENO: checking for atof in -lm" >&5
    3588 echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6
    3589 if test "${ac_cv_lib_m_atof+set}" = set; then
    3590   echo $ECHO_N "(cached) $ECHO_C" >&6
    3591 else
    3592   ac_check_lib_save_LIBS=$LIBS
     1595echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
     1596echo "configure:1597: checking for atof in -lm" >&5
     1597ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
     1598if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1599  echo $ac_n "(cached) $ac_c" 1>&6
     1600else
     1601  ac_save_LIBS="$LIBS"
    35931602LIBS="-lm  $LIBS"
    3594 cat >conftest.$ac_ext <<_ACEOF
    3595 #line $LINENO "configure"
    3596 /* confdefs.h.  */
    3597 _ACEOF
    3598 cat confdefs.h >>conftest.$ac_ext
    3599 cat >>conftest.$ac_ext <<_ACEOF
    3600 /* end confdefs.h.  */
    3601 
     1603cat > conftest.$ac_ext <<EOF
     1604#line 1605 "configure"
     1605#include "confdefs.h"
    36021606/* Override any gcc2 internal prototype to avoid an error.  */
    3603 #ifdef __cplusplus
    3604 extern "C"
    3605 #endif
    36061607/* We use char because int might match the return type of a gcc2
    3607    builtin and then its argument prototype would still apply.  */
    3608 char atof ();
    3609 int
    3610 main ()
    3611 {
    3612 atof ();
    3613   ;
    3614   return 0;
    3615 }
    3616 _ACEOF
    3617 rm -f conftest.$ac_objext conftest$ac_exeext
    3618 if { (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
    3630 else
    3631   echo "$as_me: failed program was:" >&5
    3632 sed 's/^/| /' conftest.$ac_ext >&5
    3633 
    3634 ac_cv_lib_m_atof=no
    3635 fi
    3636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    3637 LIBS=$ac_check_lib_save_LIBS
    3638 fi
    3639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5
    3640 echo "${ECHO_T}$ac_cv_lib_m_atof" >&6
    3641 if test $ac_cv_lib_m_atof = yes; then
    3642   cat >>confdefs.h <<_ACEOF
    3643 #define HAVE_LIBM 1
    3644 _ACEOF
     1608    builtin and then its argument prototype would still apply.  */
     1609char atof();
     1610
     1611int main() {
     1612atof()
     1613; return 0; }
     1614EOF
     1615if { (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"
     1618else
     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"
     1623fi
     1624rm -f conftest*
     1625LIBS="$ac_save_LIBS"
     1626
     1627fi
     1628if 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
     1634EOF
    36451635
    36461636  LIBS="-lm $LIBS"
    36471637
    36481638else
    3649    { { echo "$as_me:$LINENO: error: libm.a not found" >&5
    3650 echo "$as_me: error: libm.a not found" >&2;}
    3651    { (exit 1); exit 1; }; }
     1639  echo "$ac_t""no" 1>&6
     1640 { echo "configure: error: libm.a not found" 1>&2; exit 1; }
    36521641fi
    36531642
    36541643
    36551644if test "x$gmp_in_installation" != xyes; then
    3656 
    3657 echo "$as_me:$LINENO: checking for main in -lgmp" >&5
    3658 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
    3659 if test "${ac_cv_lib_gmp_main+set}" = set; then
    3660   echo $ECHO_N "(cached) $ECHO_C" >&6
    3661 else
    3662   ac_check_lib_save_LIBS=$LIBS
     1645  echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
     1646echo "configure:1647: checking for main in -lgmp" >&5
     1647ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
     1648if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1649  echo $ac_n "(cached) $ac_c" 1>&6
     1650else
     1651  ac_save_LIBS="$LIBS"
    36631652LIBS="-lgmp  $LIBS"
    3664 cat >conftest.$ac_ext <<_ACEOF
    3665 #line $LINENO "configure"
    3666 /* confdefs.h.  */
    3667 _ACEOF
    3668 cat confdefs.h >>conftest.$ac_ext
    3669 cat >>conftest.$ac_ext <<_ACEOF
    3670 /* end confdefs.h.  */
    3671 
    3672 
    3673 int
    3674 main ()
    3675 {
    3676 main ();
    3677   ;
    3678   return 0;
    3679 }
    3680 _ACEOF
    3681 rm -f conftest.$ac_objext conftest$ac_exeext
    3682 if { (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
    3694 else
    3695   echo "$as_me: failed program was:" >&5
    3696 sed 's/^/| /' conftest.$ac_ext >&5
    3697 
    3698 ac_cv_lib_gmp_main=no
    3699 fi
    3700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    3701 LIBS=$ac_check_lib_save_LIBS
    3702 fi
    3703 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
    3704 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
    3705 if test $ac_cv_lib_gmp_main = yes; then
    3706   cat >>confdefs.h <<_ACEOF
    3707 #define HAVE_LIBGMP 1
    3708 _ACEOF
     1653cat > conftest.$ac_ext <<EOF
     1654#line 1655 "configure"
     1655#include "confdefs.h"
     1656
     1657int main() {
     1658main()
     1659; return 0; }
     1660EOF
     1661if { (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"
     1664else
     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"
     1669fi
     1670rm -f conftest*
     1671LIBS="$ac_save_LIBS"
     1672
     1673fi
     1674if 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
     1680EOF
    37091681
    37101682  LIBS="-lgmp $LIBS"
    37111683
    37121684else
     1685  echo "$ac_t""no" 1>&6
    37131686
    37141687      # check a second time in `$(libdir)'.  This is a bit tricky,
     
    37161689      unset ac_cv_lib_gmp_main
    37171690      LDFLAGS="-L$explicit_libdir $LDFLAGS"
    3718 
    3719 echo "$as_me:$LINENO: checking for main in -lgmp" >&5
    3720 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
    3721 if test "${ac_cv_lib_gmp_main+set}" = set; then
    3722   echo $ECHO_N "(cached) $ECHO_C" >&6
    3723 else
    3724   ac_check_lib_save_LIBS=$LIBS
     1691      echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
     1692echo "configure:1693: checking for main in -lgmp" >&5
     1693ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
     1694if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1695  echo $ac_n "(cached) $ac_c" 1>&6
     1696else
     1697  ac_save_LIBS="$LIBS"
    37251698LIBS="-lgmp  $LIBS"
    3726 cat >conftest.$ac_ext <<_ACEOF
    3727 #line $LINENO "configure"
    3728 /* confdefs.h.  */
    3729 _ACEOF
    3730 cat confdefs.h >>conftest.$ac_ext
    3731 cat >>conftest.$ac_ext <<_ACEOF
    3732 /* end confdefs.h.  */
    3733 
    3734 
    3735 int
    3736 main ()
    3737 {
    3738 main ();
    3739   ;
    3740   return 0;
    3741 }
    3742 _ACEOF
    3743 rm -f conftest.$ac_objext conftest$ac_exeext
    3744 if { (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
    3756 else
    3757   echo "$as_me: failed program was:" >&5
    3758 sed 's/^/| /' conftest.$ac_ext >&5
    3759 
    3760 ac_cv_lib_gmp_main=no
    3761 fi
    3762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    3763 LIBS=$ac_check_lib_save_LIBS
    3764 fi
    3765 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
    3766 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
    3767 if test $ac_cv_lib_gmp_main = yes; then
    3768   cat >>confdefs.h <<_ACEOF
    3769 #define HAVE_LIBGMP 1
    3770 _ACEOF
     1699cat > conftest.$ac_ext <<EOF
     1700#line 1701 "configure"
     1701#include "confdefs.h"
     1702
     1703int main() {
     1704main()
     1705; return 0; }
     1706EOF
     1707if { (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"
     1710else
     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"
     1715fi
     1716rm -f conftest*
     1717LIBS="$ac_save_LIBS"
     1718
     1719fi
     1720if 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
     1726EOF
    37711727
    37721728  LIBS="-lgmp $LIBS"
    37731729
    37741730else
    3775    { { echo "$as_me:$LINENO: error: libgmp.a not found.  Use option --with-gmp to specify path" >&5
    3776 echo "$as_me: error: libgmp.a not found.  Use option --with-gmp to specify path" >&2;}
    3777    { (exit 1); exit 1; }; }
     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; }
    37781733fi
    37791734
    37801735      unset ac_cv_lib_gmp_main
    3781 
     1736   
    37821737fi
    37831738
     
    37871742# - check for header files.
    37881743#
    3789 ac_ext=cc
     1744ac_ext=C
     1745# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    37901746ac_cpp='$CXXCPP $CPPFLAGS'
    3791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     1747ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1748ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1749cross_compiling=$ac_cv_prog_cxx_cross
    37941750
    37951751
    37961752if test "x$gmp_in_installation" != xyes; then
    3797 
    3798 
    3799 echo "$as_me:$LINENO: checking for egrep" >&5
    3800 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3801 if test "${ac_cv_prog_egrep+set}" = set; then
    3802   echo $ECHO_N "(cached) $ECHO_C" >&6
    3803 else
    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
    3808 fi
    3809 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3810 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3811  EGREP=$ac_cv_prog_egrep
    3812 
    3813 
    3814 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3815 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    3816 if test "${ac_cv_header_stdc+set}" = set; then
    3817   echo $ECHO_N "(cached) $ECHO_C" >&6
    3818 else
    3819   cat >conftest.$ac_ext <<_ACEOF
    3820 #line $LINENO "configure"
    3821 /* confdefs.h.  */
    3822 _ACEOF
    3823 cat confdefs.h >>conftest.$ac_ext
    3824 cat >>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 
    3831 int
    3832 main ()
    3833 {
    3834 
    3835   ;
    3836   return 0;
    3837 }
    3838 _ACEOF
    3839 rm -f conftest.$ac_objext
    3840 if { (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
    3852 else
    3853   echo "$as_me: failed program was:" >&5
    3854 sed 's/^/| /' conftest.$ac_ext >&5
    3855 
    3856 ac_cv_header_stdc=no
    3857 fi
    3858 rm -f conftest.$ac_objext conftest.$ac_ext
    3859 
    3860 if 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
    3866 cat confdefs.h >>conftest.$ac_ext
    3867 cat >>conftest.$ac_ext <<_ACEOF
    3868 /* end confdefs.h.  */
    3869 #include <string.h>
    3870 
    3871 _ACEOF
    3872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3873   $EGREP "memchr" >/dev/null 2>&1; then
    3874   :
    3875 else
    3876   ac_cv_header_stdc=no
     1753  for ac_hdr in gmp.h
     1754do
     1755ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     1756echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1757echo "configure:1758: checking for $ac_hdr" >&5
     1758if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     1759  echo $ac_n "(cached) $ac_c" 1>&6
     1760else
     1761  cat > conftest.$ac_ext <<EOF
     1762#line 1763 "configure"
     1763#include "confdefs.h"
     1764#include <$ac_hdr>
     1765EOF
     1766ac_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; }
     1768ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1769if test -z "$ac_err"; then
     1770  rm -rf conftest*
     1771  eval "ac_cv_header_$ac_safe=yes"
     1772else
     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"
    38771778fi
    38781779rm -f conftest*
    3879 
    3880 fi
    3881 
    3882 if 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
    3888 cat confdefs.h >>conftest.$ac_ext
    3889 cat >>conftest.$ac_ext <<_ACEOF
    3890 /* end confdefs.h.  */
    3891 #include <stdlib.h>
    3892 
    3893 _ACEOF
    3894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3895   $EGREP "free" >/dev/null 2>&1; then
    3896   :
    3897 else
    3898   ac_cv_header_stdc=no
    3899 fi
    3900 rm -f conftest*
    3901 
    3902 fi
    3903 
    3904 if 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   :
    3908 else
    3909   cat >conftest.$ac_ext <<_ACEOF
    3910 #line $LINENO "configure"
    3911 /* confdefs.h.  */
    3912 _ACEOF
    3913 cat confdefs.h >>conftest.$ac_ext
    3914 cat >>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)))
    3929 int
    3930 main ()
    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
    3940 rm -f conftest$ac_exeext
    3941 if { (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   :
    3952 else
    3953   echo "$as_me: program exited with status $ac_status" >&5
    3954 echo "$as_me: failed program was:" >&5
    3955 sed 's/^/| /' conftest.$ac_ext >&5
    3956 
    3957 ( exit $ac_status )
    3958 ac_cv_header_stdc=no
    3959 fi
    3960 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3961 fi
    3962 fi
    3963 fi
    3964 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3965 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    3966 if test $ac_cv_header_stdc = yes; then
    3967 
    3968 cat >>confdefs.h <<\_ACEOF
    3969 #define STDC_HEADERS 1
    3970 _ACEOF
    3971 
    3972 fi
    3973 
    3974 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3975 
    3976 
    3977 
    3978 
    3979 
    3980 
    3981 
    3982 
    3983 
    3984 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    3985                   inttypes.h stdint.h unistd.h
    3986 do
    3987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3988 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3991   echo $ECHO_N "(cached) $ECHO_C" >&6
    3992 else
    3993   cat >conftest.$ac_ext <<_ACEOF
    3994 #line $LINENO "configure"
    3995 /* confdefs.h.  */
    3996 _ACEOF
    3997 cat confdefs.h >>conftest.$ac_ext
    3998 cat >>conftest.$ac_ext <<_ACEOF
    3999 /* end confdefs.h.  */
    4000 $ac_includes_default
    4001 
    4002 #include <$ac_header>
    4003 _ACEOF
    4004 rm -f conftest.$ac_objext
    4005 if { (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"
    4017 else
    4018   echo "$as_me: failed program was:" >&5
    4019 sed 's/^/| /' conftest.$ac_ext >&5
    4020 
    4021 eval "$as_ac_Header=no"
    4022 fi
    4023 rm -f conftest.$ac_objext conftest.$ac_ext
    4024 fi
    4025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4027 if 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 
    4032 fi
    4033 
    4034 done
    4035 
    4036 
    4037 
    4038 for ac_header in gmp.h
    4039 do
    4040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4042   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4045   echo $ECHO_N "(cached) $ECHO_C" >&6
    4046 fi
    4047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4049 else
    4050   # Is the header compilable?
    4051 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4053 cat >conftest.$ac_ext <<_ACEOF
    4054 #line $LINENO "configure"
    4055 /* confdefs.h.  */
    4056 _ACEOF
    4057 cat confdefs.h >>conftest.$ac_ext
    4058 cat >>conftest.$ac_ext <<_ACEOF
    4059 /* end confdefs.h.  */
    4060 $ac_includes_default
    4061 #include <$ac_header>
    4062 _ACEOF
    4063 rm -f conftest.$ac_objext
    4064 if { (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
    4076 else
    4077   echo "$as_me: failed program was:" >&5
    4078 sed 's/^/| /' conftest.$ac_ext >&5
    4079 
    4080 ac_header_compiler=no
    4081 fi
    4082 rm -f conftest.$ac_objext conftest.$ac_ext
    4083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4084 echo "${ECHO_T}$ac_header_compiler" >&6
    4085 
    4086 # Is the header present?
    4087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4089 cat >conftest.$ac_ext <<_ACEOF
    4090 #line $LINENO "configure"
    4091 /* confdefs.h.  */
    4092 _ACEOF
    4093 cat confdefs.h >>conftest.$ac_ext
    4094 cat >>conftest.$ac_ext <<_ACEOF
    4095 /* end confdefs.h.  */
    4096 #include <$ac_header>
    4097 _ACEOF
    4098 if { (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
    4111 else
    4112   ac_cpp_err=yes
    4113 fi
    4114 if test -z "$ac_cpp_err"; then
    4115   ac_header_preproc=yes
    4116 else
    4117   echo "$as_me: failed program was:" >&5
    4118 sed 's/^/| /' conftest.$ac_ext >&5
    4119 
    4120   ac_header_preproc=no
    4121 fi
    4122 rm -f conftest.err conftest.$ac_ext
    4123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4124 echo "${ECHO_T}$ac_header_preproc" >&6
    4125 
    4126 # So?  What about this header?
    4127 case $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
    4130 echo "$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
    4132 echo "$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
    4144 echo "$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
    4146 echo "$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
    4148 echo "$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     ;;
    4158 esac
    4159 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4162   echo $ECHO_N "(cached) $ECHO_C" >&6
    4163 else
    4164   eval "$as_ac_Header=$ac_header_preproc"
    4165 fi
    4166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4168 
    4169 fi
    4170 if 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 
    4175 else
    4176 
    4177       # check a second time in `$(includedir)'.  This is a bit tricky,
     1780fi
     1781if 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
     1786EOF
     1787 
     1788else
     1789  echo "$ac_t""no" 1>&6
     1790# check a second time in `$(includedir)'.  This is a bit tricky,
    41781791      # but I think it's worth avoiding long option values.
    41791792      unset ac_cv_header_gmp_h
    41801793      CPPFLAGS="-I$explicit_includedir $CPPFLAGS"
    4181 
    4182 for ac_header in gmp.h
     1794      for ac_hdr in gmp.h
    41831795do
    4184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4186   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4189   echo $ECHO_N "(cached) $ECHO_C" >&6
    4190 fi
    4191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4193 else
    4194   # Is the header compilable?
    4195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4197 cat >conftest.$ac_ext <<_ACEOF
    4198 #line $LINENO "configure"
    4199 /* confdefs.h.  */
    4200 _ACEOF
    4201 cat confdefs.h >>conftest.$ac_ext
    4202 cat >>conftest.$ac_ext <<_ACEOF
    4203 /* end confdefs.h.  */
    4204 $ac_includes_default
    4205 #include <$ac_header>
    4206 _ACEOF
    4207 rm -f conftest.$ac_objext
    4208 if { (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
    4220 else
    4221   echo "$as_me: failed program was:" >&5
    4222 sed 's/^/| /' conftest.$ac_ext >&5
    4223 
    4224 ac_header_compiler=no
    4225 fi
    4226 rm -f conftest.$ac_objext conftest.$ac_ext
    4227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4228 echo "${ECHO_T}$ac_header_compiler" >&6
    4229 
    4230 # Is the header present?
    4231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4233 cat >conftest.$ac_ext <<_ACEOF
    4234 #line $LINENO "configure"
    4235 /* confdefs.h.  */
    4236 _ACEOF
    4237 cat confdefs.h >>conftest.$ac_ext
    4238 cat >>conftest.$ac_ext <<_ACEOF
    4239 /* end confdefs.h.  */
    4240 #include <$ac_header>
    4241 _ACEOF
    4242 if { (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
    4255 else
    4256   ac_cpp_err=yes
    4257 fi
    4258 if test -z "$ac_cpp_err"; then
    4259   ac_header_preproc=yes
    4260 else
    4261   echo "$as_me: failed program was:" >&5
    4262 sed 's/^/| /' conftest.$ac_ext >&5
    4263 
    4264   ac_header_preproc=no
    4265 fi
    4266 rm -f conftest.err conftest.$ac_ext
    4267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4268 echo "${ECHO_T}$ac_header_preproc" >&6
    4269 
    4270 # So?  What about this header?
    4271 case $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
    4274 echo "$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
    4276 echo "$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
    4288 echo "$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
    4290 echo "$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
    4292 echo "$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     ;;
    4302 esac
    4303 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4306   echo $ECHO_N "(cached) $ECHO_C" >&6
    4307 else
    4308   eval "$as_ac_Header=$ac_header_preproc"
    4309 fi
    4310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4312 
    4313 fi
    4314 if 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 
    4319 else
    4320    { { echo "$as_me:$LINENO: error: gmp.h not found.  Use option --with-gmp to specify path" >&5
    4321 echo "$as_me: error: gmp.h not found.  Use option --with-gmp to specify path" >&2;}
    4322    { (exit 1); exit 1; }; }
    4323 fi
    4324 
     1796ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     1797echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1798echo "configure:1799: checking for $ac_hdr" >&5
     1799if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     1800  echo $ac_n "(cached) $ac_c" 1>&6
     1801else
     1802  cat > conftest.$ac_ext <<EOF
     1803#line 1804 "configure"
     1804#include "confdefs.h"
     1805#include <$ac_hdr>
     1806EOF
     1807ac_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; }
     1809ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1810if test -z "$ac_err"; then
     1811  rm -rf conftest*
     1812  eval "ac_cv_header_$ac_safe=yes"
     1813else
     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"
     1819fi
     1820rm -f conftest*
     1821fi
     1822if 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
     1827EOF
     1828 
     1829else
     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; }
     1832fi
    43251833done
    43261834
    43271835      unset ac_cv_header_gmp_h
    4328 
    4329 fi
    4330 
     1836   
     1837fi
    43311838done
    43321839
    43331840fi
    43341841
    4335 
    4336 
    4337 
    4338 
    4339 
    4340 for ac_header in stdio.h stdlib.h string.h time.h math.h
     1842for ac_hdr in stdio.h stdlib.h string.h time.h math.h
    43411843do
    4342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4344   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4347   echo $ECHO_N "(cached) $ECHO_C" >&6
    4348 fi
    4349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4351 else
    4352   # Is the header compilable?
    4353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4355 cat >conftest.$ac_ext <<_ACEOF
    4356 #line $LINENO "configure"
    4357 /* confdefs.h.  */
    4358 _ACEOF
    4359 cat confdefs.h >>conftest.$ac_ext
    4360 cat >>conftest.$ac_ext <<_ACEOF
    4361 /* end confdefs.h.  */
    4362 $ac_includes_default
    4363 #include <$ac_header>
    4364 _ACEOF
    4365 rm -f conftest.$ac_objext
    4366 if { (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
    4378 else
    4379   echo "$as_me: failed program was:" >&5
    4380 sed 's/^/| /' conftest.$ac_ext >&5
    4381 
    4382 ac_header_compiler=no
    4383 fi
    4384 rm -f conftest.$ac_objext conftest.$ac_ext
    4385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4386 echo "${ECHO_T}$ac_header_compiler" >&6
    4387 
    4388 # Is the header present?
    4389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4391 cat >conftest.$ac_ext <<_ACEOF
    4392 #line $LINENO "configure"
    4393 /* confdefs.h.  */
    4394 _ACEOF
    4395 cat confdefs.h >>conftest.$ac_ext
    4396 cat >>conftest.$ac_ext <<_ACEOF
    4397 /* end confdefs.h.  */
    4398 #include <$ac_header>
    4399 _ACEOF
    4400 if { (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
    4413 else
    4414   ac_cpp_err=yes
    4415 fi
    4416 if test -z "$ac_cpp_err"; then
    4417   ac_header_preproc=yes
    4418 else
    4419   echo "$as_me: failed program was:" >&5
    4420 sed 's/^/| /' conftest.$ac_ext >&5
    4421 
    4422   ac_header_preproc=no
    4423 fi
    4424 rm -f conftest.err conftest.$ac_ext
    4425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4426 echo "${ECHO_T}$ac_header_preproc" >&6
    4427 
    4428 # So?  What about this header?
    4429 case $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
    4432 echo "$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
    4434 echo "$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
    4446 echo "$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
    4448 echo "$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
    4450 echo "$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     ;;
    4460 esac
    4461 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4464   echo $ECHO_N "(cached) $ECHO_C" >&6
    4465 else
    4466   eval "$as_ac_Header=$ac_header_preproc"
    4467 fi
    4468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4470 
    4471 fi
    4472 if 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 
    4477 else
    4478    { { echo "$as_me:$LINENO: error: C header files not found" >&5
    4479 echo "$as_me: error: C header files not found" >&2;}
    4480    { (exit 1); exit 1; }; }
    4481 fi
    4482 
     1844ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     1845echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1846echo "configure:1847: checking for $ac_hdr" >&5
     1847if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     1848  echo $ac_n "(cached) $ac_c" 1>&6
     1849else
     1850  cat > conftest.$ac_ext <<EOF
     1851#line 1852 "configure"
     1852#include "confdefs.h"
     1853#include <$ac_hdr>
     1854EOF
     1855ac_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; }
     1857ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1858if test -z "$ac_err"; then
     1859  rm -rf conftest*
     1860  eval "ac_cv_header_$ac_safe=yes"
     1861else
     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"
     1867fi
     1868rm -f conftest*
     1869fi
     1870if 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
     1875EOF
     1876 
     1877else
     1878  echo "$ac_t""no" 1>&6
     1879{ echo "configure: error: C header files not found" 1>&2; exit 1; }
     1880fi
    44831881done
    44841882
    44851883
    44861884if test "x$enable_streamio" != xno; then
    4487 
    4488 
    4489 
    4490 for ac_header in iostream.h strstream.h fstream.h
     1885  for ac_hdr in iostream.h strstream.h fstream.h
    44911886do
    4492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4494   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4497   echo $ECHO_N "(cached) $ECHO_C" >&6
    4498 fi
    4499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4501 else
    4502   # Is the header compilable?
    4503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4505 cat >conftest.$ac_ext <<_ACEOF
    4506 #line $LINENO "configure"
    4507 /* confdefs.h.  */
    4508 _ACEOF
    4509 cat confdefs.h >>conftest.$ac_ext
    4510 cat >>conftest.$ac_ext <<_ACEOF
    4511 /* end confdefs.h.  */
    4512 $ac_includes_default
    4513 #include <$ac_header>
    4514 _ACEOF
    4515 rm -f conftest.$ac_objext
    4516 if { (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
    4528 else
    4529   echo "$as_me: failed program was:" >&5
    4530 sed 's/^/| /' conftest.$ac_ext >&5
    4531 
    4532 ac_header_compiler=no
    4533 fi
    4534 rm -f conftest.$ac_objext conftest.$ac_ext
    4535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4536 echo "${ECHO_T}$ac_header_compiler" >&6
    4537 
    4538 # Is the header present?
    4539 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4541 cat >conftest.$ac_ext <<_ACEOF
    4542 #line $LINENO "configure"
    4543 /* confdefs.h.  */
    4544 _ACEOF
    4545 cat confdefs.h >>conftest.$ac_ext
    4546 cat >>conftest.$ac_ext <<_ACEOF
    4547 /* end confdefs.h.  */
    4548 #include <$ac_header>
    4549 _ACEOF
    4550 if { (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
    4563 else
    4564   ac_cpp_err=yes
    4565 fi
    4566 if test -z "$ac_cpp_err"; then
    4567   ac_header_preproc=yes
    4568 else
    4569   echo "$as_me: failed program was:" >&5
    4570 sed 's/^/| /' conftest.$ac_ext >&5
    4571 
    4572   ac_header_preproc=no
    4573 fi
    4574 rm -f conftest.err conftest.$ac_ext
    4575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4576 echo "${ECHO_T}$ac_header_preproc" >&6
    4577 
    4578 # So?  What about this header?
    4579 case $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
    4582 echo "$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
    4584 echo "$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
    4596 echo "$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
    4598 echo "$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
    4600 echo "$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     ;;
    4610 esac
    4611 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4614   echo $ECHO_N "(cached) $ECHO_C" >&6
    4615 else
    4616   eval "$as_ac_Header=$ac_header_preproc"
    4617 fi
    4618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4620 
    4621 fi
    4622 if 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 
    4627 else
    4628    { echo "$as_me:$LINENO: WARNING: C++ header files not found" >&5
    4629 echo "$as_me: WARNING: C++ header files not found" >&2;}
    4630 fi
    4631 
     1887ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     1888echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1889echo "configure:1890: checking for $ac_hdr" >&5
     1890if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     1891  echo $ac_n "(cached) $ac_c" 1>&6
     1892else
     1893  cat > conftest.$ac_ext <<EOF
     1894#line 1895 "configure"
     1895#include "confdefs.h"
     1896#include <$ac_hdr>
     1897EOF
     1898ac_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; }
     1900ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1901if test -z "$ac_err"; then
     1902  rm -rf conftest*
     1903  eval "ac_cv_header_$ac_safe=yes"
     1904else
     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"
     1910fi
     1911rm -f conftest*
     1912fi
     1913if 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
     1918EOF
     1919 
     1920else
     1921  echo "$ac_t""no" 1>&6
     1922echo "configure: warning: C++ header files not found" 1>&2
     1923fi
    46321924done
    46331925
    4634 
    4635 for ac_header in ctype.h
     1926  for ac_hdr in ctype.h
    46361927do
    4637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4639   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4642   echo $ECHO_N "(cached) $ECHO_C" >&6
    4643 fi
    4644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4646 else
    4647   # Is the header compilable?
    4648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4650 cat >conftest.$ac_ext <<_ACEOF
    4651 #line $LINENO "configure"
    4652 /* confdefs.h.  */
    4653 _ACEOF
    4654 cat confdefs.h >>conftest.$ac_ext
    4655 cat >>conftest.$ac_ext <<_ACEOF
    4656 /* end confdefs.h.  */
    4657 $ac_includes_default
    4658 #include <$ac_header>
    4659 _ACEOF
    4660 rm -f conftest.$ac_objext
    4661 if { (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
    4673 else
    4674   echo "$as_me: failed program was:" >&5
    4675 sed 's/^/| /' conftest.$ac_ext >&5
    4676 
    4677 ac_header_compiler=no
    4678 fi
    4679 rm -f conftest.$ac_objext conftest.$ac_ext
    4680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4681 echo "${ECHO_T}$ac_header_compiler" >&6
    4682 
    4683 # Is the header present?
    4684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4686 cat >conftest.$ac_ext <<_ACEOF
    4687 #line $LINENO "configure"
    4688 /* confdefs.h.  */
    4689 _ACEOF
    4690 cat confdefs.h >>conftest.$ac_ext
    4691 cat >>conftest.$ac_ext <<_ACEOF
    4692 /* end confdefs.h.  */
    4693 #include <$ac_header>
    4694 _ACEOF
    4695 if { (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
    4708 else
    4709   ac_cpp_err=yes
    4710 fi
    4711 if test -z "$ac_cpp_err"; then
    4712   ac_header_preproc=yes
    4713 else
    4714   echo "$as_me: failed program was:" >&5
    4715 sed 's/^/| /' conftest.$ac_ext >&5
    4716 
    4717   ac_header_preproc=no
    4718 fi
    4719 rm -f conftest.err conftest.$ac_ext
    4720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4721 echo "${ECHO_T}$ac_header_preproc" >&6
    4722 
    4723 # So?  What about this header?
    4724 case $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
    4727 echo "$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
    4729 echo "$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
    4741 echo "$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
    4743 echo "$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
    4745 echo "$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     ;;
    4755 esac
    4756 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4759   echo $ECHO_N "(cached) $ECHO_C" >&6
    4760 else
    4761   eval "$as_ac_Header=$ac_header_preproc"
    4762 fi
    4763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4765 
    4766 fi
    4767 if 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 
    4772 else
    4773    { { echo "$as_me:$LINENO: error: standard C header files not found" >&5
    4774 echo "$as_me: error: standard C header files not found" >&2;}
    4775    { (exit 1); exit 1; }; }
    4776 fi
    4777 
     1928ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     1929echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1930echo "configure:1931: checking for $ac_hdr" >&5
     1931if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     1932  echo $ac_n "(cached) $ac_c" 1>&6
     1933else
     1934  cat > conftest.$ac_ext <<EOF
     1935#line 1936 "configure"
     1936#include "confdefs.h"
     1937#include <$ac_hdr>
     1938EOF
     1939ac_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; }
     1941ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1942if test -z "$ac_err"; then
     1943  rm -rf conftest*
     1944  eval "ac_cv_header_$ac_safe=yes"
     1945else
     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"
     1951fi
     1952rm -f conftest*
     1953fi
     1954if 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
     1959EOF
     1960 
     1961else
     1962  echo "$ac_t""no" 1>&6
     1963{ echo "configure: error: standard C header files not found" 1>&2; exit 1; }
     1964fi
    47781965done
    47791966
     
    47811968  # since the FTE will compile only with stream IO enabled we will not
    47821969  # check for the necessary header files if stream IO is disabled
    4783 
    4784 
    4785 
    4786 
    4787 for ac_header in stdarg.h signal.h errno.h unistd.h
     1970  for ac_hdr in stdarg.h signal.h errno.h unistd.h
    47881971do
    4789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4791   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4794   echo $ECHO_N "(cached) $ECHO_C" >&6
    4795 fi
    4796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4798 else
    4799   # Is the header compilable?
    4800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4802 cat >conftest.$ac_ext <<_ACEOF
    4803 #line $LINENO "configure"
    4804 /* confdefs.h.  */
    4805 _ACEOF
    4806 cat confdefs.h >>conftest.$ac_ext
    4807 cat >>conftest.$ac_ext <<_ACEOF
    4808 /* end confdefs.h.  */
    4809 $ac_includes_default
    4810 #include <$ac_header>
    4811 _ACEOF
    4812 rm -f conftest.$ac_objext
    4813 if { (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
    4825 else
    4826   echo "$as_me: failed program was:" >&5
    4827 sed 's/^/| /' conftest.$ac_ext >&5
    4828 
    4829 ac_header_compiler=no
    4830 fi
    4831 rm -f conftest.$ac_objext conftest.$ac_ext
    4832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4833 echo "${ECHO_T}$ac_header_compiler" >&6
    4834 
    4835 # Is the header present?
    4836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4838 cat >conftest.$ac_ext <<_ACEOF
    4839 #line $LINENO "configure"
    4840 /* confdefs.h.  */
    4841 _ACEOF
    4842 cat confdefs.h >>conftest.$ac_ext
    4843 cat >>conftest.$ac_ext <<_ACEOF
    4844 /* end confdefs.h.  */
    4845 #include <$ac_header>
    4846 _ACEOF
    4847 if { (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
    4860 else
    4861   ac_cpp_err=yes
    4862 fi
    4863 if test -z "$ac_cpp_err"; then
    4864   ac_header_preproc=yes
    4865 else
    4866   echo "$as_me: failed program was:" >&5
    4867 sed 's/^/| /' conftest.$ac_ext >&5
    4868 
    4869   ac_header_preproc=no
    4870 fi
    4871 rm -f conftest.err conftest.$ac_ext
    4872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4873 echo "${ECHO_T}$ac_header_preproc" >&6
    4874 
    4875 # So?  What about this header?
    4876 case $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
    4879 echo "$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
    4881 echo "$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
    4893 echo "$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
    4895 echo "$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
    4897 echo "$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     ;;
    4907 esac
    4908 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4911   echo $ECHO_N "(cached) $ECHO_C" >&6
    4912 else
    4913   eval "$as_ac_Header=$ac_header_preproc"
    4914 fi
    4915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4917 
    4918 fi
    4919 if 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 
    4924 else
    4925    { echo "$as_me:$LINENO: WARNING: C/C++ header files not found.
     1972ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     1973echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     1974echo "configure:1975: checking for $ac_hdr" >&5
     1975if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     1976  echo $ac_n "(cached) $ac_c" 1>&6
     1977else
     1978  cat > conftest.$ac_ext <<EOF
     1979#line 1980 "configure"
     1980#include "confdefs.h"
     1981#include <$ac_hdr>
     1982EOF
     1983ac_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; }
     1985ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1986if test -z "$ac_err"; then
     1987  rm -rf conftest*
     1988  eval "ac_cv_header_$ac_safe=yes"
     1989else
     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"
     1995fi
     1996rm -f conftest*
     1997fi
     1998if 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
     2003EOF
     2004 
     2005else
     2006  echo "$ac_t""no" 1>&6
     2007echo "configure: warning: C/C++ header files not found.
    49262008                    You will not be able to build the Factory Test Environment
    4927                     (though Factory itself should compile)" >&5
    4928 echo "$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;}
    4931 fi
    4932 
     2009                    (though Factory itself should compile)" 1>&2
     2010fi
    49332011done
    49342012
     
    49362014
    49372015if test "x$enable_timing" != xno; then
    4938 
    4939 
    4940 for ac_header in sys/param.h sys/times.h
     2016  for ac_hdr in sys/param.h sys/times.h
    49412017do
    4942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4944   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4947   echo $ECHO_N "(cached) $ECHO_C" >&6
    4948 fi
    4949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4951 else
    4952   # Is the header compilable?
    4953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4955 cat >conftest.$ac_ext <<_ACEOF
    4956 #line $LINENO "configure"
    4957 /* confdefs.h.  */
    4958 _ACEOF
    4959 cat confdefs.h >>conftest.$ac_ext
    4960 cat >>conftest.$ac_ext <<_ACEOF
    4961 /* end confdefs.h.  */
    4962 $ac_includes_default
    4963 #include <$ac_header>
    4964 _ACEOF
    4965 rm -f conftest.$ac_objext
    4966 if { (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
    4978 else
    4979   echo "$as_me: failed program was:" >&5
    4980 sed 's/^/| /' conftest.$ac_ext >&5
    4981 
    4982 ac_header_compiler=no
    4983 fi
    4984 rm -f conftest.$ac_objext conftest.$ac_ext
    4985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4986 echo "${ECHO_T}$ac_header_compiler" >&6
    4987 
    4988 # Is the header present?
    4989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4991 cat >conftest.$ac_ext <<_ACEOF
    4992 #line $LINENO "configure"
    4993 /* confdefs.h.  */
    4994 _ACEOF
    4995 cat confdefs.h >>conftest.$ac_ext
    4996 cat >>conftest.$ac_ext <<_ACEOF
    4997 /* end confdefs.h.  */
    4998 #include <$ac_header>
    4999 _ACEOF
    5000 if { (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
    5013 else
    5014   ac_cpp_err=yes
    5015 fi
    5016 if test -z "$ac_cpp_err"; then
    5017   ac_header_preproc=yes
    5018 else
    5019   echo "$as_me: failed program was:" >&5
    5020 sed 's/^/| /' conftest.$ac_ext >&5
    5021 
    5022   ac_header_preproc=no
    5023 fi
    5024 rm -f conftest.err conftest.$ac_ext
    5025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5026 echo "${ECHO_T}$ac_header_preproc" >&6
    5027 
    5028 # So?  What about this header?
    5029 case $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
    5032 echo "$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
    5034 echo "$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
    5046 echo "$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
    5048 echo "$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
    5050 echo "$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     ;;
    5060 esac
    5061 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5064   echo $ECHO_N "(cached) $ECHO_C" >&6
    5065 else
    5066   eval "$as_ac_Header=$ac_header_preproc"
    5067 fi
    5068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5070 
    5071 fi
    5072 if 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 
    5077 else
    5078    { { echo "$as_me:$LINENO: error: \`sys/times.h' or \`sys/param.h' not found.  Try
    5079                   \`configure --disable-timing'" >&5
    5080 echo "$as_me: error: \`sys/times.h' or \`sys/param.h' not found.  Try
    5081                   \`configure --disable-timing'" >&2;}
    5082    { (exit 1); exit 1; }; }
    5083 fi
    5084 
     2018ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     2019echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     2020echo "configure:2021: checking for $ac_hdr" >&5
     2021if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2022  echo $ac_n "(cached) $ac_c" 1>&6
     2023else
     2024  cat > conftest.$ac_ext <<EOF
     2025#line 2026 "configure"
     2026#include "confdefs.h"
     2027#include <$ac_hdr>
     2028EOF
     2029ac_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; }
     2031ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2032if test -z "$ac_err"; then
     2033  rm -rf conftest*
     2034  eval "ac_cv_header_$ac_safe=yes"
     2035else
     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"
     2041fi
     2042rm -f conftest*
     2043fi
     2044if 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
     2049EOF
     2050 
     2051else
     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; }
     2055fi
    50852056done
    50862057
    50872058fi
    50882059
    5089 
    5090 for ac_header in omalloc.h
     2060for ac_hdr in omalloc.h
    50912061do
    5092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5094   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5097   echo $ECHO_N "(cached) $ECHO_C" >&6
    5098 fi
    5099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5101 else
    5102   # Is the header compilable?
    5103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    5105 cat >conftest.$ac_ext <<_ACEOF
    5106 #line $LINENO "configure"
    5107 /* confdefs.h.  */
    5108 _ACEOF
    5109 cat confdefs.h >>conftest.$ac_ext
    5110 cat >>conftest.$ac_ext <<_ACEOF
    5111 /* end confdefs.h.  */
    5112 $ac_includes_default
    5113 #include <$ac_header>
    5114 _ACEOF
    5115 rm -f conftest.$ac_objext
    5116 if { (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
    5128 else
    5129   echo "$as_me: failed program was:" >&5
    5130 sed 's/^/| /' conftest.$ac_ext >&5
    5131 
    5132 ac_header_compiler=no
    5133 fi
    5134 rm -f conftest.$ac_objext conftest.$ac_ext
    5135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5136 echo "${ECHO_T}$ac_header_compiler" >&6
    5137 
    5138 # Is the header present?
    5139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    5141 cat >conftest.$ac_ext <<_ACEOF
    5142 #line $LINENO "configure"
    5143 /* confdefs.h.  */
    5144 _ACEOF
    5145 cat confdefs.h >>conftest.$ac_ext
    5146 cat >>conftest.$ac_ext <<_ACEOF
    5147 /* end confdefs.h.  */
    5148 #include <$ac_header>
    5149 _ACEOF
    5150 if { (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
    5163 else
    5164   ac_cpp_err=yes
    5165 fi
    5166 if test -z "$ac_cpp_err"; then
    5167   ac_header_preproc=yes
    5168 else
    5169   echo "$as_me: failed program was:" >&5
    5170 sed 's/^/| /' conftest.$ac_ext >&5
    5171 
    5172   ac_header_preproc=no
    5173 fi
    5174 rm -f conftest.err conftest.$ac_ext
    5175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5176 echo "${ECHO_T}$ac_header_preproc" >&6
    5177 
    5178 # So?  What about this header?
    5179 case $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
    5182 echo "$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
    5184 echo "$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
    5196 echo "$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
    5198 echo "$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
    5200 echo "$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     ;;
    5210 esac
    5211 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5214   echo $ECHO_N "(cached) $ECHO_C" >&6
    5215 else
    5216   eval "$as_ac_Header=$ac_header_preproc"
    5217 fi
    5218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5220 
    5221 fi
    5222 if 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 
    5227 fi
    5228 
     2062ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     2063echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     2064echo "configure:2065: checking for $ac_hdr" >&5
     2065if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2066  echo $ac_n "(cached) $ac_c" 1>&6
     2067else
     2068  cat > conftest.$ac_ext <<EOF
     2069#line 2070 "configure"
     2070#include "confdefs.h"
     2071#include <$ac_hdr>
     2072EOF
     2073ac_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; }
     2075ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2076if test -z "$ac_err"; then
     2077  rm -rf conftest*
     2078  eval "ac_cv_header_$ac_safe=yes"
     2079else
     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"
     2085fi
     2086rm -f conftest*
     2087fi
     2088if 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
     2093EOF
     2094 
     2095else
     2096  echo "$ac_t""no" 1>&6
     2097fi
    52292098done
    52302099
     
    52392108# nextstep, checking with C++ may fail.
    52402109ac_ext=c
     2110# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    52412111ac_cpp='$CPP $CPPFLAGS'
    5242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2112ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     2113ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2114cross_compiling=$ac_cv_prog_cc_cross
    52452115
    52462116
     
    52582128
    52592129# arithmetic shift
    5260 echo "$as_me:$LINENO: checking whether your compiler does arithmetic shifts" >&5
    5261 echo $ECHO_N "checking whether your compiler does arithmetic shifts... $ECHO_C" >&6
    5262 if test "${ac_cv_shift+set}" = set; then
    5263   echo $ECHO_N "(cached) $ECHO_C" >&6
     2130echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6
     2131echo "configure:2132: checking whether your compiler does arithmetic shifts" >&5
     2132if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
     2133  echo $ac_n "(cached) $ac_c" 1>&6
    52642134else
    52652135   LDFLAGS="-L$explicit_libdir $LDFLAGS"
     
    52672137  ac_cv_shift=yes
    52682138else
    5269   cat >conftest.$ac_ext <<_ACEOF
    5270 #line $LINENO "configure"
    5271 /* confdefs.h.  */
    5272 _ACEOF
    5273 cat confdefs.h >>conftest.$ac_ext
    5274 cat >>conftest.$ac_ext <<_ACEOF
    5275 /* end confdefs.h.  */
    5276  int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    5277 _ACEOF
    5278 rm -f conftest$ac_exeext
    5279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5280   (eval $ac_link) 2>&5
    5281   ac_status=$?
    5282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5283   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5285   (eval $ac_try) 2>&5
    5286   ac_status=$?
    5287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5288   (exit $ac_status); }; }; then
     2139  cat > conftest.$ac_ext <<EOF
     2140#line 2141 "configure"
     2141#include "confdefs.h"
     2142 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
     2143EOF
     2144if { (eval echo configure:2145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2145then
    52892146  ac_cv_shift=yes
    52902147else
    5291   echo "$as_me: program exited with status $ac_status" >&5
    5292 echo "$as_me: failed program was:" >&5
    5293 sed 's/^/| /' conftest.$ac_ext >&5
    5294 
    5295 ( exit $ac_status )
    5296 ac_cv_shift=no
    5297 fi
    5298 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5299 fi
    5300 fi
    5301 
    5302 if test "x$ac_cv_shift" = xyes; then
    5303   echo "$as_me:$LINENO: result: yes" >&5
    5304 echo "${ECHO_T}yes" >&6
    5305 else
    5306   echo "$as_me:$LINENO: result: no" >&5
    5307 echo "${ECHO_T}no" >&6
     2148  echo "configure: failed program was:" >&5
     2149  cat conftest.$ac_ext >&5
     2150  rm -fr conftest*
     2151  ac_cv_shift=no
     2152fi
     2153rm -fr conftest*
     2154fi
     2155 
     2156fi
     2157
     2158if test "x$ac_cv_shift" = xyes; then   
     2159  echo "$ac_t""yes" 1>&6
     2160else
     2161  echo "$ac_t""no" 1>&6
    53082162fi
    53092163
     
    53612215
    53622216
    5363 
    5364 ac_ext=cc
     2217ac_ext=C
     2218# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    53652219ac_cpp='$CXXCPP $CPPFLAGS'
    5366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2220ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     2221ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2222cross_compiling=$ac_cv_prog_cxx_cross
    53692223
    53702224# check whether CXX accepts -fno-rtti
    5371 echo "$as_me:$LINENO: checking whether gcc accepts -fno-rtti" >&5
    5372 echo $ECHO_N "checking whether gcc accepts -fno-rtti... $ECHO_C" >&6
     2225echo $ac_n "checking whether gcc accepts -fno-rtti""... $ac_c" 1>&6
     2226echo "configure:2227: checking whether gcc accepts -fno-rtti" >&5
    53732227tmp_flags=${CXXFLAGS}
    53742228CXXFLAGS="${CXXFLAGS} -fno-rtti"
    5375 if test "${ac_cv_cxx_have_rtti+set}" = set; then
    5376   echo $ECHO_N "(cached) $ECHO_C" >&6
    5377 else
    5378   cat >conftest.$ac_ext <<_ACEOF
    5379 #line $LINENO "configure"
    5380 /* confdefs.h.  */
    5381 _ACEOF
    5382 cat confdefs.h >>conftest.$ac_ext
    5383 cat >>conftest.$ac_ext <<_ACEOF
    5384 /* end confdefs.h.  */
    5385 
    5386 int
    5387 main ()
    5388 {
    5389 
    5390   ;
    5391   return 0;
    5392 }
    5393 _ACEOF
    5394 rm -f conftest.$ac_objext
    5395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5396   (eval $ac_compile) 2>&5
    5397   ac_status=$?
    5398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5399   (exit $ac_status); } &&
    5400          { ac_try='test -s conftest.$ac_objext'
    5401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5402   (eval $ac_try) 2>&5
    5403   ac_status=$?
    5404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5405   (exit $ac_status); }; }; then
     2229if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
     2230  echo $ac_n "(cached) $ac_c" 1>&6
     2231else
     2232  cat > conftest.$ac_ext <<EOF
     2233#line 2234 "configure"
     2234#include "confdefs.h"
     2235
     2236int main() {
     2237
     2238; return 0; }
     2239EOF
     2240if { (eval echo configure:2241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2241  rm -rf conftest*
    54062242  ac_cv_cxx_have_rtti=yes
    54072243else
    5408   echo "$as_me: failed program was:" >&5
    5409 sed 's/^/| /' conftest.$ac_ext >&5
    5410 
    5411 ac_cv_cxx_have_rtti=no
    5412 fi
    5413 rm -f conftest.$ac_objext conftest.$ac_ext
    5414 
    5415 fi
    5416 
    5417 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_rtti}" >&5
    5418 echo "${ECHO_T}${ac_cv_cxx_have_rtti}" >&6
     2244  echo "configure: failed program was:" >&5
     2245  cat conftest.$ac_ext >&5
     2246  rm -rf conftest*
     2247  ac_cv_cxx_have_rtti=no
     2248fi
     2249rm -f conftest*
     2250
     2251fi
     2252
     2253echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6
    54192254CXXFLAGS=$tmp_flags
    54202255if test "${ac_cv_cxx_have_rtti}" = yes; then
     
    54222257fi
    54232258
    5424 echo "$as_me:$LINENO: checking whether gcc accepts -fno-exceptions" >&5
    5425 echo $ECHO_N "checking whether gcc accepts -fno-exceptions... $ECHO_C" >&6
     2259echo $ac_n "checking whether gcc accepts -fno-exceptions""... $ac_c" 1>&6
     2260echo "configure:2261: checking whether gcc accepts -fno-exceptions" >&5
    54262261tmp_flags=${CXXFLAGS}
    54272262CXXFLAGS="${CXXFLAGS} -fno-exceptions"
    5428 if test "${ac_cv_cxx_have_exceptions+set}" = set; then
    5429   echo $ECHO_N "(cached) $ECHO_C" >&6
    5430 else
    5431   cat >conftest.$ac_ext <<_ACEOF
    5432 #line $LINENO "configure"
    5433 /* confdefs.h.  */
    5434 _ACEOF
    5435 cat confdefs.h >>conftest.$ac_ext
    5436 cat >>conftest.$ac_ext <<_ACEOF
    5437 /* end confdefs.h.  */
    5438 
    5439 int
    5440 main ()
    5441 {
    5442 
    5443   ;
    5444   return 0;
    5445 }
    5446 _ACEOF
    5447 rm -f conftest.$ac_objext conftest$ac_exeext
    5448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5449   (eval $ac_link) 2>&5
    5450   ac_status=$?
    5451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5452   (exit $ac_status); } &&
    5453          { ac_try='test -s conftest$ac_exeext'
    5454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5455   (eval $ac_try) 2>&5
    5456   ac_status=$?
    5457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5458   (exit $ac_status); }; }; then
     2263if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     2264  echo $ac_n "(cached) $ac_c" 1>&6
     2265else
     2266  cat > conftest.$ac_ext <<EOF
     2267#line 2268 "configure"
     2268#include "confdefs.h"
     2269
     2270int main() {
     2271
     2272; return 0; }
     2273EOF
     2274if { (eval echo configure:2275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2275  rm -rf conftest*
    54592276  ac_cv_cxx_have_exceptions=yes
    54602277else
    5461   echo "$as_me: failed program was:" >&5
    5462 sed 's/^/| /' conftest.$ac_ext >&5
    5463 
    5464 ac_cv_cxx_have_exceptions=no
    5465 fi
    5466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
    5467 
    5468 fi
    5469 
    5470 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_exceptions}" >&5
    5471 echo "${ECHO_T}${ac_cv_cxx_have_exceptions}" >&6
     2278  echo "configure: failed program was:" >&5
     2279  cat conftest.$ac_ext >&5
     2280  rm -rf conftest*
     2281  ac_cv_cxx_have_exceptions=no
     2282fi
     2283rm -f conftest*
     2284
     2285fi
     2286
     2287echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6
    54722288CXXFLAGS=$tmp_flags
    54732289if test "${ac_cv_cxx_have_exceptions}" = yes; then
     
    54752291fi
    54762292ac_ext=c
     2293# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    54772294ac_cpp='$CPP $CPPFLAGS'
    5478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2295ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     2296ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2297cross_compiling=$ac_cv_prog_cc_cross
    54812298
    54822299
     
    54912308# Singular
    54922309if test "x$with_Singular" = xyes; then
    5493   cat >>confdefs.h <<\_ACEOF
     2310  cat >> confdefs.h <<\EOF
    54942311#define SINGULAR 1
    5495 _ACEOF
     2312EOF
    54962313
    54972314fi
     
    54992316# NTL
    55002317if test "x$with_NTL" = xyes; then
    5501   cat >>confdefs.h <<\_ACEOF
     2318  cat >> confdefs.h <<\EOF
    55022319#define HAVE_NTL 1
    5503 _ACEOF
     2320EOF
    55042321
    55052322fi
    55062323
    55072324# arithmetic shift
    5508 if test "x$ac_cv_shift" = xyes; then
    5509   cat >>confdefs.h <<\_ACEOF
     2325if test "x$ac_cv_shift" = xyes; then   
     2326  cat >> confdefs.h <<\EOF
    55102327#define HAS_ARITHMETIC_SHIFT 1
    5511 _ACEOF
     2328EOF
    55122329
    55132330fi
     
    55222339fi
    55232340
    5524 echo "$as_me:$LINENO: checking whether to use omalloc" >&5
    5525 echo $ECHO_N "checking whether to use omalloc... $ECHO_C" >&6
     2341echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6
     2342echo "configure:2343: checking whether to use omalloc" >&5
    55262343
    55272344if test "$with_omalloc" = yes; then
     
    55462363fi
    55472364if test "$with_omalloc" = yes; then
    5548   cat >>confdefs.h <<\_ACEOF
     2365  cat >> confdefs.h <<\EOF
    55492366#define HAVE_OMALLOC 1
    5550 _ACEOF
    5551 
    5552   with_memman=no
    5553 fi
    5554 echo "$as_me:$LINENO: result: $with_omalloc" >&5
    5555 echo "${ECHO_T}$with_omalloc" >&6
     2367EOF
     2368
     2369  with_memman=no
     2370fi
     2371echo "$ac_t""$with_omalloc" 1>&6
    55562372if test "$warn_omalloc" = yes; then
    5557   { echo "$as_me:$LINENO: WARNING: did not find omalloc.h -- install before compiling" >&5
    5558 echo "$as_me: WARNING: did not find omalloc.h -- install before compiling" >&2;}
    5559 fi
    5560 
    5561 
     2373  echo "configure: warning: did not find omalloc.h -- install before compiling" 1>&2
     2374fi
     2375
     2376   
    55622377# memory manager
    55632378if test "x$with_memman" != xno; then
     
    55652380  installtargets="$installtargets installmem"
    55662381  uninstalltargets="$uninstalltargets uninstallmem"
    5567   cat >>confdefs.h <<\_ACEOF
     2382  cat >> confdefs.h <<\EOF
    55682383#define USE_MEMUTIL 1
    5569 _ACEOF
     2384EOF
    55702385
    55712386
     
    55732388    memmansrc="$memmansrc \$(oldmemmansrc)"
    55742389    memmanincl='$(oldmemmanincl)'
    5575     cat >>confdefs.h <<\_ACEOF
     2390    cat >> confdefs.h <<\EOF
    55762391#define USE_OLD_MEMMAN 1
    5577 _ACEOF
     2392EOF
    55782393
    55792394  else
     
    55822397
    55832398    if test "x$enable_memdebug" = xfull; then
    5584       cat >>confdefs.h <<\_ACEOF
     2399      cat >> confdefs.h <<\EOF
    55852400#define MDEBUG 1
    5586 _ACEOF
     2401EOF
    55872402
    55882403    elif test "x$enable_memdebug" != xno; then
    5589       cat >>confdefs.h <<\_ACEOF
     2404      cat >> confdefs.h <<\EOF
    55902405#define MDEBUG 0
    5591 _ACEOF
     2406EOF
    55922407
    55932408    fi
     
    55972412# "configurable inline methods"
    55982413if test "x$enable_cf_inline" != xno; then
    5599   cat >>confdefs.h <<\_ACEOF
     2414  cat >> confdefs.h <<\EOF
    56002415#define CF_USE_INLINE 1
    5601 _ACEOF
     2416EOF
    56022417
    56032418fi
     
    56052420# iostream
    56062421if test "x$enable_streamio" = xno; then
    5607   cat >>confdefs.h <<\_ACEOF
     2422  cat >> confdefs.h <<\EOF
    56082423#define NOSTREAMIO 1
    5609 _ACEOF
     2424EOF
    56102425
    56112426else
     
    56162431# assertions
    56172432if test "x$enable_assertions" = xno; then
    5618   cat >>confdefs.h <<\_ACEOF
     2433  cat >> confdefs.h <<\EOF
    56192434#define NOASSERT 1
    5620 _ACEOF
     2435EOF
    56212436
    56222437fi
     
    56242439# timing
    56252440if test "x$enable_timing" != xno; then
    5626   cat >>confdefs.h <<\_ACEOF
     2441  cat >> confdefs.h <<\EOF
    56272442#define TIMING 1
    5628 _ACEOF
     2443EOF
    56292444
    56302445fi
     
    56322447# debugoutput
    56332448if test "x$enable_debugoutput" != xno; then
    5634   cat >>confdefs.h <<\_ACEOF
     2449  cat >> confdefs.h <<\EOF
    56352450#define DEBUGOUTPUT 1
    5636 _ACEOF
     2451EOF
    56372452
    56382453fi
     
    56612476
    56622477
    5663 cat >>confdefs.h <<_ACEOF
     2478cat >> confdefs.h <<EOF
    56642479#define FACTORYVERSION "$factory_version"
    5665 _ACEOF
    5666 
    5667 cat >>confdefs.h <<_ACEOF
     2480EOF
     2481
     2482cat >> confdefs.h <<EOF
    56682483#define FACTORYCONFIGURATION "$factory_configuration"
    5669 _ACEOF
    5670 
    5671 cat >>confdefs.h <<_ACEOF
     2484EOF
     2485
     2486cat >> confdefs.h <<EOF
    56722487#define GFTABLEDIR "$explicit_gftabledir"
    5673 _ACEOF
    5674 
    5675 
    5676                     ac_config_files="$ac_config_files GNUmakefile ftest/GNUmakefile"
    5677 cat >confcache <<\_ACEOF
     2488EOF
     2489
     2490
     2491trap '' 1 2 15
     2492cat > confcache <<\EOF
    56782493# This file is a shell script that caches the results of configure
    56792494# tests run on this system so they can be shared between configure
    5680 # scripts and configure runs, see configure's option --config-cache.
    5681 # It is not useful on other systems.  If it contains results you don't
    5682 # want to keep, you may remove or edit it.
    5683 #
    5684 # config.status only pays attention to the cache file if you give it
    5685 # the --recheck option to rerun configure.
    5686 #
    5687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
    5688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
    5689 # following values.
    5690 
    5691 _ACEOF
    5692 
     2495# scripts and configure runs.  It is not useful on other systems.
     2496# If it contains results you don't want to keep, you may remove or edit it.
     2497#
     2498# By default, configure uses ./config.cache as the cache file,
     2499# creating it if it does not exist already.  You can give configure
     2500# the --cache-file=FILE option to use a different cache file; that is
     2501# what configure does when it calls configure scripts in
     2502# subdirectories, so they share the cache.
     2503# Giving --cache-file=/dev/null disables caching, for debugging configure.
     2504# config.status only pays attention to the cache file if you give it the
     2505# --recheck option to rerun configure.
     2506#
     2507EOF
    56932508# The following way of writing the cache mishandles newlines in values,
    56942509# but we know of no workaround that is simple, portable, and efficient.
     
    56962511# Ultrix sh set writes to stderr and can't be redirected directly,
    56972512# and sets the high bit in the cache file unless we assign to the vars.
    5698 {
    5699   (set) 2>&1 |
    5700     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    5701     *ac_space=\ *)
    5702       # `set' does not quote correctly, so add quotes (double-quote
    5703       # substitution turns \\\\ into \\, and sed turns \\ into \).
    5704       sed -n \
    5705         "s/'/'\\\\''/g;
    5706           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    5707       ;;
    5708     *)
    5709       # `set' quotes correctly as required by POSIX, so do not add quotes.
    5710       sed -n \
    5711         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    5712       ;;
    5713     esac;
    5714 } |
    5715   sed '
    5716      t clear
    5717      : clear
    5718      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    5719      t end
    5720      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    5721      : end' >>confcache
    5722 if diff $cache_file confcache >/dev/null 2>&1; then :; else
     2513(set) 2>&1 |
     2514  case `(ac_space=' '; set | grep ac_space) 2>&1` in
     2515  *ac_space=\ *)
     2516    # `set' does not quote correctly, so add quotes (double-quote substitution
     2517    # turns \\\\ into \\, and sed turns \\ into \).
     2518    sed -n \
     2519      -e "s/'/'\\\\''/g" \
     2520      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     2521    ;;
     2522  *)
     2523    # `set' quotes correctly as required by POSIX, so do not add quotes.
     2524    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     2525    ;;
     2526  esac >> confcache
     2527if cmp -s $cache_file confcache; then
     2528  :
     2529else
    57232530  if test -w $cache_file; then
    5724     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    5725     cat confcache >$cache_file
     2531    echo "updating cache $cache_file"
     2532    cat confcache > $cache_file
    57262533  else
    57272534    echo "not updating unwritable cache $cache_file"
     
    57302537rm -f confcache
    57312538
     2539trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
     2540
    57322541test "x$prefix" = xNONE && prefix=$ac_default_prefix
    57332542# Let make expand exec_prefix.
    57342543test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    57352544
    5736 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    5737 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    5738 # trailing colons and then remove the whole line if VPATH becomes empty
    5739 # (actually we leave an empty line to preserve line numbers).
     2545# Any assignment to VPATH causes Sun make to only execute
     2546# the first set of double-colon rules, so remove it if not needed.
     2547# If there is a colon in the path, we need to keep it.
    57402548if test "x$srcdir" = x.; then
    5741   ac_vpsub='/^[         ]*VPATH[        ]*=/{
    5742 s/:*\$(srcdir):*/:/;
    5743 s/:*\${srcdir}:*/:/;
    5744 s/:*@srcdir@:*/:/;
    5745 s/^\([^=]*=[    ]*\):*/\1/;
    5746 s/:*$//;
    5747 s/^[^=]*=[      ]*$//;
    5748 }'
    5749 fi
     2549  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
     2550fi
     2551
     2552trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
    57502553
    57512554DEFS=-DHAVE_CONFIG_H
    57522555
    5753 ac_libobjs=
    5754 ac_ltlibobjs=
    5755 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    5756   # 1. Remove the extension, and $U if already installed.
    5757   ac_i=`echo "$ac_i" |
    5758          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    5759   # 2. Add them.
    5760   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    5761   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     2556# Without the "./", some shells look in PATH for config.status.
     2557: ${CONFIG_STATUS=./config.status}
     2558
     2559echo creating $CONFIG_STATUS
     2560rm -f $CONFIG_STATUS
     2561cat > $CONFIG_STATUS <<EOF
     2562#! /bin/sh
     2563# Generated automatically by configure.
     2564# Run this file to recreate the current configuration.
     2565# This directory was configured as follows,
     2566# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     2567#
     2568# $0 $ac_configure_args
     2569#
     2570# Compiler output produced by configure, useful for debugging
     2571# configure, is in ./config.log if it exists.
     2572
     2573ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
     2574for ac_option
     2575do
     2576  case "\$ac_option" in
     2577  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     2578    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
     2579    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
     2580  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
     2581    echo "$CONFIG_STATUS generated by autoconf version 2.13"
     2582    exit 0 ;;
     2583  -help | --help | --hel | --he | --h)
     2584    echo "\$ac_cs_usage"; exit 0 ;;
     2585  *) echo "\$ac_cs_usage"; exit 1 ;;
     2586  esac
    57622587done
    5763 LIBOBJS=$ac_libobjs
    5764 
    5765 LTLIBOBJS=$ac_ltlibobjs
    5766 
    5767 
    5768 
    5769 : ${CONFIG_STATUS=./config.status}
    5770 ac_clean_files_save=$ac_clean_files
    5771 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    5772 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    5773 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    5774 cat >$CONFIG_STATUS <<_ACEOF
    5775 #! $SHELL
    5776 # Generated by $as_me.
    5777 # Run this file to recreate the current configuration.
    5778 # Compiler output produced by configure, useful for debugging
    5779 # configure, is in config.log if it exists.
    5780 
    5781 debug=false
    5782 ac_cs_recheck=false
    5783 ac_cs_silent=false
    5784 SHELL=\${CONFIG_SHELL-$SHELL}
    5785 _ACEOF
    5786 
    5787 cat >>$CONFIG_STATUS <<\_ACEOF
    5788 ## --------------------- ##
    5789 ## M4sh Initialization.  ##
    5790 ## --------------------- ##
    5791 
    5792 # Be Bourne compatible
    5793 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    5794   emulate sh
    5795   NULLCMD=:
    5796   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    5797   # is contrary to our usage.  Disable this feature.
    5798   alias -g '${1+"$@"}'='"$@"'
    5799 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    5800   set -o posix
    5801 fi
    5802 
    5803 # Support unset when possible.
    5804 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
    5805   as_unset=unset
    5806 else
    5807   as_unset=false
    5808 fi
    5809 
    5810 
    5811 # Work around bugs in pre-3.0 UWIN ksh.
    5812 $as_unset ENV MAIL MAILPATH
    5813 PS1='$ '
    5814 PS2='> '
    5815 PS4='+ '
    5816 
    5817 # NLS nuisances.
    5818 for as_var in \
    5819   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    5820   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    5821   LC_TELEPHONE LC_TIME
    5822 do
    5823   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
    5824     eval $as_var=C; export $as_var
     2588
     2589ac_given_srcdir=$srcdir
     2590ac_given_INSTALL="$INSTALL"
     2591
     2592trap 'rm -fr `echo "GNUmakefile ftest/GNUmakefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     2593EOF
     2594cat >> $CONFIG_STATUS <<EOF
     2595
     2596# Protect against being on the right side of a sed subst in config.status.
     2597sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
     2598 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
     2599$ac_vpsub
     2600$extrasub
     2601s%@SHELL@%$SHELL%g
     2602s%@CFLAGS@%$CFLAGS%g
     2603s%@CPPFLAGS@%$CPPFLAGS%g
     2604s%@CXXFLAGS@%$CXXFLAGS%g
     2605s%@FFLAGS@%$FFLAGS%g
     2606s%@DEFS@%$DEFS%g
     2607s%@LDFLAGS@%$LDFLAGS%g
     2608s%@LIBS@%$LIBS%g
     2609s%@exec_prefix@%$exec_prefix%g
     2610s%@prefix@%$prefix%g
     2611s%@program_transform_name@%$program_transform_name%g
     2612s%@bindir@%$bindir%g
     2613s%@sbindir@%$sbindir%g
     2614s%@libexecdir@%$libexecdir%g
     2615s%@datadir@%$datadir%g
     2616s%@sysconfdir@%$sysconfdir%g
     2617s%@sharedstatedir@%$sharedstatedir%g
     2618s%@localstatedir@%$localstatedir%g
     2619s%@libdir@%$libdir%g
     2620s%@includedir@%$includedir%g
     2621s%@oldincludedir@%$oldincludedir%g
     2622s%@infodir@%$infodir%g
     2623s%@mandir@%$mandir%g
     2624s%@CC@%$CC%g
     2625s%@CXX@%$CXX%g
     2626s%@CPP@%$CPP%g
     2627s%@CXXCPP@%$CXXCPP%g
     2628s%@LN_S@%$LN_S%g
     2629s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     2630s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     2631s%@INSTALL_DATA@%$INSTALL_DATA%g
     2632s%@RANLIB@%$RANLIB%g
     2633s%@SET_MAKE@%$SET_MAKE%g
     2634s%@AR@%$AR%g
     2635s%@M4@%$M4%g
     2636s%@BISON@%$BISON%g
     2637s%@FACTORY_MKINSTALLDIRS@%$FACTORY_MKINSTALLDIRS%g
     2638s%@FACTORY_MAKEHEADER@%$FACTORY_MAKEHEADER%g
     2639s%@gftabledir@%$gftabledir%g
     2640s%@templatedir@%$templatedir%g
     2641s%@factory_version@%$factory_version%g
     2642s%@libfactory@%$libfactory%g
     2643s%@ARFLAGS@%$ARFLAGS%g
     2644s%@M4FLAGS@%$M4FLAGS%g
     2645s%@MAKEHEADERFLAGS@%$MAKEHEADERFLAGS%g
     2646s%@factorysrc@%$factorysrc%g
     2647s%@factoryincl@%$factoryincl%g
     2648s%@memmansrc@%$memmansrc%g
     2649s%@memmanincl@%$memmanincl%g
     2650s%@alltargets@%$alltargets%g
     2651s%@installtargets@%$installtargets%g
     2652s%@uninstalltargets@%$uninstalltargets%g
     2653
     2654CEOF
     2655EOF
     2656
     2657cat >> $CONFIG_STATUS <<\EOF
     2658
     2659# Split the substitutions into bite-sized pieces for seds with
     2660# small command number limits, like on Digital OSF/1 and HP-UX.
     2661ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     2662ac_file=1 # Number of current file.
     2663ac_beg=1 # First line for current file.
     2664ac_end=$ac_max_sed_cmds # Line after last line for current file.
     2665ac_more_lines=:
     2666ac_sed_cmds=""
     2667while $ac_more_lines; do
     2668  if test $ac_beg -gt 1; then
     2669    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
    58252670  else
    5826     $as_unset $as_var
     2671    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
     2672  fi
     2673  if test ! -s conftest.s$ac_file; then
     2674    ac_more_lines=false
     2675    rm -f conftest.s$ac_file
     2676  else
     2677    if test -z "$ac_sed_cmds"; then
     2678      ac_sed_cmds="sed -f conftest.s$ac_file"
     2679    else
     2680      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
     2681    fi
     2682    ac_file=`expr $ac_file + 1`
     2683    ac_beg=$ac_end
     2684    ac_end=`expr $ac_end + $ac_max_sed_cmds`
    58272685  fi
    58282686done
    5829 
    5830 # Required to use basename.
    5831 if expr a : '\(a\)' >/dev/null 2>&1; then
    5832   as_expr=expr
    5833 else
    5834   as_expr=false
    5835 fi
    5836 
    5837 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    5838   as_basename=basename
    5839 else
    5840   as_basename=false
    5841 fi
    5842 
    5843 
    5844 # Name of the executable.
    5845 as_me=`$as_basename "$0" ||
    5846 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    5847          X"$0" : 'X\(//\)$' \| \
    5848          X"$0" : 'X\(/\)$' \| \
    5849          .     : '\(.\)' 2>/dev/null ||
    5850 echo X/"$0" |
    5851     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    5852           /^X\/\(\/\/\)$/{ s//\1/; q; }
    5853           /^X\/\(\/\).*/{ s//\1/; q; }
    5854           s/.*/./; q'`
    5855 
    5856 
    5857 # PATH needs CR, and LINENO needs CR and PATH.
    5858 # Avoid depending upon Character Ranges.
    5859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    5860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    5861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    5862 as_cr_digits='0123456789'
    5863 as_cr_alnum=$as_cr_Letters$as_cr_digits
    5864 
    5865 # The user is always right.
    5866 if test "${PATH_SEPARATOR+set}" != set; then
    5867   echo "#! /bin/sh" >conf$$.sh
    5868   echo  "exit 0"   >>conf$$.sh
    5869   chmod +x conf$$.sh
    5870   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    5871     PATH_SEPARATOR=';'
     2687if test -z "$ac_sed_cmds"; then
     2688  ac_sed_cmds=cat
     2689fi
     2690EOF
     2691
     2692cat >> $CONFIG_STATUS <<EOF
     2693
     2694CONFIG_FILES=\${CONFIG_FILES-"GNUmakefile ftest/GNUmakefile"}
     2695EOF
     2696cat >> $CONFIG_STATUS <<\EOF
     2697for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
     2698  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     2699  case "$ac_file" in
     2700  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     2701       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     2702  *) ac_file_in="${ac_file}.in" ;;
     2703  esac
     2704
     2705  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
     2706
     2707  # Remove last slash and all that follows it.  Not all systems have dirname.
     2708  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     2709  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     2710    # The file is in a subdirectory.
     2711    test ! -d "$ac_dir" && mkdir "$ac_dir"
     2712    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
     2713    # A "../" for each directory in $ac_dir_suffix.
     2714    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
    58722715  else
    5873     PATH_SEPARATOR=:
     2716    ac_dir_suffix= ac_dots=
    58742717  fi
    5875   rm -f conf$$.sh
    5876 fi
    5877 
    5878 
    5879   as_lineno_1=$LINENO
    5880   as_lineno_2=$LINENO
    5881   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    5882   test "x$as_lineno_1" != "x$as_lineno_2" &&
    5883   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    5884   # Find who we are.  Look in the path if we contain no path at all
    5885   # relative or not.
    5886   case $0 in
    5887     *[\\/]* ) as_myself=$0 ;;
    5888     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5889 for as_dir in $PATH
    5890 do
    5891   IFS=$as_save_IFS
    5892   test -z "$as_dir" && as_dir=.
    5893   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    5894 done
    5895 
    5896        ;;
     2718
     2719  case "$ac_given_srcdir" in
     2720  .)  srcdir=.
     2721      if test -z "$ac_dots"; then top_srcdir=.
     2722      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
     2723  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     2724  *) # Relative path.
     2725    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     2726    top_srcdir="$ac_dots$ac_given_srcdir" ;;
    58972727  esac
    5898   # We did not find ourselves, most probably we were run as `sh COMMAND'
    5899   # in which case we are not to be found in the path.
    5900   if test "x$as_myself" = x; then
    5901     as_myself=$0
    5902   fi
    5903   if test ! -f "$as_myself"; then
    5904     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    5905 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    5906    { (exit 1); exit 1; }; }
    5907   fi
    5908   case $CONFIG_SHELL in
    5909   '')
    5910     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5911 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    5912 do
    5913   IFS=$as_save_IFS
    5914   test -z "$as_dir" && as_dir=.
    5915   for as_base in sh bash ksh sh5; do
    5916          case $as_dir in
    5917          /*)
    5918            if ("$as_dir/$as_base" -c '
    5919   as_lineno_1=$LINENO
    5920   as_lineno_2=$LINENO
    5921   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    5922   test "x$as_lineno_1" != "x$as_lineno_2" &&
    5923   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    5924              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    5925              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    5926              CONFIG_SHELL=$as_dir/$as_base
    5927              export CONFIG_SHELL
    5928              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    5929            fi;;
    5930          esac
    5931        done
    5932 done
    5933 ;;
     2728
     2729  case "$ac_given_INSTALL" in
     2730  [/$]*) INSTALL="$ac_given_INSTALL" ;;
     2731  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    59342732  esac
    59352733
    5936   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    5937   # uniformly replaced by the line number.  The first 'sed' inserts a
    5938   # line-number line before each line; the second 'sed' does the real
    5939   # work.  The second script uses 'N' to pair each line-number line
    5940   # with the numbered line, and appends trailing '-' during
    5941   # substitution so that $LINENO is not a special case at line end.
    5942   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    5943   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    5944   sed '=' <$as_myself |
    5945     sed '
    5946       N
    5947       s,$,-,
    5948       : loop
    5949       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    5950       t loop
    5951       s,-$,,
    5952       s,^['$as_cr_digits']*\n,,
    5953     ' >$as_me.lineno &&
    5954   chmod +x $as_me.lineno ||
    5955     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    5956 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    5957    { (exit 1); exit 1; }; }
    5958 
    5959   # Don't try to exec as it changes $[0], causing all sort of problems
    5960   # (the dirname of $[0] is not the place where we might find the
    5961   # original and so on.  Autoconf is especially sensible to this).
    5962   . ./$as_me.lineno
    5963   # Exit status is that of the last command.
    5964   exit
    5965 }
    5966 
    5967 
    5968 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    5969   *c*,-n*) ECHO_N= ECHO_C='
    5970 ' ECHO_T='      ' ;;
    5971   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    5972   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    5973 esac
    5974 
    5975 if expr a : '\(a\)' >/dev/null 2>&1; then
    5976   as_expr=expr
    5977 else
    5978   as_expr=false
    5979 fi
    5980 
    5981 rm -f conf$$ conf$$.exe conf$$.file
    5982 echo >conf$$.file
    5983 if ln -s conf$$.file conf$$ 2>/dev/null; then
    5984   # We could just check for DJGPP; but this test a) works b) is more generic
    5985   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    5986   if test -f conf$$.exe; then
    5987     # Don't use ln at all; we don't have any links
    5988     as_ln_s='cp -p'
    5989   else
    5990     as_ln_s='ln -s'
    5991   fi
    5992 elif ln conf$$.file conf$$ 2>/dev/null; then
    5993   as_ln_s=ln
    5994 else
    5995   as_ln_s='cp -p'
    5996 fi
    5997 rm -f conf$$ conf$$.exe conf$$.file
    5998 
    5999 if mkdir -p . 2>/dev/null; then
    6000   as_mkdir_p=:
    6001 else
    6002   as_mkdir_p=false
    6003 fi
    6004 
    6005 as_executable_p="test -f"
    6006 
    6007 # Sed expression to map a string onto a valid CPP name.
    6008 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    6009 
    6010 # Sed expression to map a string onto a valid variable name.
    6011 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    6012 
    6013 
    6014 # IFS
    6015 # We need space, tab and new line, in precisely that order.
    6016 as_nl='
    6017 '
    6018 IFS="   $as_nl"
    6019 
    6020 # CDPATH.
    6021 $as_unset CDPATH
    6022 
    6023 exec 6>&1
    6024 
    6025 # Open the log real soon, to keep \$[0] and so on meaningful, and to
    6026 # report actual input values of CONFIG_FILES etc. instead of their
    6027 # values after options handling.  Logging --version etc. is OK.
    6028 exec 5>>config.log
    6029 {
    6030   echo
    6031   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    6032 ## Running $as_me. ##
    6033 _ASBOX
    6034 } >&5
    6035 cat >&5 <<_CSEOF
    6036 
    6037 This file was extended by $as_me, which was
    6038 generated by GNU Autoconf 2.57.  Invocation command line was
    6039 
    6040   CONFIG_FILES    = $CONFIG_FILES
    6041   CONFIG_HEADERS  = $CONFIG_HEADERS
    6042   CONFIG_LINKS    = $CONFIG_LINKS
    6043   CONFIG_COMMANDS = $CONFIG_COMMANDS
    6044   $ $0 $@
    6045 
    6046 _CSEOF
    6047 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    6048 echo >&5
    6049 _ACEOF
    6050 
    6051 # Files that config.status was made for.
    6052 if test -n "$ac_config_files"; then
    6053   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    6054 fi
    6055 
    6056 if test -n "$ac_config_headers"; then
    6057   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    6058 fi
    6059 
    6060 if test -n "$ac_config_links"; then
    6061   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    6062 fi
    6063 
    6064 if test -n "$ac_config_commands"; then
    6065   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    6066 fi
    6067 
    6068 cat >>$CONFIG_STATUS <<\_ACEOF
    6069 
    6070 ac_cs_usage="\
    6071 \`$as_me' instantiates files from templates according to the
    6072 current configuration.
    6073 
    6074 Usage: $0 [OPTIONS] [FILE]...
    6075 
    6076   -h, --help       print this help, then exit
    6077   -V, --version    print version number, then exit
    6078   -q, --quiet      do not print progress messages
    6079   -d, --debug      don't remove temporary files
    6080       --recheck    update $as_me by reconfiguring in the same conditions
    6081   --file=FILE[:TEMPLATE]
    6082                    instantiate the configuration file FILE
    6083   --header=FILE[:TEMPLATE]
    6084                    instantiate the configuration header FILE
    6085 
    6086 Configuration files:
    6087 $config_files
    6088 
    6089 Configuration headers:
    6090 $config_headers
    6091 
    6092 Report bugs to <bug-autoconf@gnu.org>."
    6093 _ACEOF
    6094 
    6095 cat >>$CONFIG_STATUS <<_ACEOF
    6096 ac_cs_version="\\
    6097 config.status
    6098 configured by $0, generated by GNU Autoconf 2.57,
    6099   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    6100 
    6101 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    6102 Free Software Foundation, Inc.
    6103 This config.status script is free software; the Free Software Foundation
    6104 gives unlimited permission to copy, distribute and modify it."
    6105 srcdir=$srcdir
    6106 INSTALL="$INSTALL"
    6107 _ACEOF
    6108 
    6109 cat >>$CONFIG_STATUS <<\_ACEOF
    6110 # If no file are specified by the user, then we need to provide default
    6111 # value.  By we need to know if files were specified by the user.
    6112 ac_need_defaults=:
    6113 while test $# != 0
    6114 do
    6115   case $1 in
    6116   --*=*)
    6117     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    6118     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    6119     ac_shift=:
    6120     ;;
    6121   -*)
    6122     ac_option=$1
    6123     ac_optarg=$2
    6124     ac_shift=shift
    6125     ;;
    6126   *) # This is not an option, so the user has probably given explicit
    6127      # arguments.
    6128      ac_option=$1
    6129      ac_need_defaults=false;;
     2734  echo creating "$ac_file"
     2735  rm -f "$ac_file"
     2736  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
     2737  case "$ac_file" in
     2738  *Makefile*) ac_comsub="1i\\
     2739# $configure_input" ;;
     2740  *) ac_comsub= ;;
    61302741  esac
    61312742
    6132   case $ac_option in
    6133   # Handling of the options.
    6134 _ACEOF
    6135 cat >>$CONFIG_STATUS <<\_ACEOF
    6136   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    6137     ac_cs_recheck=: ;;
    6138   --version | --vers* | -V )
    6139     echo "$ac_cs_version"; exit 0 ;;
    6140   --he | --h)
    6141     # Conflict between --help and --header
    6142     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    6143 Try \`$0 --help' for more information." >&5
    6144 echo "$as_me: error: ambiguous option: $1
    6145 Try \`$0 --help' for more information." >&2;}
    6146    { (exit 1); exit 1; }; };;
    6147   --help | --hel | -h )
    6148     echo "$ac_cs_usage"; exit 0 ;;
    6149   --debug | --d* | -d )
    6150     debug=: ;;
    6151   --file | --fil | --fi | --f )
    6152     $ac_shift
    6153     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    6154     ac_need_defaults=false;;
    6155   --header | --heade | --head | --hea )
    6156     $ac_shift
    6157     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    6158     ac_need_defaults=false;;
    6159   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    6160   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    6161     ac_cs_silent=: ;;
    6162 
    6163   # This is an error.
    6164   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    6165 Try \`$0 --help' for more information." >&5
    6166 echo "$as_me: error: unrecognized option: $1
    6167 Try \`$0 --help' for more information." >&2;}
    6168    { (exit 1); exit 1; }; } ;;
    6169 
    6170   *) ac_config_targets="$ac_config_targets $1" ;;
    6171 
    6172   esac
    6173   shift
    6174 done
    6175 
    6176 ac_configure_extra_args=
    6177 
    6178 if $ac_cs_silent; then
    6179   exec 6>/dev/null
    6180   ac_configure_extra_args="$ac_configure_extra_args --silent"
    6181 fi
    6182 
    6183 _ACEOF
    6184 cat >>$CONFIG_STATUS <<_ACEOF
    6185 if \$ac_cs_recheck; then
    6186   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    6187   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    6188 fi
    6189 
    6190 _ACEOF
    6191 
    6192 
    6193 
    6194 
    6195 
    6196 cat >>$CONFIG_STATUS <<\_ACEOF
    6197 for ac_config_target in $ac_config_targets
    6198 do
    6199   case "$ac_config_target" in
    6200   # Handling of arguments.
    6201   "GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
    6202   "ftest/GNUmakefile" ) CONFIG_FILES="$CONFIG_FILES ftest/GNUmakefile" ;;
    6203   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    6204   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    6205 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    6206    { (exit 1); exit 1; }; };;
    6207   esac
    6208 done
    6209 
    6210 # If the user did not use the arguments to specify the items to instantiate,
    6211 # then the envvar interface is used.  Set only those that are not.
    6212 # We use the long form for the default assignment because of an extremely
    6213 # bizarre bug on SunOS 4.1.3.
    6214 if $ac_need_defaults; then
    6215   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    6216   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    6217 fi
    6218 
    6219 # Have a temporary directory for convenience.  Make it in the build tree
    6220 # simply because there is no reason to put it here, and in addition,
    6221 # creating and moving files from /tmp can sometimes cause problems.
    6222 # Create a temporary directory, and hook for its removal unless debugging.
    6223 $debug ||
    6224 {
    6225   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    6226   trap '{ (exit 1); exit 1; }' 1 2 13 15
    6227 }
    6228 
    6229 # Create a (secure) tmp directory for tmp files.
    6230 
    6231 {
    6232   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    6233   test -n "$tmp" && test -d "$tmp"
    6234 }  ||
    6235 {
    6236   tmp=./confstat$$-$RANDOM
    6237   (umask 077 && mkdir $tmp)
    6238 } ||
    6239 {
    6240    echo "$me: cannot create a temporary directory in ." >&2
    6241    { (exit 1); exit 1; }
    6242 }
    6243 
    6244 _ACEOF
    6245 
    6246 cat >>$CONFIG_STATUS <<_ACEOF
    6247 
    6248 #
    6249 # CONFIG_FILES section.
    6250 #
    6251 
    6252 # No need to generate the scripts if there are no CONFIG_FILES.
    6253 # This happens for instance when ./config.status config.h
    6254 if test -n "\$CONFIG_FILES"; then
    6255   # Protect against being on the right side of a sed subst in config.status.
    6256   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    6257    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    6258 s,@SHELL@,$SHELL,;t t
    6259 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    6260 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    6261 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    6262 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    6263 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    6264 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    6265 s,@exec_prefix@,$exec_prefix,;t t
    6266 s,@prefix@,$prefix,;t t
    6267 s,@program_transform_name@,$program_transform_name,;t t
    6268 s,@bindir@,$bindir,;t t
    6269 s,@sbindir@,$sbindir,;t t
    6270 s,@libexecdir@,$libexecdir,;t t
    6271 s,@datadir@,$datadir,;t t
    6272 s,@sysconfdir@,$sysconfdir,;t t
    6273 s,@sharedstatedir@,$sharedstatedir,;t t
    6274 s,@localstatedir@,$localstatedir,;t t
    6275 s,@libdir@,$libdir,;t t
    6276 s,@includedir@,$includedir,;t t
    6277 s,@oldincludedir@,$oldincludedir,;t t
    6278 s,@infodir@,$infodir,;t t
    6279 s,@mandir@,$mandir,;t t
    6280 s,@build_alias@,$build_alias,;t t
    6281 s,@host_alias@,$host_alias,;t t
    6282 s,@target_alias@,$target_alias,;t t
    6283 s,@DEFS@,$DEFS,;t t
    6284 s,@ECHO_C@,$ECHO_C,;t t
    6285 s,@ECHO_N@,$ECHO_N,;t t
    6286 s,@ECHO_T@,$ECHO_T,;t t
    6287 s,@LIBS@,$LIBS,;t t
    6288 s,@CC@,$CC,;t t
    6289 s,@CFLAGS@,$CFLAGS,;t t
    6290 s,@LDFLAGS@,$LDFLAGS,;t t
    6291 s,@CPPFLAGS@,$CPPFLAGS,;t t
    6292 s,@ac_ct_CC@,$ac_ct_CC,;t t
    6293 s,@EXEEXT@,$EXEEXT,;t t
    6294 s,@OBJEXT@,$OBJEXT,;t t
    6295 s,@CXX@,$CXX,;t t
    6296 s,@CXXFLAGS@,$CXXFLAGS,;t t
    6297 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    6298 s,@CPP@,$CPP,;t t
    6299 s,@CXXCPP@,$CXXCPP,;t t
    6300 s,@LN_S@,$LN_S,;t t
    6301 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    6302 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    6303 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    6304 s,@RANLIB@,$RANLIB,;t t
    6305 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    6306 s,@SET_MAKE@,$SET_MAKE,;t t
    6307 s,@AR@,$AR,;t t
    6308 s,@M4@,$M4,;t t
    6309 s,@BISON@,$BISON,;t t
    6310 s,@FACTORY_MKINSTALLDIRS@,$FACTORY_MKINSTALLDIRS,;t t
    6311 s,@FACTORY_MAKEHEADER@,$FACTORY_MAKEHEADER,;t t
    6312 s,@EGREP@,$EGREP,;t t
    6313 s,@gftabledir@,$gftabledir,;t t
    6314 s,@templatedir@,$templatedir,;t t
    6315 s,@factory_version@,$factory_version,;t t
    6316 s,@libfactory@,$libfactory,;t t
    6317 s,@ARFLAGS@,$ARFLAGS,;t t
    6318 s,@M4FLAGS@,$M4FLAGS,;t t
    6319 s,@MAKEHEADERFLAGS@,$MAKEHEADERFLAGS,;t t
    6320 s,@factorysrc@,$factorysrc,;t t
    6321 s,@factoryincl@,$factoryincl,;t t
    6322 s,@memmansrc@,$memmansrc,;t t
    6323 s,@memmanincl@,$memmanincl,;t t
    6324 s,@alltargets@,$alltargets,;t t
    6325 s,@installtargets@,$installtargets,;t t
    6326 s,@uninstalltargets@,$uninstalltargets,;t t
    6327 s,@LIBOBJS@,$LIBOBJS,;t t
    6328 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    6329 CEOF
    6330 
    6331 _ACEOF
    6332 
    6333   cat >>$CONFIG_STATUS <<\_ACEOF
    6334   # Split the substitutions into bite-sized pieces for seds with
    6335   # small command number limits, like on Digital OSF/1 and HP-UX.
    6336   ac_max_sed_lines=48
    6337   ac_sed_frag=1 # Number of current file.
    6338   ac_beg=1 # First line for current file.
    6339   ac_end=$ac_max_sed_lines # Line after last line for current file.
    6340   ac_more_lines=:
    6341   ac_sed_cmds=
    6342   while $ac_more_lines; do
    6343     if test $ac_beg -gt 1; then
    6344       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    6345     else
    6346       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    6347     fi
    6348     if test ! -s $tmp/subs.frag; then
    6349       ac_more_lines=false
    6350     else
    6351       # The purpose of the label and of the branching condition is to
    6352       # speed up the sed processing (if there are no `@' at all, there
    6353       # is no need to browse any of the substitutions).
    6354       # These are the two extra sed commands mentioned above.
    6355       (echo ':t
    6356   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    6357       if test -z "$ac_sed_cmds"; then
    6358         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    6359       else
    6360         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    6361       fi
    6362       ac_sed_frag=`expr $ac_sed_frag + 1`
    6363       ac_beg=$ac_end
    6364       ac_end=`expr $ac_end + $ac_max_sed_lines`
    6365     fi
    6366   done
    6367   if test -z "$ac_sed_cmds"; then
    6368     ac_sed_cmds=cat
    6369   fi
    6370 fi # test -n "$CONFIG_FILES"
    6371 
    6372 _ACEOF
    6373 cat >>$CONFIG_STATUS <<\_ACEOF
    6374 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    6375   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    6376   case $ac_file in
    6377   - | *:- | *:-:* ) # input from stdin
    6378         cat >$tmp/stdin
    6379         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    6380         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    6381   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    6382         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    6383   * )   ac_file_in=$ac_file.in ;;
    6384   esac
    6385 
    6386   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    6387   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    6388 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6389          X"$ac_file" : 'X\(//\)[^/]' \| \
    6390          X"$ac_file" : 'X\(//\)$' \| \
    6391          X"$ac_file" : 'X\(/\)' \| \
    6392          .     : '\(.\)' 2>/dev/null ||
    6393 echo X"$ac_file" |
    6394     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    6395           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    6396           /^X\(\/\/\)$/{ s//\1/; q; }
    6397           /^X\(\/\).*/{ s//\1/; q; }
    6398           s/.*/./; q'`
    6399   { if $as_mkdir_p; then
    6400     mkdir -p "$ac_dir"
    6401   else
    6402     as_dir="$ac_dir"
    6403     as_dirs=
    6404     while test ! -d "$as_dir"; do
    6405       as_dirs="$as_dir $as_dirs"
    6406       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    6407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6408          X"$as_dir" : 'X\(//\)[^/]' \| \
    6409          X"$as_dir" : 'X\(//\)$' \| \
    6410          X"$as_dir" : 'X\(/\)' \| \
    6411          .     : '\(.\)' 2>/dev/null ||
    6412 echo X"$as_dir" |
    6413     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    6414           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    6415           /^X\(\/\/\)$/{ s//\1/; q; }
    6416           /^X\(\/\).*/{ s//\1/; q; }
    6417           s/.*/./; q'`
    6418     done
    6419     test ! -n "$as_dirs" || mkdir $as_dirs
    6420   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    6421 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    6422    { (exit 1); exit 1; }; }; }
    6423 
    6424   ac_builddir=.
    6425 
    6426 if test "$ac_dir" != .; then
    6427   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    6428   # A "../" for each directory in $ac_dir_suffix.
    6429   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    6430 else
    6431   ac_dir_suffix= ac_top_builddir=
    6432 fi
    6433 
    6434 case $srcdir in
    6435   .)  # No --srcdir option.  We are building in place.
    6436     ac_srcdir=.
    6437     if test -z "$ac_top_builddir"; then
    6438        ac_top_srcdir=.
    6439     else
    6440        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    6441     fi ;;
    6442   [\\/]* | ?:[\\/]* )  # Absolute path.
    6443     ac_srcdir=$srcdir$ac_dir_suffix;
    6444     ac_top_srcdir=$srcdir ;;
    6445   *) # Relative path.
    6446     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    6447     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    6448 esac
    6449 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    6450 # absolute.
    6451 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    6452 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    6453 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    6454 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
    6455 
    6456 
    6457   case $INSTALL in
    6458   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    6459   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    6460   esac
    6461 
    6462   if test x"$ac_file" != x-; then
    6463     { echo "$as_me:$LINENO: creating $ac_file" >&5
    6464 echo "$as_me: creating $ac_file" >&6;}
    6465     rm -f "$ac_file"
    6466   fi
    6467   # Let's still pretend it is `configure' which instantiates (i.e., don't
    6468   # use $as_me), people would be surprised to read:
    6469   #    /* config.h.  Generated by config.status.  */
    6470   if test x"$ac_file" = x-; then
    6471     configure_input=
    6472   else
    6473     configure_input="$ac_file.  "
    6474   fi
    6475   configure_input=$configure_input"Generated from `echo $ac_file_in |
    6476                                      sed 's,.*/,,'` by configure."
    6477 
    6478   # First look for the input files in the build tree, otherwise in the
    6479   # src tree.
    6480   ac_file_inputs=`IFS=:
    6481     for f in $ac_file_in; do
    6482       case $f in
    6483       -) echo $tmp/stdin ;;
    6484       [\\/$]*)
    6485          # Absolute (can't be DOS-style, as IFS=:)
    6486          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    6487 echo "$as_me: error: cannot find input file: $f" >&2;}
    6488    { (exit 1); exit 1; }; }
    6489          echo $f;;
    6490       *) # Relative
    6491          if test -f "$f"; then
    6492            # Build tree
    6493            echo $f
    6494          elif test -f "$srcdir/$f"; then
    6495            # Source tree
    6496            echo $srcdir/$f
    6497          else
    6498            # /dev/null tree
    6499            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    6500 echo "$as_me: error: cannot find input file: $f" >&2;}
    6501    { (exit 1); exit 1; }; }
    6502          fi;;
    6503       esac
    6504     done` || { (exit 1); exit 1; }
    6505 _ACEOF
    6506 cat >>$CONFIG_STATUS <<_ACEOF
    6507   sed "$ac_vpsub
    6508 $extrasub
    6509 _ACEOF
    6510 cat >>$CONFIG_STATUS <<\_ACEOF
    6511 :t
    6512 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    6513 s,@configure_input@,$configure_input,;t t
    6514 s,@srcdir@,$ac_srcdir,;t t
    6515 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    6516 s,@top_srcdir@,$ac_top_srcdir,;t t
    6517 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    6518 s,@builddir@,$ac_builddir,;t t
    6519 s,@abs_builddir@,$ac_abs_builddir,;t t
    6520 s,@top_builddir@,$ac_top_builddir,;t t
    6521 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    6522 s,@INSTALL@,$ac_INSTALL,;t t
    6523 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    6524   rm -f $tmp/stdin
    6525   if test x"$ac_file" != x-; then
    6526     mv $tmp/out $ac_file
    6527   else
    6528     cat $tmp/out
    6529     rm -f $tmp/out
    6530   fi
    6531 
    6532 done
    6533 _ACEOF
    6534 cat >>$CONFIG_STATUS <<\_ACEOF
    6535 
    6536 #
    6537 # CONFIG_HEADER section.
    6538 #
     2743  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2744  sed -e "$ac_comsub
     2745s%@configure_input@%$configure_input%g
     2746s%@srcdir@%$srcdir%g
     2747s%@top_srcdir@%$top_srcdir%g
     2748s%@INSTALL@%$INSTALL%g
     2749" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
     2750fi; done
     2751rm -f conftest.s*
    65392752
    65402753# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     
    65422755#
    65432756# ac_d sets the value in "#define NAME VALUE" lines.
    6544 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
    6545 ac_dB='[        ].*$,\1#\2'
    6546 ac_dC=' '
    6547 ac_dD=',;t'
    6548 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    6549 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    6550 ac_uB='$,\1#\2define\3'
     2757ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
     2758ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
     2759ac_dC='\3'
     2760ac_dD='%g'
     2761# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
     2762ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     2763ac_uB='\([      ]\)%\1#\2define\3'
    65512764ac_uC=' '
    6552 ac_uD=',;t'
    6553 
    6554 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     2765ac_uD='\4%g'
     2766# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     2767ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     2768ac_eB='$%\1#\2define\3'
     2769ac_eC=' '
     2770ac_eD='%g'
     2771
     2772if test "${CONFIG_HEADERS+set}" != set; then
     2773EOF
     2774cat >> $CONFIG_STATUS <<EOF
     2775  CONFIG_HEADERS="config.h"
     2776EOF
     2777cat >> $CONFIG_STATUS <<\EOF
     2778fi
     2779for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
    65552780  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    6556   case $ac_file in
    6557   - | *:- | *:-:* ) # input from stdin
    6558         cat >$tmp/stdin
    6559         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    6560         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    6561   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    6562         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    6563   * )   ac_file_in=$ac_file.in ;;
     2781  case "$ac_file" in
     2782  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     2783       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     2784  *) ac_file_in="${ac_file}.in" ;;
    65642785  esac
    65652786
    6566   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    6567 echo "$as_me: creating $ac_file" >&6;}
    6568 
    6569   # First look for the input files in the build tree, otherwise in the
    6570   # src tree.
    6571   ac_file_inputs=`IFS=:
    6572     for f in $ac_file_in; do
    6573       case $f in
    6574       -) echo $tmp/stdin ;;
    6575       [\\/$]*)
    6576          # Absolute (can't be DOS-style, as IFS=:)
    6577          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    6578 echo "$as_me: error: cannot find input file: $f" >&2;}
    6579    { (exit 1); exit 1; }; }
    6580          echo $f;;
    6581       *) # Relative
    6582          if test -f "$f"; then
    6583            # Build tree
    6584            echo $f
    6585          elif test -f "$srcdir/$f"; then
    6586            # Source tree
    6587            echo $srcdir/$f
    6588          else
    6589            # /dev/null tree
    6590            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    6591 echo "$as_me: error: cannot find input file: $f" >&2;}
    6592    { (exit 1); exit 1; }; }
    6593          fi;;
    6594       esac
    6595     done` || { (exit 1); exit 1; }
    6596   # Remove the trailing spaces.
    6597   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
    6598 
    6599 _ACEOF
    6600 
    6601 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    6602 # `conftest.undefs', that substitutes the proper values into
    6603 # config.h.in to produce config.h.  The first handles `#define'
    6604 # templates, and the second `#undef' templates.
    6605 # And first: Protect against being on the right side of a sed subst in
    6606 # config.status.  Protect against being in an unquoted here document
    6607 # in config.status.
    6608 rm -f conftest.defines conftest.undefs
    6609 # Using a here document instead of a string reduces the quoting nightmare.
    6610 # Putting comments in sed scripts is not portable.
    6611 #
    6612 # `end' is used to avoid that the second main sed command (meant for
    6613 # 0-ary CPP macros) applies to n-ary macro definitions.
    6614 # See the Autoconf documentation for `clear'.
    6615 cat >confdef2sed.sed <<\_ACEOF
    6616 s/[\\&,]/\\&/g
    6617 s,[\\$`],\\&,g
    6618 t clear
    6619 : clear
    6620 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    6621 t end
    6622 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    6623 : end
    6624 _ACEOF
    6625 # If some macros were called several times there might be several times
    6626 # the same #defines, which is useless.  Nevertheless, we may not want to
    6627 # sort them, since we want the *last* AC-DEFINE to be honored.
    6628 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    6629 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    6630 rm -f confdef2sed.sed
     2787  echo creating $ac_file
     2788
     2789  rm -f conftest.frag conftest.in conftest.out
     2790  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     2791  cat $ac_file_inputs > conftest.in
     2792
     2793EOF
     2794
     2795# Transform confdefs.h into a sed script conftest.vals that substitutes
     2796# the proper values into config.h.in to produce config.h.  And first:
     2797# Protect against being on the right side of a sed subst in config.status.
     2798# Protect against being in an unquoted here document in config.status.
     2799rm -f conftest.vals
     2800cat > conftest.hdr <<\EOF
     2801s/[\\&%]/\\&/g
     2802s%[\\$`]%\\&%g
     2803s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
     2804s%ac_d%ac_u%gp
     2805s%ac_u%ac_e%gp
     2806EOF
     2807sed -n -f conftest.hdr confdefs.h > conftest.vals
     2808rm -f conftest.hdr
    66312809
    66322810# This sed command replaces #undef with comments.  This is necessary, for
    66332811# example, in the case of _POSIX_SOURCE, which is predefined and required
    66342812# on some systems where configure will not decide to define it.
    6635 cat >>conftest.undefs <<\_ACEOF
    6636 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    6637 _ACEOF
    6638 
    6639 # Break up conftest.defines because some shells have a limit on the size
    6640 # of here documents, and old seds have small limits too (100 cmds).
    6641 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    6642 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    6643 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    6644 echo '  :' >>$CONFIG_STATUS
     2813cat >> conftest.vals <<\EOF
     2814s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
     2815EOF
     2816
     2817# Break up conftest.vals because some shells have a limit on
     2818# the size of here documents, and old seds have small limits too.
     2819
    66452820rm -f conftest.tail
    6646 while grep . conftest.defines >/dev/null
     2821while :
    66472822do
    6648   # Write a limited-size here document to $tmp/defines.sed.
    6649   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    6650   # Speed up: don't consider the non `#define' lines.
    6651   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
    6652   # Work around the forget-to-reset-the-flag bug.
    6653   echo 't clr' >>$CONFIG_STATUS
    6654   echo ': clr' >>$CONFIG_STATUS
    6655   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     2823  ac_lines=`grep -c . conftest.vals`
     2824  # grep -c gives empty output for an empty file on some AIX systems.
     2825  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
     2826  # Write a limited-size here document to conftest.frag.
     2827  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
     2828  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
    66562829  echo 'CEOF
    6657   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    6658   rm -f $tmp/in
    6659   mv $tmp/out $tmp/in
    6660 ' >>$CONFIG_STATUS
    6661   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    6662   rm -f conftest.defines
    6663   mv conftest.tail conftest.defines
     2830  sed -f conftest.frag conftest.in > conftest.out
     2831  rm -f conftest.in
     2832  mv conftest.out conftest.in
     2833' >> $CONFIG_STATUS
     2834  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
     2835  rm -f conftest.vals
     2836  mv conftest.tail conftest.vals
    66642837done
    6665 rm -f conftest.defines
    6666 echo '  fi # grep' >>$CONFIG_STATUS
    6667 echo >>$CONFIG_STATUS
    6668 
    6669 # Break up conftest.undefs because some shells have a limit on the size
    6670 # of here documents, and old seds have small limits too (100 cmds).
    6671 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    6672 rm -f conftest.tail
    6673 while grep . conftest.undefs >/dev/null
    6674 do
    6675   # Write a limited-size here document to $tmp/undefs.sed.
    6676   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    6677   # Speed up: don't consider the non `#undef'
    6678   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    6679   # Work around the forget-to-reset-the-flag bug.
    6680   echo 't clr' >>$CONFIG_STATUS
    6681   echo ': clr' >>$CONFIG_STATUS
    6682   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    6683   echo 'CEOF
    6684   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    6685   rm -f $tmp/in
    6686   mv $tmp/out $tmp/in
    6687 ' >>$CONFIG_STATUS
    6688   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    6689   rm -f conftest.undefs
    6690   mv conftest.tail conftest.undefs
    6691 done
    6692 rm -f conftest.undefs
    6693 
    6694 cat >>$CONFIG_STATUS <<\_ACEOF
    6695   # Let's still pretend it is `configure' which instantiates (i.e., don't
    6696   # use $as_me), people would be surprised to read:
    6697   #    /* config.h.  Generated by config.status.  */
    6698   if test x"$ac_file" = x-; then
    6699     echo "/* Generated by configure.  */" >$tmp/config.h
     2838rm -f conftest.vals
     2839
     2840cat >> $CONFIG_STATUS <<\EOF
     2841  rm -f conftest.frag conftest.h
     2842  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
     2843  cat conftest.in >> conftest.h
     2844  rm -f conftest.in
     2845  if cmp -s $ac_file conftest.h 2>/dev/null; then
     2846    echo "$ac_file is unchanged"
     2847    rm -f conftest.h
    67002848  else
    6701     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     2849    # Remove last slash and all that follows it.  Not all systems have dirname.
     2850      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     2851      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     2852      # The file is in a subdirectory.
     2853      test ! -d "$ac_dir" && mkdir "$ac_dir"
     2854    fi
     2855    rm -f $ac_file
     2856    mv conftest.h $ac_file
    67022857  fi
    6703   cat $tmp/in >>$tmp/config.h
    6704   rm -f $tmp/in
    6705   if test x"$ac_file" != x-; then
    6706     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    6707       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    6708 echo "$as_me: $ac_file is unchanged" >&6;}
    6709     else
    6710       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    6711 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6712          X"$ac_file" : 'X\(//\)[^/]' \| \
    6713          X"$ac_file" : 'X\(//\)$' \| \
    6714          X"$ac_file" : 'X\(/\)' \| \
    6715          .     : '\(.\)' 2>/dev/null ||
    6716 echo X"$ac_file" |
    6717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    6718           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    6719           /^X\(\/\/\)$/{ s//\1/; q; }
    6720           /^X\(\/\).*/{ s//\1/; q; }
    6721           s/.*/./; q'`
    6722       { if $as_mkdir_p; then
    6723     mkdir -p "$ac_dir"
    6724   else
    6725     as_dir="$ac_dir"
    6726     as_dirs=
    6727     while test ! -d "$as_dir"; do
    6728       as_dirs="$as_dir $as_dirs"
    6729       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    6730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6731          X"$as_dir" : 'X\(//\)[^/]' \| \
    6732          X"$as_dir" : 'X\(//\)$' \| \
    6733          X"$as_dir" : 'X\(/\)' \| \
    6734          .     : '\(.\)' 2>/dev/null ||
    6735 echo X"$as_dir" |
    6736     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    6737           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    6738           /^X\(\/\/\)$/{ s//\1/; q; }
    6739           /^X\(\/\).*/{ s//\1/; q; }
    6740           s/.*/./; q'`
    6741     done
    6742     test ! -n "$as_dirs" || mkdir $as_dirs
    6743   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    6744 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    6745    { (exit 1); exit 1; }; }; }
    6746 
    6747       rm -f $ac_file
    6748       mv $tmp/config.h $ac_file
    6749     fi
    6750   else
    6751     cat $tmp/config.h
    6752     rm -f $tmp/config.h
    6753   fi
    6754 done
    6755 _ACEOF
    6756 
    6757 cat >>$CONFIG_STATUS <<\_ACEOF
    6758 
    6759 { (exit 0); exit 0; }
    6760 _ACEOF
     2858fi; done
     2859
     2860EOF
     2861cat >> $CONFIG_STATUS <<EOF
     2862
     2863EOF
     2864cat >> $CONFIG_STATUS <<\EOF
     2865
     2866exit 0
     2867EOF
    67612868chmod +x $CONFIG_STATUS
    6762 ac_clean_files=$ac_clean_files_save
    6763 
    6764 
    6765 # configure is writing to config.log, and then calls config.status.
    6766 # config.status does its own redirection, appending to config.log.
    6767 # Unfortunately, on DOS this fails, as config.log is still kept open
    6768 # by configure, so config.status won't be able to write to it; its
    6769 # output is simply discarded.  So we exec the FD to /dev/null,
    6770 # effectively closing config.log, so it can be properly (re)opened and
    6771 # appended to by config.status.  When coming back to configure, we
    6772 # need to make the FD available again.
    6773 if test "$no_create" != yes; then
    6774   ac_cs_success=:
    6775   ac_config_status_args=
    6776   test "$silent" = yes &&
    6777     ac_config_status_args="$ac_config_status_args --quiet"
    6778   exec 5>/dev/null
    6779   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
    6780   exec 5>>config.log
    6781   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    6782   # would make configure fail if this is the last instruction.
    6783   $ac_cs_success || { (exit 1); exit 1; }
    6784 fi
    6785 
     2869rm -fr confdefs* $ac_clean_files
     2870test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
     2871
Note: See TracChangeset for help on using the changeset viewer.