Changeset 206aed in git for Singular


Ignore:
Timestamp:
Apr 28, 2005, 2:25:32 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
250362947cba4d61c72ba4c1161cbe966a0c2c0b
Parents:
3707560214d1b7272b990ec170fadf04b517d14d
Message:
*hannes: HPUX port


git-svn-id: file:///usr/local/Singular/svn/trunk@7925 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Singular/cntrlc.cc

    r370756 r206aed  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: cntrlc.cc,v 1.45 2005-04-25 13:25:46 Singular Exp $ */
     4/* $Id: cntrlc.cc,v 1.46 2005-04-28 12:25:23 hannes Exp $ */
    55/*
    66* ABSTRACT - interupt handling
     
    120120     fprintf(stderr, "Unable to init signal %d ... exiting...\n", sig);
    121121  }
     122#ifdef HAVE_SIGINTERRUPT
    122123  siginterrupt(sig, 1);
     124#endif
    123125  return retval;
    124126}                               /* si_set_signal */
  • Singular/configure

    r370756 r206aed  
    11#! /bin/sh
     2
    23# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     4# Generated automatically using autoconf version 2.13
     5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    46#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
    8 ## --------------------- ##
    9 ## M4sh Initialization.  ##
    10 ## --------------------- ##
    11 
    12 # Be Bourne compatible
    13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    14   emulate sh
    15   NULLCMD=:
    16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    17   # is contrary to our usage.  Disable this feature.
    18   alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
    34 PS1='$ '
    35 PS2='> '
    36 PS4='+ '
    37 
    38 # NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
    43 do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
    46   else
    47     $as_unset $as_var
    48   fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
    53   as_expr=expr
    54 else
    55   as_expr=false
    56 fi
    57 
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    59   as_basename=basename
    60 else
    61   as_basename=false
    62 fi
    63 
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
    67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68          X"$0" : 'X\(//\)$' \| \
    69          X"$0" : 'X\(/\)$' \| \
    70          .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73           /^X\/\(\/\/\)$/{ s//\1/; q; }
    74           /^X\/\(\/\).*/{ s//\1/; q; }
    75           s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
    79 # Avoid depending upon Character Ranges.
    80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    83 as_cr_digits='0123456789'
    84 as_cr_alnum=$as_cr_Letters$as_cr_digits
    85 
    86 # The user is always right.
    87 if test "${PATH_SEPARATOR+set}" != set; then
    88   echo "#! /bin/sh" >conf$$.sh
    89   echo  "exit 0"   >>conf$$.sh
    90   chmod +x conf$$.sh
    91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    92     PATH_SEPARATOR=';'
    93   else
    94     PATH_SEPARATOR=:
    95   fi
    96   rm -f conf$$.sh
    97 fi
    98 
    99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110 for as_dir in $PATH
    111 do
    112   IFS=$as_save_IFS
    113   test -z "$as_dir" && as_dir=.
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115 done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
    123   fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
    130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132 do
    133   IFS=$as_save_IFS
    134   test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136          case $as_dir in
    137          /*)
    138            if ("$as_dir/$as_base" -c '
    139   as_lineno_1=$LINENO
    140   as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146              CONFIG_SHELL=$as_dir/$as_base
    147              export CONFIG_SHELL
    148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149            fi;;
    150          esac
    151        done
    152 done
    153 ;;
    154   esac
    155 
    156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157   # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
    162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
    165     sed '
    166       N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    170       t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
    173     ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176    { (exit 1); exit 1; }; }
    177 
    178   # Don't try to exec as it changes $[0], causing all sort of problems
    179   # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
    182   # Exit status is that of the last command.
    183   exit
    184 }
    185 
    186 
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='      ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
    195   as_expr=expr
    196 else
    197   as_expr=false
    198 fi
    199 
    200 rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
    207     as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213 else
    214   as_ln_s='cp -p'
    215 fi
    216 rm -f conf$$ conf$$.exe conf$$.file
    217 
    218 if mkdir -p . 2>/dev/null; then
    219   as_mkdir_p=:
    220 else
    221   test -d ./-p && rmdir ./-p
    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="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    229 
    230 # Sed expression to map a string onto a valid variable name.
    231 as_tr_sh="eval 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 #
     9
     10# Defaults:
     11ac_help=
    25412ac_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="mmalloc.cc"
     13# Any additions from configure.in:
    27514ac_default_prefix=`pwd`/..
    276 # Factoring default headers for most tests.
    277 ac_includes_default="\
    278 #include <stdio.h>
    279 #if HAVE_SYS_TYPES_H
    280 # include <sys/types.h>
    281 #endif
    282 #if HAVE_SYS_STAT_H
    283 # include <sys/stat.h>
    284 #endif
    285 #if STDC_HEADERS
    286 # include <stdlib.h>
    287 # include <stddef.h>
    288 #else
    289 # if HAVE_STDLIB_H
    290 #  include <stdlib.h>
    291 # endif
    292 #endif
    293 #if HAVE_STRING_H
    294 # if !STDC_HEADERS && HAVE_MEMORY_H
    295 #  include <memory.h>
    296 # endif
    297 # include <string.h>
    298 #endif
    299 #if HAVE_STRINGS_H
    300 # include <strings.h>
    301 #endif
    302 #if HAVE_INTTYPES_H
    303 # include <inttypes.h>
    304 #else
    305 # if HAVE_STDINT_H
    306 #  include <stdint.h>
    307 # endif
    308 #endif
    309 #if HAVE_UNISTD_H
    310 # include <unistd.h>
    311 #endif"
    312 
    313 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 SINGUNAME EXEC_EXT SING_UNAME SINGULAR_VERSION VERSION_DATE SINGULAR_MAJOR_VERSION SINGULAR_MINOR_VERSION SINGULAR_SUB_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP PIPE CXXTEMPLFLAGS CXXNOOPTFLAGS STATIC_LDFLAGS SET_MAKE SINGULAR LEX BISON LN_S PERL LD_DYN_FLAGS SFLAGS SLDFLAGS LD ALLOCA CXXCPP HAVE_MPSR MP_LIBS NEED_LIBS DL_KERNEL PLURAL LIBOBJS LTLIBOBJS'
    314 ac_subst_files=''
     15ac_help="$ac_help
     16  --with-rootdir=DIR      use DIR ass compiled-in root directory
     17                             (default is PREFIX)"
     18ac_help="$ac_help
     19  --with-lex=[LEX,no]     uses LEX as lex program, default is flex"
     20ac_help="$ac_help
     21  --with-readline=[dynamic,static,no]         
     22                          do use dynamic/static/no readline for fancy display"
     23ac_help="$ac_help
     24  --without-MP            do not use MP (no MP links)"
     25ac_help="$ac_help
     26  --without-dbm           do not use dbm (no DBM links)"
     27ac_help="$ac_help
     28  --without-factory       do not use factory (no poly factorization)"
     29ac_help="$ac_help
     30  --without-libfac        do not use libfac (no primary decompositions)"
     31ac_help="$ac_help
     32  --with-namespaces       do compile namespace support"
     33ac_help="$ac_help
     34  --without-dl            do not use dynamic linking, modules, and kernel"
     35ac_help="$ac_help
     36  --with-dynamic-modules  do compile with dynamic modules support"
     37ac_help="$ac_help
     38  --without-dynamic-kernel               
     39                          do not compile with dynamic kernel parts"
     40ac_help="$ac_help
     41  --with-apint=PACKAGE    use PACKAGE for arbitary integer arithmetic"
     42ac_help="$ac_help
     43  --with-Plural           do compile with Plural support"
     44ac_help="$ac_help
     45  --with-NTL              build for use with NTL."
    31546
    31647# Initialize some variables set by options.
    317 ac_init_help=
    318 ac_init_version=false
    31948# The variables have the same names as the options, with
    32049# dashes changed to underlines.
    321 cache_file=/dev/null
     50build=NONE
     51cache_file=./config.cache
    32252exec_prefix=NONE
     53host=NONE
    32354no_create=
     55nonopt=NONE
    32456no_recursion=
    32557prefix=NONE
     
    33062site=
    33163srcdir=
     64target=NONE
    33265verbose=
    33366x_includes=NONE
    33467x_libraries=NONE
    335 
    336 # Installation directory options.
    337 # These are left unexpanded so users can "make install exec_prefix=/foo"
    338 # and all the variables that are supposed to be based on exec_prefix
    339 # by default will actually change.
    340 # Use braces instead of parens because sh, perl, etc. also accept them.
    34168bindir='${exec_prefix}/bin'
    34269sbindir='${exec_prefix}/sbin'
     
    35279mandir='${prefix}/man'
    35380
     81# Initialize some other variables.
     82subdirs=
     83MFLAGS= MAKEFLAGS=
     84SHELL=${CONFIG_SHELL-/bin/sh}
     85# Maximum number of lines to put in a shell here document.
     86ac_max_here_lines=12
     87
    35488ac_prev=
    35589for ac_option
    35690do
     91
    35792  # If the previous option needs an argument, assign it.
    35893  if test -n "$ac_prev"; then
     
    36297  fi
    36398
    364   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     99  case "$ac_option" in
     100  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
     101  *) ac_optarg= ;;
     102  esac
    365103
    366104  # Accept the important Cygnus configure options, so we can diagnose typos.
    367105
    368   case $ac_option in
     106  case "$ac_option" in
    369107
    370108  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    371109    ac_prev=bindir ;;
    372110  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    373     bindir=$ac_optarg ;;
     111    bindir="$ac_optarg" ;;
    374112
    375113  -build | --build | --buil | --bui | --bu)
    376     ac_prev=build_alias ;;
     114    ac_prev=build ;;
    377115  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    378     build_alias=$ac_optarg ;;
     116    build="$ac_optarg" ;;
    379117
    380118  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    383121  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    384122  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    385     cache_file=$ac_optarg ;;
    386 
    387   --config-cache | -C)
    388     cache_file=config.cache ;;
     123    cache_file="$ac_optarg" ;;
    389124
    390125  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    392127  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    393128  | --da=*)
    394     datadir=$ac_optarg ;;
     129    datadir="$ac_optarg" ;;
    395130
    396131  -disable-* | --disable-*)
    397     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     132    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    398133    # Reject names that are not valid shell variable names.
    399     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    400       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    401    { (exit 1); exit 1; }; }
    402     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    403     eval "enable_$ac_feature=no" ;;
     134    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
     135      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     136    fi
     137    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     138    eval "enable_${ac_feature}=no" ;;
    404139
    405140  -enable-* | --enable-*)
    406     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     141    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    407142    # Reject names that are not valid shell variable names.
    408     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    409       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    410    { (exit 1); exit 1; }; }
    411     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    412     case $ac_option in
    413       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     143    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
     144      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     145    fi
     146    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     147    case "$ac_option" in
     148      *=*) ;;
    414149      *) ac_optarg=yes ;;
    415150    esac
    416     eval "enable_$ac_feature='$ac_optarg'" ;;
     151    eval "enable_${ac_feature}='$ac_optarg'" ;;
    417152
    418153  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    423158  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    424159  | --exec=* | --exe=* | --ex=*)
    425     exec_prefix=$ac_optarg ;;
     160    exec_prefix="$ac_optarg" ;;
    426161
    427162  -gas | --gas | --ga | --g)
     
    429164    with_gas=yes ;;
    430165
    431   -help | --help | --hel | --he | -h)
    432     ac_init_help=long ;;
    433   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    434     ac_init_help=recursive ;;
    435   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    436     ac_init_help=short ;;
     166  -help | --help | --hel | --he)
     167    # Omit some internal or obsolete options to make the list less imposing.
     168    # This message is too long to be a string in the A/UX 3.1 sh.
     169    cat << EOF
     170Usage: configure [options] [host]
     171Options: [defaults in brackets after descriptions]
     172Configuration:
     173  --cache-file=FILE       cache test results in FILE
     174  --help                  print this message
     175  --no-create             do not create output files
     176  --quiet, --silent       do not print \`checking...' messages
     177  --version               print the version of autoconf that created configure
     178Directory and file names:
     179  --prefix=PREFIX         install architecture-independent files in PREFIX
     180                          [$ac_default_prefix]
     181  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     182                          [same as prefix]
     183  --bindir=DIR            user executables in DIR [EPREFIX/bin]
     184  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
     185  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
     186  --datadir=DIR           read-only architecture-independent data in DIR
     187                          [PREFIX/share]
     188  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
     189  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
     190                          [PREFIX/com]
     191  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
     192  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
     193  --includedir=DIR        C header files in DIR [PREFIX/include]
     194  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
     195  --infodir=DIR           info documentation in DIR [PREFIX/info]
     196  --mandir=DIR            man documentation in DIR [PREFIX/man]
     197  --srcdir=DIR            find the sources in DIR [configure dir or ..]
     198  --program-prefix=PREFIX prepend PREFIX to installed program names
     199  --program-suffix=SUFFIX append SUFFIX to installed program names
     200  --program-transform-name=PROGRAM
     201                          run sed PROGRAM on installed program names
     202EOF
     203    cat << EOF
     204Host type:
     205  --build=BUILD           configure for building on BUILD [BUILD=HOST]
     206  --host=HOST             configure for HOST [guessed]
     207  --target=TARGET         configure for TARGET [TARGET=HOST]
     208Features and packages:
     209  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     210  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     211  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     212  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     213  --x-includes=DIR        X include files are in DIR
     214  --x-libraries=DIR       X library files are in DIR
     215EOF
     216    if test -n "$ac_help"; then
     217      echo "--enable and --with options recognized:$ac_help"
     218    fi
     219    exit 0 ;;
    437220
    438221  -host | --host | --hos | --ho)
    439     ac_prev=host_alias ;;
     222    ac_prev=host ;;
    440223  -host=* | --host=* | --hos=* | --ho=*)
    441     host_alias=$ac_optarg ;;
     224    host="$ac_optarg" ;;
    442225
    443226  -includedir | --includedir | --includedi | --included | --include \
     
    446229  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    447230  | --includ=* | --inclu=* | --incl=* | --inc=*)
    448     includedir=$ac_optarg ;;
     231    includedir="$ac_optarg" ;;
    449232
    450233  -infodir | --infodir | --infodi | --infod | --info | --inf)
    451234    ac_prev=infodir ;;
    452235  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    453     infodir=$ac_optarg ;;
     236    infodir="$ac_optarg" ;;
    454237
    455238  -libdir | --libdir | --libdi | --libd)
    456239    ac_prev=libdir ;;
    457240  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    458     libdir=$ac_optarg ;;
     241    libdir="$ac_optarg" ;;
    459242
    460243  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    463246  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    464247  | --libexe=* | --libex=* | --libe=*)
    465     libexecdir=$ac_optarg ;;
     248    libexecdir="$ac_optarg" ;;
    466249
    467250  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    472255  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    473256  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    474     localstatedir=$ac_optarg ;;
     257    localstatedir="$ac_optarg" ;;
    475258
    476259  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    477260    ac_prev=mandir ;;
    478261  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    479     mandir=$ac_optarg ;;
     262    mandir="$ac_optarg" ;;
    480263
    481264  -nfp | --nfp | --nf)
     
    484267
    485268  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    486   | --no-cr | --no-c | -n)
     269  | --no-cr | --no-c)
    487270    no_create=yes ;;
    488271
     
    498281  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    499282  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    500     oldincludedir=$ac_optarg ;;
     283    oldincludedir="$ac_optarg" ;;
    501284
    502285  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    503286    ac_prev=prefix ;;
    504287  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    505     prefix=$ac_optarg ;;
     288    prefix="$ac_optarg" ;;
    506289
    507290  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    510293  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    511294  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    512     program_prefix=$ac_optarg ;;
     295    program_prefix="$ac_optarg" ;;
    513296
    514297  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    517300  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    518301  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    519     program_suffix=$ac_optarg ;;
     302    program_suffix="$ac_optarg" ;;
    520303
    521304  -program-transform-name | --program-transform-name \
     
    534317  | --program-trans=* | --program-tran=* \
    535318  | --progr-tra=* | --program-tr=* | --program-t=*)
    536     program_transform_name=$ac_optarg ;;
     319    program_transform_name="$ac_optarg" ;;
    537320
    538321  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    544327  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    545328  | --sbi=* | --sb=*)
    546     sbindir=$ac_optarg ;;
     329    sbindir="$ac_optarg" ;;
    547330
    548331  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    555338  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    556339  | --sha=* | --sh=*)
    557     sharedstatedir=$ac_optarg ;;
     340    sharedstatedir="$ac_optarg" ;;
    558341
    559342  -site | --site | --sit)
    560343    ac_prev=site ;;
    561344  -site=* | --site=* | --sit=*)
    562     site=$ac_optarg ;;
     345    site="$ac_optarg" ;;
    563346
    564347  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    565348    ac_prev=srcdir ;;
    566349  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    567     srcdir=$ac_optarg ;;
     350    srcdir="$ac_optarg" ;;
    568351
    569352  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    572355  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    573356  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    574     sysconfdir=$ac_optarg ;;
     357    sysconfdir="$ac_optarg" ;;
    575358
    576359  -target | --target | --targe | --targ | --tar | --ta | --t)
    577     ac_prev=target_alias ;;
     360    ac_prev=target ;;
    578361  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    579     target_alias=$ac_optarg ;;
     362    target="$ac_optarg" ;;
    580363
    581364  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    582365    verbose=yes ;;
    583366
    584   -version | --version | --versio | --versi | --vers | -V)
    585     ac_init_version=: ;;
     367  -version | --version | --versio | --versi | --vers)
     368    echo "configure generated by autoconf version 2.13"
     369    exit 0 ;;
    586370
    587371  -with-* | --with-*)
    588     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     372    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    589373    # Reject names that are not valid shell variable names.
    590     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    591       { echo "$as_me: error: invalid package name: $ac_package" >&2
    592    { (exit 1); exit 1; }; }
     374    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
     375      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
     376    fi
    593377    ac_package=`echo $ac_package| sed 's/-/_/g'`
    594     case $ac_option in
    595       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     378    case "$ac_option" in
     379      *=*) ;;
    596380      *) ac_optarg=yes ;;
    597381    esac
    598     eval "with_$ac_package='$ac_optarg'" ;;
     382    eval "with_${ac_package}='$ac_optarg'" ;;
    599383
    600384  -without-* | --without-*)
    601     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     385    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    602386    # Reject names that are not valid shell variable names.
    603     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    604       { echo "$as_me: error: invalid package name: $ac_package" >&2
    605    { (exit 1); exit 1; }; }
    606     ac_package=`echo $ac_package | sed 's/-/_/g'`
    607     eval "with_$ac_package=no" ;;
     387    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
     388      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
     389    fi
     390    ac_package=`echo $ac_package| sed 's/-/_/g'`
     391    eval "with_${ac_package}=no" ;;
    608392
    609393  --x)
     
    616400  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    617401  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    618     x_includes=$ac_optarg ;;
     402    x_includes="$ac_optarg" ;;
    619403
    620404  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    623407  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    624408  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    625     x_libraries=$ac_optarg ;;
    626 
    627   -*) { echo "$as_me: error: unrecognized option: $ac_option
    628 Try \`$0 --help' for more information." >&2
    629    { (exit 1); exit 1; }; }
     409    x_libraries="$ac_optarg" ;;
     410
     411  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    630412    ;;
    631413
    632   *=*)
    633     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    634     # Reject names that are not valid shell variable names.
    635     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    636       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    637    { (exit 1); exit 1; }; }
    638     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    639     eval "$ac_envvar='$ac_optarg'"
    640     export $ac_envvar ;;
    641 
    642414  *)
    643     # FIXME: should be removed in autoconf 3.0.
    644     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    645     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    646       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    647     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     415    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
     416      echo "configure: warning: $ac_option: invalid host type" 1>&2
     417    fi
     418    if test "x$nonopt" != xNONE; then
     419      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
     420    fi
     421    nonopt="$ac_option"
    648422    ;;
    649423
     
    652426
    653427if test -n "$ac_prev"; then
    654   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    655   { echo "$as_me: error: missing argument to $ac_option" >&2
    656    { (exit 1); exit 1; }; }
    657 fi
    658 
    659 # Be sure to have absolute paths.
    660 for ac_var in exec_prefix prefix
     428  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
     429fi
     430
     431trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
     432
     433# File descriptor usage:
     434# 0 standard input
     435# 1 file creation
     436# 2 errors and warnings
     437# 3 some systems may open it to /dev/tty
     438# 4 used on the Kubota Titan
     439# 6 checking for... messages and results
     440# 5 compiler messages saved in config.log
     441if test "$silent" = yes; then
     442  exec 6>/dev/null
     443else
     444  exec 6>&1
     445fi
     446exec 5>./config.log
     447
     448echo "\
     449This file contains any messages produced by compilers while
     450running configure, to aid debugging if configure makes a mistake.
     451" 1>&5
     452
     453# Strip out --no-create and --no-recursion so they do not pile up.
     454# Also quote any args containing shell metacharacters.
     455ac_configure_args=
     456for ac_arg
    661457do
    662   eval ac_val=$`echo $ac_var`
    663   case $ac_val in
    664     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    665     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    666    { (exit 1); exit 1; }; };;
     458  case "$ac_arg" in
     459  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
     460  | --no-cr | --no-c) ;;
     461  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
     462  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
     463  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
     464  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     465  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
    667466  esac
    668467done
    669468
    670 # Be sure to have absolute paths.
    671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    672               localstatedir libdir includedir oldincludedir infodir mandir
    673 do
    674   eval ac_val=$`echo $ac_var`
    675   case $ac_val in
    676     [\\/$]* | ?:[\\/]* ) ;;
    677     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    678    { (exit 1); exit 1; }; };;
    679   esac
    680 done
    681 
    682 # There might be people who depend on the old broken behavior: `$host'
    683 # used to hold the argument of --host etc.
    684 # FIXME: To remove some day.
    685 build=$build_alias
    686 host=$host_alias
    687 target=$target_alias
    688 
    689 # FIXME: To remove some day.
    690 if test "x$host_alias" != x; then
    691   if test "x$build_alias" = x; then
    692     cross_compiling=maybe
    693     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    694     If a cross compiler is detected then cross compile mode will be used." >&2
    695   elif test "x$build_alias" != "x$host_alias"; then
    696     cross_compiling=yes
    697   fi
    698 fi
    699 
    700 ac_tool_prefix=
    701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    702 
    703 test "$silent" = yes && exec 6>/dev/null
    704 
     469# NLS nuisances.
     470# Only set these to C if already set.  These must not be set unconditionally
     471# because not all systems understand e.g. LANG=C (notably SCO).
     472# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
     473# Non-C LC_CTYPE values break the ctype check.
     474if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
     475if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
     476if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
     477if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
     478
     479# confdefs.h avoids OS command line length limits that DEFS can exceed.
     480rm -rf conftest* confdefs.h
     481# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     482echo > confdefs.h
     483
     484# A filename unique to this package, relative to the directory that
     485# configure is in, which we can look for to find out if srcdir is correct.
     486ac_unique_file=mmalloc.cc
    705487
    706488# Find the source files, if location was not specified.
     
    708490  ac_srcdir_defaulted=yes
    709491  # Try the directory containing this script, then its parent.
    710   ac_confdir=`(dirname "$0") 2>/dev/null ||
    711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    712          X"$0" : 'X\(//\)[^/]' \| \
    713          X"$0" : 'X\(//\)$' \| \
    714          X"$0" : 'X\(/\)' \| \
    715          .     : '\(.\)' 2>/dev/null ||
    716 echo X"$0" |
    717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    718           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    719           /^X\(\/\/\)$/{ s//\1/; q; }
    720           /^X\(\/\).*/{ s//\1/; q; }
    721           s/.*/./; q'`
     492  ac_prog=$0
     493  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
     494  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    722495  srcdir=$ac_confdir
    723496  if test ! -r $srcdir/$ac_unique_file; then
     
    729502if test ! -r $srcdir/$ac_unique_file; then
    730503  if test "$ac_srcdir_defaulted" = yes; then
    731     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    732    { (exit 1); exit 1; }; }
     504    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
    733505  else
    734     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    735    { (exit 1); exit 1; }; }
     506    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    736507  fi
    737508fi
    738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    739   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    740    { (exit 1); exit 1; }; }
    741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    742 ac_env_build_alias_set=${build_alias+set}
    743 ac_env_build_alias_value=$build_alias
    744 ac_cv_env_build_alias_set=${build_alias+set}
    745 ac_cv_env_build_alias_value=$build_alias
    746 ac_env_host_alias_set=${host_alias+set}
    747 ac_env_host_alias_value=$host_alias
    748 ac_cv_env_host_alias_set=${host_alias+set}
    749 ac_cv_env_host_alias_value=$host_alias
    750 ac_env_target_alias_set=${target_alias+set}
    751 ac_env_target_alias_value=$target_alias
    752 ac_cv_env_target_alias_set=${target_alias+set}
    753 ac_cv_env_target_alias_value=$target_alias
    754 ac_env_CC_set=${CC+set}
    755 ac_env_CC_value=$CC
    756 ac_cv_env_CC_set=${CC+set}
    757 ac_cv_env_CC_value=$CC
    758 ac_env_CFLAGS_set=${CFLAGS+set}
    759 ac_env_CFLAGS_value=$CFLAGS
    760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    761 ac_cv_env_CFLAGS_value=$CFLAGS
    762 ac_env_LDFLAGS_set=${LDFLAGS+set}
    763 ac_env_LDFLAGS_value=$LDFLAGS
    764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    765 ac_cv_env_LDFLAGS_value=$LDFLAGS
    766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    767 ac_env_CPPFLAGS_value=$CPPFLAGS
    768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    770 ac_env_CPP_set=${CPP+set}
    771 ac_env_CPP_value=$CPP
    772 ac_cv_env_CPP_set=${CPP+set}
    773 ac_cv_env_CPP_value=$CPP
    774 ac_env_CXX_set=${CXX+set}
    775 ac_env_CXX_value=$CXX
    776 ac_cv_env_CXX_set=${CXX+set}
    777 ac_cv_env_CXX_value=$CXX
    778 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    779 ac_env_CXXFLAGS_value=$CXXFLAGS
    780 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    781 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    782 ac_env_CXXCPP_set=${CXXCPP+set}
    783 ac_env_CXXCPP_value=$CXXCPP
    784 ac_cv_env_CXXCPP_set=${CXXCPP+set}
    785 ac_cv_env_CXXCPP_value=$CXXCPP
    786 
    787 #
    788 # Report the --help message.
    789 #
    790 if test "$ac_init_help" = "long"; then
    791   # Omit some internal or obsolete options to make the list less imposing.
    792   # This message is too long to be a string in the A/UX 3.1 sh.
    793   cat <<_ACEOF
    794 \`configure' configures this package to adapt to many kinds of systems.
    795 
    796 Usage: $0 [OPTION]... [VAR=VALUE]...
    797 
    798 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    799 VAR=VALUE.  See below for descriptions of some of the useful variables.
    800 
    801 Defaults for the options are specified in brackets.
    802 
    803 Configuration:
    804   -h, --help              display this help and exit
    805       --help=short        display options specific to this package
    806       --help=recursive    display the short help of all the included packages
    807   -V, --version           display version information and exit
    808   -q, --quiet, --silent   do not print \`checking...' messages
    809       --cache-file=FILE   cache test results in FILE [disabled]
    810   -C, --config-cache      alias for \`--cache-file=config.cache'
    811   -n, --no-create         do not create output files
    812       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    813 
    814 _ACEOF
    815 
    816   cat <<_ACEOF
    817 Installation directories:
    818   --prefix=PREFIX         install architecture-independent files in PREFIX
    819                           [$ac_default_prefix]
    820   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    821                           [PREFIX]
    822 
    823 By default, \`make install' will install all the files in
    824 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    825 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    826 for instance \`--prefix=\$HOME'.
    827 
    828 For better control, use the options below.
    829 
    830 Fine tuning of the installation directories:
    831   --bindir=DIR           user executables [EPREFIX/bin]
    832   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    833   --libexecdir=DIR       program executables [EPREFIX/libexec]
    834   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    835   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    836   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    837   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    838   --libdir=DIR           object code libraries [EPREFIX/lib]
    839   --includedir=DIR       C header files [PREFIX/include]
    840   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    841   --infodir=DIR          info documentation [PREFIX/info]
    842   --mandir=DIR           man documentation [PREFIX/man]
    843 _ACEOF
    844 
    845   cat <<\_ACEOF
    846 _ACEOF
    847 fi
    848 
    849 if test -n "$ac_init_help"; then
    850 
    851   cat <<\_ACEOF
    852 
    853 Optional Packages:
    854   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    855   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    856   --with-rootdir=DIR      use DIR ass compiled-in root directory
    857                              (default is PREFIX)
    858   --with-lex=LEX,no     uses LEX as lex program, default is flex
    859   --with-readline=dynamic,static,no
    860                           do use dynamic/static/no readline for fancy display
    861   --without-MP            do not use MP (no MP links)
    862   --without-dbm           do not use dbm (no DBM links)
    863   --without-factory       do not use factory (no poly factorization)
    864   --without-libfac        do not use libfac (no primary decompositions)
    865   --with-namespaces       do compile namespace support
    866   --without-dl            do not use dynamic linking, modules, and kernel
    867   --with-dynamic-modules  do compile with dynamic modules support
    868   --without-dynamic-kernel
    869                           do not compile with dynamic kernel parts
    870   --with-apint=PACKAGE    use PACKAGE for arbitary integer arithmetic
    871   --with-Plural           do compile with Plural support
    872   --with-NTL              build for use with NTL.
    873 
    874 Some influential environment variables:
    875   CC          C compiler command
    876   CFLAGS      C compiler flags
    877   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    878               nonstandard directory <lib dir>
    879   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    880               headers in a nonstandard directory <include dir>
    881   CPP         C preprocessor
    882   CXX         C++ compiler command
    883   CXXFLAGS    C++ compiler flags
    884   CXXCPP      C++ preprocessor
    885 
    886 Use these variables to override the choices made by `configure' or to help
    887 it to find libraries and programs with nonstandard names/locations.
    888 
    889 _ACEOF
    890 fi
    891 
    892 if test "$ac_init_help" = "recursive"; then
    893   # If there are subdirs, report their specific --help.
    894   ac_popdir=`pwd`
    895   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    896     test -d $ac_dir || continue
    897     ac_builddir=.
    898 
    899 if test "$ac_dir" != .; then
    900   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    901   # A "../" for each directory in $ac_dir_suffix.
    902   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    903 else
    904   ac_dir_suffix= ac_top_builddir=
    905 fi
    906 
    907 case $srcdir in
    908   .)  # No --srcdir option.  We are building in place.
    909     ac_srcdir=.
    910     if test -z "$ac_top_builddir"; then
    911        ac_top_srcdir=.
    912     else
    913        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    914     fi ;;
    915   [\\/]* | ?:[\\/]* )  # Absolute path.
    916     ac_srcdir=$srcdir$ac_dir_suffix;
    917     ac_top_srcdir=$srcdir ;;
    918   *) # Relative path.
    919     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    920     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    921 esac
    922 
    923 # Do not use `cd foo && pwd` to compute absolute paths, because
    924 # the directories may not exist.
    925 case `pwd` in
    926 .) ac_abs_builddir="$ac_dir";;
    927 *)
    928   case "$ac_dir" in
    929   .) ac_abs_builddir=`pwd`;;
    930   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    931   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    932   esac;;
    933 esac
    934 case $ac_abs_builddir in
    935 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    936 *)
    937   case ${ac_top_builddir}. in
    938   .) ac_abs_top_builddir=$ac_abs_builddir;;
    939   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    940   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    941   esac;;
    942 esac
    943 case $ac_abs_builddir in
    944 .) ac_abs_srcdir=$ac_srcdir;;
    945 *)
    946   case $ac_srcdir in
    947   .) ac_abs_srcdir=$ac_abs_builddir;;
    948   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    949   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    950   esac;;
    951 esac
    952 case $ac_abs_builddir in
    953 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    954 *)
    955   case $ac_top_srcdir in
    956   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    957   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    958   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    959   esac;;
    960 esac
    961 
    962     cd $ac_dir
    963     # Check for guested configure; otherwise get Cygnus style configure.
    964     if test -f $ac_srcdir/configure.gnu; then
    965       echo
    966       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    967     elif test -f $ac_srcdir/configure; then
    968       echo
    969       $SHELL $ac_srcdir/configure  --help=recursive
    970     elif test -f $ac_srcdir/configure.ac ||
    971            test -f $ac_srcdir/configure.in; then
    972       echo
    973       $ac_configure --help
    974     else
    975       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    976     fi
    977     cd $ac_popdir
    978   done
    979 fi
    980 
    981 test -n "$ac_init_help" && exit 0
    982 if $ac_init_version; then
    983   cat <<\_ACEOF
    984 
    985 Copyright (C) 2003 Free Software Foundation, Inc.
    986 This configure script is free software; the Free Software Foundation
    987 gives unlimited permission to copy, distribute and modify it.
    988 _ACEOF
    989   exit 0
    990 fi
    991 exec 5>config.log
    992 cat >&5 <<_ACEOF
    993 This file contains any messages produced by compilers while
    994 running configure, to aid debugging if configure makes a mistake.
    995 
    996 It was created by $as_me, which was
    997 generated by GNU Autoconf 2.59.  Invocation command line was
    998 
    999   $ $0 $@
    1000 
    1001 _ACEOF
    1002 {
    1003 cat <<_ASUNAME
    1004 ## --------- ##
    1005 ## Platform. ##
    1006 ## --------- ##
    1007 
    1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
    1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
    1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
    1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
    1013 
    1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    1015 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    1016 
    1017 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    1018 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1020 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    1021 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    1022 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    1023 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    1024 
    1025 _ASUNAME
    1026 
    1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1028 for as_dir in $PATH
    1029 do
    1030   IFS=$as_save_IFS
    1031   test -z "$as_dir" && as_dir=.
    1032   echo "PATH: $as_dir"
    1033 done
    1034 
    1035 } >&5
    1036 
    1037 cat >&5 <<_ACEOF
    1038 
    1039 
    1040 ## ----------- ##
    1041 ## Core tests. ##
    1042 ## ----------- ##
    1043 
    1044 _ACEOF
    1045 
    1046 
    1047 # Keep a trace of the command line.
    1048 # Strip out --no-create and --no-recursion so they do not pile up.
    1049 # Strip out --silent because we don't want to record it for future runs.
    1050 # Also quote any args containing shell meta-characters.
    1051 # Make two passes to allow for proper duplicate-argument suppression.
    1052 ac_configure_args=
    1053 ac_configure_args0=
    1054 ac_configure_args1=
    1055 ac_sep=
    1056 ac_must_keep_next=false
    1057 for ac_pass in 1 2
    1058 do
    1059   for ac_arg
    1060   do
    1061     case $ac_arg in
    1062     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    1063     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1064     | -silent | --silent | --silen | --sile | --sil)
    1065       continue ;;
    1066     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1067       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1068     esac
    1069     case $ac_pass in
    1070     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    1071     2)
    1072       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    1073       if test $ac_must_keep_next = true; then
    1074         ac_must_keep_next=false # Got value, back to normal.
    1075       else
    1076         case $ac_arg in
    1077           *=* | --config-cache | -C | -disable-* | --disable-* \
    1078           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1079           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1080           | -with-* | --with-* | -without-* | --without-* | --x)
    1081             case "$ac_configure_args0 " in
    1082               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1083             esac
    1084             ;;
    1085           -* ) ac_must_keep_next=true ;;
    1086         esac
    1087       fi
    1088       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1089       # Get rid of the leading space.
    1090       ac_sep=" "
    1091       ;;
    1092     esac
    1093   done
    1094 done
    1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    1097 
    1098 # When interrupted or exit'd, cleanup temporary files, and complete
    1099 # config.log.  We remove comments because anyway the quotes in there
    1100 # would cause problems or look ugly.
    1101 # WARNING: Be sure not to use single quotes in there, as some shells,
    1102 # such as our DU 5.0 friend, will then `close' the trap.
    1103 trap 'exit_status=$?
    1104   # Save into config.log some information that might help in debugging.
    1105   {
    1106     echo
    1107 
    1108     cat <<\_ASBOX
    1109 ## ---------------- ##
    1110 ## Cache variables. ##
    1111 ## ---------------- ##
    1112 _ASBOX
    1113     echo
    1114     # The following way of writing the cache mishandles newlines in values,
    1115 {
    1116   (set) 2>&1 |
    1117     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1118     *ac_space=\ *)
    1119       sed -n \
    1120         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1121           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    1122       ;;
    1123     *)
    1124       sed -n \
    1125         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1126       ;;
    1127     esac;
    1128 }
    1129     echo
    1130 
    1131     cat <<\_ASBOX
    1132 ## ----------------- ##
    1133 ## Output variables. ##
    1134 ## ----------------- ##
    1135 _ASBOX
    1136     echo
    1137     for ac_var in $ac_subst_vars
    1138     do
    1139       eval ac_val=$`echo $ac_var`
    1140       echo "$ac_var='"'"'$ac_val'"'"'"
    1141     done | sort
    1142     echo
    1143 
    1144     if test -n "$ac_subst_files"; then
    1145       cat <<\_ASBOX
    1146 ## ------------- ##
    1147 ## Output files. ##
    1148 ## ------------- ##
    1149 _ASBOX
    1150       echo
    1151       for ac_var in $ac_subst_files
    1152       do
    1153         eval ac_val=$`echo $ac_var`
    1154         echo "$ac_var='"'"'$ac_val'"'"'"
    1155       done | sort
    1156       echo
    1157     fi
    1158 
    1159     if test -s confdefs.h; then
    1160       cat <<\_ASBOX
    1161 ## ----------- ##
    1162 ## confdefs.h. ##
    1163 ## ----------- ##
    1164 _ASBOX
    1165       echo
    1166       sed "/^$/d" confdefs.h | sort
    1167       echo
    1168     fi
    1169     test "$ac_signal" != 0 &&
    1170       echo "$as_me: caught signal $ac_signal"
    1171     echo "$as_me: exit $exit_status"
    1172   } >&5
    1173   rm -f core *.core &&
    1174   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    1175     exit $exit_status
    1176      ' 0
    1177 for ac_signal in 1 2 13 15; do
    1178   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    1179 done
    1180 ac_signal=0
    1181 
    1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    1183 rm -rf conftest* confdefs.h
    1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1185 echo >confdefs.h
    1186 
    1187 # Predefined preprocessor variables.
    1188 
    1189 cat >>confdefs.h <<_ACEOF
    1190 #define PACKAGE_NAME "$PACKAGE_NAME"
    1191 _ACEOF
    1192 
    1193 
    1194 cat >>confdefs.h <<_ACEOF
    1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    1196 _ACEOF
    1197 
    1198 
    1199 cat >>confdefs.h <<_ACEOF
    1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
    1201 _ACEOF
    1202 
    1203 
    1204 cat >>confdefs.h <<_ACEOF
    1205 #define PACKAGE_STRING "$PACKAGE_STRING"
    1206 _ACEOF
    1207 
    1208 
    1209 cat >>confdefs.h <<_ACEOF
    1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    1211 _ACEOF
    1212 
    1213 
    1214 # Let the site file select an alternate cache file if it wants to.
     509srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
     510
    1215511# Prefer explicitly selected file to automatically selected ones.
    1216512if test -z "$CONFIG_SITE"; then
     
    1223519for ac_site_file in $CONFIG_SITE; do
    1224520  if test -r "$ac_site_file"; then
    1225     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1226 echo "$as_me: loading site script $ac_site_file" >&6;}
    1227     sed 's/^/| /' "$ac_site_file" >&5
     521    echo "loading site script $ac_site_file"
    1228522    . "$ac_site_file"
    1229523  fi
     
    1231525
    1232526if test -r "$cache_file"; then
    1233   # Some versions of bash will fail to source /dev/null (special
    1234   # files actually), so we avoid doing that.
    1235   if test -f "$cache_file"; then
    1236     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1237 echo "$as_me: loading cache $cache_file" >&6;}
    1238     case $cache_file in
    1239       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1240       *)                      . ./$cache_file;;
    1241     esac
     527  echo "loading cache $cache_file"
     528  . $cache_file
     529else
     530  echo "creating cache $cache_file"
     531  > $cache_file
     532fi
     533
     534ac_ext=c
     535# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     536ac_cpp='$CPP $CPPFLAGS'
     537ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     538ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     539cross_compiling=$ac_cv_prog_cc_cross
     540
     541ac_exeext=
     542ac_objext=o
     543if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
     544  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
     545  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
     546    ac_n= ac_c='
     547' ac_t='        '
     548  else
     549    ac_n=-n ac_c= ac_t=
    1242550  fi
    1243551else
    1244   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1245 echo "$as_me: creating cache $cache_file" >&6;}
    1246   >$cache_file
    1247 fi
    1248 
    1249 # Check that the precious variables saved in the cache have kept the same
    1250 # value.
    1251 ac_cache_corrupted=false
    1252 for ac_var in `(set) 2>&1 |
    1253                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    1254   eval ac_old_set=\$ac_cv_env_${ac_var}_set
    1255   eval ac_new_set=\$ac_env_${ac_var}_set
    1256   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1257   eval ac_new_val="\$ac_env_${ac_var}_value"
    1258   case $ac_old_set,$ac_new_set in
    1259     set,)
    1260       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    1262       ac_cache_corrupted=: ;;
    1263     ,set)
    1264       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    1266       ac_cache_corrupted=: ;;
    1267     ,);;
    1268     *)
    1269       if test "x$ac_old_val" != "x$ac_new_val"; then
    1270         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1272         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1273 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1274         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1275 echo "$as_me:   current value: $ac_new_val" >&2;}
    1276         ac_cache_corrupted=:
    1277       fi;;
    1278   esac
    1279   # Pass precious variables to config.status.
    1280   if test "$ac_new_set" = set; then
    1281     case $ac_new_val in
    1282     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1283       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    1284     *) ac_arg=$ac_var=$ac_new_val ;;
    1285     esac
    1286     case " $ac_configure_args " in
    1287       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1288       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    1289     esac
    1290   fi
    1291 done
    1292 if $ac_cache_corrupted; then
    1293   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1295   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1297    { (exit 1); exit 1; }; }
    1298 fi
    1299 
    1300 ac_ext=c
    1301 ac_cpp='$CPP $CPPFLAGS'
    1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1305 
    1306 
    1307 
    1308 
    1309 
    1310 
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320 
    1321 
    1322 
    1323 
    1324           ac_config_headers="$ac_config_headers mod2.h"
    1325 
    1326           ac_config_headers="$ac_config_headers ../kernel/mod2.h"
    1327 
    1328 
    1329 
    1330 echo "$as_me:$LINENO: checking uname for singular" >&5
    1331 echo $ECHO_N "checking uname for singular... $ECHO_C" >&6
    1332 if test "${ac_cv_singuname+set}" = set; then
    1333   echo $ECHO_N "(cached) $ECHO_C" >&6
     552  ac_n= ac_c='\c' ac_t=
     553fi
     554
     555
     556
     557
     558
     559
     560echo $ac_n "checking uname for singular""... $ac_c" 1>&6
     561echo "configure:562: checking uname for singular" >&5
     562if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
     563  echo $ac_n "(cached) $ac_c" 1>&6
    1334564else
    1335565  ac_cv_singuname="unknown"
     
    1347577fi
    1348578
    1349 echo "$as_me:$LINENO: result: $ac_cv_singuname" >&5
    1350 echo "${ECHO_T}$ac_cv_singuname" >&6
     579echo "$ac_t""$ac_cv_singuname" 1>&6
    1351580if test "$ac_cv_singuname" = unknown; then
    1352   { echo "$as_me:$LINENO: WARNING: Unknown architecture: Check singuname.sh" >&5
    1353 echo "$as_me: WARNING: Unknown architecture: Check singuname.sh" >&2;}
     581  echo "configure: warning: Unknown architecture: Check singuname.sh" 1>&2
    1354582  ac_cv_singuname="unknown"
    1355583fi
    1356 cat >>confdefs.h <<_ACEOF
     584cat >> confdefs.h <<EOF
    1357585#define S_UNAME "$ac_cv_singuname"
    1358 _ACEOF
     586EOF
    1359587
    1360588SINGUNAME=$ac_cv_singuname
     
    1384612
    1385613
    1386 cat >>confdefs.h <<_ACEOF
     614cat >> confdefs.h <<EOF
    1387615#define SINGULAR_MAJOR_VERSION ${SINGULAR_MAJOR_VERSION}
    1388 _ACEOF
    1389 
    1390 cat >>confdefs.h <<_ACEOF
     616EOF
     617
     618cat >> confdefs.h <<EOF
    1391619#define SINGULAR_MINOR_VERSION ${SINGULAR_MINOR_VERSION}
    1392 _ACEOF
    1393 
    1394 cat >>confdefs.h <<_ACEOF
     620EOF
     621
     622cat >> confdefs.h <<EOF
    1395623#define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION}
    1396 _ACEOF
    1397 
    1398 cat >>confdefs.h <<_ACEOF
     624EOF
     625
     626cat >> confdefs.h <<EOF
    1399627#define S_VERSION1 "${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}"
    1400 _ACEOF
    1401 
    1402 cat >>confdefs.h <<_ACEOF
     628EOF
     629
     630cat >> confdefs.h <<EOF
    1403631#define S_VERSION2 "${VERSION_DATE}"
    1404 _ACEOF
    1405 
    1406 cat >>confdefs.h <<_ACEOF
     632EOF
     633
     634cat >> confdefs.h <<EOF
    1407635#define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION}
    1408 _ACEOF
     636EOF
    1409637
    1410638
     
    1425653  ac_cxx_set=yes
    1426654fi
    1427 ac_ext=c
    1428 ac_cpp='$CPP $CPPFLAGS'
    1429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1432 if test -n "$ac_tool_prefix"; then
    1433   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    1434 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1435 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1437 if test "${ac_cv_prog_CC+set}" = set; then
    1438   echo $ECHO_N "(cached) $ECHO_C" >&6
     655# Extract the first word of "gcc", so it can be a program name with args.
     656set dummy gcc; ac_word=$2
     657echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     658echo "configure:659: checking for $ac_word" >&5
     659if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     660  echo $ac_n "(cached) $ac_c" 1>&6
    1439661else
    1440662  if test -n "$CC"; then
    1441663  ac_cv_prog_CC="$CC" # Let the user override the test.
    1442664else
    1443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1444 for as_dir in $PATH
    1445 do
    1446   IFS=$as_save_IFS
    1447   test -z "$as_dir" && as_dir=.
    1448   for ac_exec_ext in '' $ac_executable_extensions; do
    1449   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1450     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1451     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1452     break 2
    1453   fi
    1454 done
    1455 done
    1456 
    1457 fi
    1458 fi
    1459 CC=$ac_cv_prog_CC
     665  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     666  ac_dummy="$PATH"
     667  for ac_dir in $ac_dummy; do
     668    test -z "$ac_dir" && ac_dir=.
     669    if test -f $ac_dir/$ac_word; then
     670      ac_cv_prog_CC="gcc"
     671      break
     672    fi
     673  done
     674  IFS="$ac_save_ifs"
     675fi
     676fi
     677CC="$ac_cv_prog_CC"
    1460678if test -n "$CC"; then
    1461   echo "$as_me:$LINENO: result: $CC" >&5
    1462 echo "${ECHO_T}$CC" >&6
    1463 else
    1464   echo "$as_me:$LINENO: result: no" >&5
    1465 echo "${ECHO_T}no" >&6
    1466 fi
    1467 
    1468 fi
    1469 if test -z "$ac_cv_prog_CC"; then
    1470   ac_ct_CC=$CC
    1471   # Extract the first word of "gcc", so it can be a program name with args.
    1472 set dummy gcc; ac_word=$2
    1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1476   echo $ECHO_N "(cached) $ECHO_C" >&6
    1477 else
    1478   if test -n "$ac_ct_CC"; then
    1479   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1480 else
    1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1482 for as_dir in $PATH
    1483 do
    1484   IFS=$as_save_IFS
    1485   test -z "$as_dir" && as_dir=.
    1486   for ac_exec_ext in '' $ac_executable_extensions; do
    1487   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1488     ac_cv_prog_ac_ct_CC="gcc"
    1489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1490     break 2
    1491   fi
    1492 done
    1493 done
    1494 
    1495 fi
    1496 fi
    1497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1498 if test -n "$ac_ct_CC"; then
    1499   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1500 echo "${ECHO_T}$ac_ct_CC" >&6
    1501 else
    1502   echo "$as_me:$LINENO: result: no" >&5
    1503 echo "${ECHO_T}no" >&6
    1504 fi
    1505 
    1506   CC=$ac_ct_CC
    1507 else
    1508   CC="$ac_cv_prog_CC"
    1509 fi
    1510 
    1511 if test -z "$CC"; then
    1512   if test -n "$ac_tool_prefix"; then
    1513   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    1514 set dummy ${ac_tool_prefix}cc; ac_word=$2
    1515 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1517 if test "${ac_cv_prog_CC+set}" = set; then
    1518   echo $ECHO_N "(cached) $ECHO_C" >&6
    1519 else
    1520   if test -n "$CC"; then
    1521   ac_cv_prog_CC="$CC" # Let the user override the test.
    1522 else
    1523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1524 for as_dir in $PATH
    1525 do
    1526   IFS=$as_save_IFS
    1527   test -z "$as_dir" && as_dir=.
    1528   for ac_exec_ext in '' $ac_executable_extensions; do
    1529   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1530     ac_cv_prog_CC="${ac_tool_prefix}cc"
    1531     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1532     break 2
    1533   fi
    1534 done
    1535 done
    1536 
    1537 fi
    1538 fi
    1539 CC=$ac_cv_prog_CC
    1540 if test -n "$CC"; then
    1541   echo "$as_me:$LINENO: result: $CC" >&5
    1542 echo "${ECHO_T}$CC" >&6
    1543 else
    1544   echo "$as_me:$LINENO: result: no" >&5
    1545 echo "${ECHO_T}no" >&6
    1546 fi
    1547 
    1548 fi
    1549 if test -z "$ac_cv_prog_CC"; then
    1550   ac_ct_CC=$CC
    1551   # Extract the first word of "cc", so it can be a program name with args.
    1552 set dummy cc; ac_word=$2
    1553 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1556   echo $ECHO_N "(cached) $ECHO_C" >&6
    1557 else
    1558   if test -n "$ac_ct_CC"; then
    1559   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1560 else
    1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1562 for as_dir in $PATH
    1563 do
    1564   IFS=$as_save_IFS
    1565   test -z "$as_dir" && as_dir=.
    1566   for ac_exec_ext in '' $ac_executable_extensions; do
    1567   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1568     ac_cv_prog_ac_ct_CC="cc"
    1569     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1570     break 2
    1571   fi
    1572 done
    1573 done
    1574 
    1575 fi
    1576 fi
    1577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1578 if test -n "$ac_ct_CC"; then
    1579   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1580 echo "${ECHO_T}$ac_ct_CC" >&6
    1581 else
    1582   echo "$as_me:$LINENO: result: no" >&5
    1583 echo "${ECHO_T}no" >&6
    1584 fi
    1585 
    1586   CC=$ac_ct_CC
    1587 else
    1588   CC="$ac_cv_prog_CC"
    1589 fi
    1590 
    1591 fi
     679  echo "$ac_t""$CC" 1>&6
     680else
     681  echo "$ac_t""no" 1>&6
     682fi
     683
    1592684if test -z "$CC"; then
    1593685  # Extract the first word of "cc", so it can be a program name with args.
    1594686set dummy cc; ac_word=$2
    1595 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1597 if test "${ac_cv_prog_CC+set}" = set; then
    1598   echo $ECHO_N "(cached) $ECHO_C" >&6
     687echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     688echo "configure:689: checking for $ac_word" >&5
     689if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     690  echo $ac_n "(cached) $ac_c" 1>&6
    1599691else
    1600692  if test -n "$CC"; then
    1601693  ac_cv_prog_CC="$CC" # Let the user override the test.
    1602694else
     695  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1603696  ac_prog_rejected=no
    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     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    1612        ac_prog_rejected=yes
    1613        continue
    1614      fi
    1615     ac_cv_prog_CC="cc"
    1616     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1617     break 2
    1618   fi
    1619 done
    1620 done
    1621 
     697  ac_dummy="$PATH"
     698  for ac_dir in $ac_dummy; do
     699    test -z "$ac_dir" && ac_dir=.
     700    if test -f $ac_dir/$ac_word; then
     701      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     702        ac_prog_rejected=yes
     703        continue
     704      fi
     705      ac_cv_prog_CC="cc"
     706      break
     707    fi
     708  done
     709  IFS="$ac_save_ifs"
    1622710if test $ac_prog_rejected = yes; then
    1623711  # We found a bogon in the path, so make sure we never use it.
    1624712  set dummy $ac_cv_prog_CC
    1625713  shift
    1626   if test $# != 0; then
     714  if test $# -gt 0; then
    1627715    # We chose a different compiler from the bogus one.
    1628716    # However, it has the same basename, so the bogon will be chosen
    1629717    # first if we set CC to just the basename; use the full file name.
    1630718    shift
    1631     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     719    set dummy "$ac_dir/$ac_word" "$@"
     720    shift
     721    ac_cv_prog_CC="$@"
    1632722  fi
    1633723fi
    1634724fi
    1635725fi
    1636 CC=$ac_cv_prog_CC
     726CC="$ac_cv_prog_CC"
    1637727if test -n "$CC"; then
    1638   echo "$as_me:$LINENO: result: $CC" >&5
    1639 echo "${ECHO_T}$CC" >&6
    1640 else
    1641   echo "$as_me:$LINENO: result: no" >&5
    1642 echo "${ECHO_T}no" >&6
    1643 fi
    1644 
    1645 fi
    1646 if test -z "$CC"; then
    1647   if test -n "$ac_tool_prefix"; then
    1648   for ac_prog in cl
    1649   do
    1650     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1652 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1654 if test "${ac_cv_prog_CC+set}" = set; then
    1655   echo $ECHO_N "(cached) $ECHO_C" >&6
     728  echo "$ac_t""$CC" 1>&6
     729else
     730  echo "$ac_t""no" 1>&6
     731fi
     732
     733  if test -z "$CC"; then
     734    case "`uname -s`" in
     735    *win32* | *WIN32*)
     736      # Extract the first word of "cl", so it can be a program name with args.
     737set dummy cl; ac_word=$2
     738echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     739echo "configure:740: checking for $ac_word" >&5
     740if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     741  echo $ac_n "(cached) $ac_c" 1>&6
    1656742else
    1657743  if test -n "$CC"; then
    1658744  ac_cv_prog_CC="$CC" # Let the user override the test.
    1659745else
    1660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1661 for as_dir in $PATH
    1662 do
    1663   IFS=$as_save_IFS
    1664   test -z "$as_dir" && as_dir=.
    1665   for ac_exec_ext in '' $ac_executable_extensions; do
    1666   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1667     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1668     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1669     break 2
     746  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     747  ac_dummy="$PATH"
     748  for ac_dir in $ac_dummy; do
     749    test -z "$ac_dir" && ac_dir=.
     750    if test -f $ac_dir/$ac_word; then
     751      ac_cv_prog_CC="cl"
     752      break
     753    fi
     754  done
     755  IFS="$ac_save_ifs"
     756fi
     757fi
     758CC="$ac_cv_prog_CC"
     759if test -n "$CC"; then
     760  echo "$ac_t""$CC" 1>&6
     761else
     762  echo "$ac_t""no" 1>&6
     763fi
     764 ;;
     765    esac
    1670766  fi
    1671 done
    1672 done
    1673 
    1674 fi
    1675 fi
    1676 CC=$ac_cv_prog_CC
    1677 if test -n "$CC"; then
    1678   echo "$as_me:$LINENO: result: $CC" >&5
    1679 echo "${ECHO_T}$CC" >&6
    1680 else
    1681   echo "$as_me:$LINENO: result: no" >&5
    1682 echo "${ECHO_T}no" >&6
    1683 fi
    1684 
    1685     test -n "$CC" && break
    1686   done
    1687 fi
    1688 if test -z "$CC"; then
    1689   ac_ct_CC=$CC
    1690   for ac_prog in cl
    1691 do
    1692   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1693 set dummy $ac_prog; ac_word=$2
    1694 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1697   echo $ECHO_N "(cached) $ECHO_C" >&6
    1698 else
    1699   if test -n "$ac_ct_CC"; then
    1700   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1701 else
    1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1703 for as_dir in $PATH
    1704 do
    1705   IFS=$as_save_IFS
    1706   test -z "$as_dir" && as_dir=.
    1707   for ac_exec_ext in '' $ac_executable_extensions; do
    1708   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1709     ac_cv_prog_ac_ct_CC="$ac_prog"
    1710     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1711     break 2
     767  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
     768fi
     769
     770echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     771echo "configure:772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     772
     773ac_ext=c
     774# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     775ac_cpp='$CPP $CPPFLAGS'
     776ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     777ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     778cross_compiling=$ac_cv_prog_cc_cross
     779
     780cat > conftest.$ac_ext << EOF
     781
     782#line 783 "configure"
     783#include "confdefs.h"
     784
     785main(){return(0);}
     786EOF
     787if { (eval echo configure:788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     788  ac_cv_prog_cc_works=yes
     789  # If we can't run a trivial program, we are probably using a cross compiler.
     790  if (./conftest; exit) 2>/dev/null; then
     791    ac_cv_prog_cc_cross=no
     792  else
     793    ac_cv_prog_cc_cross=yes
    1712794  fi
    1713 done
    1714 done
    1715 
    1716 fi
    1717 fi
    1718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1719 if test -n "$ac_ct_CC"; then
    1720   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1721 echo "${ECHO_T}$ac_ct_CC" >&6
    1722 else
    1723   echo "$as_me:$LINENO: result: no" >&5
    1724 echo "${ECHO_T}no" >&6
    1725 fi
    1726 
    1727   test -n "$ac_ct_CC" && break
    1728 done
    1729 
    1730   CC=$ac_ct_CC
    1731 fi
    1732 
    1733 fi
    1734 
    1735 
    1736 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    1737 See \`config.log' for more details." >&5
    1738 echo "$as_me: error: no acceptable C compiler found in \$PATH
    1739 See \`config.log' for more details." >&2;}
    1740    { (exit 1); exit 1; }; }
    1741 
    1742 # Provide some information about the compiler.
    1743 echo "$as_me:$LINENO:" \
    1744      "checking for C compiler version" >&5
    1745 ac_compiler=`set X $ac_compile; echo $2`
    1746 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1747   (eval $ac_compiler --version </dev/null >&5) 2>&5
    1748   ac_status=$?
    1749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1750   (exit $ac_status); }
    1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1752   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1753   ac_status=$?
    1754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1755   (exit $ac_status); }
    1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1757   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1758   ac_status=$?
    1759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1760   (exit $ac_status); }
    1761 
    1762 cat >conftest.$ac_ext <<_ACEOF
    1763 /* confdefs.h.  */
    1764 _ACEOF
    1765 cat confdefs.h >>conftest.$ac_ext
    1766 cat >>conftest.$ac_ext <<_ACEOF
    1767 /* end confdefs.h.  */
    1768 
    1769 int
    1770 main ()
    1771 {
    1772 
    1773   ;
    1774   return 0;
    1775 }
    1776 _ACEOF
    1777 ac_clean_files_save=$ac_clean_files
    1778 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    1779 # Try to create an executable without -o first, disregard a.out.
    1780 # It will help us diagnose broken compilers, and finding out an intuition
    1781 # of exeext.
    1782 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1783 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1784 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1785 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1786   (eval $ac_link_default) 2>&5
    1787   ac_status=$?
    1788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1789   (exit $ac_status); }; then
    1790   # Find the output, starting from the most likely.  This scheme is
    1791 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1792 # resort.
    1793 
    1794 # Be careful to initialize this variable, since it used to be cached.
    1795 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1796 ac_cv_exeext=
    1797 # b.out is created by i960 compilers.
    1798 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    1799 do
    1800   test -f "$ac_file" || continue
    1801   case $ac_file in
    1802     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1803         ;;
    1804     conftest.$ac_ext )
    1805         # This is the source file.
    1806         ;;
    1807     [ab].out )
    1808         # We found the default executable, but exeext='' is most
    1809         # certainly right.
    1810         break;;
    1811     *.* )
    1812         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1813         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1814         # but it would be cool to find out if it's true.  Does anybody
    1815         # maintain Libtool? --akim.
    1816         export ac_cv_exeext
    1817         break;;
    1818     * )
    1819         break;;
    1820   esac
    1821 done
    1822 else
    1823   echo "$as_me: failed program was:" >&5
    1824 sed 's/^/| /' conftest.$ac_ext >&5
    1825 
    1826 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    1827 See \`config.log' for more details." >&5
    1828 echo "$as_me: error: C compiler cannot create executables
    1829 See \`config.log' for more details." >&2;}
    1830    { (exit 77); exit 77; }; }
    1831 fi
    1832 
    1833 ac_exeext=$ac_cv_exeext
    1834 echo "$as_me:$LINENO: result: $ac_file" >&5
    1835 echo "${ECHO_T}$ac_file" >&6
    1836 
    1837 # Check the compiler produces executables we can run.  If not, either
    1838 # the compiler is broken, or we cross compile.
    1839 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1840 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    1841 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    1842 # If not cross compiling, check that we can run a simple program.
    1843 if test "$cross_compiling" != yes; then
    1844   if { ac_try='./$ac_file'
    1845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1846   (eval $ac_try) 2>&5
    1847   ac_status=$?
    1848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1849   (exit $ac_status); }; }; then
    1850     cross_compiling=no
    1851   else
    1852     if test "$cross_compiling" = maybe; then
    1853         cross_compiling=yes
    1854     else
    1855         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    1856 If you meant to cross compile, use \`--host'.
    1857 See \`config.log' for more details." >&5
    1858 echo "$as_me: error: cannot run C compiled programs.
    1859 If you meant to cross compile, use \`--host'.
    1860 See \`config.log' for more details." >&2;}
    1861    { (exit 1); exit 1; }; }
    1862     fi
    1863   fi
    1864 fi
    1865 echo "$as_me:$LINENO: result: yes" >&5
    1866 echo "${ECHO_T}yes" >&6
    1867 
    1868 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    1869 ac_clean_files=$ac_clean_files_save
    1870 # Check the compiler produces executables we can run.  If not, either
    1871 # the compiler is broken, or we cross compile.
    1872 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1873 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1874 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1875 echo "${ECHO_T}$cross_compiling" >&6
    1876 
    1877 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1878 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1880   (eval $ac_link) 2>&5
    1881   ac_status=$?
    1882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1883   (exit $ac_status); }; then
    1884   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    1885 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    1886 # work properly (i.e., refer to `conftest.exe'), while it won't with
    1887 # `rm'.
    1888 for ac_file in conftest.exe conftest conftest.*; do
    1889   test -f "$ac_file" || continue
    1890   case $ac_file in
    1891     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    1892     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1893           export ac_cv_exeext
    1894           break;;
    1895     * ) break;;
    1896   esac
    1897 done
    1898 else
    1899   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    1900 See \`config.log' for more details." >&5
    1901 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    1902 See \`config.log' for more details." >&2;}
    1903    { (exit 1); exit 1; }; }
    1904 fi
    1905 
    1906 rm -f conftest$ac_cv_exeext
    1907 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1908 echo "${ECHO_T}$ac_cv_exeext" >&6
    1909 
    1910 rm -f conftest.$ac_ext
    1911 EXEEXT=$ac_cv_exeext
    1912 ac_exeext=$EXEEXT
    1913 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1914 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    1915 if test "${ac_cv_objext+set}" = set; then
    1916   echo $ECHO_N "(cached) $ECHO_C" >&6
    1917 else
    1918   cat >conftest.$ac_ext <<_ACEOF
    1919 /* confdefs.h.  */
    1920 _ACEOF
    1921 cat confdefs.h >>conftest.$ac_ext
    1922 cat >>conftest.$ac_ext <<_ACEOF
    1923 /* end confdefs.h.  */
    1924 
    1925 int
    1926 main ()
    1927 {
    1928 
    1929   ;
    1930   return 0;
    1931 }
    1932 _ACEOF
    1933 rm -f conftest.o conftest.obj
    1934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1935   (eval $ac_compile) 2>&5
    1936   ac_status=$?
    1937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1938   (exit $ac_status); }; then
    1939   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    1940   case $ac_file in
    1941     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    1942     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    1943        break;;
    1944   esac
    1945 done
    1946 else
    1947   echo "$as_me: failed program was:" >&5
    1948 sed 's/^/| /' conftest.$ac_ext >&5
    1949 
    1950 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    1951 See \`config.log' for more details." >&5
    1952 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    1953 See \`config.log' for more details." >&2;}
    1954    { (exit 1); exit 1; }; }
    1955 fi
    1956 
    1957 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    1958 fi
    1959 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1960 echo "${ECHO_T}$ac_cv_objext" >&6
    1961 OBJEXT=$ac_cv_objext
    1962 ac_objext=$OBJEXT
    1963 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1964 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    1965 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    1966   echo $ECHO_N "(cached) $ECHO_C" >&6
    1967 else
    1968   cat >conftest.$ac_ext <<_ACEOF
    1969 /* confdefs.h.  */
    1970 _ACEOF
    1971 cat confdefs.h >>conftest.$ac_ext
    1972 cat >>conftest.$ac_ext <<_ACEOF
    1973 /* end confdefs.h.  */
    1974 
    1975 int
    1976 main ()
    1977 {
    1978 #ifndef __GNUC__
    1979        choke me
     795else
     796  echo "configure: failed program was:" >&5
     797  cat conftest.$ac_ext >&5
     798  ac_cv_prog_cc_works=no
     799fi
     800rm -fr conftest*
     801ac_ext=c
     802# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     803ac_cpp='$CPP $CPPFLAGS'
     804ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     805ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     806cross_compiling=$ac_cv_prog_cc_cross
     807
     808echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     809if test $ac_cv_prog_cc_works = no; then
     810  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
     811fi
     812echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     813echo "configure:814: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     814echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     815cross_compiling=$ac_cv_prog_cc_cross
     816
     817echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
     818echo "configure:819: checking whether we are using GNU C" >&5
     819if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
     820  echo $ac_n "(cached) $ac_c" 1>&6
     821else
     822  cat > conftest.c <<EOF
     823#ifdef __GNUC__
     824  yes;
    1980825#endif
    1981 
    1982   ;
    1983   return 0;
    1984 }
    1985 _ACEOF
    1986 rm -f conftest.$ac_objext
    1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1988   (eval $ac_compile) 2>conftest.er1
    1989   ac_status=$?
    1990   grep -v '^ *+' conftest.er1 >conftest.err
    1991   rm -f conftest.er1
    1992   cat conftest.err >&5
    1993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1994   (exit $ac_status); } &&
    1995          { ac_try='test -z "$ac_c_werror_flag"
    1996                          || test ! -s conftest.err'
    1997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1998   (eval $ac_try) 2>&5
    1999   ac_status=$?
    2000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2001   (exit $ac_status); }; } &&
    2002          { ac_try='test -s conftest.$ac_objext'
    2003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2004   (eval $ac_try) 2>&5
    2005   ac_status=$?
    2006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2007   (exit $ac_status); }; }; then
    2008   ac_compiler_gnu=yes
    2009 else
    2010   echo "$as_me: failed program was:" >&5
    2011 sed 's/^/| /' conftest.$ac_ext >&5
    2012 
    2013 ac_compiler_gnu=no
    2014 fi
    2015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2016 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2017 
    2018 fi
    2019 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2020 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2021 GCC=`test $ac_compiler_gnu = yes && echo yes`
    2022 ac_test_CFLAGS=${CFLAGS+set}
    2023 ac_save_CFLAGS=$CFLAGS
    2024 CFLAGS="-g"
    2025 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2026 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2027 if test "${ac_cv_prog_cc_g+set}" = set; then
    2028   echo $ECHO_N "(cached) $ECHO_C" >&6
    2029 else
    2030   cat >conftest.$ac_ext <<_ACEOF
    2031 /* confdefs.h.  */
    2032 _ACEOF
    2033 cat confdefs.h >>conftest.$ac_ext
    2034 cat >>conftest.$ac_ext <<_ACEOF
    2035 /* end confdefs.h.  */
    2036 
    2037 int
    2038 main ()
    2039 {
    2040 
    2041   ;
    2042   return 0;
    2043 }
    2044 _ACEOF
    2045 rm -f conftest.$ac_objext
    2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2047   (eval $ac_compile) 2>conftest.er1
    2048   ac_status=$?
    2049   grep -v '^ *+' conftest.er1 >conftest.err
    2050   rm -f conftest.er1
    2051   cat conftest.err >&5
    2052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2053   (exit $ac_status); } &&
    2054          { ac_try='test -z "$ac_c_werror_flag"
    2055                          || test ! -s conftest.err'
    2056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2057   (eval $ac_try) 2>&5
    2058   ac_status=$?
    2059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2060   (exit $ac_status); }; } &&
    2061          { ac_try='test -s conftest.$ac_objext'
    2062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2063   (eval $ac_try) 2>&5
    2064   ac_status=$?
    2065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2066   (exit $ac_status); }; }; then
     826EOF
     827if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     828  ac_cv_prog_gcc=yes
     829else
     830  ac_cv_prog_gcc=no
     831fi
     832fi
     833
     834echo "$ac_t""$ac_cv_prog_gcc" 1>&6
     835
     836if test $ac_cv_prog_gcc = yes; then
     837  GCC=yes
     838else
     839  GCC=
     840fi
     841
     842ac_test_CFLAGS="${CFLAGS+set}"
     843ac_save_CFLAGS="$CFLAGS"
     844CFLAGS=
     845echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     846echo "configure:847: checking whether ${CC-cc} accepts -g" >&5
     847if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
     848  echo $ac_n "(cached) $ac_c" 1>&6
     849else
     850  echo 'void f(){}' > conftest.c
     851if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    2067852  ac_cv_prog_cc_g=yes
    2068853else
    2069   echo "$as_me: failed program was:" >&5
    2070 sed 's/^/| /' conftest.$ac_ext >&5
    2071 
    2072 ac_cv_prog_cc_g=no
    2073 fi
    2074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2075 fi
    2076 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2077 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     854  ac_cv_prog_cc_g=no
     855fi
     856rm -f conftest*
     857
     858fi
     859
     860echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
    2078861if test "$ac_test_CFLAGS" = set; then
    2079   CFLAGS=$ac_save_CFLAGS
     862  CFLAGS="$ac_save_CFLAGS"
    2080863elif test $ac_cv_prog_cc_g = yes; then
    2081864  if test "$GCC" = yes; then
     
    2091874  fi
    2092875fi
    2093 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2094 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2095 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2096   echo $ECHO_N "(cached) $ECHO_C" >&6
    2097 else
    2098   ac_cv_prog_cc_stdc=no
    2099 ac_save_CC=$CC
    2100 cat >conftest.$ac_ext <<_ACEOF
    2101 /* confdefs.h.  */
    2102 _ACEOF
    2103 cat confdefs.h >>conftest.$ac_ext
    2104 cat >>conftest.$ac_ext <<_ACEOF
    2105 /* end confdefs.h.  */
    2106 #include <stdarg.h>
    2107 #include <stdio.h>
    2108 #include <sys/types.h>
    2109 #include <sys/stat.h>
    2110 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    2111 struct buf { int x; };
    2112 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    2113 static char *e (p, i)
    2114      char **p;
    2115      int i;
    2116 {
    2117   return p[i];
    2118 }
    2119 static char *f (char * (*g) (char **, int), char **p, ...)
    2120 {
    2121   char *s;
    2122   va_list v;
    2123   va_start (v,p);
    2124   s = g (p, va_arg (v,int));
    2125   va_end (v);
    2126   return s;
    2127 }
    2128 
    2129 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2130    function prototypes and stuff, but not '\xHH' hex character constants.
    2131    These don't provoke an error unfortunately, instead are silently treated
    2132    as 'x'.  The following induces an error, until -std1 is added to get
    2133    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2134    array size at least.  It's necessary to write '\x00'==0 to get something
    2135    that's true only with -std1.  */
    2136 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2137 
    2138 int test (int i, double x);
    2139 struct s1 {int (*f) (int a);};
    2140 struct s2 {int (*f) (double a);};
    2141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    2142 int argc;
    2143 char **argv;
    2144 int
    2145 main ()
    2146 {
    2147 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    2148   ;
    2149   return 0;
    2150 }
    2151 _ACEOF
    2152 # Don't try gcc -ansi; that turns off useful extensions and
    2153 # breaks some systems' header files.
    2154 # AIX                   -qlanglvl=ansi
    2155 # Ultrix and OSF/1      -std1
    2156 # HP-UX 10.20 and later -Ae
    2157 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2158 # SVR4                  -Xc -D__EXTENSIONS__
    2159 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    2160 do
    2161   CC="$ac_save_CC $ac_arg"
    2162   rm -f conftest.$ac_objext
    2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2164   (eval $ac_compile) 2>conftest.er1
    2165   ac_status=$?
    2166   grep -v '^ *+' conftest.er1 >conftest.err
    2167   rm -f conftest.er1
    2168   cat conftest.err >&5
    2169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2170   (exit $ac_status); } &&
    2171          { ac_try='test -z "$ac_c_werror_flag"
    2172                          || test ! -s conftest.err'
    2173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2174   (eval $ac_try) 2>&5
    2175   ac_status=$?
    2176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2177   (exit $ac_status); }; } &&
    2178          { ac_try='test -s conftest.$ac_objext'
    2179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2180   (eval $ac_try) 2>&5
    2181   ac_status=$?
    2182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2183   (exit $ac_status); }; }; then
    2184   ac_cv_prog_cc_stdc=$ac_arg
    2185 break
    2186 else
    2187   echo "$as_me: failed program was:" >&5
    2188 sed 's/^/| /' conftest.$ac_ext >&5
    2189 
    2190 fi
    2191 rm -f conftest.err conftest.$ac_objext
    2192 done
    2193 rm -f conftest.$ac_ext conftest.$ac_objext
    2194 CC=$ac_save_CC
    2195 
    2196 fi
    2197 
    2198 case "x$ac_cv_prog_cc_stdc" in
    2199   x|xno)
    2200     echo "$as_me:$LINENO: result: none needed" >&5
    2201 echo "${ECHO_T}none needed" >&6 ;;
    2202   *)
    2203     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2204 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2205     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2206 esac
    2207 
    2208 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2209 # in C++ we need to declare it.  In case someone uses the same compiler
    2210 # for both compiling C and C++ we need to have the C++ compiler decide
    2211 # the declaration of exit, since it's the most demanding environment.
    2212 cat >conftest.$ac_ext <<_ACEOF
    2213 #ifndef __cplusplus
    2214   choke me
    2215 #endif
    2216 _ACEOF
    2217 rm -f conftest.$ac_objext
    2218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2219   (eval $ac_compile) 2>conftest.er1
    2220   ac_status=$?
    2221   grep -v '^ *+' conftest.er1 >conftest.err
    2222   rm -f conftest.er1
    2223   cat conftest.err >&5
    2224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2225   (exit $ac_status); } &&
    2226          { ac_try='test -z "$ac_c_werror_flag"
    2227                          || test ! -s conftest.err'
    2228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2229   (eval $ac_try) 2>&5
    2230   ac_status=$?
    2231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2232   (exit $ac_status); }; } &&
    2233          { ac_try='test -s conftest.$ac_objext'
    2234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2235   (eval $ac_try) 2>&5
    2236   ac_status=$?
    2237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2238   (exit $ac_status); }; }; then
    2239   for ac_declaration in \
    2240    '' \
    2241    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2242    'extern "C" void std::exit (int); using std::exit;' \
    2243    'extern "C" void exit (int) throw ();' \
    2244    'extern "C" void exit (int);' \
    2245    'void exit (int);'
    2246 do
    2247   cat >conftest.$ac_ext <<_ACEOF
    2248 /* confdefs.h.  */
    2249 _ACEOF
    2250 cat confdefs.h >>conftest.$ac_ext
    2251 cat >>conftest.$ac_ext <<_ACEOF
    2252 /* end confdefs.h.  */
    2253 $ac_declaration
    2254 #include <stdlib.h>
    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>conftest.er1
    2266   ac_status=$?
    2267   grep -v '^ *+' conftest.er1 >conftest.err
    2268   rm -f conftest.er1
    2269   cat conftest.err >&5
    2270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2271   (exit $ac_status); } &&
    2272          { ac_try='test -z "$ac_c_werror_flag"
    2273                          || test ! -s conftest.err'
    2274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2275   (eval $ac_try) 2>&5
    2276   ac_status=$?
    2277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2278   (exit $ac_status); }; } &&
    2279          { ac_try='test -s conftest.$ac_objext'
    2280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2281   (eval $ac_try) 2>&5
    2282   ac_status=$?
    2283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2284   (exit $ac_status); }; }; then
    2285   :
    2286 else
    2287   echo "$as_me: failed program was:" >&5
    2288 sed 's/^/| /' conftest.$ac_ext >&5
    2289 
    2290 continue
    2291 fi
    2292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2293   cat >conftest.$ac_ext <<_ACEOF
    2294 /* confdefs.h.  */
    2295 _ACEOF
    2296 cat confdefs.h >>conftest.$ac_ext
    2297 cat >>conftest.$ac_ext <<_ACEOF
    2298 /* end confdefs.h.  */
    2299 $ac_declaration
    2300 int
    2301 main ()
    2302 {
    2303 exit (42);
    2304   ;
    2305   return 0;
    2306 }
    2307 _ACEOF
    2308 rm -f conftest.$ac_objext
    2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2310   (eval $ac_compile) 2>conftest.er1
    2311   ac_status=$?
    2312   grep -v '^ *+' conftest.er1 >conftest.err
    2313   rm -f conftest.er1
    2314   cat conftest.err >&5
    2315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2316   (exit $ac_status); } &&
    2317          { ac_try='test -z "$ac_c_werror_flag"
    2318                          || test ! -s conftest.err'
    2319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2320   (eval $ac_try) 2>&5
    2321   ac_status=$?
    2322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2323   (exit $ac_status); }; } &&
    2324          { ac_try='test -s conftest.$ac_objext'
    2325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2326   (eval $ac_try) 2>&5
    2327   ac_status=$?
    2328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2329   (exit $ac_status); }; }; then
    2330   break
    2331 else
    2332   echo "$as_me: failed program was:" >&5
    2333 sed 's/^/| /' conftest.$ac_ext >&5
    2334 
    2335 fi
    2336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2337 done
    2338 rm -f conftest*
    2339 if test -n "$ac_declaration"; then
    2340   echo '#ifdef __cplusplus' >>confdefs.h
    2341   echo $ac_declaration      >>confdefs.h
    2342   echo '#endif'             >>confdefs.h
    2343 fi
    2344 
    2345 else
    2346   echo "$as_me: failed program was:" >&5
    2347 sed 's/^/| /' conftest.$ac_ext >&5
    2348 
    2349 fi
    2350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2351 ac_ext=c
    2352 ac_cpp='$CPP $CPPFLAGS'
    2353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2356 
    2357 ac_ext=c
    2358 ac_cpp='$CPP $CPPFLAGS'
    2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2362 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2363 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     876
     877echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     878echo "configure:879: checking how to run the C preprocessor" >&5
    2364879# On Suns, sometimes $CPP names a directory.
    2365880if test -n "$CPP" && test -d "$CPP"; then
     
    2367882fi
    2368883if test -z "$CPP"; then
    2369   if test "${ac_cv_prog_CPP+set}" = set; then
    2370   echo $ECHO_N "(cached) $ECHO_C" >&6
    2371 else
    2372       # Double quotes because CPP needs to be expanded
    2373     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    2374     do
    2375       ac_preproc_ok=false
    2376 for ac_c_preproc_warn_flag in '' yes
     884if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
     885  echo $ac_n "(cached) $ac_c" 1>&6
     886else
     887    # This must be in double quotes, not single quotes, because CPP may get
     888  # substituted into the Makefile and "${CC-cc}" will confuse make.
     889  CPP="${CC-cc} -E"
     890  # On the NeXT, cc -E runs the code through the compiler's parser,
     891  # not just through cpp.
     892  cat > conftest.$ac_ext <<EOF
     893#line 894 "configure"
     894#include "confdefs.h"
     895#include <assert.h>
     896Syntax Error
     897EOF
     898ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     899{ (eval echo configure:900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     900ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     901if test -z "$ac_err"; then
     902  :
     903else
     904  echo "$ac_err" >&5
     905  echo "configure: failed program was:" >&5
     906  cat conftest.$ac_ext >&5
     907  rm -rf conftest*
     908  CPP="${CC-cc} -E -traditional-cpp"
     909  cat > conftest.$ac_ext <<EOF
     910#line 911 "configure"
     911#include "confdefs.h"
     912#include <assert.h>
     913Syntax Error
     914EOF
     915ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     916{ (eval echo configure:917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     917ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     918if test -z "$ac_err"; then
     919  :
     920else
     921  echo "$ac_err" >&5
     922  echo "configure: failed program was:" >&5
     923  cat conftest.$ac_ext >&5
     924  rm -rf conftest*
     925  CPP="${CC-cc} -nologo -E"
     926  cat > conftest.$ac_ext <<EOF
     927#line 928 "configure"
     928#include "confdefs.h"
     929#include <assert.h>
     930Syntax Error
     931EOF
     932ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     933{ (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     934ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     935if test -z "$ac_err"; then
     936  :
     937else
     938  echo "$ac_err" >&5
     939  echo "configure: failed program was:" >&5
     940  cat conftest.$ac_ext >&5
     941  rm -rf conftest*
     942  CPP=/lib/cpp
     943fi
     944rm -f conftest*
     945fi
     946rm -f conftest*
     947fi
     948rm -f conftest*
     949  ac_cv_prog_CPP="$CPP"
     950fi
     951  CPP="$ac_cv_prog_CPP"
     952else
     953  ac_cv_prog_CPP="$CPP"
     954fi
     955echo "$ac_t""$CPP" 1>&6
     956
     957for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    2377958do
    2378   # Use a header file that comes with gcc, so configuring glibc
    2379   # with a fresh cross-compiler works.
    2380   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2381   # <limits.h> exists even on freestanding compilers.
    2382   # On the NeXT, cc -E runs the code through the compiler's parser,
    2383   # not just through cpp. "Syntax error" is here to catch this case.
    2384   cat >conftest.$ac_ext <<_ACEOF
    2385 /* confdefs.h.  */
    2386 _ACEOF
    2387 cat confdefs.h >>conftest.$ac_ext
    2388 cat >>conftest.$ac_ext <<_ACEOF
    2389 /* end confdefs.h.  */
    2390 #ifdef __STDC__
    2391 # include <limits.h>
    2392 #else
    2393 # include <assert.h>
    2394 #endif
    2395                      Syntax error
    2396 _ACEOF
    2397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2398   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2399   ac_status=$?
    2400   grep -v '^ *+' conftest.er1 >conftest.err
    2401   rm -f conftest.er1
    2402   cat conftest.err >&5
    2403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2404   (exit $ac_status); } >/dev/null; then
    2405   if test -s conftest.err; then
    2406     ac_cpp_err=$ac_c_preproc_warn_flag
    2407     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2408   else
    2409     ac_cpp_err=
    2410   fi
    2411 else
    2412   ac_cpp_err=yes
    2413 fi
    2414 if test -z "$ac_cpp_err"; then
    2415   :
    2416 else
    2417   echo "$as_me: failed program was:" >&5
    2418 sed 's/^/| /' conftest.$ac_ext >&5
    2419 
    2420   # Broken: fails on valid input.
    2421 continue
    2422 fi
    2423 rm -f conftest.err conftest.$ac_ext
    2424 
    2425   # OK, works on sane cases.  Now check whether non-existent headers
    2426   # can be detected and how.
    2427   cat >conftest.$ac_ext <<_ACEOF
    2428 /* confdefs.h.  */
    2429 _ACEOF
    2430 cat confdefs.h >>conftest.$ac_ext
    2431 cat >>conftest.$ac_ext <<_ACEOF
    2432 /* end confdefs.h.  */
    2433 #include <ac_nonexistent.h>
    2434 _ACEOF
    2435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2436   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2437   ac_status=$?
    2438   grep -v '^ *+' conftest.er1 >conftest.err
    2439   rm -f conftest.er1
    2440   cat conftest.err >&5
    2441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2442   (exit $ac_status); } >/dev/null; then
    2443   if test -s conftest.err; then
    2444     ac_cpp_err=$ac_c_preproc_warn_flag
    2445     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2446   else
    2447     ac_cpp_err=
    2448   fi
    2449 else
    2450   ac_cpp_err=yes
    2451 fi
    2452 if test -z "$ac_cpp_err"; then
    2453   # Broken: success on invalid input.
    2454 continue
    2455 else
    2456   echo "$as_me: failed program was:" >&5
    2457 sed 's/^/| /' conftest.$ac_ext >&5
    2458 
    2459   # Passes both tests.
    2460 ac_preproc_ok=:
    2461 break
    2462 fi
    2463 rm -f conftest.err conftest.$ac_ext
    2464 
    2465 done
    2466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2467 rm -f conftest.err conftest.$ac_ext
    2468 if $ac_preproc_ok; then
    2469   break
    2470 fi
    2471 
    2472     done
    2473     ac_cv_prog_CPP=$CPP
    2474 
    2475 fi
    2476   CPP=$ac_cv_prog_CPP
    2477 else
    2478   ac_cv_prog_CPP=$CPP
    2479 fi
    2480 echo "$as_me:$LINENO: result: $CPP" >&5
    2481 echo "${ECHO_T}$CPP" >&6
    2482 ac_preproc_ok=false
    2483 for ac_c_preproc_warn_flag in '' yes
    2484 do
    2485   # Use a header file that comes with gcc, so configuring glibc
    2486   # with a fresh cross-compiler works.
    2487   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2488   # <limits.h> exists even on freestanding compilers.
    2489   # On the NeXT, cc -E runs the code through the compiler's parser,
    2490   # not just through cpp. "Syntax error" is here to catch this case.
    2491   cat >conftest.$ac_ext <<_ACEOF
    2492 /* confdefs.h.  */
    2493 _ACEOF
    2494 cat confdefs.h >>conftest.$ac_ext
    2495 cat >>conftest.$ac_ext <<_ACEOF
    2496 /* end confdefs.h.  */
    2497 #ifdef __STDC__
    2498 # include <limits.h>
    2499 #else
    2500 # include <assert.h>
    2501 #endif
    2502                      Syntax error
    2503 _ACEOF
    2504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2505   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2506   ac_status=$?
    2507   grep -v '^ *+' conftest.er1 >conftest.err
    2508   rm -f conftest.er1
    2509   cat conftest.err >&5
    2510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2511   (exit $ac_status); } >/dev/null; then
    2512   if test -s conftest.err; then
    2513     ac_cpp_err=$ac_c_preproc_warn_flag
    2514     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2515   else
    2516     ac_cpp_err=
    2517   fi
    2518 else
    2519   ac_cpp_err=yes
    2520 fi
    2521 if test -z "$ac_cpp_err"; then
    2522   :
    2523 else
    2524   echo "$as_me: failed program was:" >&5
    2525 sed 's/^/| /' conftest.$ac_ext >&5
    2526 
    2527   # Broken: fails on valid input.
    2528 continue
    2529 fi
    2530 rm -f conftest.err conftest.$ac_ext
    2531 
    2532   # OK, works on sane cases.  Now check whether non-existent headers
    2533   # can be detected and how.
    2534   cat >conftest.$ac_ext <<_ACEOF
    2535 /* confdefs.h.  */
    2536 _ACEOF
    2537 cat confdefs.h >>conftest.$ac_ext
    2538 cat >>conftest.$ac_ext <<_ACEOF
    2539 /* end confdefs.h.  */
    2540 #include <ac_nonexistent.h>
    2541 _ACEOF
    2542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2543   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2544   ac_status=$?
    2545   grep -v '^ *+' conftest.er1 >conftest.err
    2546   rm -f conftest.er1
    2547   cat conftest.err >&5
    2548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2549   (exit $ac_status); } >/dev/null; then
    2550   if test -s conftest.err; then
    2551     ac_cpp_err=$ac_c_preproc_warn_flag
    2552     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2553   else
    2554     ac_cpp_err=
    2555   fi
    2556 else
    2557   ac_cpp_err=yes
    2558 fi
    2559 if test -z "$ac_cpp_err"; then
    2560   # Broken: success on invalid input.
    2561 continue
    2562 else
    2563   echo "$as_me: failed program was:" >&5
    2564 sed 's/^/| /' conftest.$ac_ext >&5
    2565 
    2566   # Passes both tests.
    2567 ac_preproc_ok=:
    2568 break
    2569 fi
    2570 rm -f conftest.err conftest.$ac_ext
    2571 
    2572 done
    2573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2574 rm -f conftest.err conftest.$ac_ext
    2575 if $ac_preproc_ok; then
    2576   :
    2577 else
    2578   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    2579 See \`config.log' for more details." >&5
    2580 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    2581 See \`config.log' for more details." >&2;}
    2582    { (exit 1); exit 1; }; }
    2583 fi
    2584 
    2585 ac_ext=c
    2586 ac_cpp='$CPP $CPPFLAGS'
    2587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2590 
    2591 ac_ext=cc
    2592 ac_cpp='$CXXCPP $CPPFLAGS'
    2593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2596 if test -n "$ac_tool_prefix"; then
    2597   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    2598   do
    2599     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2603 if test "${ac_cv_prog_CXX+set}" = set; then
    2604   echo $ECHO_N "(cached) $ECHO_C" >&6
     959# Extract the first word of "$ac_prog", so it can be a program name with args.
     960set dummy $ac_prog; ac_word=$2
     961echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     962echo "configure:963: checking for $ac_word" >&5
     963if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
     964  echo $ac_n "(cached) $ac_c" 1>&6
    2605965else
    2606966  if test -n "$CXX"; then
    2607967  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    2608968else
    2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2610 for as_dir in $PATH
    2611 do
    2612   IFS=$as_save_IFS
    2613   test -z "$as_dir" && as_dir=.
    2614   for ac_exec_ext in '' $ac_executable_extensions; do
    2615   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2616     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2617     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2618     break 2
     969  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     970  ac_dummy="$PATH"
     971  for ac_dir in $ac_dummy; do
     972    test -z "$ac_dir" && ac_dir=.
     973    if test -f $ac_dir/$ac_word; then
     974      ac_cv_prog_CXX="$ac_prog"
     975      break
     976    fi
     977  done
     978  IFS="$ac_save_ifs"
     979fi
     980fi
     981CXX="$ac_cv_prog_CXX"
     982if test -n "$CXX"; then
     983  echo "$ac_t""$CXX" 1>&6
     984else
     985  echo "$ac_t""no" 1>&6
     986fi
     987
     988test -n "$CXX" && break
     989done
     990test -n "$CXX" || CXX="gcc"
     991
     992
     993echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     994echo "configure:995: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     995
     996ac_ext=C
     997# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     998ac_cpp='$CXXCPP $CPPFLAGS'
     999ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1000ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1001cross_compiling=$ac_cv_prog_cxx_cross
     1002
     1003cat > conftest.$ac_ext << EOF
     1004
     1005#line 1006 "configure"
     1006#include "confdefs.h"
     1007
     1008int main(){return(0);}
     1009EOF
     1010if { (eval echo configure:1011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1011  ac_cv_prog_cxx_works=yes
     1012  # If we can't run a trivial program, we are probably using a cross compiler.
     1013  if (./conftest; exit) 2>/dev/null; then
     1014    ac_cv_prog_cxx_cross=no
     1015  else
     1016    ac_cv_prog_cxx_cross=yes
    26191017  fi
    2620 done
    2621 done
    2622 
    2623 fi
    2624 fi
    2625 CXX=$ac_cv_prog_CXX
    2626 if test -n "$CXX"; then
    2627   echo "$as_me:$LINENO: result: $CXX" >&5
    2628 echo "${ECHO_T}$CXX" >&6
    2629 else
    2630   echo "$as_me:$LINENO: result: no" >&5
    2631 echo "${ECHO_T}no" >&6
    2632 fi
    2633 
    2634     test -n "$CXX" && break
    2635   done
    2636 fi
    2637 if test -z "$CXX"; then
    2638   ac_ct_CXX=$CXX
    2639   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    2640 do
    2641   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2642 set dummy $ac_prog; ac_word=$2
    2643 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2645 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2646   echo $ECHO_N "(cached) $ECHO_C" >&6
    2647 else
    2648   if test -n "$ac_ct_CXX"; then
    2649   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    2650 else
    2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2652 for as_dir in $PATH
    2653 do
    2654   IFS=$as_save_IFS
    2655   test -z "$as_dir" && as_dir=.
    2656   for ac_exec_ext in '' $ac_executable_extensions; do
    2657   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2658     ac_cv_prog_ac_ct_CXX="$ac_prog"
    2659     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2660     break 2
    2661   fi
    2662 done
    2663 done
    2664 
    2665 fi
    2666 fi
    2667 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    2668 if test -n "$ac_ct_CXX"; then
    2669   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2670 echo "${ECHO_T}$ac_ct_CXX" >&6
    2671 else
    2672   echo "$as_me:$LINENO: result: no" >&5
    2673 echo "${ECHO_T}no" >&6
    2674 fi
    2675 
    2676   test -n "$ac_ct_CXX" && break
    2677 done
    2678 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2679 
    2680   CXX=$ac_ct_CXX
    2681 fi
    2682 
    2683 
    2684 # Provide some information about the compiler.
    2685 echo "$as_me:$LINENO:" \
    2686      "checking for C++ compiler version" >&5
    2687 ac_compiler=`set X $ac_compile; echo $2`
    2688 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2689   (eval $ac_compiler --version </dev/null >&5) 2>&5
    2690   ac_status=$?
    2691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2692   (exit $ac_status); }
    2693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2694   (eval $ac_compiler -v </dev/null >&5) 2>&5
    2695   ac_status=$?
    2696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2697   (exit $ac_status); }
    2698 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2699   (eval $ac_compiler -V </dev/null >&5) 2>&5
    2700   ac_status=$?
    2701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2702   (exit $ac_status); }
    2703 
    2704 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2705 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    2706 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2707   echo $ECHO_N "(cached) $ECHO_C" >&6
    2708 else
    2709   cat >conftest.$ac_ext <<_ACEOF
    2710 /* confdefs.h.  */
    2711 _ACEOF
    2712 cat confdefs.h >>conftest.$ac_ext
    2713 cat >>conftest.$ac_ext <<_ACEOF
    2714 /* end confdefs.h.  */
    2715 
    2716 int
    2717 main ()
    2718 {
    2719 #ifndef __GNUC__
    2720        choke me
     1018else
     1019  echo "configure: failed program was:" >&5
     1020  cat conftest.$ac_ext >&5
     1021  ac_cv_prog_cxx_works=no
     1022fi
     1023rm -fr conftest*
     1024ac_ext=c
     1025# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1026ac_cpp='$CPP $CPPFLAGS'
     1027ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1028ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1029cross_compiling=$ac_cv_prog_cc_cross
     1030
     1031echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
     1032if test $ac_cv_prog_cxx_works = no; then
     1033  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
     1034fi
     1035echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     1036echo "configure:1037: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1037echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
     1038cross_compiling=$ac_cv_prog_cxx_cross
     1039
     1040echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
     1041echo "configure:1042: checking whether we are using GNU C++" >&5
     1042if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
     1043  echo $ac_n "(cached) $ac_c" 1>&6
     1044else
     1045  cat > conftest.C <<EOF
     1046#ifdef __GNUC__
     1047  yes;
    27211048#endif
    2722 
    2723   ;
    2724   return 0;
    2725 }
    2726 _ACEOF
    2727 rm -f conftest.$ac_objext
    2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2729   (eval $ac_compile) 2>conftest.er1
    2730   ac_status=$?
    2731   grep -v '^ *+' conftest.er1 >conftest.err
    2732   rm -f conftest.er1
    2733   cat conftest.err >&5
    2734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2735   (exit $ac_status); } &&
    2736          { ac_try='test -z "$ac_cxx_werror_flag"
    2737                          || test ! -s conftest.err'
    2738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2739   (eval $ac_try) 2>&5
    2740   ac_status=$?
    2741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2742   (exit $ac_status); }; } &&
    2743          { ac_try='test -s conftest.$ac_objext'
    2744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2745   (eval $ac_try) 2>&5
    2746   ac_status=$?
    2747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2748   (exit $ac_status); }; }; then
    2749   ac_compiler_gnu=yes
    2750 else
    2751   echo "$as_me: failed program was:" >&5
    2752 sed 's/^/| /' conftest.$ac_ext >&5
    2753 
    2754 ac_compiler_gnu=no
    2755 fi
    2756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2757 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    2758 
    2759 fi
    2760 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2761 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2762 GXX=`test $ac_compiler_gnu = yes && echo yes`
    2763 ac_test_CXXFLAGS=${CXXFLAGS+set}
    2764 ac_save_CXXFLAGS=$CXXFLAGS
    2765 CXXFLAGS="-g"
    2766 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2767 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    2768 if test "${ac_cv_prog_cxx_g+set}" = set; then
    2769   echo $ECHO_N "(cached) $ECHO_C" >&6
    2770 else
    2771   cat >conftest.$ac_ext <<_ACEOF
    2772 /* confdefs.h.  */
    2773 _ACEOF
    2774 cat confdefs.h >>conftest.$ac_ext
    2775 cat >>conftest.$ac_ext <<_ACEOF
    2776 /* end confdefs.h.  */
    2777 
    2778 int
    2779 main ()
    2780 {
    2781 
    2782   ;
    2783   return 0;
    2784 }
    2785 _ACEOF
    2786 rm -f conftest.$ac_objext
    2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2788   (eval $ac_compile) 2>conftest.er1
    2789   ac_status=$?
    2790   grep -v '^ *+' conftest.er1 >conftest.err
    2791   rm -f conftest.er1
    2792   cat conftest.err >&5
    2793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2794   (exit $ac_status); } &&
    2795          { ac_try='test -z "$ac_cxx_werror_flag"
    2796                          || test ! -s conftest.err'
    2797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2798   (eval $ac_try) 2>&5
    2799   ac_status=$?
    2800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2801   (exit $ac_status); }; } &&
    2802          { ac_try='test -s conftest.$ac_objext'
    2803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2804   (eval $ac_try) 2>&5
    2805   ac_status=$?
    2806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2807   (exit $ac_status); }; }; then
     1049EOF
     1050if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1051  ac_cv_prog_gxx=yes
     1052else
     1053  ac_cv_prog_gxx=no
     1054fi
     1055fi
     1056
     1057echo "$ac_t""$ac_cv_prog_gxx" 1>&6
     1058
     1059if test $ac_cv_prog_gxx = yes; then
     1060  GXX=yes
     1061else
     1062  GXX=
     1063fi
     1064
     1065ac_test_CXXFLAGS="${CXXFLAGS+set}"
     1066ac_save_CXXFLAGS="$CXXFLAGS"
     1067CXXFLAGS=
     1068echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     1069echo "configure:1070: checking whether ${CXX-g++} accepts -g" >&5
     1070if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
     1071  echo $ac_n "(cached) $ac_c" 1>&6
     1072else
     1073  echo 'void f(){}' > conftest.cc
     1074if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
    28081075  ac_cv_prog_cxx_g=yes
    28091076else
    2810   echo "$as_me: failed program was:" >&5
    2811 sed 's/^/| /' conftest.$ac_ext >&5
    2812 
    2813 ac_cv_prog_cxx_g=no
    2814 fi
    2815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2816 fi
    2817 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2818 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     1077  ac_cv_prog_cxx_g=no
     1078fi
     1079rm -f conftest*
     1080
     1081fi
     1082
     1083echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
    28191084if test "$ac_test_CXXFLAGS" = set; then
    2820   CXXFLAGS=$ac_save_CXXFLAGS
     1085  CXXFLAGS="$ac_save_CXXFLAGS"
    28211086elif test $ac_cv_prog_cxx_g = yes; then
    28221087  if test "$GXX" = yes; then
     
    28321097  fi
    28331098fi
    2834 for ac_declaration in \
    2835    '' \
    2836    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2837    'extern "C" void std::exit (int); using std::exit;' \
    2838    'extern "C" void exit (int) throw ();' \
    2839    'extern "C" void exit (int);' \
    2840    'void exit (int);'
    2841 do
    2842   cat >conftest.$ac_ext <<_ACEOF
    2843 /* confdefs.h.  */
    2844 _ACEOF
    2845 cat confdefs.h >>conftest.$ac_ext
    2846 cat >>conftest.$ac_ext <<_ACEOF
    2847 /* end confdefs.h.  */
    2848 $ac_declaration
    2849 #include <stdlib.h>
    2850 int
    2851 main ()
    2852 {
    2853 exit (42);
    2854   ;
    2855   return 0;
    2856 }
    2857 _ACEOF
    2858 rm -f conftest.$ac_objext
    2859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2860   (eval $ac_compile) 2>conftest.er1
    2861   ac_status=$?
    2862   grep -v '^ *+' conftest.er1 >conftest.err
    2863   rm -f conftest.er1
    2864   cat conftest.err >&5
    2865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2866   (exit $ac_status); } &&
    2867          { ac_try='test -z "$ac_cxx_werror_flag"
    2868                          || test ! -s conftest.err'
    2869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2870   (eval $ac_try) 2>&5
    2871   ac_status=$?
    2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2873   (exit $ac_status); }; } &&
    2874          { ac_try='test -s conftest.$ac_objext'
    2875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2876   (eval $ac_try) 2>&5
    2877   ac_status=$?
    2878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2879   (exit $ac_status); }; }; then
    2880   :
    2881 else
    2882   echo "$as_me: failed program was:" >&5
    2883 sed 's/^/| /' conftest.$ac_ext >&5
    2884 
    2885 continue
    2886 fi
    2887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2888   cat >conftest.$ac_ext <<_ACEOF
    2889 /* confdefs.h.  */
    2890 _ACEOF
    2891 cat confdefs.h >>conftest.$ac_ext
    2892 cat >>conftest.$ac_ext <<_ACEOF
    2893 /* end confdefs.h.  */
    2894 $ac_declaration
    2895 int
    2896 main ()
    2897 {
    2898 exit (42);
    2899   ;
    2900   return 0;
    2901 }
    2902 _ACEOF
    2903 rm -f conftest.$ac_objext
    2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2905   (eval $ac_compile) 2>conftest.er1
    2906   ac_status=$?
    2907   grep -v '^ *+' conftest.er1 >conftest.err
    2908   rm -f conftest.er1
    2909   cat conftest.err >&5
    2910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2911   (exit $ac_status); } &&
    2912          { ac_try='test -z "$ac_cxx_werror_flag"
    2913                          || test ! -s conftest.err'
    2914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2915   (eval $ac_try) 2>&5
    2916   ac_status=$?
    2917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2918   (exit $ac_status); }; } &&
    2919          { ac_try='test -s conftest.$ac_objext'
    2920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2921   (eval $ac_try) 2>&5
    2922   ac_status=$?
    2923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2924   (exit $ac_status); }; }; then
    2925   break
    2926 else
    2927   echo "$as_me: failed program was:" >&5
    2928 sed 's/^/| /' conftest.$ac_ext >&5
    2929 
    2930 fi
    2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2932 done
    2933 rm -f conftest*
    2934 if test -n "$ac_declaration"; then
    2935   echo '#ifdef __cplusplus' >>confdefs.h
    2936   echo $ac_declaration      >>confdefs.h
    2937   echo '#endif'             >>confdefs.h
    2938 fi
    2939 
    2940 ac_ext=c
    2941 ac_cpp='$CPP $CPPFLAGS'
    2942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    29451099
    29461100ac_aux_dir=
     
    29541108    ac_install_sh="$ac_aux_dir/install.sh -c"
    29551109    break
    2956   elif test -f $ac_dir/shtool; then
    2957     ac_aux_dir=$ac_dir
    2958     ac_install_sh="$ac_aux_dir/shtool install -c"
    2959     break
    29601110  fi
    29611111done
    29621112if test -z "$ac_aux_dir"; then
    2963   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2964 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    2965    { (exit 1); exit 1; }; }
    2966 fi
    2967 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2968 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2969 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1113  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
     1114fi
     1115ac_config_guess=$ac_aux_dir/config.guess
     1116ac_config_sub=$ac_aux_dir/config.sub
     1117ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    29701118
    29711119# Find a good install program.  We prefer a C program (faster),
     
    29761124# IRIX /sbin/install
    29771125# AIX /bin/install
    2978 # AmigaOS /C/install, which installs bootblocks on floppy discs
    29791126# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    29801127# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    29811128# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2982 # OS/2's system install, which has a completely different semantic
    29831129# ./install, which can be erroneously created by make from ./install.sh.
    2984 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2985 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     1130echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     1131echo "configure:1132: checking for a BSD compatible install" >&5
    29861132if test -z "$INSTALL"; then
    2987 if test "${ac_cv_path_install+set}" = set; then
    2988   echo $ECHO_N "(cached) $ECHO_C" >&6
    2989 else
    2990   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2991 for as_dir in $PATH
    2992 do
    2993   IFS=$as_save_IFS
    2994   test -z "$as_dir" && as_dir=.
    2995   # Account for people who put trailing slashes in PATH elements.
    2996 case $as_dir/ in
    2997   ./ | .// | /cC/* | \
    2998   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2999   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    3000   /usr/ucb/* ) ;;
    3001   *)
    3002     # OSF1 and SCO ODT 3.0 have their own names for install.
    3003     # Don't use installbsd from OSF since it installs stuff as root
    3004     # by default.
    3005     for ac_prog in ginstall scoinst install; do
    3006       for ac_exec_ext in '' $ac_executable_extensions; do
    3007         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1133if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     1134  echo $ac_n "(cached) $ac_c" 1>&6
     1135else
     1136    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
     1137  for ac_dir in $PATH; do
     1138    # Account for people who put trailing slashes in PATH elements.
     1139    case "$ac_dir/" in
     1140    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     1141    *)
     1142      # OSF1 and SCO ODT 3.0 have their own names for install.
     1143      # Don't use installbsd from OSF since it installs stuff as root
     1144      # by default.
     1145      for ac_prog in ginstall scoinst install; do
     1146        if test -f $ac_dir/$ac_prog; then
    30081147          if test $ac_prog = install &&
    3009             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1148            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    30101149            # AIX install.  It has an incompatible calling convention.
    30111150            :
    3012           elif test $ac_prog = install &&
    3013             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    3014             # program-specific install script used by HP pwplus--don't use.
    3015             :
    30161151          else
    3017             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3018             break 3
     1152            ac_cv_path_install="$ac_dir/$ac_prog -c"
     1153            break 2
    30191154          fi
    30201155        fi
    30211156      done
    3022     done
    3023     ;;
    3024 esac
    3025 done
    3026 
     1157      ;;
     1158    esac
     1159  done
     1160  IFS="$ac_save_IFS"
    30271161
    30281162fi
    30291163  if test "${ac_cv_path_install+set}" = set; then
    3030     INSTALL=$ac_cv_path_install
     1164    INSTALL="$ac_cv_path_install"
    30311165  else
    30321166    # As a last resort, use the slow shell script.  We don't cache a
     
    30341168    # break other packages using the cache if that directory is
    30351169    # removed, or if the path is relative.
    3036     INSTALL=$ac_install_sh
     1170    INSTALL="$ac_install_sh"
    30371171  fi
    30381172fi
    3039 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3040 echo "${ECHO_T}$INSTALL" >&6
     1173echo "$ac_t""$INSTALL" 1>&6
    30411174
    30421175# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    30441177test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    30451178
    3046 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     1179test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    30471180
    30481181test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    30491182
    3050 
    3051 
    3052 echo "$as_me:$LINENO: checking for egrep" >&5
    3053 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3054 if test "${ac_cv_prog_egrep+set}" = set; then
    3055   echo $ECHO_N "(cached) $ECHO_C" >&6
    3056 else
    3057   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3058     then ac_cv_prog_egrep='grep -E'
    3059     else ac_cv_prog_egrep='egrep'
    3060     fi
    3061 fi
    3062 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3063 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3064  EGREP=$ac_cv_prog_egrep
    3065 
    3066 
    3067 
    3068 echo "$as_me:$LINENO: checking for AIX" >&5
    3069 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    3070 cat >conftest.$ac_ext <<_ACEOF
    3071 /* confdefs.h.  */
    3072 _ACEOF
    3073 cat confdefs.h >>conftest.$ac_ext
    3074 cat >>conftest.$ac_ext <<_ACEOF
    3075 /* end confdefs.h.  */
     1183echo $ac_n "checking for AIX""... $ac_c" 1>&6
     1184echo "configure:1185: checking for AIX" >&5
     1185cat > conftest.$ac_ext <<EOF
     1186#line 1187 "configure"
     1187#include "confdefs.h"
    30761188#ifdef _AIX
    30771189  yes
    30781190#endif
    30791191
    3080 _ACEOF
     1192EOF
    30811193if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3082   $EGREP "yes" >/dev/null 2>&1; then
    3083   echo "$as_me:$LINENO: result: yes" >&5
    3084 echo "${ECHO_T}yes" >&6
    3085 cat >>confdefs.h <<\_ACEOF
     1194  egrep "yes" >/dev/null 2>&1; then
     1195  rm -rf conftest*
     1196  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
    30861197#define _ALL_SOURCE 1
    3087 _ACEOF
    3088 
    3089 else
    3090   echo "$as_me:$LINENO: result: no" >&5
    3091 echo "${ECHO_T}no" >&6
     1198EOF
     1199
     1200else
     1201  rm -rf conftest*
     1202  echo "$ac_t""no" 1>&6
    30921203fi
    30931204rm -f conftest*
     
    30981209#                       gcc3:        CC=gcc  CXX=g++
    30991210#                       other:       CC=cc   CXX=c++
    3100 echo "$as_me:$LINENO: checking gcc version" >&5
    3101 echo $ECHO_N "checking gcc version... $ECHO_C" >&6
    3102 if test "${ac_cv_c_cpp+set}" = set; then
    3103   echo $ECHO_N "(cached) $ECHO_C" >&6
     1211echo $ac_n "checking gcc version""... $ac_c" 1>&6
     1212echo "configure:1213: checking gcc version" >&5
     1213if eval "test \"`echo '$''{'ac_cv_c_cpp'+set}'`\" = set"; then
     1214  echo $ac_n "(cached) $ac_c" 1>&6
    31041215else
    31051216  ac_cv_c_cp="unknown"
     
    31101221fi
    31111222
    3112 echo "$as_me:$LINENO: result: $ac_cv_c_cpp" >&5
    3113 echo "${ECHO_T}$ac_cv_c_cpp" >&6
     1223echo "$ac_t""$ac_cv_c_cpp" 1>&6
    31141224
    31151225# we prefer using gcc for compiling C++ files, provided the user did
     
    31221232  fi
    31231233  temp_cflags=${CXXFLAGS}
    3124 
    3125 
    3126   ac_ext=cc
     1234 
     1235  ac_ext=C
     1236# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    31271237ac_cpp='$CXXCPP $CPPFLAGS'
    3128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     1238ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1239ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1240cross_compiling=$ac_cv_prog_cxx_cross
    31311241
    31321242  # check whether gcc accepts --no-rtti
    3133   echo "$as_me:$LINENO: checking whether gcc accepts --no-rtti" >&5
    3134 echo $ECHO_N "checking whether gcc accepts --no-rtti... $ECHO_C" >&6
     1243  echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
     1244echo "configure:1245: checking whether gcc accepts --no-rtti" >&5
    31351245  CXXFLAGS="${CXXFLAGS} --no-rtti"
    3136   if test "${ac_cv_cxx_have_rtti+set}" = set; then
    3137   echo $ECHO_N "(cached) $ECHO_C" >&6
    3138 else
    3139 
    3140 cat >conftest.$ac_ext <<_ACEOF
    3141 /* confdefs.h.  */
    3142 _ACEOF
    3143 cat confdefs.h >>conftest.$ac_ext
    3144 cat >>conftest.$ac_ext <<_ACEOF
    3145 /* end confdefs.h.  */
    3146 
    3147 int
    3148 main ()
    3149 {
    3150 
    3151   ;
    3152   return 0;
    3153 }
    3154 _ACEOF
    3155 rm -f conftest.$ac_objext
    3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3157   (eval $ac_compile) 2>conftest.er1
    3158   ac_status=$?
    3159   grep -v '^ *+' conftest.er1 >conftest.err
    3160   rm -f conftest.er1
    3161   cat conftest.err >&5
    3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3163   (exit $ac_status); } &&
    3164          { ac_try='test -z "$ac_cxx_werror_flag"
    3165                          || test ! -s conftest.err'
    3166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3167   (eval $ac_try) 2>&5
    3168   ac_status=$?
    3169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3170   (exit $ac_status); }; } &&
    3171          { ac_try='test -s conftest.$ac_objext'
    3172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3173   (eval $ac_try) 2>&5
    3174   ac_status=$?
    3175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3176   (exit $ac_status); }; }; then
     1246  if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
     1247  echo $ac_n "(cached) $ac_c" 1>&6
     1248else
     1249  cat > conftest.$ac_ext <<EOF
     1250#line 1251 "configure"
     1251#include "confdefs.h"
     1252
     1253int main() {
     1254
     1255; return 0; }
     1256EOF
     1257if { (eval echo configure:1258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1258  rm -rf conftest*
    31771259  ac_cv_cxx_have_rtti=yes
    31781260else
    3179   echo "$as_me: failed program was:" >&5
    3180 sed 's/^/| /' conftest.$ac_ext >&5
    3181 
    3182 ac_cv_cxx_have_rtti=no
    3183 fi
    3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3185 
    3186 fi
    3187 
    3188   echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_rtti}" >&5
    3189 echo "${ECHO_T}${ac_cv_cxx_have_rtti}" >&6
     1261  echo "configure: failed program was:" >&5
     1262  cat conftest.$ac_ext >&5
     1263  rm -rf conftest*
     1264  ac_cv_cxx_have_rtti=no
     1265fi
     1266rm -f conftest*
     1267 
     1268fi
     1269
     1270  echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6
    31901271  if test "${ac_cv_cxx_have_rtti}" != yes; then
    31911272  CXXFLAGS=$temp_flags
     
    31951276
    31961277# check whether gcc accepts --no-exceptions
    3197   echo "$as_me:$LINENO: checking whether gcc accepts --no-exceptions" >&5
    3198 echo $ECHO_N "checking whether gcc accepts --no-exceptions... $ECHO_C" >&6
     1278  echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
     1279echo "configure:1280: checking whether gcc accepts --no-exceptions" >&5
    31991280  CXXFLAGS="${CXXFLAGS} --no-exceptions"
    3200   if test "${ac_cv_cxx_have_exceptions+set}" = set; then
    3201   echo $ECHO_N "(cached) $ECHO_C" >&6
    3202 else
    3203   cat >conftest.$ac_ext <<_ACEOF
    3204 /* confdefs.h.  */
    3205 _ACEOF
    3206 cat confdefs.h >>conftest.$ac_ext
    3207 cat >>conftest.$ac_ext <<_ACEOF
    3208 /* end confdefs.h.  */
    3209 
    3210 int
    3211 main ()
    3212 {
    3213 
    3214   ;
    3215   return 0;
    3216 }
    3217 _ACEOF
    3218 rm -f conftest.$ac_objext conftest$ac_exeext
    3219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3220   (eval $ac_link) 2>conftest.er1
    3221   ac_status=$?
    3222   grep -v '^ *+' conftest.er1 >conftest.err
    3223   rm -f conftest.er1
    3224   cat conftest.err >&5
    3225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3226   (exit $ac_status); } &&
    3227          { ac_try='test -z "$ac_cxx_werror_flag"
    3228                          || test ! -s conftest.err'
    3229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3230   (eval $ac_try) 2>&5
    3231   ac_status=$?
    3232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3233   (exit $ac_status); }; } &&
    3234          { ac_try='test -s conftest$ac_exeext'
    3235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3236   (eval $ac_try) 2>&5
    3237   ac_status=$?
    3238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3239   (exit $ac_status); }; }; then
     1281  if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     1282  echo $ac_n "(cached) $ac_c" 1>&6
     1283else
     1284  cat > conftest.$ac_ext <<EOF
     1285#line 1286 "configure"
     1286#include "confdefs.h"
     1287
     1288int main() {
     1289
     1290; return 0; }
     1291EOF
     1292if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1293  rm -rf conftest*
    32401294  ac_cv_cxx_have_exceptions=yes
    32411295else
    3242   echo "$as_me: failed program was:" >&5
    3243 sed 's/^/| /' conftest.$ac_ext >&5
    3244 
    3245 ac_cv_cxx_have_exceptions=no
    3246 fi
    3247 rm -f conftest.err conftest.$ac_objext \
    3248       conftest$ac_exeext conftest.$ac_ext
    3249 
    3250 fi
    3251 
    3252   echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_exceptions}" >&5
    3253 echo "${ECHO_T}${ac_cv_cxx_have_exceptions}" >&6
     1296  echo "configure: failed program was:" >&5
     1297  cat conftest.$ac_ext >&5
     1298  rm -rf conftest*
     1299  ac_cv_cxx_have_exceptions=no
     1300fi
     1301rm -f conftest*
     1302 
     1303fi
     1304
     1305  echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6
    32541306  if test "${ac_cv_cxx_have_exceptions}" != yes; then
    32551307  CXXFLAGS=$temp_flags
     
    32591311
    32601312  ac_ext=c
     1313# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    32611314ac_cpp='$CPP $CPPFLAGS'
    3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1315ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1316ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1317cross_compiling=$ac_cv_prog_cc_cross
    32651318
    32661319  #CXXFLAGS=$temp_flags
     
    32711324
    32721325# check whether the compiler accepts -pipe
    3273 echo "$as_me:$LINENO: checking whether compiler accepts -pipe" >&5
    3274 echo $ECHO_N "checking whether compiler accepts -pipe... $ECHO_C" >&6
     1326echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
     1327echo "configure:1328: checking whether compiler accepts -pipe" >&5
    32751328temp_cflags=${CFLAGS}
    32761329CFLAGS="${CFLAGS} -pipe"
    3277 if test "${ac_cv_cxx_have_pipe+set}" = set; then
    3278   echo $ECHO_N "(cached) $ECHO_C" >&6
    3279 else
    3280   cat >conftest.$ac_ext <<_ACEOF
    3281 /* confdefs.h.  */
    3282 _ACEOF
    3283 cat confdefs.h >>conftest.$ac_ext
    3284 cat >>conftest.$ac_ext <<_ACEOF
    3285 /* end confdefs.h.  */
    3286 
    3287 int
    3288 main ()
    3289 {
    3290 
    3291   ;
    3292   return 0;
    3293 }
    3294 _ACEOF
    3295 rm -f conftest.$ac_objext
    3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3297   (eval $ac_compile) 2>conftest.er1
    3298   ac_status=$?
    3299   grep -v '^ *+' conftest.er1 >conftest.err
    3300   rm -f conftest.er1
    3301   cat conftest.err >&5
    3302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3303   (exit $ac_status); } &&
    3304          { ac_try='test -z "$ac_c_werror_flag"
    3305                          || test ! -s conftest.err'
    3306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3307   (eval $ac_try) 2>&5
    3308   ac_status=$?
    3309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3310   (exit $ac_status); }; } &&
    3311          { ac_try='test -s conftest.$ac_objext'
    3312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3313   (eval $ac_try) 2>&5
    3314   ac_status=$?
    3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3316   (exit $ac_status); }; }; then
     1330if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then
     1331  echo $ac_n "(cached) $ac_c" 1>&6
     1332else
     1333  cat > conftest.$ac_ext <<EOF
     1334#line 1335 "configure"
     1335#include "confdefs.h"
     1336
     1337int main() {
     1338
     1339; return 0; }
     1340EOF
     1341if { (eval echo configure:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1342  rm -rf conftest*
    33171343  ac_cv_cxx_have_pipe=yes
    33181344else
    3319   echo "$as_me: failed program was:" >&5
    3320 sed 's/^/| /' conftest.$ac_ext >&5
    3321 
    3322 ac_cv_cxx_have_pipe=no
    3323 fi
    3324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3325 
    3326 fi
    3327 
    3328 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_pipe}" >&5
    3329 echo "${ECHO_T}${ac_cv_cxx_have_pipe}" >&6
     1345  echo "configure: failed program was:" >&5
     1346  cat conftest.$ac_ext >&5
     1347  rm -rf conftest*
     1348  ac_cv_cxx_have_pipe=no
     1349fi
     1350rm -f conftest*
     1351
     1352fi
     1353
     1354echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6
    33301355CFLAGS=${temp_cflags}
    33311356if test "${ac_cv_cxx_have_pipe}" != yes; then
     
    33371362
    33381363# Customize CFLAGS
    3339 echo "$as_me:$LINENO: checking whether _AIX is defined" >&5
    3340 echo $ECHO_N "checking whether _AIX is defined... $ECHO_C" >&6
    3341 if test "${ac_cv_is_aix+set}" = set; then
    3342   echo $ECHO_N "(cached) $ECHO_C" >&6
    3343 else
    3344   cat >conftest.$ac_ext <<_ACEOF
    3345 /* confdefs.h.  */
    3346 _ACEOF
    3347 cat confdefs.h >>conftest.$ac_ext
    3348 cat >>conftest.$ac_ext <<_ACEOF
    3349 /* end confdefs.h.  */
     1364echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
     1365echo "configure:1366: checking whether _AIX is defined" >&5
     1366if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
     1367  echo $ac_n "(cached) $ac_c" 1>&6
     1368else
     1369  cat > conftest.$ac_ext <<EOF
     1370#line 1371 "configure"
     1371#include "confdefs.h"
    33501372#ifdef _AIX
    33511373    yes
    33521374#endif
    33531375
    3354 _ACEOF
     1376EOF
    33551377if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3356   $EGREP "yes" >/dev/null 2>&1; then
     1378  egrep "yes" >/dev/null 2>&1; then
     1379  rm -rf conftest*
    33571380  ac_cv_is_aix=yes
    33581381else
     1382  rm -rf conftest*
    33591383  ac_cv_is_aix=no
    33601384fi
     
    33641388
    33651389if test "$ac_cv_is_aix" = yes; then
    3366   echo "$as_me:$LINENO: result: yes" >&5
    3367 echo "${ECHO_T}yes" >&6
    3368 else
    3369   echo "$as_me:$LINENO: result: no" >&5
    3370 echo "${ECHO_T}no" >&6
     1390  echo "$ac_t""yes" 1>&6
     1391else
     1392  echo "$ac_t""no" 1>&6
    33711393fi
    33721394
     
    33961418fi
    33971419
    3398 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3399 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3400 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3401 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    3402   echo $ECHO_N "(cached) $ECHO_C" >&6
    3403 else
    3404   cat >conftest.make <<\_ACEOF
     1420echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
     1421echo "configure:1422: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1422set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     1423if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     1424  echo $ac_n "(cached) $ac_c" 1>&6
     1425else
     1426  cat > conftestmake <<\EOF
    34051427all:
    3406         @echo 'ac_maketemp="$(MAKE)"'
    3407 _ACEOF
     1428        @echo 'ac_maketemp="${MAKE}"'
     1429EOF
    34081430# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3409 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     1431eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
    34101432if test -n "$ac_maketemp"; then
    34111433  eval ac_cv_prog_make_${ac_make}_set=yes
     
    34131435  eval ac_cv_prog_make_${ac_make}_set=no
    34141436fi
    3415 rm -f conftest.make
     1437rm -f conftestmake
    34161438fi
    34171439if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3418   echo "$as_me:$LINENO: result: yes" >&5
    3419 echo "${ECHO_T}yes" >&6
     1440  echo "$ac_t""yes" 1>&6
    34201441  SET_MAKE=
    34211442else
    3422   echo "$as_me:$LINENO: result: no" >&5
    3423 echo "${ECHO_T}no" >&6
     1443  echo "$ac_t""no" 1>&6
    34241444  SET_MAKE="MAKE=${MAKE-make}"
    34251445fi
     
    34321452test "x$prefix" = xNONE && prefix=$ac_default_prefix
    34331453if test "${with_rootdir+set}" != set; then
    3434   cat >>confdefs.h <<_ACEOF
     1454  cat >> confdefs.h <<EOF
    34351455#define S_ROOT_DIR "${prefix}"
    3436 _ACEOF
    3437 
    3438 else
    3439   cat >>confdefs.h <<_ACEOF
     1456EOF
     1457
     1458else
     1459  cat >> confdefs.h <<EOF
    34401460#define S_ROOT_DIR "${with_rootdir}"
    3441 _ACEOF
     1461EOF
    34421462
    34431463fi
     
    34521472SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION}
    34531473
    3454 cat >>confdefs.h <<_ACEOF
     1474cat >> confdefs.h <<EOF
    34551475#define S_BIN_DIR "${bindir}"
    3456 _ACEOF
     1476EOF
    34571477
    34581478
     
    34811501# lex
    34821502if test "${with_lex+set}" != set; then
    3483   echo "$as_me:$LINENO: checking for flex" >&5
    3484 echo $ECHO_N "checking for flex... $ECHO_C" >&6
     1503  echo $ac_n "checking for flex""... $ac_c" 1>&6
     1504echo "configure:1505: checking for flex" >&5
    34851505    cmd="egrep [2-9]\.[5-9]"
    3486     if test "${ac_cv_prog_flex+set}" = set; then
    3487   echo $ECHO_N "(cached) $ECHO_C" >&6
     1506    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
     1507  echo $ac_n "(cached) $ac_c" 1>&6
    34881508else
    34891509  if (flex --version >/dev/null 2>&1)
     
    34941514    fi
    34951515  fi
    3496 
     1516 
    34971517fi
    34981518
    34991519    if test "${ac_cv_prog_flex+set}" = set; then
    3500     echo "$as_me:$LINENO: result: flex" >&5
    3501 echo "${ECHO_T}flex" >&6
     1520    echo "$ac_t""flex" 1>&6
    35021521    LEX=flex
    3503 
     1522   
    35041523  else
    3505     { { echo "$as_me:$LINENO: error: can not find flex with version greater 2.4" >&5
    3506 echo "$as_me: error: can not find flex with version greater 2.4" >&2;}
    3507    { (exit 1); exit 1; }; }
     1524    { echo "configure: error: can not find flex with version greater 2.4" 1>&2; exit 1; }
    35081525  fi
    35091526elif test "${with_lex}" = no; then
    3510   { echo "$as_me:$LINENO: WARNING: building without lex -- make might fail" >&5
    3511 echo "$as_me: WARNING: building without lex -- make might fail" >&2;}
     1527  echo "configure: warning: building without lex -- make might fail" 1>&2
    35121528else
    35131529  unset LEX
     
    35151531  for ac_prog in ${with_lex}
    35161532do
    3517   # Extract the first word of "$ac_prog", so it can be a program name with args.
     1533# Extract the first word of "$ac_prog", so it can be a program name with args.
    35181534set dummy $ac_prog; ac_word=$2
    3519 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3521 if test "${ac_cv_prog_LEX+set}" = set; then
    3522   echo $ECHO_N "(cached) $ECHO_C" >&6
     1535echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1536echo "configure:1537: checking for $ac_word" >&5
     1537if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
     1538  echo $ac_n "(cached) $ac_c" 1>&6
    35231539else
    35241540  if test -n "$LEX"; then
    35251541  ac_cv_prog_LEX="$LEX" # Let the user override the test.
    35261542else
    3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3528 for as_dir in $PATH
    3529 do
    3530   IFS=$as_save_IFS
    3531   test -z "$as_dir" && as_dir=.
    3532   for ac_exec_ext in '' $ac_executable_extensions; do
    3533   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3534     ac_cv_prog_LEX="$ac_prog"
    3535     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3536     break 2
    3537   fi
     1543  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1544  ac_dummy="$PATH"
     1545  for ac_dir in $ac_dummy; do
     1546    test -z "$ac_dir" && ac_dir=.
     1547    if test -f $ac_dir/$ac_word; then
     1548      ac_cv_prog_LEX="$ac_prog"
     1549      break
     1550    fi
     1551  done
     1552  IFS="$ac_save_ifs"
     1553fi
     1554fi
     1555LEX="$ac_cv_prog_LEX"
     1556if test -n "$LEX"; then
     1557  echo "$ac_t""$LEX" 1>&6
     1558else
     1559  echo "$ac_t""no" 1>&6
     1560fi
     1561
     1562test -n "$LEX" && break
    35381563done
    3539 done
    3540 
    3541 fi
    3542 fi
    3543 LEX=$ac_cv_prog_LEX
    3544 if test -n "$LEX"; then
    3545   echo "$as_me:$LINENO: result: $LEX" >&5
    3546 echo "${ECHO_T}$LEX" >&6
    3547 else
    3548   echo "$as_me:$LINENO: result: no" >&5
    3549 echo "${ECHO_T}no" >&6
    3550 fi
    3551 
    3552   test -n "$LEX" && break
    3553 done
    35541564
    35551565  if test "x${LEX}" = x; then
    3556     { echo "$as_me:$LINENO: WARNING: building without lex -- make might fail" >&5
    3557 echo "$as_me: WARNING: building without lex -- make might fail" >&2;}
     1566    echo "configure: warning: building without lex -- make might fail" 1>&2
    35581567  fi
    35591568fi
     
    35621571for ac_prog in bison
    35631572do
    3564   # Extract the first word of "$ac_prog", so it can be a program name with args.
     1573# Extract the first word of "$ac_prog", so it can be a program name with args.
    35651574set dummy $ac_prog; ac_word=$2
    3566 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3568 if test "${ac_cv_prog_BISON+set}" = set; then
    3569   echo $ECHO_N "(cached) $ECHO_C" >&6
     1575echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1576echo "configure:1577: checking for $ac_word" >&5
     1577if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
     1578  echo $ac_n "(cached) $ac_c" 1>&6
    35701579else
    35711580  if test -n "$BISON"; then
    35721581  ac_cv_prog_BISON="$BISON" # Let the user override the test.
    35731582else
    3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3575 for as_dir in $PATH
    3576 do
    3577   IFS=$as_save_IFS
    3578   test -z "$as_dir" && as_dir=.
    3579   for ac_exec_ext in '' $ac_executable_extensions; do
    3580   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3581     ac_cv_prog_BISON="$ac_prog"
    3582     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3583     break 2
    3584   fi
     1583  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1584  ac_dummy="$PATH"
     1585  for ac_dir in $ac_dummy; do
     1586    test -z "$ac_dir" && ac_dir=.
     1587    if test -f $ac_dir/$ac_word; then
     1588      ac_cv_prog_BISON="$ac_prog"
     1589      break
     1590    fi
     1591  done
     1592  IFS="$ac_save_ifs"
     1593fi
     1594fi
     1595BISON="$ac_cv_prog_BISON"
     1596if test -n "$BISON"; then
     1597  echo "$ac_t""$BISON" 1>&6
     1598else
     1599  echo "$ac_t""no" 1>&6
     1600fi
     1601
     1602test -n "$BISON" && break
    35851603done
    3586 done
    3587 
    3588 fi
    3589 fi
    3590 BISON=$ac_cv_prog_BISON
    3591 if test -n "$BISON"; then
    3592   echo "$as_me:$LINENO: result: $BISON" >&5
    3593 echo "${ECHO_T}$BISON" >&6
    3594 else
    3595   echo "$as_me:$LINENO: result: no" >&5
    3596 echo "${ECHO_T}no" >&6
    3597 fi
    3598 
    3599   test -n "$BISON" && break
    3600 done
    36011604
    36021605if test "${BISON+set}" != set; then
    3603   { echo "$as_me:$LINENO: WARNING: did not find bison -- make might fail" >&5
    3604 echo "$as_me: WARNING: did not find bison -- make might fail" >&2;}
     1606  echo "configure: warning: did not find bison -- make might fail" 1>&2
    36051607fi
    36061608
    36071609# ln -s
    3608 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3609 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    3610 LN_S=$as_ln_s
    3611 if test "$LN_S" = "ln -s"; then
    3612   echo "$as_me:$LINENO: result: yes" >&5
    3613 echo "${ECHO_T}yes" >&6
    3614 else
    3615   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3616 echo "${ECHO_T}no, using $LN_S" >&6
     1610echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
     1611echo "configure:1612: checking whether ln -s works" >&5
     1612if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
     1613  echo $ac_n "(cached) $ac_c" 1>&6
     1614else
     1615  rm -f conftestdata
     1616if ln -s X conftestdata 2>/dev/null
     1617then
     1618  rm -f conftestdata
     1619  ac_cv_prog_LN_S="ln -s"
     1620else
     1621  ac_cv_prog_LN_S=ln
     1622fi
     1623fi
     1624LN_S="$ac_cv_prog_LN_S"
     1625if test "$ac_cv_prog_LN_S" = "ln -s"; then
     1626  echo "$ac_t""yes" 1>&6
     1627else
     1628  echo "$ac_t""no" 1>&6
    36171629fi
    36181630
     
    36201632for ac_prog in perl5 perl
    36211633do
    3622   # Extract the first word of "$ac_prog", so it can be a program name with args.
     1634# Extract the first word of "$ac_prog", so it can be a program name with args.
    36231635set dummy $ac_prog; ac_word=$2
    3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3626 if test "${ac_cv_prog_PERL+set}" = set; then
    3627   echo $ECHO_N "(cached) $ECHO_C" >&6
     1636echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1637echo "configure:1638: checking for $ac_word" >&5
     1638if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
     1639  echo $ac_n "(cached) $ac_c" 1>&6
    36281640else
    36291641  if test -n "$PERL"; then
    36301642  ac_cv_prog_PERL="$PERL" # Let the user override the test.
    36311643else
    3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3633 for as_dir in $PATH
    3634 do
    3635   IFS=$as_save_IFS
    3636   test -z "$as_dir" && as_dir=.
    3637   for ac_exec_ext in '' $ac_executable_extensions; do
    3638   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3639     ac_cv_prog_PERL="$ac_prog"
    3640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3641     break 2
    3642   fi
    3643 done
    3644 done
    3645 
    3646 fi
    3647 fi
    3648 PERL=$ac_cv_prog_PERL
     1644  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1645  ac_dummy="$PATH"
     1646  for ac_dir in $ac_dummy; do
     1647    test -z "$ac_dir" && ac_dir=.
     1648    if test -f $ac_dir/$ac_word; then
     1649      ac_cv_prog_PERL="$ac_prog"
     1650      break
     1651    fi
     1652  done
     1653  IFS="$ac_save_ifs"
     1654fi
     1655fi
     1656PERL="$ac_cv_prog_PERL"
    36491657if test -n "$PERL"; then
    3650   echo "$as_me:$LINENO: result: $PERL" >&5
    3651 echo "${ECHO_T}$PERL" >&6
    3652 else
    3653   echo "$as_me:$LINENO: result: no" >&5
    3654 echo "${ECHO_T}no" >&6
    3655 fi
    3656 
    3657   test -n "$PERL" && break
     1658  echo "$ac_t""$PERL" 1>&6
     1659else
     1660  echo "$ac_t""no" 1>&6
     1661fi
     1662
     1663test -n "$PERL" && break
    36581664done
    36591665
     
    36631669# it really is the last thing to link with
    36641670if test "$ac_cv_singuname" != ix86-Win; then
    3665 
    3666 echo "$as_me:$LINENO: checking for atof in -lm" >&5
    3667 echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6
    3668 if test "${ac_cv_lib_m_atof+set}" = set; then
    3669   echo $ECHO_N "(cached) $ECHO_C" >&6
    3670 else
    3671   ac_check_lib_save_LIBS=$LIBS
     1671echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
     1672echo "configure:1673: checking for atof in -lm" >&5
     1673ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
     1674if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1675  echo $ac_n "(cached) $ac_c" 1>&6
     1676else
     1677  ac_save_LIBS="$LIBS"
    36721678LIBS="-lm  $LIBS"
    3673 cat >conftest.$ac_ext <<_ACEOF
    3674 /* confdefs.h.  */
    3675 _ACEOF
    3676 cat confdefs.h >>conftest.$ac_ext
    3677 cat >>conftest.$ac_ext <<_ACEOF
    3678 /* end confdefs.h.  */
    3679 
     1679cat > conftest.$ac_ext <<EOF
     1680#line 1681 "configure"
     1681#include "confdefs.h"
    36801682/* Override any gcc2 internal prototype to avoid an error.  */
    3681 #ifdef __cplusplus
    3682 extern "C"
    3683 #endif
    36841683/* We use char because int might match the return type of a gcc2
    3685    builtin and then its argument prototype would still apply.  */
    3686 char atof ();
    3687 int
    3688 main ()
    3689 {
    3690 atof ();
    3691   ;
    3692   return 0;
    3693 }
    3694 _ACEOF
    3695 rm -f conftest.$ac_objext conftest$ac_exeext
    3696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3697   (eval $ac_link) 2>conftest.er1
    3698   ac_status=$?
    3699   grep -v '^ *+' conftest.er1 >conftest.err
    3700   rm -f conftest.er1
    3701   cat conftest.err >&5
    3702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3703   (exit $ac_status); } &&
    3704          { ac_try='test -z "$ac_c_werror_flag"
    3705                          || test ! -s conftest.err'
    3706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3707   (eval $ac_try) 2>&5
    3708   ac_status=$?
    3709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3710   (exit $ac_status); }; } &&
    3711          { ac_try='test -s conftest$ac_exeext'
    3712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3713   (eval $ac_try) 2>&5
    3714   ac_status=$?
    3715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3716   (exit $ac_status); }; }; then
    3717   ac_cv_lib_m_atof=yes
    3718 else
    3719   echo "$as_me: failed program was:" >&5
    3720 sed 's/^/| /' conftest.$ac_ext >&5
    3721 
    3722 ac_cv_lib_m_atof=no
    3723 fi
    3724 rm -f conftest.err conftest.$ac_objext \
    3725       conftest$ac_exeext conftest.$ac_ext
    3726 LIBS=$ac_check_lib_save_LIBS
    3727 fi
    3728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5
    3729 echo "${ECHO_T}$ac_cv_lib_m_atof" >&6
    3730 if test $ac_cv_lib_m_atof = yes; then
    3731   cat >>confdefs.h <<_ACEOF
    3732 #define HAVE_LIBM 1
    3733 _ACEOF
     1684    builtin and then its argument prototype would still apply.  */
     1685char atof();
     1686
     1687int main() {
     1688atof()
     1689; return 0; }
     1690EOF
     1691if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1692  rm -rf conftest*
     1693  eval "ac_cv_lib_$ac_lib_var=yes"
     1694else
     1695  echo "configure: failed program was:" >&5
     1696  cat conftest.$ac_ext >&5
     1697  rm -rf conftest*
     1698  eval "ac_cv_lib_$ac_lib_var=no"
     1699fi
     1700rm -f conftest*
     1701LIBS="$ac_save_LIBS"
     1702
     1703fi
     1704if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1705  echo "$ac_t""yes" 1>&6
     1706    ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1707    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1708  cat >> confdefs.h <<EOF
     1709#define $ac_tr_lib 1
     1710EOF
    37341711
    37351712  LIBS="-lm $LIBS"
    37361713
     1714else
     1715  echo "$ac_t""no" 1>&6
    37371716fi
    37381717
     
    37441723case "$ac_cv_singuname" in
    37451724        HPUX*)
    3746 
    3747 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    3748 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
    3749 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    3750   echo $ECHO_N "(cached) $ECHO_C" >&6
    3751 else
    3752   ac_check_lib_save_LIBS=$LIBS
     1725          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
     1726echo "configure:1727: checking for shl_load in -ldld" >&5
     1727ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
     1728if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1729  echo $ac_n "(cached) $ac_c" 1>&6
     1730else
     1731  ac_save_LIBS="$LIBS"
    37531732LIBS="-ldld  $LIBS"
    3754 cat >conftest.$ac_ext <<_ACEOF
    3755 /* confdefs.h.  */
    3756 _ACEOF
    3757 cat confdefs.h >>conftest.$ac_ext
    3758 cat >>conftest.$ac_ext <<_ACEOF
    3759 /* end confdefs.h.  */
    3760 
     1733cat > conftest.$ac_ext <<EOF
     1734#line 1735 "configure"
     1735#include "confdefs.h"
    37611736/* Override any gcc2 internal prototype to avoid an error.  */
    3762 #ifdef __cplusplus
    3763 extern "C"
    3764 #endif
    37651737/* We use char because int might match the return type of a gcc2
    3766    builtin and then its argument prototype would still apply.  */
    3767 char shl_load ();
    3768 int
    3769 main ()
    3770 {
    3771 shl_load ();
    3772   ;
    3773   return 0;
    3774 }
    3775 _ACEOF
    3776 rm -f conftest.$ac_objext conftest$ac_exeext
    3777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3778   (eval $ac_link) 2>conftest.er1
    3779   ac_status=$?
    3780   grep -v '^ *+' conftest.er1 >conftest.err
    3781   rm -f conftest.er1
    3782   cat conftest.err >&5
    3783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3784   (exit $ac_status); } &&
    3785          { ac_try='test -z "$ac_c_werror_flag"
    3786                          || test ! -s conftest.err'
    3787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3788   (eval $ac_try) 2>&5
    3789   ac_status=$?
    3790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3791   (exit $ac_status); }; } &&
    3792          { ac_try='test -s conftest$ac_exeext'
    3793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3794   (eval $ac_try) 2>&5
    3795   ac_status=$?
    3796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3797   (exit $ac_status); }; }; then
    3798   ac_cv_lib_dld_shl_load=yes
    3799 else
    3800   echo "$as_me: failed program was:" >&5
    3801 sed 's/^/| /' conftest.$ac_ext >&5
    3802 
    3803 ac_cv_lib_dld_shl_load=no
    3804 fi
    3805 rm -f conftest.err conftest.$ac_objext \
    3806       conftest$ac_exeext conftest.$ac_ext
    3807 LIBS=$ac_check_lib_save_LIBS
    3808 fi
    3809 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    3810 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
    3811 if test $ac_cv_lib_dld_shl_load = yes; then
    3812   cat >>confdefs.h <<_ACEOF
    3813 #define HAVE_LIBDLD 1
    3814 _ACEOF
     1738    builtin and then its argument prototype would still apply.  */
     1739char shl_load();
     1740
     1741int main() {
     1742shl_load()
     1743; return 0; }
     1744EOF
     1745if { (eval echo configure:1746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1746  rm -rf conftest*
     1747  eval "ac_cv_lib_$ac_lib_var=yes"
     1748else
     1749  echo "configure: failed program was:" >&5
     1750  cat conftest.$ac_ext >&5
     1751  rm -rf conftest*
     1752  eval "ac_cv_lib_$ac_lib_var=no"
     1753fi
     1754rm -f conftest*
     1755LIBS="$ac_save_LIBS"
     1756
     1757fi
     1758if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1759  echo "$ac_t""yes" 1>&6
     1760    ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1761    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1762  cat >> confdefs.h <<EOF
     1763#define $ac_tr_lib 1
     1764EOF
    38151765
    38161766  LIBS="-ldld $LIBS"
    38171767
     1768else
     1769  echo "$ac_t""no" 1>&6
    38181770fi
    38191771
     
    38271779        ;;
    38281780        *Linux*)
    3829 
    3830 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    3831 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    3832 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    3833   echo $ECHO_N "(cached) $ECHO_C" >&6
    3834 else
    3835   ac_check_lib_save_LIBS=$LIBS
     1781          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
     1782echo "configure:1783: checking for dlopen in -ldl" >&5
     1783ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
     1784if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1785  echo $ac_n "(cached) $ac_c" 1>&6
     1786else
     1787  ac_save_LIBS="$LIBS"
    38361788LIBS="-ldl  $LIBS"
    3837 cat >conftest.$ac_ext <<_ACEOF
    3838 /* confdefs.h.  */
    3839 _ACEOF
    3840 cat confdefs.h >>conftest.$ac_ext
    3841 cat >>conftest.$ac_ext <<_ACEOF
    3842 /* end confdefs.h.  */
    3843 
     1789cat > conftest.$ac_ext <<EOF
     1790#line 1791 "configure"
     1791#include "confdefs.h"
    38441792/* Override any gcc2 internal prototype to avoid an error.  */
    3845 #ifdef __cplusplus
    3846 extern "C"
    3847 #endif
    38481793/* We use char because int might match the return type of a gcc2
    3849    builtin and then its argument prototype would still apply.  */
    3850 char dlopen ();
    3851 int
    3852 main ()
    3853 {
    3854 dlopen ();
    3855   ;
    3856   return 0;
    3857 }
    3858 _ACEOF
    3859 rm -f conftest.$ac_objext conftest$ac_exeext
    3860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3861   (eval $ac_link) 2>conftest.er1
    3862   ac_status=$?
    3863   grep -v '^ *+' conftest.er1 >conftest.err
    3864   rm -f conftest.er1
    3865   cat conftest.err >&5
    3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3867   (exit $ac_status); } &&
    3868          { ac_try='test -z "$ac_c_werror_flag"
    3869                          || test ! -s conftest.err'
    3870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3871   (eval $ac_try) 2>&5
    3872   ac_status=$?
    3873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3874   (exit $ac_status); }; } &&
    3875          { ac_try='test -s conftest$ac_exeext'
    3876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3877   (eval $ac_try) 2>&5
    3878   ac_status=$?
    3879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3880   (exit $ac_status); }; }; then
    3881   ac_cv_lib_dl_dlopen=yes
    3882 else
    3883   echo "$as_me: failed program was:" >&5
    3884 sed 's/^/| /' conftest.$ac_ext >&5
    3885 
    3886 ac_cv_lib_dl_dlopen=no
    3887 fi
    3888 rm -f conftest.err conftest.$ac_objext \
    3889       conftest$ac_exeext conftest.$ac_ext
    3890 LIBS=$ac_check_lib_save_LIBS
    3891 fi
    3892 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    3893 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    3894 if test $ac_cv_lib_dl_dlopen = yes; then
    3895   cat >>confdefs.h <<_ACEOF
    3896 #define HAVE_LIBDL 1
    3897 _ACEOF
     1794    builtin and then its argument prototype would still apply.  */
     1795char dlopen();
     1796
     1797int main() {
     1798dlopen()
     1799; return 0; }
     1800EOF
     1801if { (eval echo configure:1802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1802  rm -rf conftest*
     1803  eval "ac_cv_lib_$ac_lib_var=yes"
     1804else
     1805  echo "configure: failed program was:" >&5
     1806  cat conftest.$ac_ext >&5
     1807  rm -rf conftest*
     1808  eval "ac_cv_lib_$ac_lib_var=no"
     1809fi
     1810rm -f conftest*
     1811LIBS="$ac_save_LIBS"
     1812
     1813fi
     1814if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1815  echo "$ac_t""yes" 1>&6
     1816    ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1817    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1818  cat >> confdefs.h <<EOF
     1819#define $ac_tr_lib 1
     1820EOF
    38981821
    38991822  LIBS="-ldl $LIBS"
    39001823
     1824else
     1825  echo "$ac_t""no" 1>&6
    39011826fi
    39021827
     
    39171842        ;;
    39181843        SunOS-5)
    3919 
    3920 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    3921 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    3922 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    3923   echo $ECHO_N "(cached) $ECHO_C" >&6
    3924 else
    3925   ac_check_lib_save_LIBS=$LIBS
     1844          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
     1845echo "configure:1846: checking for dlopen in -ldl" >&5
     1846ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
     1847if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1848  echo $ac_n "(cached) $ac_c" 1>&6
     1849else
     1850  ac_save_LIBS="$LIBS"
    39261851LIBS="-ldl  $LIBS"
    3927 cat >conftest.$ac_ext <<_ACEOF
    3928 /* confdefs.h.  */
    3929 _ACEOF
    3930 cat confdefs.h >>conftest.$ac_ext
    3931 cat >>conftest.$ac_ext <<_ACEOF
    3932 /* end confdefs.h.  */
    3933 
     1852cat > conftest.$ac_ext <<EOF
     1853#line 1854 "configure"
     1854#include "confdefs.h"
    39341855/* Override any gcc2 internal prototype to avoid an error.  */
    3935 #ifdef __cplusplus
    3936 extern "C"
    3937 #endif
    39381856/* We use char because int might match the return type of a gcc2
    3939    builtin and then its argument prototype would still apply.  */
    3940 char dlopen ();
    3941 int
    3942 main ()
    3943 {
    3944 dlopen ();
    3945   ;
    3946   return 0;
    3947 }
    3948 _ACEOF
    3949 rm -f conftest.$ac_objext conftest$ac_exeext
    3950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3951   (eval $ac_link) 2>conftest.er1
    3952   ac_status=$?
    3953   grep -v '^ *+' conftest.er1 >conftest.err
    3954   rm -f conftest.er1
    3955   cat conftest.err >&5
    3956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3957   (exit $ac_status); } &&
    3958          { ac_try='test -z "$ac_c_werror_flag"
    3959                          || test ! -s conftest.err'
    3960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3961   (eval $ac_try) 2>&5
    3962   ac_status=$?
    3963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3964   (exit $ac_status); }; } &&
    3965          { ac_try='test -s conftest$ac_exeext'
    3966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3967   (eval $ac_try) 2>&5
    3968   ac_status=$?
    3969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3970   (exit $ac_status); }; }; then
    3971   ac_cv_lib_dl_dlopen=yes
    3972 else
    3973   echo "$as_me: failed program was:" >&5
    3974 sed 's/^/| /' conftest.$ac_ext >&5
    3975 
    3976 ac_cv_lib_dl_dlopen=no
    3977 fi
    3978 rm -f conftest.err conftest.$ac_objext \
    3979       conftest$ac_exeext conftest.$ac_ext
    3980 LIBS=$ac_check_lib_save_LIBS
    3981 fi
    3982 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    3983 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    3984 if test $ac_cv_lib_dl_dlopen = yes; then
    3985   cat >>confdefs.h <<_ACEOF
    3986 #define HAVE_LIBDL 1
    3987 _ACEOF
     1857    builtin and then its argument prototype would still apply.  */
     1858char dlopen();
     1859
     1860int main() {
     1861dlopen()
     1862; return 0; }
     1863EOF
     1864if { (eval echo configure:1865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1865  rm -rf conftest*
     1866  eval "ac_cv_lib_$ac_lib_var=yes"
     1867else
     1868  echo "configure: failed program was:" >&5
     1869  cat conftest.$ac_ext >&5
     1870  rm -rf conftest*
     1871  eval "ac_cv_lib_$ac_lib_var=no"
     1872fi
     1873rm -f conftest*
     1874LIBS="$ac_save_LIBS"
     1875
     1876fi
     1877if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1878  echo "$ac_t""yes" 1>&6
     1879    ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1880    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1881  cat >> confdefs.h <<EOF
     1882#define $ac_tr_lib 1
     1883EOF
    39881884
    39891885  LIBS="-ldl $LIBS"
    39901886
     1887else
     1888  echo "$ac_t""no" 1>&6
    39911889fi
    39921890
     
    40081906
    40091907# heder file checks
    4010 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4011 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    4012 if test "${ac_cv_header_stdc+set}" = set; then
    4013   echo $ECHO_N "(cached) $ECHO_C" >&6
    4014 else
    4015   cat >conftest.$ac_ext <<_ACEOF
    4016 /* confdefs.h.  */
    4017 _ACEOF
    4018 cat confdefs.h >>conftest.$ac_ext
    4019 cat >>conftest.$ac_ext <<_ACEOF
    4020 /* end confdefs.h.  */
     1908echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
     1909echo "configure:1910: checking for ANSI C header files" >&5
     1910if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
     1911  echo $ac_n "(cached) $ac_c" 1>&6
     1912else
     1913  cat > conftest.$ac_ext <<EOF
     1914#line 1915 "configure"
     1915#include "confdefs.h"
    40211916#include <stdlib.h>
    40221917#include <stdarg.h>
    40231918#include <string.h>
    40241919#include <float.h>
    4025 
    4026 int
    4027 main ()
    4028 {
    4029 
    4030   ;
    4031   return 0;
    4032 }
    4033 _ACEOF
    4034 rm -f conftest.$ac_objext
    4035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4036   (eval $ac_compile) 2>conftest.er1
    4037   ac_status=$?
    4038   grep -v '^ *+' conftest.er1 >conftest.err
    4039   rm -f conftest.er1
    4040   cat conftest.err >&5
    4041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4042   (exit $ac_status); } &&
    4043          { ac_try='test -z "$ac_c_werror_flag"
    4044                          || test ! -s conftest.err'
    4045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4046   (eval $ac_try) 2>&5
    4047   ac_status=$?
    4048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4049   (exit $ac_status); }; } &&
    4050          { ac_try='test -s conftest.$ac_objext'
    4051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4052   (eval $ac_try) 2>&5
    4053   ac_status=$?
    4054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4055   (exit $ac_status); }; }; then
     1920EOF
     1921ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     1922{ (eval echo configure:1923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1923ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     1924if test -z "$ac_err"; then
     1925  rm -rf conftest*
    40561926  ac_cv_header_stdc=yes
    40571927else
    4058   echo "$as_me: failed program was:" >&5
    4059 sed 's/^/| /' conftest.$ac_ext >&5
    4060 
    4061 ac_cv_header_stdc=no
    4062 fi
    4063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     1928  echo "$ac_err" >&5
     1929  echo "configure: failed program was:" >&5
     1930  cat conftest.$ac_ext >&5
     1931  rm -rf conftest*
     1932  ac_cv_header_stdc=no
     1933fi
     1934rm -f conftest*
    40641935
    40651936if test $ac_cv_header_stdc = yes; then
    40661937  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4067   cat >conftest.$ac_ext <<_ACEOF
    4068 /* confdefs.h.  */
    4069 _ACEOF
    4070 cat confdefs.h >>conftest.$ac_ext
    4071 cat >>conftest.$ac_ext <<_ACEOF
    4072 /* end confdefs.h.  */
     1938cat > conftest.$ac_ext <<EOF
     1939#line 1940 "configure"
     1940#include "confdefs.h"
    40731941#include <string.h>
    4074 
    4075 _ACEOF
     1942EOF
    40761943if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4077   $EGREP "memchr" >/dev/null 2>&1; then
     1944  egrep "memchr" >/dev/null 2>&1; then
    40781945  :
    40791946else
     1947  rm -rf conftest*
    40801948  ac_cv_header_stdc=no
    40811949fi
     
    40861954if test $ac_cv_header_stdc = yes; then
    40871955  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4088   cat >conftest.$ac_ext <<_ACEOF
    4089 /* confdefs.h.  */
    4090 _ACEOF
    4091 cat confdefs.h >>conftest.$ac_ext
    4092 cat >>conftest.$ac_ext <<_ACEOF
    4093 /* end confdefs.h.  */
     1956cat > conftest.$ac_ext <<EOF
     1957#line 1958 "configure"
     1958#include "confdefs.h"
    40941959#include <stdlib.h>
    4095 
    4096 _ACEOF
     1960EOF
    40971961if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4098   $EGREP "free" >/dev/null 2>&1; then
     1962  egrep "free" >/dev/null 2>&1; then
    40991963  :
    41001964else
     1965  rm -rf conftest*
    41011966  ac_cv_header_stdc=no
    41021967fi
     
    41071972if test $ac_cv_header_stdc = yes; then
    41081973  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4109   if test "$cross_compiling" = yes; then
     1974if test "$cross_compiling" = yes; then
    41101975  :
    41111976else
    4112   cat >conftest.$ac_ext <<_ACEOF
    4113 /* confdefs.h.  */
    4114 _ACEOF
    4115 cat confdefs.h >>conftest.$ac_ext
    4116 cat >>conftest.$ac_ext <<_ACEOF
    4117 /* end confdefs.h.  */
     1977  cat > conftest.$ac_ext <<EOF
     1978#line 1979 "configure"
     1979#include "confdefs.h"
    41181980#include <ctype.h>
    4119 #if ((' ' & 0x0FF) == 0x020)
    4120 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4121 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4122 #else
    4123 # define ISLOWER(c) \
    4124                    (('a' <= (c) && (c) <= 'i') \
    4125                      || ('j' <= (c) && (c) <= 'r') \
    4126                      || ('s' <= (c) && (c) <= 'z'))
    4127 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4128 #endif
    4129 
     1981#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     1982#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    41301983#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    4131 int
    4132 main ()
    4133 {
    4134   int i;
    4135   for (i = 0; i < 256; i++)
    4136     if (XOR (islower (i), ISLOWER (i))
    4137         || toupper (i) != TOUPPER (i))
    4138       exit(2);
    4139   exit (0);
    4140 }
    4141 _ACEOF
    4142 rm -f conftest$ac_exeext
    4143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4144   (eval $ac_link) 2>&5
    4145   ac_status=$?
    4146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4147   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4149   (eval $ac_try) 2>&5
    4150   ac_status=$?
    4151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4152   (exit $ac_status); }; }; then
     1984int main () { int i; for (i = 0; i < 256; i++)
     1985if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
     1986exit (0); }
     1987
     1988EOF
     1989if { (eval echo configure:1990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1990then
    41531991  :
    41541992else
    4155   echo "$as_me: program exited with status $ac_status" >&5
    4156 echo "$as_me: failed program was:" >&5
    4157 sed 's/^/| /' conftest.$ac_ext >&5
    4158 
    4159 ( exit $ac_status )
    4160 ac_cv_header_stdc=no
    4161 fi
    4162 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4163 fi
    4164 fi
    4165 fi
    4166 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4167 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     1993  echo "configure: failed program was:" >&5
     1994  cat conftest.$ac_ext >&5
     1995  rm -fr conftest*
     1996  ac_cv_header_stdc=no
     1997fi
     1998rm -fr conftest*
     1999fi
     2000
     2001fi
     2002fi
     2003
     2004echo "$ac_t""$ac_cv_header_stdc" 1>&6
    41682005if test $ac_cv_header_stdc = yes; then
    4169 
    4170 cat >>confdefs.h <<\_ACEOF
     2006  cat >> confdefs.h <<\EOF
    41712007#define STDC_HEADERS 1
    4172 _ACEOF
    4173 
    4174 fi
    4175 
    4176 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4177 
    4178 
    4179 
    4180 
    4181 
    4182 
    4183 
    4184 
    4185 
    4186 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4187                   inttypes.h stdint.h unistd.h
     2008EOF
     2009
     2010fi
     2011
     2012for ac_hdr in limits.h unistd.h
    41882013do
    4189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4190 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4193   echo $ECHO_N "(cached) $ECHO_C" >&6
    4194 else
    4195   cat >conftest.$ac_ext <<_ACEOF
    4196 /* confdefs.h.  */
    4197 _ACEOF
    4198 cat confdefs.h >>conftest.$ac_ext
    4199 cat >>conftest.$ac_ext <<_ACEOF
    4200 /* end confdefs.h.  */
    4201 $ac_includes_default
    4202 
    4203 #include <$ac_header>
    4204 _ACEOF
    4205 rm -f conftest.$ac_objext
    4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4207   (eval $ac_compile) 2>conftest.er1
    4208   ac_status=$?
    4209   grep -v '^ *+' conftest.er1 >conftest.err
    4210   rm -f conftest.er1
    4211   cat conftest.err >&5
    4212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4213   (exit $ac_status); } &&
    4214          { ac_try='test -z "$ac_c_werror_flag"
    4215                          || test ! -s conftest.err'
    4216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4217   (eval $ac_try) 2>&5
    4218   ac_status=$?
    4219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4220   (exit $ac_status); }; } &&
    4221          { ac_try='test -s conftest.$ac_objext'
    4222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4223   (eval $ac_try) 2>&5
    4224   ac_status=$?
    4225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4226   (exit $ac_status); }; }; then
    4227   eval "$as_ac_Header=yes"
    4228 else
    4229   echo "$as_me: failed program was:" >&5
    4230 sed 's/^/| /' conftest.$ac_ext >&5
    4231 
    4232 eval "$as_ac_Header=no"
    4233 fi
    4234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4235 fi
    4236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4239   cat >>confdefs.h <<_ACEOF
    4240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4241 _ACEOF
    4242 
    4243 fi
    4244 
     2014ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     2015echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     2016echo "configure:2017: checking for $ac_hdr" >&5
     2017if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2018  echo $ac_n "(cached) $ac_c" 1>&6
     2019else
     2020  cat > conftest.$ac_ext <<EOF
     2021#line 2022 "configure"
     2022#include "confdefs.h"
     2023#include <$ac_hdr>
     2024EOF
     2025ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2026{ (eval echo configure:2027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2027ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2028if test -z "$ac_err"; then
     2029  rm -rf conftest*
     2030  eval "ac_cv_header_$ac_safe=yes"
     2031else
     2032  echo "$ac_err" >&5
     2033  echo "configure: failed program was:" >&5
     2034  cat conftest.$ac_ext >&5
     2035  rm -rf conftest*
     2036  eval "ac_cv_header_$ac_safe=no"
     2037fi
     2038rm -f conftest*
     2039fi
     2040if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2041  echo "$ac_t""yes" 1>&6
     2042    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     2043  cat >> confdefs.h <<EOF
     2044#define $ac_tr_hdr 1
     2045EOF
     2046 
     2047else
     2048  echo "$ac_t""no" 1>&6
     2049{ echo "configure: error: Can not compile without limits.h unistd.h" 1>&2; exit 1; }
     2050fi
    42452051done
    42462052
    42472053
    4248 
    4249 
    4250 for ac_header in limits.h unistd.h
    4251 do
    4252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4254   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4257   echo $ECHO_N "(cached) $ECHO_C" >&6
    4258 fi
    4259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4261 else
    4262   # Is the header compilable?
    4263 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4265 cat >conftest.$ac_ext <<_ACEOF
    4266 /* confdefs.h.  */
    4267 _ACEOF
    4268 cat confdefs.h >>conftest.$ac_ext
    4269 cat >>conftest.$ac_ext <<_ACEOF
    4270 /* end confdefs.h.  */
    4271 $ac_includes_default
    4272 #include <$ac_header>
    4273 _ACEOF
    4274 rm -f conftest.$ac_objext
    4275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4276   (eval $ac_compile) 2>conftest.er1
    4277   ac_status=$?
    4278   grep -v '^ *+' conftest.er1 >conftest.err
    4279   rm -f conftest.er1
    4280   cat conftest.err >&5
    4281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4282   (exit $ac_status); } &&
    4283          { ac_try='test -z "$ac_c_werror_flag"
    4284                          || test ! -s conftest.err'
    4285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4286   (eval $ac_try) 2>&5
    4287   ac_status=$?
    4288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4289   (exit $ac_status); }; } &&
    4290          { ac_try='test -s conftest.$ac_objext'
    4291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4292   (eval $ac_try) 2>&5
    4293   ac_status=$?
    4294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4295   (exit $ac_status); }; }; then
    4296   ac_header_compiler=yes
    4297 else
    4298   echo "$as_me: failed program was:" >&5
    4299 sed 's/^/| /' conftest.$ac_ext >&5
    4300 
    4301 ac_header_compiler=no
    4302 fi
    4303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4305 echo "${ECHO_T}$ac_header_compiler" >&6
    4306 
    4307 # Is the header present?
    4308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4310 cat >conftest.$ac_ext <<_ACEOF
    4311 /* confdefs.h.  */
    4312 _ACEOF
    4313 cat confdefs.h >>conftest.$ac_ext
    4314 cat >>conftest.$ac_ext <<_ACEOF
    4315 /* end confdefs.h.  */
    4316 #include <$ac_header>
    4317 _ACEOF
    4318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4319   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4320   ac_status=$?
    4321   grep -v '^ *+' conftest.er1 >conftest.err
    4322   rm -f conftest.er1
    4323   cat conftest.err >&5
    4324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4325   (exit $ac_status); } >/dev/null; then
    4326   if test -s conftest.err; then
    4327     ac_cpp_err=$ac_c_preproc_warn_flag
    4328     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4329   else
    4330     ac_cpp_err=
    4331   fi
    4332 else
    4333   ac_cpp_err=yes
    4334 fi
    4335 if test -z "$ac_cpp_err"; then
    4336   ac_header_preproc=yes
    4337 else
    4338   echo "$as_me: failed program was:" >&5
    4339 sed 's/^/| /' conftest.$ac_ext >&5
    4340 
    4341   ac_header_preproc=no
    4342 fi
    4343 rm -f conftest.err conftest.$ac_ext
    4344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4345 echo "${ECHO_T}$ac_header_preproc" >&6
    4346 
    4347 # So?  What about this header?
    4348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4349   yes:no: )
    4350     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4352     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4354     ac_header_preproc=yes
    4355     ;;
    4356   no:yes:* )
    4357     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4359     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4360 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4361     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4363     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4364 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4365     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4367     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4369     (
    4370       cat <<\_ASBOX
    4371 ## ------------------------------------------ ##
    4372 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4373 ## ------------------------------------------ ##
    4374 _ASBOX
    4375     ) |
    4376       sed "s/^/$as_me: WARNING:     /" >&2
    4377     ;;
    4378 esac
    4379 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4382   echo $ECHO_N "(cached) $ECHO_C" >&6
    4383 else
    4384   eval "$as_ac_Header=\$ac_header_preproc"
    4385 fi
    4386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4388 
    4389 fi
    4390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4391   cat >>confdefs.h <<_ACEOF
    4392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4393 _ACEOF
    4394 
    4395 else
    4396   { { echo "$as_me:$LINENO: error: Can not compile without limits.h unistd.h" >&5
    4397 echo "$as_me: error: Can not compile without limits.h unistd.h" >&2;}
    4398    { (exit 1); exit 1; }; }
    4399 fi
    4400 
    4401 done
    4402 
    4403 
    4404 
    4405 
    4406 
    4407 
    4408 
    4409 
    4410 
    4411 
    4412 
    4413 
    4414 
    4415 
    4416 
    4417 
    4418 
    4419 for ac_header in sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h \
     2054for ac_hdr in sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h \
    44202055 sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h termcap.h \
    44212056 termios.h term.h readline/readline.h
    44222057do
    4423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4425   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4428   echo $ECHO_N "(cached) $ECHO_C" >&6
    4429 fi
    4430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4432 else
    4433   # Is the header compilable?
    4434 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4436 cat >conftest.$ac_ext <<_ACEOF
    4437 /* confdefs.h.  */
    4438 _ACEOF
    4439 cat confdefs.h >>conftest.$ac_ext
    4440 cat >>conftest.$ac_ext <<_ACEOF
    4441 /* end confdefs.h.  */
    4442 $ac_includes_default
    4443 #include <$ac_header>
    4444 _ACEOF
    4445 rm -f conftest.$ac_objext
    4446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4447   (eval $ac_compile) 2>conftest.er1
    4448   ac_status=$?
    4449   grep -v '^ *+' conftest.er1 >conftest.err
    4450   rm -f conftest.er1
    4451   cat conftest.err >&5
    4452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4453   (exit $ac_status); } &&
    4454          { ac_try='test -z "$ac_c_werror_flag"
    4455                          || test ! -s conftest.err'
    4456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4457   (eval $ac_try) 2>&5
    4458   ac_status=$?
    4459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4460   (exit $ac_status); }; } &&
    4461          { ac_try='test -s conftest.$ac_objext'
    4462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4463   (eval $ac_try) 2>&5
    4464   ac_status=$?
    4465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4466   (exit $ac_status); }; }; then
    4467   ac_header_compiler=yes
    4468 else
    4469   echo "$as_me: failed program was:" >&5
    4470 sed 's/^/| /' conftest.$ac_ext >&5
    4471 
    4472 ac_header_compiler=no
    4473 fi
    4474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4476 echo "${ECHO_T}$ac_header_compiler" >&6
    4477 
    4478 # Is the header present?
    4479 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4481 cat >conftest.$ac_ext <<_ACEOF
    4482 /* confdefs.h.  */
    4483 _ACEOF
    4484 cat confdefs.h >>conftest.$ac_ext
    4485 cat >>conftest.$ac_ext <<_ACEOF
    4486 /* end confdefs.h.  */
    4487 #include <$ac_header>
    4488 _ACEOF
    4489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4490   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4491   ac_status=$?
    4492   grep -v '^ *+' conftest.er1 >conftest.err
    4493   rm -f conftest.er1
    4494   cat conftest.err >&5
    4495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4496   (exit $ac_status); } >/dev/null; then
    4497   if test -s conftest.err; then
    4498     ac_cpp_err=$ac_c_preproc_warn_flag
    4499     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4500   else
    4501     ac_cpp_err=
    4502   fi
    4503 else
    4504   ac_cpp_err=yes
    4505 fi
    4506 if test -z "$ac_cpp_err"; then
    4507   ac_header_preproc=yes
    4508 else
    4509   echo "$as_me: failed program was:" >&5
    4510 sed 's/^/| /' conftest.$ac_ext >&5
    4511 
    4512   ac_header_preproc=no
    4513 fi
    4514 rm -f conftest.err conftest.$ac_ext
    4515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4516 echo "${ECHO_T}$ac_header_preproc" >&6
    4517 
    4518 # So?  What about this header?
    4519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4520   yes:no: )
    4521     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4523     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4525     ac_header_preproc=yes
    4526     ;;
    4527   no:yes:* )
    4528     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4530     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4531 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4532     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4534     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4535 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4536     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4538     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4540     (
    4541       cat <<\_ASBOX
    4542 ## ------------------------------------------ ##
    4543 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4544 ## ------------------------------------------ ##
    4545 _ASBOX
    4546     ) |
    4547       sed "s/^/$as_me: WARNING:     /" >&2
    4548     ;;
    4549 esac
    4550 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4553   echo $ECHO_N "(cached) $ECHO_C" >&6
    4554 else
    4555   eval "$as_ac_Header=\$ac_header_preproc"
    4556 fi
    4557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4559 
    4560 fi
    4561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4562   cat >>confdefs.h <<_ACEOF
    4563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4564 _ACEOF
    4565 
    4566 fi
    4567 
     2058ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     2059echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     2060echo "configure:2061: checking for $ac_hdr" >&5
     2061if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2062  echo $ac_n "(cached) $ac_c" 1>&6
     2063else
     2064  cat > conftest.$ac_ext <<EOF
     2065#line 2066 "configure"
     2066#include "confdefs.h"
     2067#include <$ac_hdr>
     2068EOF
     2069ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2070{ (eval echo configure:2071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2071ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2072if test -z "$ac_err"; then
     2073  rm -rf conftest*
     2074  eval "ac_cv_header_$ac_safe=yes"
     2075else
     2076  echo "$ac_err" >&5
     2077  echo "configure: failed program was:" >&5
     2078  cat conftest.$ac_ext >&5
     2079  rm -rf conftest*
     2080  eval "ac_cv_header_$ac_safe=no"
     2081fi
     2082rm -f conftest*
     2083fi
     2084if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2085  echo "$ac_t""yes" 1>&6
     2086    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     2087  cat >> confdefs.h <<EOF
     2088#define $ac_tr_hdr 1
     2089EOF
     2090 
     2091else
     2092  echo "$ac_t""no" 1>&6
     2093fi
    45682094done
    45692095
    45702096
    45712097# typedefs, structures
    4572 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4573 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    4574 if test "${ac_cv_c_const+set}" = set; then
    4575   echo $ECHO_N "(cached) $ECHO_C" >&6
    4576 else
    4577   cat >conftest.$ac_ext <<_ACEOF
    4578 /* confdefs.h.  */
    4579 _ACEOF
    4580 cat confdefs.h >>conftest.$ac_ext
    4581 cat >>conftest.$ac_ext <<_ACEOF
    4582 /* end confdefs.h.  */
    4583 
    4584 int
    4585 main ()
    4586 {
    4587 /* FIXME: Include the comments suggested by Paul. */
    4588 #ifndef __cplusplus
    4589   /* Ultrix mips cc rejects this.  */
    4590   typedef int charset[2];
    4591   const charset x;
    4592   /* SunOS 4.1.1 cc rejects this.  */
    4593   char const *const *ccp;
    4594   char **p;
    4595   /* NEC SVR4.0.2 mips cc rejects this.  */
    4596   struct point {int x, y;};
    4597   static struct point const zero = {0,0};
    4598   /* AIX XL C 1.02.0.0 rejects this.
    4599      It does not let you subtract one const X* pointer from another in
    4600      an arm of an if-expression whose if-part is not a constant
    4601      expression */
    4602   const char *g = "string";
    4603   ccp = &g + (g ? g-g : 0);
    4604   /* HPUX 7.0 cc rejects these. */
    4605   ++ccp;
    4606   p = (char**) ccp;
    4607   ccp = (char const *const *) p;
    4608   { /* SCO 3.2v4 cc rejects this.  */
    4609     char *t;
    4610     char const *s = 0 ? (char *) 0 : (char const *) 0;
    4611 
    4612     *t++ = 0;
    4613   }
    4614   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
    4615     int x[] = {25, 17};
    4616     const int *foo = &x[0];
    4617     ++foo;
    4618   }
    4619   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
    4620     typedef const int *iptr;
    4621     iptr p = 0;
    4622     ++p;
    4623   }
    4624   { /* AIX XL C 1.02.0.0 rejects this saying
    4625        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
    4626     struct s { int j; const int *ap[3]; };
    4627     struct s *b; b->j = 5;
    4628   }
    4629   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    4630     const int foo = 10;
    4631   }
    4632 #endif
    4633 
    4634   ;
    4635   return 0;
     2098echo $ac_n "checking for working const""... $ac_c" 1>&6
     2099echo "configure:2100: checking for working const" >&5
     2100if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
     2101  echo $ac_n "(cached) $ac_c" 1>&6
     2102else
     2103  cat > conftest.$ac_ext <<EOF
     2104#line 2105 "configure"
     2105#include "confdefs.h"
     2106
     2107int main() {
     2108
     2109/* Ultrix mips cc rejects this.  */
     2110typedef int charset[2]; const charset x;
     2111/* SunOS 4.1.1 cc rejects this.  */
     2112char const *const *ccp;
     2113char **p;
     2114/* NEC SVR4.0.2 mips cc rejects this.  */
     2115struct point {int x, y;};
     2116static struct point const zero = {0,0};
     2117/* AIX XL C 1.02.0.0 rejects this.
     2118   It does not let you subtract one const X* pointer from another in an arm
     2119   of an if-expression whose if-part is not a constant expression */
     2120const char *g = "string";
     2121ccp = &g + (g ? g-g : 0);
     2122/* HPUX 7.0 cc rejects these. */
     2123++ccp;
     2124p = (char**) ccp;
     2125ccp = (char const *const *) p;
     2126{ /* SCO 3.2v4 cc rejects this.  */
     2127  char *t;
     2128  char const *s = 0 ? (char *) 0 : (char const *) 0;
     2129
     2130  *t++ = 0;
    46362131}
    4637 _ACEOF
    4638 rm -f conftest.$ac_objext
    4639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4640   (eval $ac_compile) 2>conftest.er1
    4641   ac_status=$?
    4642   grep -v '^ *+' conftest.er1 >conftest.err
    4643   rm -f conftest.er1
    4644   cat conftest.err >&5
    4645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4646   (exit $ac_status); } &&
    4647          { ac_try='test -z "$ac_c_werror_flag"
    4648                          || test ! -s conftest.err'
    4649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4650   (eval $ac_try) 2>&5
    4651   ac_status=$?
    4652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4653   (exit $ac_status); }; } &&
    4654          { ac_try='test -s conftest.$ac_objext'
    4655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4656   (eval $ac_try) 2>&5
    4657   ac_status=$?
    4658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4659   (exit $ac_status); }; }; then
     2132{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     2133  int x[] = {25, 17};
     2134  const int *foo = &x[0];
     2135  ++foo;
     2136}
     2137{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
     2138  typedef const int *iptr;
     2139  iptr p = 0;
     2140  ++p;
     2141}
     2142{ /* AIX XL C 1.02.0.0 rejects this saying
     2143     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
     2144  struct s { int j; const int *ap[3]; };
     2145  struct s *b; b->j = 5;
     2146}
     2147{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     2148  const int foo = 10;
     2149}
     2150
     2151; return 0; }
     2152EOF
     2153if { (eval echo configure:2154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2154  rm -rf conftest*
    46602155  ac_cv_c_const=yes
    46612156else
    4662   echo "$as_me: failed program was:" >&5
    4663 sed 's/^/| /' conftest.$ac_ext >&5
    4664 
    4665 ac_cv_c_const=no
    4666 fi
    4667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4668 fi
    4669 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4670 echo "${ECHO_T}$ac_cv_c_const" >&6
     2157  echo "configure: failed program was:" >&5
     2158  cat conftest.$ac_ext >&5
     2159  rm -rf conftest*
     2160  ac_cv_c_const=no
     2161fi
     2162rm -f conftest*
     2163fi
     2164
     2165echo "$ac_t""$ac_cv_c_const" 1>&6
    46712166if test $ac_cv_c_const = no; then
    4672 
    4673 cat >>confdefs.h <<\_ACEOF
    4674 #define const
    4675 _ACEOF
    4676 
    4677 fi
    4678 
    4679 echo "$as_me:$LINENO: checking for inline" >&5
    4680 echo $ECHO_N "checking for inline... $ECHO_C" >&6
    4681 if test "${ac_cv_c_inline+set}" = set; then
    4682   echo $ECHO_N "(cached) $ECHO_C" >&6
     2167  cat >> confdefs.h <<\EOF
     2168#define const
     2169EOF
     2170
     2171fi
     2172
     2173echo $ac_n "checking for inline""... $ac_c" 1>&6
     2174echo "configure:2175: checking for inline" >&5
     2175if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
     2176  echo $ac_n "(cached) $ac_c" 1>&6
    46832177else
    46842178  ac_cv_c_inline=no
    46852179for ac_kw in inline __inline__ __inline; do
    4686   cat >conftest.$ac_ext <<_ACEOF
    4687 /* confdefs.h.  */
    4688 _ACEOF
    4689 cat confdefs.h >>conftest.$ac_ext
    4690 cat >>conftest.$ac_ext <<_ACEOF
    4691 /* end confdefs.h.  */
    4692 #ifndef __cplusplus
    4693 typedef int foo_t;
    4694 static $ac_kw foo_t static_foo () {return 0; }
    4695 $ac_kw foo_t foo () {return 0; }
     2180  cat > conftest.$ac_ext <<EOF
     2181#line 2182 "configure"
     2182#include "confdefs.h"
     2183
     2184int main() {
     2185} $ac_kw foo() {
     2186; return 0; }
     2187EOF
     2188if { (eval echo configure:2189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2189  rm -rf conftest*
     2190  ac_cv_c_inline=$ac_kw; break
     2191else
     2192  echo "configure: failed program was:" >&5
     2193  cat conftest.$ac_ext >&5
     2194fi
     2195rm -f conftest*
     2196done
     2197
     2198fi
     2199
     2200echo "$ac_t""$ac_cv_c_inline" 1>&6
     2201case "$ac_cv_c_inline" in
     2202  inline | yes) ;;
     2203  no) cat >> confdefs.h <<\EOF
     2204#define inline
     2205EOF
     2206 ;;
     2207  *)  cat >> confdefs.h <<EOF
     2208#define inline $ac_cv_c_inline
     2209EOF
     2210 ;;
     2211esac
     2212
     2213echo $ac_n "checking for size_t""... $ac_c" 1>&6
     2214echo "configure:2215: checking for size_t" >&5
     2215if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
     2216  echo $ac_n "(cached) $ac_c" 1>&6
     2217else
     2218  cat > conftest.$ac_ext <<EOF
     2219#line 2220 "configure"
     2220#include "confdefs.h"
     2221#include <sys/types.h>
     2222#if STDC_HEADERS
     2223#include <stdlib.h>
     2224#include <stddef.h>
    46962225#endif
    4697 
    4698 _ACEOF
    4699 rm -f conftest.$ac_objext
    4700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4701   (eval $ac_compile) 2>conftest.er1
    4702   ac_status=$?
    4703   grep -v '^ *+' conftest.er1 >conftest.err
    4704   rm -f conftest.er1
    4705   cat conftest.err >&5
    4706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4707   (exit $ac_status); } &&
    4708          { ac_try='test -z "$ac_c_werror_flag"
    4709                          || test ! -s conftest.err'
    4710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4711   (eval $ac_try) 2>&5
    4712   ac_status=$?
    4713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4714   (exit $ac_status); }; } &&
    4715          { ac_try='test -s conftest.$ac_objext'
    4716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4717   (eval $ac_try) 2>&5
    4718   ac_status=$?
    4719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4720   (exit $ac_status); }; }; then
    4721   ac_cv_c_inline=$ac_kw; break
    4722 else
    4723   echo "$as_me: failed program was:" >&5
    4724 sed 's/^/| /' conftest.$ac_ext >&5
    4725 
    4726 fi
    4727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4728 done
    4729 
    4730 fi
    4731 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
    4732 echo "${ECHO_T}$ac_cv_c_inline" >&6
    4733 
    4734 
    4735 case $ac_cv_c_inline in
    4736   inline | yes) ;;
    4737   *)
    4738     case $ac_cv_c_inline in
    4739       no) ac_val=;;
    4740       *) ac_val=$ac_cv_c_inline;;
    4741     esac
    4742     cat >>confdefs.h <<_ACEOF
    4743 #ifndef __cplusplus
    4744 #define inline $ac_val
    4745 #endif
    4746 _ACEOF
    4747     ;;
    4748 esac
    4749 
    4750 echo "$as_me:$LINENO: checking for size_t" >&5
    4751 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    4752 if test "${ac_cv_type_size_t+set}" = set; then
    4753   echo $ECHO_N "(cached) $ECHO_C" >&6
    4754 else
    4755   cat >conftest.$ac_ext <<_ACEOF
    4756 /* confdefs.h.  */
    4757 _ACEOF
    4758 cat confdefs.h >>conftest.$ac_ext
    4759 cat >>conftest.$ac_ext <<_ACEOF
    4760 /* end confdefs.h.  */
    4761 $ac_includes_default
    4762 int
    4763 main ()
    4764 {
    4765 if ((size_t *) 0)
    4766   return 0;
    4767 if (sizeof (size_t))
    4768   return 0;
    4769   ;
    4770   return 0;
    4771 }
    4772 _ACEOF
    4773 rm -f conftest.$ac_objext
    4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4775   (eval $ac_compile) 2>conftest.er1
    4776   ac_status=$?
    4777   grep -v '^ *+' conftest.er1 >conftest.err
    4778   rm -f conftest.er1
    4779   cat conftest.err >&5
    4780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4781   (exit $ac_status); } &&
    4782          { ac_try='test -z "$ac_c_werror_flag"
    4783                          || test ! -s conftest.err'
    4784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4785   (eval $ac_try) 2>&5
    4786   ac_status=$?
    4787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4788   (exit $ac_status); }; } &&
    4789          { ac_try='test -s conftest.$ac_objext'
    4790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4791   (eval $ac_try) 2>&5
    4792   ac_status=$?
    4793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4794   (exit $ac_status); }; }; then
     2226EOF
     2227if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     2228  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
     2229  rm -rf conftest*
    47952230  ac_cv_type_size_t=yes
    47962231else
    4797   echo "$as_me: failed program was:" >&5
    4798 sed 's/^/| /' conftest.$ac_ext >&5
    4799 
    4800 ac_cv_type_size_t=no
    4801 fi
    4802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4803 fi
    4804 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4805 echo "${ECHO_T}$ac_cv_type_size_t" >&6
    4806 if test $ac_cv_type_size_t = yes; then
    4807   :
    4808 else
    4809 
    4810 cat >>confdefs.h <<_ACEOF
     2232  rm -rf conftest*
     2233  ac_cv_type_size_t=no
     2234fi
     2235rm -f conftest*
     2236
     2237fi
     2238echo "$ac_t""$ac_cv_type_size_t" 1>&6
     2239if test $ac_cv_type_size_t = no; then
     2240  cat >> confdefs.h <<\EOF
    48112241#define size_t unsigned
    4812 _ACEOF
    4813 
    4814 fi
    4815 
    4816 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4817 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    4818 if test "${ac_cv_struct_tm+set}" = set; then
    4819   echo $ECHO_N "(cached) $ECHO_C" >&6
    4820 else
    4821   cat >conftest.$ac_ext <<_ACEOF
    4822 /* confdefs.h.  */
    4823 _ACEOF
    4824 cat confdefs.h >>conftest.$ac_ext
    4825 cat >>conftest.$ac_ext <<_ACEOF
    4826 /* end confdefs.h.  */
     2242EOF
     2243
     2244fi
     2245
     2246echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
     2247echo "configure:2248: checking whether struct tm is in sys/time.h or time.h" >&5
     2248if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
     2249  echo $ac_n "(cached) $ac_c" 1>&6
     2250else
     2251  cat > conftest.$ac_ext <<EOF
     2252#line 2253 "configure"
     2253#include "confdefs.h"
    48272254#include <sys/types.h>
    48282255#include <time.h>
    4829 
    4830 int
    4831 main ()
    4832 {
     2256int main() {
    48332257struct tm *tp; tp->tm_sec;
    4834   ;
    4835   return 0;
    4836 }
    4837 _ACEOF
    4838 rm -f conftest.$ac_objext
    4839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4840   (eval $ac_compile) 2>conftest.er1
    4841   ac_status=$?
    4842   grep -v '^ *+' conftest.er1 >conftest.err
    4843   rm -f conftest.er1
    4844   cat conftest.err >&5
    4845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4846   (exit $ac_status); } &&
    4847          { ac_try='test -z "$ac_c_werror_flag"
    4848                          || test ! -s conftest.err'
    4849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4850   (eval $ac_try) 2>&5
    4851   ac_status=$?
    4852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4853   (exit $ac_status); }; } &&
    4854          { ac_try='test -s conftest.$ac_objext'
    4855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4856   (eval $ac_try) 2>&5
    4857   ac_status=$?
    4858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4859   (exit $ac_status); }; }; then
     2258; return 0; }
     2259EOF
     2260if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2261  rm -rf conftest*
    48602262  ac_cv_struct_tm=time.h
    48612263else
    4862   echo "$as_me: failed program was:" >&5
    4863 sed 's/^/| /' conftest.$ac_ext >&5
    4864 
    4865 ac_cv_struct_tm=sys/time.h
    4866 fi
    4867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4868 fi
    4869 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4870 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     2264  echo "configure: failed program was:" >&5
     2265  cat conftest.$ac_ext >&5
     2266  rm -rf conftest*
     2267  ac_cv_struct_tm=sys/time.h
     2268fi
     2269rm -f conftest*
     2270fi
     2271
     2272echo "$ac_t""$ac_cv_struct_tm" 1>&6
    48712273if test $ac_cv_struct_tm = sys/time.h; then
    4872 
    4873 cat >>confdefs.h <<\_ACEOF
     2274  cat >> confdefs.h <<\EOF
    48742275#define TM_IN_SYS_TIME 1
    4875 _ACEOF
    4876 
    4877 fi
    4878 
    4879 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4880 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    4881 if test "${ac_cv_header_time+set}" = set; then
    4882   echo $ECHO_N "(cached) $ECHO_C" >&6
    4883 else
    4884   cat >conftest.$ac_ext <<_ACEOF
    4885 /* confdefs.h.  */
    4886 _ACEOF
    4887 cat confdefs.h >>conftest.$ac_ext
    4888 cat >>conftest.$ac_ext <<_ACEOF
    4889 /* end confdefs.h.  */
     2276EOF
     2277
     2278fi
     2279
     2280echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
     2281echo "configure:2282: checking whether time.h and sys/time.h may both be included" >&5
     2282if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
     2283  echo $ac_n "(cached) $ac_c" 1>&6
     2284else
     2285  cat > conftest.$ac_ext <<EOF
     2286#line 2287 "configure"
     2287#include "confdefs.h"
    48902288#include <sys/types.h>
    48912289#include <sys/time.h>
    48922290#include <time.h>
    4893 
    4894 int
    4895 main ()
    4896 {
    4897 if ((struct tm *) 0)
    4898 return 0;
    4899   ;
    4900   return 0;
    4901 }
    4902 _ACEOF
    4903 rm -f conftest.$ac_objext
    4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4905   (eval $ac_compile) 2>conftest.er1
    4906   ac_status=$?
    4907   grep -v '^ *+' conftest.er1 >conftest.err
    4908   rm -f conftest.er1
    4909   cat conftest.err >&5
    4910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4911   (exit $ac_status); } &&
    4912          { ac_try='test -z "$ac_c_werror_flag"
    4913                          || test ! -s conftest.err'
    4914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4915   (eval $ac_try) 2>&5
    4916   ac_status=$?
    4917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4918   (exit $ac_status); }; } &&
    4919          { ac_try='test -s conftest.$ac_objext'
    4920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4921   (eval $ac_try) 2>&5
    4922   ac_status=$?
    4923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4924   (exit $ac_status); }; }; then
     2291int main() {
     2292struct tm *tp;
     2293; return 0; }
     2294EOF
     2295if { (eval echo configure:2296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2296  rm -rf conftest*
    49252297  ac_cv_header_time=yes
    49262298else
    4927   echo "$as_me: failed program was:" >&5
    4928 sed 's/^/| /' conftest.$ac_ext >&5
    4929 
    4930 ac_cv_header_time=no
    4931 fi
    4932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4933 fi
    4934 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4935 echo "${ECHO_T}$ac_cv_header_time" >&6
     2299  echo "configure: failed program was:" >&5
     2300  cat conftest.$ac_ext >&5
     2301  rm -rf conftest*
     2302  ac_cv_header_time=no
     2303fi
     2304rm -f conftest*
     2305fi
     2306
     2307echo "$ac_t""$ac_cv_header_time" 1>&6
    49362308if test $ac_cv_header_time = yes; then
    4937 
    4938 cat >>confdefs.h <<\_ACEOF
     2309  cat >> confdefs.h <<\EOF
    49392310#define TIME_WITH_SYS_TIME 1
    4940 _ACEOF
     2311EOF
    49412312
    49422313fi
     
    49462317# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    49472318# for constant arguments.  Useless!
    4948 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    4949 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
    4950 if test "${ac_cv_working_alloca_h+set}" = set; then
    4951   echo $ECHO_N "(cached) $ECHO_C" >&6
    4952 else
    4953   cat >conftest.$ac_ext <<_ACEOF
    4954 /* confdefs.h.  */
    4955 _ACEOF
    4956 cat confdefs.h >>conftest.$ac_ext
    4957 cat >>conftest.$ac_ext <<_ACEOF
    4958 /* end confdefs.h.  */
     2319echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
     2320echo "configure:2321: checking for working alloca.h" >&5
     2321if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
     2322  echo $ac_n "(cached) $ac_c" 1>&6
     2323else
     2324  cat > conftest.$ac_ext <<EOF
     2325#line 2326 "configure"
     2326#include "confdefs.h"
    49592327#include <alloca.h>
    4960 int
    4961 main ()
    4962 {
    4963 char *p = (char *) alloca (2 * sizeof (int));
    4964   ;
    4965   return 0;
    4966 }
    4967 _ACEOF
    4968 rm -f conftest.$ac_objext conftest$ac_exeext
    4969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4970   (eval $ac_link) 2>conftest.er1
    4971   ac_status=$?
    4972   grep -v '^ *+' conftest.er1 >conftest.err
    4973   rm -f conftest.er1
    4974   cat conftest.err >&5
    4975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4976   (exit $ac_status); } &&
    4977          { ac_try='test -z "$ac_c_werror_flag"
    4978                          || test ! -s conftest.err'
    4979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4980   (eval $ac_try) 2>&5
    4981   ac_status=$?
    4982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4983   (exit $ac_status); }; } &&
    4984          { ac_try='test -s conftest$ac_exeext'
    4985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4986   (eval $ac_try) 2>&5
    4987   ac_status=$?
    4988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4989   (exit $ac_status); }; }; then
    4990   ac_cv_working_alloca_h=yes
    4991 else
    4992   echo "$as_me: failed program was:" >&5
    4993 sed 's/^/| /' conftest.$ac_ext >&5
    4994 
    4995 ac_cv_working_alloca_h=no
    4996 fi
    4997 rm -f conftest.err conftest.$ac_objext \
    4998       conftest$ac_exeext conftest.$ac_ext
    4999 fi
    5000 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5001 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
    5002 if test $ac_cv_working_alloca_h = yes; then
    5003 
    5004 cat >>confdefs.h <<\_ACEOF
     2328int main() {
     2329char *p = alloca(2 * sizeof(int));
     2330; return 0; }
     2331EOF
     2332if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2333  rm -rf conftest*
     2334  ac_cv_header_alloca_h=yes
     2335else
     2336  echo "configure: failed program was:" >&5
     2337  cat conftest.$ac_ext >&5
     2338  rm -rf conftest*
     2339  ac_cv_header_alloca_h=no
     2340fi
     2341rm -f conftest*
     2342fi
     2343
     2344echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
     2345if test $ac_cv_header_alloca_h = yes; then
     2346  cat >> confdefs.h <<\EOF
    50052347#define HAVE_ALLOCA_H 1
    5006 _ACEOF
    5007 
    5008 fi
    5009 
    5010 echo "$as_me:$LINENO: checking for alloca" >&5
    5011 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
    5012 if test "${ac_cv_func_alloca_works+set}" = set; then
    5013   echo $ECHO_N "(cached) $ECHO_C" >&6
    5014 else
    5015   cat >conftest.$ac_ext <<_ACEOF
    5016 /* confdefs.h.  */
    5017 _ACEOF
    5018 cat confdefs.h >>conftest.$ac_ext
    5019 cat >>conftest.$ac_ext <<_ACEOF
    5020 /* end confdefs.h.  */
     2348EOF
     2349
     2350fi
     2351
     2352echo $ac_n "checking for alloca""... $ac_c" 1>&6
     2353echo "configure:2354: checking for alloca" >&5
     2354if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
     2355  echo $ac_n "(cached) $ac_c" 1>&6
     2356else
     2357  cat > conftest.$ac_ext <<EOF
     2358#line 2359 "configure"
     2359#include "confdefs.h"
     2360
    50212361#ifdef __GNUC__
    50222362# define alloca __builtin_alloca
     
    50402380#endif
    50412381
    5042 int
    5043 main ()
    5044 {
    5045 char *p = (char *) alloca (1);
    5046   ;
    5047   return 0;
    5048 }
    5049 _ACEOF
    5050 rm -f conftest.$ac_objext conftest$ac_exeext
    5051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5052   (eval $ac_link) 2>conftest.er1
    5053   ac_status=$?
    5054   grep -v '^ *+' conftest.er1 >conftest.err
    5055   rm -f conftest.er1
    5056   cat conftest.err >&5
    5057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5058   (exit $ac_status); } &&
    5059          { ac_try='test -z "$ac_c_werror_flag"
    5060                          || test ! -s conftest.err'
    5061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5062   (eval $ac_try) 2>&5
    5063   ac_status=$?
    5064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5065   (exit $ac_status); }; } &&
    5066          { ac_try='test -s conftest$ac_exeext'
    5067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5068   (eval $ac_try) 2>&5
    5069   ac_status=$?
    5070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5071   (exit $ac_status); }; }; then
     2382int main() {
     2383char *p = (char *) alloca(1);
     2384; return 0; }
     2385EOF
     2386if { (eval echo configure:2387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2387  rm -rf conftest*
    50722388  ac_cv_func_alloca_works=yes
    50732389else
    5074   echo "$as_me: failed program was:" >&5
    5075 sed 's/^/| /' conftest.$ac_ext >&5
    5076 
    5077 ac_cv_func_alloca_works=no
    5078 fi
    5079 rm -f conftest.err conftest.$ac_objext \
    5080       conftest$ac_exeext conftest.$ac_ext
    5081 fi
    5082 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5083 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
    5084 
     2390  echo "configure: failed program was:" >&5
     2391  cat conftest.$ac_ext >&5
     2392  rm -rf conftest*
     2393  ac_cv_func_alloca_works=no
     2394fi
     2395rm -f conftest*
     2396fi
     2397
     2398echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
    50852399if test $ac_cv_func_alloca_works = yes; then
    5086 
    5087 cat >>confdefs.h <<\_ACEOF
     2400  cat >> confdefs.h <<\EOF
    50882401#define HAVE_ALLOCA 1
    5089 _ACEOF
    5090 
    5091 else
     2402EOF
     2403
     2404fi
     2405
     2406if test $ac_cv_func_alloca_works = no; then
    50922407  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
    5093 # that cause trouble.  Some versions do not even contain alloca or
    5094 # contain a buggy version.  If you still want to use their alloca,
    5095 # use ar to extract alloca.o from them instead of compiling alloca.c.
    5096 
    5097 ALLOCA=alloca.$ac_objext
    5098 
    5099 cat >>confdefs.h <<\_ACEOF
     2408  # that cause trouble.  Some versions do not even contain alloca or
     2409  # contain a buggy version.  If you still want to use their alloca,
     2410  # use ar to extract alloca.o from them instead of compiling alloca.c.
     2411  ALLOCA=alloca.${ac_objext}
     2412  cat >> confdefs.h <<\EOF
    51002413#define C_ALLOCA 1
    5101 _ACEOF
    5102 
    5103 
    5104 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5105 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
    5106 if test "${ac_cv_os_cray+set}" = set; then
    5107   echo $ECHO_N "(cached) $ECHO_C" >&6
    5108 else
    5109   cat >conftest.$ac_ext <<_ACEOF
    5110 /* confdefs.h.  */
    5111 _ACEOF
    5112 cat confdefs.h >>conftest.$ac_ext
    5113 cat >>conftest.$ac_ext <<_ACEOF
    5114 /* end confdefs.h.  */
     2414EOF
     2415
     2416
     2417echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
     2418echo "configure:2419: checking whether alloca needs Cray hooks" >&5
     2419if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
     2420  echo $ac_n "(cached) $ac_c" 1>&6
     2421else
     2422  cat > conftest.$ac_ext <<EOF
     2423#line 2424 "configure"
     2424#include "confdefs.h"
    51152425#if defined(CRAY) && ! defined(CRAY2)
    51162426webecray
     
    51192429#endif
    51202430
    5121 _ACEOF
     2431EOF
    51222432if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5123   $EGREP "webecray" >/dev/null 2>&1; then
     2433  egrep "webecray" >/dev/null 2>&1; then
     2434  rm -rf conftest*
    51242435  ac_cv_os_cray=yes
    51252436else
     2437  rm -rf conftest*
    51262438  ac_cv_os_cray=no
    51272439fi
     
    51292441
    51302442fi
    5131 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5132 echo "${ECHO_T}$ac_cv_os_cray" >&6
     2443
     2444echo "$ac_t""$ac_cv_os_cray" 1>&6
    51332445if test $ac_cv_os_cray = yes; then
    5134   for ac_func in _getb67 GETB67 getb67; do
    5135     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5136 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5138 if eval "test \"\${$as_ac_var+set}\" = set"; then
    5139   echo $ECHO_N "(cached) $ECHO_C" >&6
    5140 else
    5141   cat >conftest.$ac_ext <<_ACEOF
    5142 /* confdefs.h.  */
    5143 _ACEOF
    5144 cat confdefs.h >>conftest.$ac_ext
    5145 cat >>conftest.$ac_ext <<_ACEOF
    5146 /* end confdefs.h.  */
    5147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    5148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5149 #define $ac_func innocuous_$ac_func
    5150 
     2446for ac_func in _getb67 GETB67 getb67; do
     2447  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     2448echo "configure:2449: checking for $ac_func" >&5
     2449if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     2450  echo $ac_n "(cached) $ac_c" 1>&6
     2451else
     2452  cat > conftest.$ac_ext <<EOF
     2453#line 2454 "configure"
     2454#include "confdefs.h"
    51512455/* System header to define __stub macros and hopefully few prototypes,
    5152     which can conflict with char $ac_func (); below.
    5153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5154     <limits.h> exists even on freestanding compilers.  */
    5155 
    5156 #ifdef __STDC__
    5157 # include <limits.h>
    5158 #else
    5159 # include <assert.h>
    5160 #endif
    5161 
    5162 #undef $ac_func
    5163 
     2456    which can conflict with char $ac_func(); below.  */
     2457#include <assert.h>
    51642458/* Override any gcc2 internal prototype to avoid an error.  */
    5165 #ifdef __cplusplus
    5166 extern "C"
    5167 {
    5168 #endif
    51692459/* We use char because int might match the return type of a gcc2
    5170    builtin and then its argument prototype would still apply.  */
    5171 char $ac_func ();
     2460    builtin and then its argument prototype would still apply.  */
     2461char $ac_func();
     2462
     2463int main() {
     2464
    51722465/* The GNU C library defines this for functions which it implements
    51732466    to always fail with ENOSYS.  Some functions are actually named
     
    51762469choke me
    51772470#else
    5178 char (*f) () = $ac_func;
     2471$ac_func();
    51792472#endif
    5180 #ifdef __cplusplus
    5181 }
    5182 #endif
    5183 
    5184 int
    5185 main ()
    5186 {
    5187 return f != $ac_func;
    5188   ;
    5189   return 0;
    5190 }
    5191 _ACEOF
    5192 rm -f conftest.$ac_objext conftest$ac_exeext
    5193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5194   (eval $ac_link) 2>conftest.er1
    5195   ac_status=$?
    5196   grep -v '^ *+' conftest.er1 >conftest.err
    5197   rm -f conftest.er1
    5198   cat conftest.err >&5
    5199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5200   (exit $ac_status); } &&
    5201          { ac_try='test -z "$ac_c_werror_flag"
    5202                          || test ! -s conftest.err'
    5203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5204   (eval $ac_try) 2>&5
    5205   ac_status=$?
    5206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5207   (exit $ac_status); }; } &&
    5208          { ac_try='test -s conftest$ac_exeext'
    5209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5210   (eval $ac_try) 2>&5
    5211   ac_status=$?
    5212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5213   (exit $ac_status); }; }; then
    5214   eval "$as_ac_var=yes"
    5215 else
    5216   echo "$as_me: failed program was:" >&5
    5217 sed 's/^/| /' conftest.$ac_ext >&5
    5218 
    5219 eval "$as_ac_var=no"
    5220 fi
    5221 rm -f conftest.err conftest.$ac_objext \
    5222       conftest$ac_exeext conftest.$ac_ext
    5223 fi
    5224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    5226 if test `eval echo '${'$as_ac_var'}'` = yes; then
    5227 
    5228 cat >>confdefs.h <<_ACEOF
     2473
     2474; return 0; }
     2475EOF
     2476if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2477  rm -rf conftest*
     2478  eval "ac_cv_func_$ac_func=yes"
     2479else
     2480  echo "configure: failed program was:" >&5
     2481  cat conftest.$ac_ext >&5
     2482  rm -rf conftest*
     2483  eval "ac_cv_func_$ac_func=no"
     2484fi
     2485rm -f conftest*
     2486fi
     2487
     2488if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     2489  echo "$ac_t""yes" 1>&6
     2490  cat >> confdefs.h <<EOF
    52292491#define CRAY_STACKSEG_END $ac_func
    5230 _ACEOF
    5231 
    5232     break
    5233 fi
    5234 
    5235   done
    5236 fi
    5237 
    5238 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    5239 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
    5240 if test "${ac_cv_c_stack_direction+set}" = set; then
    5241   echo $ECHO_N "(cached) $ECHO_C" >&6
     2492EOF
     2493
     2494  break
     2495else
     2496  echo "$ac_t""no" 1>&6
     2497fi
     2498
     2499done
     2500fi
     2501
     2502echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
     2503echo "configure:2504: checking stack direction for C alloca" >&5
     2504if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
     2505  echo $ac_n "(cached) $ac_c" 1>&6
    52422506else
    52432507  if test "$cross_compiling" = yes; then
    52442508  ac_cv_c_stack_direction=0
    52452509else
    5246   cat >conftest.$ac_ext <<_ACEOF
    5247 /* confdefs.h.  */
    5248 _ACEOF
    5249 cat confdefs.h >>conftest.$ac_ext
    5250 cat >>conftest.$ac_ext <<_ACEOF
    5251 /* end confdefs.h.  */
    5252 int
     2510  cat > conftest.$ac_ext <<EOF
     2511#line 2512 "configure"
     2512#include "confdefs.h"
    52532513find_stack_direction ()
    52542514{
     
    52632523    return (&dummy > addr) ? 1 : -1;
    52642524}
    5265 
    5266 int
    52672525main ()
    52682526{
    5269   exit (find_stack_direction () < 0);
     2527  exit (find_stack_direction() < 0);
    52702528}
    5271 _ACEOF
    5272 rm -f conftest$ac_exeext
    5273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5274   (eval $ac_link) 2>&5
    5275   ac_status=$?
    5276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5277   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5279   (eval $ac_try) 2>&5
    5280   ac_status=$?
    5281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5282   (exit $ac_status); }; }; then
     2529EOF
     2530if { (eval echo configure:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2531then
    52832532  ac_cv_c_stack_direction=1
    52842533else
    5285   echo "$as_me: program exited with status $ac_status" >&5
    5286 echo "$as_me: failed program was:" >&5
    5287 sed 's/^/| /' conftest.$ac_ext >&5
    5288 
    5289 ( exit $ac_status )
    5290 ac_cv_c_stack_direction=-1
    5291 fi
    5292 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5293 fi
    5294 fi
    5295 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    5296 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
    5297 
    5298 cat >>confdefs.h <<_ACEOF
     2534  echo "configure: failed program was:" >&5
     2535  cat conftest.$ac_ext >&5
     2536  rm -fr conftest*
     2537  ac_cv_c_stack_direction=-1
     2538fi
     2539rm -fr conftest*
     2540fi
     2541
     2542fi
     2543
     2544echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
     2545cat >> confdefs.h <<EOF
    52992546#define STACK_DIRECTION $ac_cv_c_stack_direction
    5300 _ACEOF
    5301 
    5302 
    5303 fi
    5304 
    5305 if test $ac_cv_c_compiler_gnu = yes; then
    5306     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    5307 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    5308 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    5309   echo $ECHO_N "(cached) $ECHO_C" >&6
     2547EOF
     2548
     2549fi
     2550
     2551if test $ac_cv_prog_gcc = yes; then
     2552    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
     2553echo "configure:2554: checking whether ${CC-cc} needs -traditional" >&5
     2554if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
     2555  echo $ac_n "(cached) $ac_c" 1>&6
    53102556else
    53112557    ac_pattern="Autoconf.*'x'"
    5312   cat >conftest.$ac_ext <<_ACEOF
    5313 /* confdefs.h.  */
    5314 _ACEOF
    5315 cat confdefs.h >>conftest.$ac_ext
    5316 cat >>conftest.$ac_ext <<_ACEOF
    5317 /* end confdefs.h.  */
     2558  cat > conftest.$ac_ext <<EOF
     2559#line 2560 "configure"
     2560#include "confdefs.h"
    53182561#include <sgtty.h>
    53192562Autoconf TIOCGETP
    5320 _ACEOF
     2563EOF
    53212564if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5322   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     2565  egrep "$ac_pattern" >/dev/null 2>&1; then
     2566  rm -rf conftest*
    53232567  ac_cv_prog_gcc_traditional=yes
    53242568else
     2569  rm -rf conftest*
    53252570  ac_cv_prog_gcc_traditional=no
    53262571fi
     
    53292574
    53302575  if test $ac_cv_prog_gcc_traditional = no; then
    5331     cat >conftest.$ac_ext <<_ACEOF
    5332 /* confdefs.h.  */
    5333 _ACEOF
    5334 cat confdefs.h >>conftest.$ac_ext
    5335 cat >>conftest.$ac_ext <<_ACEOF
    5336 /* end confdefs.h.  */
     2576    cat > conftest.$ac_ext <<EOF
     2577#line 2578 "configure"
     2578#include "confdefs.h"
    53372579#include <termio.h>
    53382580Autoconf TCGETA
    5339 _ACEOF
     2581EOF
    53402582if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5341   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     2583  egrep "$ac_pattern" >/dev/null 2>&1; then
     2584  rm -rf conftest*
    53422585  ac_cv_prog_gcc_traditional=yes
    53432586fi
     
    53462589  fi
    53472590fi
    5348 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    5349 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     2591
     2592echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
    53502593  if test $ac_cv_prog_gcc_traditional = yes; then
    53512594    CC="$CC -traditional"
     
    53532596fi
    53542597
    5355 
    5356 
    5357 for ac_header in stdlib.h unistd.h
     2598for ac_hdr in unistd.h
    53582599do
    5359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5361   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5364   echo $ECHO_N "(cached) $ECHO_C" >&6
    5365 fi
    5366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5368 else
    5369   # Is the header compilable?
    5370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    5372 cat >conftest.$ac_ext <<_ACEOF
    5373 /* confdefs.h.  */
    5374 _ACEOF
    5375 cat confdefs.h >>conftest.$ac_ext
    5376 cat >>conftest.$ac_ext <<_ACEOF
    5377 /* end confdefs.h.  */
    5378 $ac_includes_default
    5379 #include <$ac_header>
    5380 _ACEOF
    5381 rm -f conftest.$ac_objext
    5382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5383   (eval $ac_compile) 2>conftest.er1
    5384   ac_status=$?
    5385   grep -v '^ *+' conftest.er1 >conftest.err
    5386   rm -f conftest.er1
    5387   cat conftest.err >&5
    5388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5389   (exit $ac_status); } &&
    5390          { ac_try='test -z "$ac_c_werror_flag"
    5391                          || test ! -s conftest.err'
    5392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5393   (eval $ac_try) 2>&5
    5394   ac_status=$?
    5395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5396   (exit $ac_status); }; } &&
    5397          { ac_try='test -s conftest.$ac_objext'
    5398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5399   (eval $ac_try) 2>&5
    5400   ac_status=$?
    5401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5402   (exit $ac_status); }; }; then
    5403   ac_header_compiler=yes
    5404 else
    5405   echo "$as_me: failed program was:" >&5
    5406 sed 's/^/| /' conftest.$ac_ext >&5
    5407 
    5408 ac_header_compiler=no
    5409 fi
    5410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5412 echo "${ECHO_T}$ac_header_compiler" >&6
    5413 
    5414 # Is the header present?
    5415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    5417 cat >conftest.$ac_ext <<_ACEOF
    5418 /* confdefs.h.  */
    5419 _ACEOF
    5420 cat confdefs.h >>conftest.$ac_ext
    5421 cat >>conftest.$ac_ext <<_ACEOF
    5422 /* end confdefs.h.  */
    5423 #include <$ac_header>
    5424 _ACEOF
    5425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5426   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5427   ac_status=$?
    5428   grep -v '^ *+' conftest.er1 >conftest.err
    5429   rm -f conftest.er1
    5430   cat conftest.err >&5
    5431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5432   (exit $ac_status); } >/dev/null; then
    5433   if test -s conftest.err; then
    5434     ac_cpp_err=$ac_c_preproc_warn_flag
    5435     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5436   else
    5437     ac_cpp_err=
    5438   fi
    5439 else
    5440   ac_cpp_err=yes
    5441 fi
    5442 if test -z "$ac_cpp_err"; then
    5443   ac_header_preproc=yes
    5444 else
    5445   echo "$as_me: failed program was:" >&5
    5446 sed 's/^/| /' conftest.$ac_ext >&5
    5447 
    5448   ac_header_preproc=no
    5449 fi
    5450 rm -f conftest.err conftest.$ac_ext
    5451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5452 echo "${ECHO_T}$ac_header_preproc" >&6
    5453 
    5454 # So?  What about this header?
    5455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5456   yes:no: )
    5457     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5459     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5461     ac_header_preproc=yes
    5462     ;;
    5463   no:yes:* )
    5464     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5466     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5467 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5468     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5470     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5471 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5472     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5474     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5476     (
    5477       cat <<\_ASBOX
    5478 ## ------------------------------------------ ##
    5479 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5480 ## ------------------------------------------ ##
    5481 _ASBOX
    5482     ) |
    5483       sed "s/^/$as_me: WARNING:     /" >&2
    5484     ;;
    5485 esac
    5486 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5489   echo $ECHO_N "(cached) $ECHO_C" >&6
    5490 else
    5491   eval "$as_ac_Header=\$ac_header_preproc"
    5492 fi
    5493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5495 
    5496 fi
    5497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    5498   cat >>confdefs.h <<_ACEOF
    5499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    5500 _ACEOF
    5501 
    5502 fi
    5503 
     2600ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     2601echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     2602echo "configure:2603: checking for $ac_hdr" >&5
     2603if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2604  echo $ac_n "(cached) $ac_c" 1>&6
     2605else
     2606  cat > conftest.$ac_ext <<EOF
     2607#line 2608 "configure"
     2608#include "confdefs.h"
     2609#include <$ac_hdr>
     2610EOF
     2611ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2612{ (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2613ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2614if test -z "$ac_err"; then
     2615  rm -rf conftest*
     2616  eval "ac_cv_header_$ac_safe=yes"
     2617else
     2618  echo "$ac_err" >&5
     2619  echo "configure: failed program was:" >&5
     2620  cat conftest.$ac_ext >&5
     2621  rm -rf conftest*
     2622  eval "ac_cv_header_$ac_safe=no"
     2623fi
     2624rm -f conftest*
     2625fi
     2626if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2627  echo "$ac_t""yes" 1>&6
     2628    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     2629  cat >> confdefs.h <<EOF
     2630#define $ac_tr_hdr 1
     2631EOF
     2632 
     2633else
     2634  echo "$ac_t""no" 1>&6
     2635fi
    55042636done
    5505 
    55062637
    55072638for ac_func in getpagesize
    55082639do
    5509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5510 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5512 if eval "test \"\${$as_ac_var+set}\" = set"; then
    5513   echo $ECHO_N "(cached) $ECHO_C" >&6
    5514 else
    5515   cat >conftest.$ac_ext <<_ACEOF
    5516 /* confdefs.h.  */
    5517 _ACEOF
    5518 cat confdefs.h >>conftest.$ac_ext
    5519 cat >>conftest.$ac_ext <<_ACEOF
    5520 /* end confdefs.h.  */
    5521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    5522    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5523 #define $ac_func innocuous_$ac_func
    5524 
     2640echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     2641echo "configure:2642: checking for $ac_func" >&5
     2642if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     2643  echo $ac_n "(cached) $ac_c" 1>&6
     2644else
     2645  cat > conftest.$ac_ext <<EOF
     2646#line 2647 "configure"
     2647#include "confdefs.h"
    55252648/* System header to define __stub macros and hopefully few prototypes,
    5526     which can conflict with char $ac_func (); below.
    5527     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5528     <limits.h> exists even on freestanding compilers.  */
    5529 
    5530 #ifdef __STDC__
    5531 # include <limits.h>
    5532 #else
    5533 # include <assert.h>
    5534 #endif
    5535 
    5536 #undef $ac_func
    5537 
     2649    which can conflict with char $ac_func(); below.  */
     2650#include <assert.h>
    55382651/* Override any gcc2 internal prototype to avoid an error.  */
    5539 #ifdef __cplusplus
    5540 extern "C"
    5541 {
    5542 #endif
    55432652/* We use char because int might match the return type of a gcc2
    5544    builtin and then its argument prototype would still apply.  */
    5545 char $ac_func ();
     2653    builtin and then its argument prototype would still apply.  */
     2654char $ac_func();
     2655
     2656int main() {
     2657
    55462658/* The GNU C library defines this for functions which it implements
    55472659    to always fail with ENOSYS.  Some functions are actually named
     
    55502662choke me
    55512663#else
    5552 char (*f) () = $ac_func;
     2664$ac_func();
    55532665#endif
    5554 #ifdef __cplusplus
    5555 }
    5556 #endif
    5557 
    5558 int
    5559 main ()
    5560 {
    5561 return f != $ac_func;
    5562   ;
    5563   return 0;
    5564 }
    5565 _ACEOF
    5566 rm -f conftest.$ac_objext conftest$ac_exeext
    5567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5568   (eval $ac_link) 2>conftest.er1
    5569   ac_status=$?
    5570   grep -v '^ *+' conftest.er1 >conftest.err
    5571   rm -f conftest.er1
    5572   cat conftest.err >&5
    5573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5574   (exit $ac_status); } &&
    5575          { ac_try='test -z "$ac_c_werror_flag"
    5576                          || test ! -s conftest.err'
    5577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5578   (eval $ac_try) 2>&5
    5579   ac_status=$?
    5580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5581   (exit $ac_status); }; } &&
    5582          { ac_try='test -s conftest$ac_exeext'
    5583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5584   (eval $ac_try) 2>&5
    5585   ac_status=$?
    5586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5587   (exit $ac_status); }; }; then
    5588   eval "$as_ac_var=yes"
    5589 else
    5590   echo "$as_me: failed program was:" >&5
    5591 sed 's/^/| /' conftest.$ac_ext >&5
    5592 
    5593 eval "$as_ac_var=no"
    5594 fi
    5595 rm -f conftest.err conftest.$ac_objext \
    5596       conftest$ac_exeext conftest.$ac_ext
    5597 fi
    5598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    5600 if test `eval echo '${'$as_ac_var'}'` = yes; then
    5601   cat >>confdefs.h <<_ACEOF
    5602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    5603 _ACEOF
    5604 
     2666
     2667; return 0; }
     2668EOF
     2669if { (eval echo configure:2670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2670  rm -rf conftest*
     2671  eval "ac_cv_func_$ac_func=yes"
     2672else
     2673  echo "configure: failed program was:" >&5
     2674  cat conftest.$ac_ext >&5
     2675  rm -rf conftest*
     2676  eval "ac_cv_func_$ac_func=no"
     2677fi
     2678rm -f conftest*
     2679fi
     2680
     2681if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     2682  echo "$ac_t""yes" 1>&6
     2683    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     2684  cat >> confdefs.h <<EOF
     2685#define $ac_tr_func 1
     2686EOF
     2687 
     2688else
     2689  echo "$ac_t""no" 1>&6
    56052690fi
    56062691done
    56072692
    5608 echo "$as_me:$LINENO: checking for working mmap" >&5
    5609 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
    5610 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
    5611   echo $ECHO_N "(cached) $ECHO_C" >&6
     2693echo $ac_n "checking for working mmap""... $ac_c" 1>&6
     2694echo "configure:2695: checking for working mmap" >&5
     2695if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
     2696  echo $ac_n "(cached) $ac_c" 1>&6
    56122697else
    56132698  if test "$cross_compiling" = yes; then
    56142699  ac_cv_func_mmap_fixed_mapped=no
    56152700else
    5616   cat >conftest.$ac_ext <<_ACEOF
    5617 /* confdefs.h.  */
    5618 _ACEOF
    5619 cat confdefs.h >>conftest.$ac_ext
    5620 cat >>conftest.$ac_ext <<_ACEOF
    5621 /* end confdefs.h.  */
    5622 $ac_includes_default
    5623 /* malloc might have been renamed as rpl_malloc. */
    5624 #undef malloc
     2701  cat > conftest.$ac_ext <<EOF
     2702#line 2703 "configure"
     2703#include "confdefs.h"
    56252704
    56262705/* Thanks to Mike Haertel and Jim Avera for this test.
     
    56362715   address.  (There have been systems where private was not correctly
    56372716   implemented like the infamous i386 svr4.0, and systems where the
    5638    VM page cache was not coherent with the file system buffer cache
     2717   VM page cache was not coherent with the filesystem buffer cache
    56392718   like early versions of FreeBSD and possibly contemporary NetBSD.)
    56402719   For shared mappings, we should conversely verify that changes get
    5641    propagated back to all the places they're supposed to be.
     2720   propogated back to all the places they're supposed to be.
    56422721
    56432722   Grep wants private fixed already mapped.
     
    56452724   * does it exist and is it safe to write into the mmap'd area
    56462725   * how to use it (BSD variants)  */
    5647 
     2726#include <sys/types.h>
    56482727#include <fcntl.h>
    56492728#include <sys/mman.h>
    56502729
    5651 #if !STDC_HEADERS && !HAVE_STDLIB_H
    5652 char *malloc ();
    5653 #endif
    5654 
    56552730/* This mess was copied from the GNU getpagesize.h.  */
    5656 #if !HAVE_GETPAGESIZE
     2731#ifndef HAVE_GETPAGESIZE
     2732# ifdef HAVE_UNISTD_H
     2733#  include <unistd.h>
     2734# endif
     2735
    56572736/* Assume that all systems that can run configure have sys/param.h.  */
    5658 # if !HAVE_SYS_PARAM_H
     2737# ifndef HAVE_SYS_PARAM_H
    56592738#  define HAVE_SYS_PARAM_H 1
    56602739# endif
     
    56632742#  define getpagesize() sysconf(_SC_PAGESIZE)
    56642743# else /* no _SC_PAGESIZE */
    5665 #  if HAVE_SYS_PARAM_H
     2744#  ifdef HAVE_SYS_PARAM_H
    56662745#   include <sys/param.h>
    56672746#   ifdef EXEC_PAGESIZE
     
    56902769#endif /* no HAVE_GETPAGESIZE */
    56912770
     2771#ifdef __cplusplus
     2772extern "C" { void *malloc(unsigned); }
     2773#else
     2774char *malloc();
     2775#endif
     2776
    56922777int
    5693 main ()
     2778main()
    56942779{
    5695   char *data, *data2, *data3;
    5696   int i, pagesize;
    5697   int fd;
    5698 
    5699   pagesize = getpagesize ();
    5700 
    5701   /* First, make a file with some known garbage in it. */
    5702   data = (char *) malloc (pagesize);
    5703   if (!data)
    5704     exit (1);
    5705   for (i = 0; i < pagesize; ++i)
    5706     *(data + i) = rand ();
    5707   umask (0);
    5708   fd = creat ("conftest.mmap", 0600);
    5709   if (fd < 0)
    5710     exit (1);
    5711   if (write (fd, data, pagesize) != pagesize)
    5712     exit (1);
    5713   close (fd);
    5714 
    5715   /* Next, try to mmap the file at a fixed address which already has
    5716      something else allocated at it.  If we can, also make sure that
    5717      we see the same garbage.  */
    5718   fd = open ("conftest.mmap", O_RDWR);
    5719   if (fd < 0)
    5720     exit (1);
    5721   data2 = (char *) malloc (2 * pagesize);
    5722   if (!data2)
    5723     exit (1);
    5724   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
    5725   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
    5726                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
    5727     exit (1);
    5728   for (i = 0; i < pagesize; ++i)
    5729     if (*(data + i) != *(data2 + i))
    5730       exit (1);
    5731 
    5732   /* Finally, make sure that changes to the mapped area do not
    5733      percolate back to the file as seen by read().  (This is a bug on
    5734      some variants of i386 svr4.0.)  */
    5735   for (i = 0; i < pagesize; ++i)
    5736     *(data2 + i) = *(data2 + i) + 1;
    5737   data3 = (char *) malloc (pagesize);
    5738   if (!data3)
    5739     exit (1);
    5740   if (read (fd, data3, pagesize) != pagesize)
    5741     exit (1);
    5742   for (i = 0; i < pagesize; ++i)
    5743     if (*(data + i) != *(data3 + i))
    5744       exit (1);
    5745   close (fd);
    5746   exit (0);
     2780        char *data, *data2, *data3;
     2781        int i, pagesize;
     2782        int fd;
     2783
     2784        pagesize = getpagesize();
     2785
     2786        /*
     2787         * First, make a file with some known garbage in it.
     2788         */
     2789        data = malloc(pagesize);
     2790        if (!data)
     2791                exit(1);
     2792        for (i = 0; i < pagesize; ++i)
     2793                *(data + i) = rand();
     2794        umask(0);
     2795        fd = creat("conftestmmap", 0600);
     2796        if (fd < 0)
     2797                exit(1);
     2798        if (write(fd, data, pagesize) != pagesize)
     2799                exit(1);
     2800        close(fd);
     2801
     2802        /*
     2803         * Next, try to mmap the file at a fixed address which
     2804         * already has something else allocated at it.  If we can,
     2805         * also make sure that we see the same garbage.
     2806         */
     2807        fd = open("conftestmmap", O_RDWR);
     2808        if (fd < 0)
     2809                exit(1);
     2810        data2 = malloc(2 * pagesize);
     2811        if (!data2)
     2812                exit(1);
     2813        data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
     2814        if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
     2815            MAP_PRIVATE | MAP_FIXED, fd, 0L))
     2816                exit(1);
     2817        for (i = 0; i < pagesize; ++i)
     2818                if (*(data + i) != *(data2 + i))
     2819                        exit(1);
     2820
     2821        /*
     2822         * Finally, make sure that changes to the mapped area
     2823         * do not percolate back to the file as seen by read().
     2824         * (This is a bug on some variants of i386 svr4.0.)
     2825         */
     2826        for (i = 0; i < pagesize; ++i)
     2827                *(data2 + i) = *(data2 + i) + 1;
     2828        data3 = malloc(pagesize);
     2829        if (!data3)
     2830                exit(1);
     2831        if (read(fd, data3, pagesize) != pagesize)
     2832                exit(1);
     2833        for (i = 0; i < pagesize; ++i)
     2834                if (*(data + i) != *(data3 + i))
     2835                        exit(1);
     2836        close(fd);
     2837        unlink("conftestmmap");
     2838        exit(0);
    57472839}
    5748 _ACEOF
    5749 rm -f conftest$ac_exeext
    5750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5751   (eval $ac_link) 2>&5
    5752   ac_status=$?
    5753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5754   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5756   (eval $ac_try) 2>&5
    5757   ac_status=$?
    5758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5759   (exit $ac_status); }; }; then
     2840
     2841EOF
     2842if { (eval echo configure:2843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2843then
    57602844  ac_cv_func_mmap_fixed_mapped=yes
    57612845else
    5762   echo "$as_me: program exited with status $ac_status" >&5
    5763 echo "$as_me: failed program was:" >&5
    5764 sed 's/^/| /' conftest.$ac_ext >&5
    5765 
    5766 ( exit $ac_status )
    5767 ac_cv_func_mmap_fixed_mapped=no
    5768 fi
    5769 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5770 fi
    5771 fi
    5772 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
    5773 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
     2846  echo "configure: failed program was:" >&5
     2847  cat conftest.$ac_ext >&5
     2848  rm -fr conftest*
     2849  ac_cv_func_mmap_fixed_mapped=no
     2850fi
     2851rm -fr conftest*
     2852fi
     2853
     2854fi
     2855
     2856echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
    57742857if test $ac_cv_func_mmap_fixed_mapped = yes; then
    5775 
    5776 cat >>confdefs.h <<\_ACEOF
     2858  cat >> confdefs.h <<\EOF
    57772859#define HAVE_MMAP 1
    5778 _ACEOF
    5779 
    5780 fi
    5781 rm -f conftest.mmap
    5782 
    5783 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    5784 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    5785 if test "${ac_cv_type_signal+set}" = set; then
    5786   echo $ECHO_N "(cached) $ECHO_C" >&6
    5787 else
    5788   cat >conftest.$ac_ext <<_ACEOF
    5789 /* confdefs.h.  */
    5790 _ACEOF
    5791 cat confdefs.h >>conftest.$ac_ext
    5792 cat >>conftest.$ac_ext <<_ACEOF
    5793 /* end confdefs.h.  */
     2860EOF
     2861
     2862fi
     2863
     2864echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
     2865echo "configure:2866: checking return type of signal handlers" >&5
     2866if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
     2867  echo $ac_n "(cached) $ac_c" 1>&6
     2868else
     2869  cat > conftest.$ac_ext <<EOF
     2870#line 2871 "configure"
     2871#include "confdefs.h"
    57942872#include <sys/types.h>
    57952873#include <signal.h>
    57962874#ifdef signal
    5797 # undef signal
     2875#undef signal
    57982876#endif
    57992877#ifdef __cplusplus
     
    58032881#endif
    58042882
    5805 int
    5806 main ()
    5807 {
     2883int main() {
    58082884int i;
    5809   ;
    5810   return 0;
    5811 }
    5812 _ACEOF
    5813 rm -f conftest.$ac_objext
    5814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5815   (eval $ac_compile) 2>conftest.er1
    5816   ac_status=$?
    5817   grep -v '^ *+' conftest.er1 >conftest.err
    5818   rm -f conftest.er1
    5819   cat conftest.err >&5
    5820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5821   (exit $ac_status); } &&
    5822          { ac_try='test -z "$ac_c_werror_flag"
    5823                          || test ! -s conftest.err'
    5824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5825   (eval $ac_try) 2>&5
    5826   ac_status=$?
    5827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5828   (exit $ac_status); }; } &&
    5829          { ac_try='test -s conftest.$ac_objext'
    5830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5831   (eval $ac_try) 2>&5
    5832   ac_status=$?
    5833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5834   (exit $ac_status); }; }; then
     2885; return 0; }
     2886EOF
     2887if { (eval echo configure:2888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2888  rm -rf conftest*
    58352889  ac_cv_type_signal=void
    58362890else
    5837   echo "$as_me: failed program was:" >&5
    5838 sed 's/^/| /' conftest.$ac_ext >&5
    5839 
    5840 ac_cv_type_signal=int
    5841 fi
    5842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5843 fi
    5844 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    5845 echo "${ECHO_T}$ac_cv_type_signal" >&6
    5846 
    5847 cat >>confdefs.h <<_ACEOF
     2891  echo "configure: failed program was:" >&5
     2892  cat conftest.$ac_ext >&5
     2893  rm -rf conftest*
     2894  ac_cv_type_signal=int
     2895fi
     2896rm -f conftest*
     2897fi
     2898
     2899echo "$ac_t""$ac_cv_type_signal" 1>&6
     2900cat >> confdefs.h <<EOF
    58482901#define RETSIGTYPE $ac_cv_type_signal
    5849 _ACEOF
    5850 
    5851 
    5852 
    5853 for ac_func in vprintf
     2902EOF
     2903
     2904
     2905echo $ac_n "checking for vprintf""... $ac_c" 1>&6
     2906echo "configure:2907: checking for vprintf" >&5
     2907if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
     2908  echo $ac_n "(cached) $ac_c" 1>&6
     2909else
     2910  cat > conftest.$ac_ext <<EOF
     2911#line 2912 "configure"
     2912#include "confdefs.h"
     2913/* System header to define __stub macros and hopefully few prototypes,
     2914    which can conflict with char vprintf(); below.  */
     2915#include <assert.h>
     2916/* Override any gcc2 internal prototype to avoid an error.  */
     2917/* We use char because int might match the return type of a gcc2
     2918    builtin and then its argument prototype would still apply.  */
     2919char vprintf();
     2920
     2921int main() {
     2922
     2923/* The GNU C library defines this for functions which it implements
     2924    to always fail with ENOSYS.  Some functions are actually named
     2925    something starting with __ and the normal name is an alias.  */
     2926#if defined (__stub_vprintf) || defined (__stub___vprintf)
     2927choke me
     2928#else
     2929vprintf();
     2930#endif
     2931
     2932; return 0; }
     2933EOF
     2934if { (eval echo configure:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2935  rm -rf conftest*
     2936  eval "ac_cv_func_vprintf=yes"
     2937else
     2938  echo "configure: failed program was:" >&5
     2939  cat conftest.$ac_ext >&5
     2940  rm -rf conftest*
     2941  eval "ac_cv_func_vprintf=no"
     2942fi
     2943rm -f conftest*
     2944fi
     2945
     2946if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
     2947  echo "$ac_t""yes" 1>&6
     2948  cat >> confdefs.h <<\EOF
     2949#define HAVE_VPRINTF 1
     2950EOF
     2951
     2952else
     2953  echo "$ac_t""no" 1>&6
     2954fi
     2955
     2956if test "$ac_cv_func_vprintf" != yes; then
     2957echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
     2958echo "configure:2959: checking for _doprnt" >&5
     2959if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
     2960  echo $ac_n "(cached) $ac_c" 1>&6
     2961else
     2962  cat > conftest.$ac_ext <<EOF
     2963#line 2964 "configure"
     2964#include "confdefs.h"
     2965/* System header to define __stub macros and hopefully few prototypes,
     2966    which can conflict with char _doprnt(); below.  */
     2967#include <assert.h>
     2968/* Override any gcc2 internal prototype to avoid an error.  */
     2969/* We use char because int might match the return type of a gcc2
     2970    builtin and then its argument prototype would still apply.  */
     2971char _doprnt();
     2972
     2973int main() {
     2974
     2975/* The GNU C library defines this for functions which it implements
     2976    to always fail with ENOSYS.  Some functions are actually named
     2977    something starting with __ and the normal name is an alias.  */
     2978#if defined (__stub__doprnt) || defined (__stub____doprnt)
     2979choke me
     2980#else
     2981_doprnt();
     2982#endif
     2983
     2984; return 0; }
     2985EOF
     2986if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2987  rm -rf conftest*
     2988  eval "ac_cv_func__doprnt=yes"
     2989else
     2990  echo "configure: failed program was:" >&5
     2991  cat conftest.$ac_ext >&5
     2992  rm -rf conftest*
     2993  eval "ac_cv_func__doprnt=no"
     2994fi
     2995rm -f conftest*
     2996fi
     2997
     2998if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
     2999  echo "$ac_t""yes" 1>&6
     3000  cat >> confdefs.h <<\EOF
     3001#define HAVE_DOPRNT 1
     3002EOF
     3003
     3004else
     3005  echo "$ac_t""no" 1>&6
     3006fi
     3007
     3008fi
     3009
     3010
     3011echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
     3012echo "configure:3013: checking for library containing setenv" >&5
     3013if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
     3014  echo $ac_n "(cached) $ac_c" 1>&6
     3015else
     3016  ac_func_search_save_LIBS="$LIBS"
     3017ac_cv_search_setenv="no"
     3018cat > conftest.$ac_ext <<EOF
     3019#line 3020 "configure"
     3020#include "confdefs.h"
     3021/* Override any gcc2 internal prototype to avoid an error.  */
     3022/* We use char because int might match the return type of a gcc2
     3023    builtin and then its argument prototype would still apply.  */
     3024char setenv();
     3025
     3026int main() {
     3027setenv()
     3028; return 0; }
     3029EOF
     3030if { (eval echo configure:3031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3031  rm -rf conftest*
     3032  ac_cv_search_setenv="none required"
     3033else
     3034  echo "configure: failed program was:" >&5
     3035  cat conftest.$ac_ext >&5
     3036fi
     3037rm -f conftest*
     3038test "$ac_cv_search_setenv" = "no" && for i in bsd; do
     3039LIBS="-l$i  $ac_func_search_save_LIBS"
     3040cat > conftest.$ac_ext <<EOF
     3041#line 3042 "configure"
     3042#include "confdefs.h"
     3043/* Override any gcc2 internal prototype to avoid an error.  */
     3044/* We use char because int might match the return type of a gcc2
     3045    builtin and then its argument prototype would still apply.  */
     3046char setenv();
     3047
     3048int main() {
     3049setenv()
     3050; return 0; }
     3051EOF
     3052if { (eval echo configure:3053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3053  rm -rf conftest*
     3054  ac_cv_search_setenv="-l$i"
     3055break
     3056else
     3057  echo "configure: failed program was:" >&5
     3058  cat conftest.$ac_ext >&5
     3059fi
     3060rm -f conftest*
     3061done
     3062LIBS="$ac_func_search_save_LIBS"
     3063fi
     3064
     3065echo "$ac_t""$ac_cv_search_setenv" 1>&6
     3066if test "$ac_cv_search_setenv" != "no"; then
     3067  test "$ac_cv_search_setenv" = "none required" || LIBS="$ac_cv_search_setenv $LIBS"
     3068 
     3069else :
     3070 
     3071fi
     3072for ac_func in gettimeofday atexit bcopy getcwd getwd vsnprintf readlink \
     3073 sleep usleep getpwnam popen setenv siginterrupt
    58543074do
    5855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5856 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5858 if eval "test \"\${$as_ac_var+set}\" = set"; then
    5859   echo $ECHO_N "(cached) $ECHO_C" >&6
    5860 else
    5861   cat >conftest.$ac_ext <<_ACEOF
    5862 /* confdefs.h.  */
    5863 _ACEOF
    5864 cat confdefs.h >>conftest.$ac_ext
    5865 cat >>conftest.$ac_ext <<_ACEOF
    5866 /* end confdefs.h.  */
    5867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    5868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5869 #define $ac_func innocuous_$ac_func
    5870 
     3075echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     3076echo "configure:3077: checking for $ac_func" >&5
     3077if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
     3078  echo $ac_n "(cached) $ac_c" 1>&6
     3079else
     3080  cat > conftest.$ac_ext <<EOF
     3081#line 3082 "configure"
     3082#include "confdefs.h"
    58713083/* System header to define __stub macros and hopefully few prototypes,
    5872     which can conflict with char $ac_func (); below.
    5873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5874     <limits.h> exists even on freestanding compilers.  */
    5875 
    5876 #ifdef __STDC__
    5877 # include <limits.h>
    5878 #else
    5879 # include <assert.h>
    5880 #endif
    5881 
    5882 #undef $ac_func
    5883 
     3084    which can conflict with char $ac_func(); below.  */
     3085#include <assert.h>
    58843086/* Override any gcc2 internal prototype to avoid an error.  */
    5885 #ifdef __cplusplus
    5886 extern "C"
    5887 {
    5888 #endif
    58893087/* We use char because int might match the return type of a gcc2
    5890    builtin and then its argument prototype would still apply.  */
    5891 char $ac_func ();
     3088    builtin and then its argument prototype would still apply.  */
     3089char $ac_func();
     3090
     3091int main() {
     3092
    58923093/* The GNU C library defines this for functions which it implements
    58933094    to always fail with ENOSYS.  Some functions are actually named
     
    58963097choke me
    58973098#else
    5898 char (*f) () = $ac_func;
     3099$ac_func();
    58993100#endif
    5900 #ifdef __cplusplus
    5901 }
    5902 #endif
    5903 
    5904 int
    5905 main ()
    5906 {
    5907 return f != $ac_func;
    5908   ;
    5909   return 0;
    5910 }
    5911 _ACEOF
    5912 rm -f conftest.$ac_objext conftest$ac_exeext
    5913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5914   (eval $ac_link) 2>conftest.er1
    5915   ac_status=$?
    5916   grep -v '^ *+' conftest.er1 >conftest.err
    5917   rm -f conftest.er1
    5918   cat conftest.err >&5
    5919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5920   (exit $ac_status); } &&
    5921          { ac_try='test -z "$ac_c_werror_flag"
    5922                          || test ! -s conftest.err'
    5923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5924   (eval $ac_try) 2>&5
    5925   ac_status=$?
    5926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5927   (exit $ac_status); }; } &&
    5928          { ac_try='test -s conftest$ac_exeext'
    5929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5930   (eval $ac_try) 2>&5
    5931   ac_status=$?
    5932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5933   (exit $ac_status); }; }; then
    5934   eval "$as_ac_var=yes"
    5935 else
    5936   echo "$as_me: failed program was:" >&5
    5937 sed 's/^/| /' conftest.$ac_ext >&5
    5938 
    5939 eval "$as_ac_var=no"
    5940 fi
    5941 rm -f conftest.err conftest.$ac_objext \
    5942       conftest$ac_exeext conftest.$ac_ext
    5943 fi
    5944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    5946 if test `eval echo '${'$as_ac_var'}'` = yes; then
    5947   cat >>confdefs.h <<_ACEOF
    5948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    5949 _ACEOF
    5950 
    5951 echo "$as_me:$LINENO: checking for _doprnt" >&5
    5952 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
    5953 if test "${ac_cv_func__doprnt+set}" = set; then
    5954   echo $ECHO_N "(cached) $ECHO_C" >&6
    5955 else
    5956   cat >conftest.$ac_ext <<_ACEOF
    5957 /* confdefs.h.  */
    5958 _ACEOF
    5959 cat confdefs.h >>conftest.$ac_ext
    5960 cat >>conftest.$ac_ext <<_ACEOF
    5961 /* end confdefs.h.  */
    5962 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
    5963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5964 #define _doprnt innocuous__doprnt
    5965 
    5966 /* System header to define __stub macros and hopefully few prototypes,
    5967     which can conflict with char _doprnt (); below.
    5968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5969     <limits.h> exists even on freestanding compilers.  */
    5970 
    5971 #ifdef __STDC__
    5972 # include <limits.h>
    5973 #else
    5974 # include <assert.h>
    5975 #endif
    5976 
    5977 #undef _doprnt
    5978 
    5979 /* Override any gcc2 internal prototype to avoid an error.  */
    5980 #ifdef __cplusplus
    5981 extern "C"
    5982 {
    5983 #endif
    5984 /* We use char because int might match the return type of a gcc2
    5985    builtin and then its argument prototype would still apply.  */
    5986 char _doprnt ();
    5987 /* The GNU C library defines this for functions which it implements
    5988     to always fail with ENOSYS.  Some functions are actually named
    5989     something starting with __ and the normal name is an alias.  */
    5990 #if defined (__stub__doprnt) || defined (__stub____doprnt)
    5991 choke me
    5992 #else
    5993 char (*f) () = _doprnt;
    5994 #endif
    5995 #ifdef __cplusplus
    5996 }
    5997 #endif
    5998 
    5999 int
    6000 main ()
    6001 {
    6002 return f != _doprnt;
    6003   ;
    6004   return 0;
    6005 }
    6006 _ACEOF
    6007 rm -f conftest.$ac_objext conftest$ac_exeext
    6008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6009   (eval $ac_link) 2>conftest.er1
    6010   ac_status=$?
    6011   grep -v '^ *+' conftest.er1 >conftest.err
    6012   rm -f conftest.er1
    6013   cat conftest.err >&5
    6014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6015   (exit $ac_status); } &&
    6016          { ac_try='test -z "$ac_c_werror_flag"
    6017                          || test ! -s conftest.err'
    6018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6019   (eval $ac_try) 2>&5
    6020   ac_status=$?
    6021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6022   (exit $ac_status); }; } &&
    6023          { ac_try='test -s conftest$ac_exeext'
    6024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6025   (eval $ac_try) 2>&5
    6026   ac_status=$?
    6027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6028   (exit $ac_status); }; }; then
    6029   ac_cv_func__doprnt=yes
    6030 else
    6031   echo "$as_me: failed program was:" >&5
    6032 sed 's/^/| /' conftest.$ac_ext >&5
    6033 
    6034 ac_cv_func__doprnt=no
    6035 fi
    6036 rm -f conftest.err conftest.$ac_objext \
    6037       conftest$ac_exeext conftest.$ac_ext
    6038 fi
    6039 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6040 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    6041 if test $ac_cv_func__doprnt = yes; then
    6042 
    6043 cat >>confdefs.h <<\_ACEOF
    6044 #define HAVE_DOPRNT 1
    6045 _ACEOF
    6046 
    6047 fi
    6048 
     3101
     3102; return 0; }
     3103EOF
     3104if { (eval echo configure:3105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3105  rm -rf conftest*
     3106  eval "ac_cv_func_$ac_func=yes"
     3107else
     3108  echo "configure: failed program was:" >&5
     3109  cat conftest.$ac_ext >&5
     3110  rm -rf conftest*
     3111  eval "ac_cv_func_$ac_func=no"
     3112fi
     3113rm -f conftest*
     3114fi
     3115
     3116if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
     3117  echo "$ac_t""yes" 1>&6
     3118    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     3119  cat >> confdefs.h <<EOF
     3120#define $ac_tr_func 1
     3121EOF
     3122 
     3123else
     3124  echo "$ac_t""no" 1>&6
    60493125fi
    60503126done
    60513127
    60523128
    6053 echo "$as_me:$LINENO: checking for library containing setenv" >&5
    6054 echo $ECHO_N "checking for library containing setenv... $ECHO_C" >&6
    6055 if test "${ac_cv_search_setenv+set}" = set; then
    6056   echo $ECHO_N "(cached) $ECHO_C" >&6
    6057 else
    6058   ac_func_search_save_LIBS=$LIBS
    6059 ac_cv_search_setenv=no
    6060 cat >conftest.$ac_ext <<_ACEOF
    6061 /* confdefs.h.  */
    6062 _ACEOF
    6063 cat confdefs.h >>conftest.$ac_ext
    6064 cat >>conftest.$ac_ext <<_ACEOF
    6065 /* end confdefs.h.  */
    6066 
    6067 /* Override any gcc2 internal prototype to avoid an error.  */
    6068 #ifdef __cplusplus
    6069 extern "C"
    6070 #endif
    6071 /* We use char because int might match the return type of a gcc2
    6072    builtin and then its argument prototype would still apply.  */
    6073 char setenv ();
    6074 int
    6075 main ()
    6076 {
    6077 setenv ();
    6078   ;
    6079   return 0;
    6080 }
    6081 _ACEOF
    6082 rm -f conftest.$ac_objext conftest$ac_exeext
    6083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6084   (eval $ac_link) 2>conftest.er1
    6085   ac_status=$?
    6086   grep -v '^ *+' conftest.er1 >conftest.err
    6087   rm -f conftest.er1
    6088   cat conftest.err >&5
    6089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6090   (exit $ac_status); } &&
    6091          { ac_try='test -z "$ac_c_werror_flag"
    6092                          || test ! -s conftest.err'
    6093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6094   (eval $ac_try) 2>&5
    6095   ac_status=$?
    6096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6097   (exit $ac_status); }; } &&
    6098          { ac_try='test -s conftest$ac_exeext'
    6099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6100   (eval $ac_try) 2>&5
    6101   ac_status=$?
    6102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6103   (exit $ac_status); }; }; then
    6104   ac_cv_search_setenv="none required"
    6105 else
    6106   echo "$as_me: failed program was:" >&5
    6107 sed 's/^/| /' conftest.$ac_ext >&5
    6108 
    6109 fi
    6110 rm -f conftest.err conftest.$ac_objext \
    6111       conftest$ac_exeext conftest.$ac_ext
    6112 if test "$ac_cv_search_setenv" = no; then
    6113   for ac_lib in bsd; do
    6114     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    6115     cat >conftest.$ac_ext <<_ACEOF
    6116 /* confdefs.h.  */
    6117 _ACEOF
    6118 cat confdefs.h >>conftest.$ac_ext
    6119 cat >>conftest.$ac_ext <<_ACEOF
    6120 /* end confdefs.h.  */
    6121 
    6122 /* Override any gcc2 internal prototype to avoid an error.  */
    6123 #ifdef __cplusplus
    6124 extern "C"
    6125 #endif
    6126 /* We use char because int might match the return type of a gcc2
    6127    builtin and then its argument prototype would still apply.  */
    6128 char setenv ();
    6129 int
    6130 main ()
    6131 {
    6132 setenv ();
    6133   ;
    6134   return 0;
    6135 }
    6136 _ACEOF
    6137 rm -f conftest.$ac_objext conftest$ac_exeext
    6138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6139   (eval $ac_link) 2>conftest.er1
    6140   ac_status=$?
    6141   grep -v '^ *+' conftest.er1 >conftest.err
    6142   rm -f conftest.er1
    6143   cat conftest.err >&5
    6144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6145   (exit $ac_status); } &&
    6146          { ac_try='test -z "$ac_c_werror_flag"
    6147                          || test ! -s conftest.err'
    6148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6149   (eval $ac_try) 2>&5
    6150   ac_status=$?
    6151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6152   (exit $ac_status); }; } &&
    6153          { ac_try='test -s conftest$ac_exeext'
    6154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6155   (eval $ac_try) 2>&5
    6156   ac_status=$?
    6157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6158   (exit $ac_status); }; }; then
    6159   ac_cv_search_setenv="-l$ac_lib"
    6160 break
    6161 else
    6162   echo "$as_me: failed program was:" >&5
    6163 sed 's/^/| /' conftest.$ac_ext >&5
    6164 
    6165 fi
    6166 rm -f conftest.err conftest.$ac_objext \
    6167       conftest$ac_exeext conftest.$ac_ext
    6168   done
    6169 fi
    6170 LIBS=$ac_func_search_save_LIBS
    6171 fi
    6172 echo "$as_me:$LINENO: result: $ac_cv_search_setenv" >&5
    6173 echo "${ECHO_T}$ac_cv_search_setenv" >&6
    6174 if test "$ac_cv_search_setenv" != no; then
    6175   test "$ac_cv_search_setenv" = "none required" || LIBS="$ac_cv_search_setenv $LIBS"
    6176 
    6177 fi
    6178 
    6179 
    6180 
    6181 
    6182 
    6183 
    6184 
    6185 
    6186 
    6187 
    6188 
    6189 
    6190 
    6191 for ac_func in gettimeofday atexit bcopy getcwd getwd vsnprintf readlink \
    6192  sleep usleep getpwnam popen setenv
    6193 do
    6194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6195 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6197 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6198   echo $ECHO_N "(cached) $ECHO_C" >&6
    6199 else
    6200   cat >conftest.$ac_ext <<_ACEOF
    6201 /* confdefs.h.  */
    6202 _ACEOF
    6203 cat confdefs.h >>conftest.$ac_ext
    6204 cat >>conftest.$ac_ext <<_ACEOF
    6205 /* end confdefs.h.  */
    6206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    6207    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6208 #define $ac_func innocuous_$ac_func
    6209 
    6210 /* System header to define __stub macros and hopefully few prototypes,
    6211     which can conflict with char $ac_func (); below.
    6212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6213     <limits.h> exists even on freestanding compilers.  */
    6214 
    6215 #ifdef __STDC__
    6216 # include <limits.h>
    6217 #else
    6218 # include <assert.h>
    6219 #endif
    6220 
    6221 #undef $ac_func
    6222 
    6223 /* Override any gcc2 internal prototype to avoid an error.  */
    6224 #ifdef __cplusplus
    6225 extern "C"
    6226 {
    6227 #endif
    6228 /* We use char because int might match the return type of a gcc2
    6229    builtin and then its argument prototype would still apply.  */
    6230 char $ac_func ();
    6231 /* The GNU C library defines this for functions which it implements
    6232     to always fail with ENOSYS.  Some functions are actually named
    6233     something starting with __ and the normal name is an alias.  */
    6234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    6235 choke me
    6236 #else
    6237 char (*f) () = $ac_func;
    6238 #endif
    6239 #ifdef __cplusplus
    6240 }
    6241 #endif
    6242 
    6243 int
    6244 main ()
    6245 {
    6246 return f != $ac_func;
    6247   ;
    6248   return 0;
    6249 }
    6250 _ACEOF
    6251 rm -f conftest.$ac_objext conftest$ac_exeext
    6252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6253   (eval $ac_link) 2>conftest.er1
    6254   ac_status=$?
    6255   grep -v '^ *+' conftest.er1 >conftest.err
    6256   rm -f conftest.er1
    6257   cat conftest.err >&5
    6258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6259   (exit $ac_status); } &&
    6260          { ac_try='test -z "$ac_c_werror_flag"
    6261                          || test ! -s conftest.err'
    6262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6263   (eval $ac_try) 2>&5
    6264   ac_status=$?
    6265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6266   (exit $ac_status); }; } &&
    6267          { ac_try='test -s conftest$ac_exeext'
    6268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6269   (eval $ac_try) 2>&5
    6270   ac_status=$?
    6271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6272   (exit $ac_status); }; }; then
    6273   eval "$as_ac_var=yes"
    6274 else
    6275   echo "$as_me: failed program was:" >&5
    6276 sed 's/^/| /' conftest.$ac_ext >&5
    6277 
    6278 eval "$as_ac_var=no"
    6279 fi
    6280 rm -f conftest.err conftest.$ac_objext \
    6281       conftest$ac_exeext conftest.$ac_ext
    6282 fi
    6283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6285 if test `eval echo '${'$as_ac_var'}'` = yes; then
    6286   cat >>confdefs.h <<_ACEOF
    6287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6288 _ACEOF
    6289 
    6290 fi
    6291 done
    6292 
    6293 
    62943129
    62953130
    62963131# arithmetic shifts
    6297 echo "$as_me:$LINENO: checking whether your machine has correct arithmetic shifts" >&5
    6298 echo $ECHO_N "checking whether your machine has correct arithmetic shifts... $ECHO_C" >&6
    6299 if test "${ac_cv_shift+set}" = set; then
    6300   echo $ECHO_N "(cached) $ECHO_C" >&6
     3132echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
     3133echo "configure:3134: checking whether your machine has correct arithmetic shifts" >&5
     3134if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
     3135  echo $ac_n "(cached) $ac_c" 1>&6
    63013136else
    63023137  if test "$cross_compiling" = yes; then
     
    63043139     ac_cv_shift=yes;
    63053140   else
    6306      echo "$as_me:$LINENO: result: no" >&5
    6307 echo "${ECHO_T}no" >&6
    6308      { { echo "$as_me:$LINENO: error: cross compilation without default value" >&5
    6309 echo "$as_me: error: cross compilation without default value" >&2;}
    6310    { (exit 1); exit 1; }; }
     3141     echo "$ac_t""no" 1>&6
     3142     { echo "configure: error: cross compilation without default value" 1>&2; exit 1; }
    63113143   fi
    63123144else
    6313   cat >conftest.$ac_ext <<_ACEOF
    6314 /* confdefs.h.  */
    6315 _ACEOF
    6316 cat confdefs.h >>conftest.$ac_ext
    6317 cat >>conftest.$ac_ext <<_ACEOF
    6318 /* end confdefs.h.  */
    6319  int main() { if (-2 >> 1 == -1) return(0); else return(1); }
    6320 _ACEOF
    6321 rm -f conftest$ac_exeext
    6322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6323   (eval $ac_link) 2>&5
    6324   ac_status=$?
    6325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6326   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6328   (eval $ac_try) 2>&5
    6329   ac_status=$?
    6330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6331   (exit $ac_status); }; }; then
     3145  cat > conftest.$ac_ext <<EOF
     3146#line 3147 "configure"
     3147#include "confdefs.h"
     3148 int main() { if (-2 >> 1 == -1) return(0); else return(1); }
     3149EOF
     3150if { (eval echo configure:3151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3151then
    63323152  ac_cv_shift=yes
    63333153else
    6334   echo "$as_me: program exited with status $ac_status" >&5
    6335 echo "$as_me: failed program was:" >&5
    6336 sed 's/^/| /' conftest.$ac_ext >&5
    6337 
    6338 ( exit $ac_status )
    6339 ac_cv_shift=no
    6340 fi
    6341 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6342 fi
     3154  echo "configure: failed program was:" >&5
     3155  cat conftest.$ac_ext >&5
     3156  rm -fr conftest*
     3157  ac_cv_shift=no
     3158fi
     3159rm -fr conftest*
     3160fi
     3161
    63433162fi
    63443163
    63453164
    63463165if test "$ac_cv_shift" = yes; then
    6347   echo "$as_me:$LINENO: result: yes" >&5
    6348 echo "${ECHO_T}yes" >&6
    6349 else
    6350   echo "$as_me:$LINENO: result: no" >&5
    6351 echo "${ECHO_T}no" >&6
    6352   { { echo "$as_me:$LINENO: error: need  -2 >> 1 == -1" >&5
    6353 echo "$as_me: error: need  -2 >> 1 == -1" >&2;}
    6354    { (exit 1); exit 1; }; }
     3166  echo "$ac_t""yes" 1>&6
     3167else
     3168  echo "$ac_t""no" 1>&6
     3169  { echo "configure: error: need  -2 >> 1 == -1" 1>&2; exit 1; }
    63553170fi
    63563171
    63573172
    63583173# check for a peculiar constructor initialization
    6359 echo "$as_me:$LINENO: checking whether explicit C++ constructor calls are allowed" >&5
    6360 echo $ECHO_N "checking whether explicit C++ constructor calls are allowed... $ECHO_C" >&6
    6361 
    6362 
    6363 ac_ext=cc
     3174echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
     3175echo "configure:3176: checking whether explicit C++ constructor calls are allowed" >&5
     3176
     3177ac_ext=C
     3178# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    63643179ac_cpp='$CXXCPP $CPPFLAGS'
    6365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    6368 
    6369 if test "${ac_cv_explicit_const+set}" = set; then
    6370   echo $ECHO_N "(cached) $ECHO_C" >&6
    6371 else
    6372   cat >conftest.$ac_ext <<_ACEOF
    6373 /* confdefs.h.  */
    6374 _ACEOF
    6375 cat confdefs.h >>conftest.$ac_ext
    6376 cat >>conftest.$ac_ext <<_ACEOF
    6377 /* end confdefs.h.  */
    6378 
    6379 int
    6380 main ()
    6381 {
     3180ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     3181ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3182cross_compiling=$ac_cv_prog_cxx_cross
     3183
     3184if eval "test \"`echo '$''{'ac_cv_explicit_const'+set}'`\" = set"; then
     3185  echo $ac_n "(cached) $ac_c" 1>&6
     3186else
     3187  cat > conftest.$ac_ext <<EOF
     3188#line 3189 "configure"
     3189#include "confdefs.h"
     3190
     3191int main() {
    63823192class testclass
    63833193  {
     
    63923202  ptr.testclass(1);
    63933203
    6394   ;
    6395   return 0;
    6396 }
    6397 _ACEOF
    6398 rm -f conftest.$ac_objext
    6399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6400   (eval $ac_compile) 2>conftest.er1
    6401   ac_status=$?
    6402   grep -v '^ *+' conftest.er1 >conftest.err
    6403   rm -f conftest.er1
    6404   cat conftest.err >&5
    6405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6406   (exit $ac_status); } &&
    6407          { ac_try='test -z "$ac_cxx_werror_flag"
    6408                          || test ! -s conftest.err'
    6409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6410   (eval $ac_try) 2>&5
    6411   ac_status=$?
    6412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6413   (exit $ac_status); }; } &&
    6414          { ac_try='test -s conftest.$ac_objext'
    6415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6416   (eval $ac_try) 2>&5
    6417   ac_status=$?
    6418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6419   (exit $ac_status); }; }; then
     3204; return 0; }
     3205EOF
     3206if { (eval echo configure:3207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3207  rm -rf conftest*
    64203208  ac_cv_explicit_const=yes
    64213209else
    6422   echo "$as_me: failed program was:" >&5
    6423 sed 's/^/| /' conftest.$ac_ext >&5
    6424 
    6425 ac_cv_explicit_const=no
    6426 fi
    6427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3210  echo "configure: failed program was:" >&5
     3211  cat conftest.$ac_ext >&5
     3212  rm -rf conftest*
     3213  ac_cv_explicit_const=no
     3214fi
     3215rm -f conftest*
    64283216fi
    64293217
    64303218ac_ext=c
     3219# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    64313220ac_cpp='$CPP $CPPFLAGS'
    6432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6435 
    6436 echo "$as_me:$LINENO: result: $ac_cv_explicit_const" >&5
    6437 echo "${ECHO_T}$ac_cv_explicit_const" >&6
     3221ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     3222ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3223cross_compiling=$ac_cv_prog_cc_cross
     3224
     3225echo "$ac_t""$ac_cv_explicit_const" 1>&6
    64383226if test "$ac_cv_explicit_const" = yes; then
    6439   cat >>confdefs.h <<\_ACEOF
     3227  cat >> confdefs.h <<\EOF
    64403228#define HAVE_EXPLICIT_CONSTR 1
    6441 _ACEOF
     3229EOF
    64423230
    64433231fi
    64443232
    64453233# sprintf returns number of printed chars
    6446 echo "$as_me:$LINENO: checking whether vsprintf returns number of printed chars" >&5
    6447 echo $ECHO_N "checking whether vsprintf returns number of printed chars... $ECHO_C" >&6
    6448 if test "${ac_cv_returns_n_of_chars+set}" = set; then
    6449   echo $ECHO_N "(cached) $ECHO_C" >&6
     3234echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
     3235echo "configure:3236: checking whether vsprintf returns number of printed chars" >&5
     3236if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
     3237  echo $ac_n "(cached) $ac_c" 1>&6
    64503238else
    64513239  if test "$cross_compiling" = yes; then
    64523240  ac_cv_returns_n_of_chars=no
    64533241else
    6454   cat >conftest.$ac_ext <<_ACEOF
    6455 /* confdefs.h.  */
    6456 _ACEOF
    6457 cat confdefs.h >>conftest.$ac_ext
    6458 cat >>conftest.$ac_ext <<_ACEOF
    6459 /* end confdefs.h.  */
     3242  cat > conftest.$ac_ext <<EOF
     3243#line 3244 "configure"
     3244#include "confdefs.h"
    64603245#include <stdio.h>
    64613246 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    6462 _ACEOF
    6463 rm -f conftest$ac_exeext
    6464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6465   (eval $ac_link) 2>&5
    6466   ac_status=$?
    6467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6468   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6470   (eval $ac_try) 2>&5
    6471   ac_status=$?
    6472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6473   (exit $ac_status); }; }; then
     3247EOF
     3248if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3249then
    64743250  ac_cv_returns_n_of_chars=yes
    64753251else
    6476   echo "$as_me: program exited with status $ac_status" >&5
    6477 echo "$as_me: failed program was:" >&5
    6478 sed 's/^/| /' conftest.$ac_ext >&5
    6479 
    6480 ( exit $ac_status )
    6481 ac_cv_returns_n_of_chars=no
    6482 fi
    6483 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6484 fi
     3252  echo "configure: failed program was:" >&5
     3253  cat conftest.$ac_ext >&5
     3254  rm -fr conftest*
     3255  ac_cv_returns_n_of_chars=no
     3256fi
     3257rm -fr conftest*
     3258fi
     3259
    64853260fi
    64863261
    64873262if test "$ac_cv_returns_n_of_chars" = yes; then
    6488   echo "$as_me:$LINENO: result: yes" >&5
    6489 echo "${ECHO_T}yes" >&6
    6490 else
    6491   echo "$as_me:$LINENO: result: no" >&5
    6492 echo "${ECHO_T}no" >&6
    6493   cat >>confdefs.h <<\_ACEOF
     3263  echo "$ac_t""yes" 1>&6
     3264else
     3265  echo "$ac_t""no" 1>&6
     3266  cat >> confdefs.h <<\EOF
    64943267#define BSD_SPRINTF 1
    6495 _ACEOF
     3268EOF
    64963269
    64973270fi
    64983271
    64993272# determine ALIGN_8
    6500 echo "$as_me:$LINENO: checking for char" >&5
    6501 echo $ECHO_N "checking for char... $ECHO_C" >&6
    6502 if test "${ac_cv_type_char+set}" = set; then
    6503   echo $ECHO_N "(cached) $ECHO_C" >&6
    6504 else
    6505   cat >conftest.$ac_ext <<_ACEOF
    6506 /* confdefs.h.  */
    6507 _ACEOF
    6508 cat confdefs.h >>conftest.$ac_ext
    6509 cat >>conftest.$ac_ext <<_ACEOF
    6510 /* end confdefs.h.  */
    6511 $ac_includes_default
    6512 int
    6513 main ()
     3273echo $ac_n "checking size of char""... $ac_c" 1>&6
     3274echo "configure:3275: checking size of char" >&5
     3275if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
     3276  echo $ac_n "(cached) $ac_c" 1>&6
     3277else
     3278  if test "$cross_compiling" = yes; then
     3279  ac_cv_sizeof_char=1
     3280else
     3281  cat > conftest.$ac_ext <<EOF
     3282#line 3283 "configure"
     3283#include "confdefs.h"
     3284#include <stdio.h>
     3285main()
    65143286{
    6515 if ((char *) 0)
    6516   return 0;
    6517 if (sizeof (char))
    6518   return 0;
    6519   ;
    6520   return 0;
     3287  FILE *f=fopen("conftestval", "w");
     3288  if (!f) exit(1);
     3289  fprintf(f, "%d\n", sizeof(char));
     3290  exit(0);
    65213291}
    6522 _ACEOF
    6523 rm -f conftest.$ac_objext
    6524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6525   (eval $ac_compile) 2>conftest.er1
    6526   ac_status=$?
    6527   grep -v '^ *+' conftest.er1 >conftest.err
    6528   rm -f conftest.er1
    6529   cat conftest.err >&5
    6530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6531   (exit $ac_status); } &&
    6532          { ac_try='test -z "$ac_c_werror_flag"
    6533                          || test ! -s conftest.err'
    6534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6535   (eval $ac_try) 2>&5
    6536   ac_status=$?
    6537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6538   (exit $ac_status); }; } &&
    6539          { ac_try='test -s conftest.$ac_objext'
    6540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6541   (eval $ac_try) 2>&5
    6542   ac_status=$?
    6543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6544   (exit $ac_status); }; }; then
    6545   ac_cv_type_char=yes
    6546 else
    6547   echo "$as_me: failed program was:" >&5
    6548 sed 's/^/| /' conftest.$ac_ext >&5
    6549 
    6550 ac_cv_type_char=no
    6551 fi
    6552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6553 fi
    6554 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
    6555 echo "${ECHO_T}$ac_cv_type_char" >&6
    6556 
    6557 echo "$as_me:$LINENO: checking size of char" >&5
    6558 echo $ECHO_N "checking size of char... $ECHO_C" >&6
    6559 if test "${ac_cv_sizeof_char+set}" = set; then
    6560   echo $ECHO_N "(cached) $ECHO_C" >&6
    6561 else
    6562   if test "$ac_cv_type_char" = yes; then
    6563   # The cast to unsigned long works around a bug in the HP C Compiler
    6564   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    6565   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    6566   # This bug is HP SR number 8606223364.
     3292EOF
     3293if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3294then
     3295  ac_cv_sizeof_char=`cat conftestval`
     3296else
     3297  echo "configure: failed program was:" >&5
     3298  cat conftest.$ac_ext >&5
     3299  rm -fr conftest*
     3300  ac_cv_sizeof_char=0
     3301fi
     3302rm -fr conftest*
     3303fi
     3304
     3305fi
     3306echo "$ac_t""$ac_cv_sizeof_char" 1>&6
     3307cat >> confdefs.h <<EOF
     3308#define SIZEOF_CHAR $ac_cv_sizeof_char
     3309EOF
     3310
     3311
     3312echo $ac_n "checking size of short""... $ac_c" 1>&6
     3313echo "configure:3314: checking size of short" >&5
     3314if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
     3315  echo $ac_n "(cached) $ac_c" 1>&6
     3316else
    65673317  if test "$cross_compiling" = yes; then
    6568   # Depending upon the size, compute the lo and hi bounds.
    6569 cat >conftest.$ac_ext <<_ACEOF
    6570 /* confdefs.h.  */
    6571 _ACEOF
    6572 cat confdefs.h >>conftest.$ac_ext
    6573 cat >>conftest.$ac_ext <<_ACEOF
    6574 /* end confdefs.h.  */
    6575 $ac_includes_default
    6576 int
    6577 main ()
     3318  ac_cv_sizeof_short=2
     3319else
     3320  cat > conftest.$ac_ext <<EOF
     3321#line 3322 "configure"
     3322#include "confdefs.h"
     3323#include <stdio.h>
     3324main()
    65783325{
    6579 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
    6580 test_array [0] = 0
    6581 
    6582   ;
    6583   return 0;
     3326  FILE *f=fopen("conftestval", "w");
     3327  if (!f) exit(1);
     3328  fprintf(f, "%d\n", sizeof(short));
     3329  exit(0);
    65843330}
    6585 _ACEOF
    6586 rm -f conftest.$ac_objext
    6587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6588   (eval $ac_compile) 2>conftest.er1
    6589   ac_status=$?
    6590   grep -v '^ *+' conftest.er1 >conftest.err
    6591   rm -f conftest.er1
    6592   cat conftest.err >&5
    6593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6594   (exit $ac_status); } &&
    6595          { ac_try='test -z "$ac_c_werror_flag"
    6596                          || test ! -s conftest.err'
    6597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6598   (eval $ac_try) 2>&5
    6599   ac_status=$?
    6600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6601   (exit $ac_status); }; } &&
    6602          { ac_try='test -s conftest.$ac_objext'
    6603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6604   (eval $ac_try) 2>&5
    6605   ac_status=$?
    6606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6607   (exit $ac_status); }; }; then
    6608   ac_lo=0 ac_mid=0
    6609   while :; do
    6610     cat >conftest.$ac_ext <<_ACEOF
    6611 /* confdefs.h.  */
    6612 _ACEOF
    6613 cat confdefs.h >>conftest.$ac_ext
    6614 cat >>conftest.$ac_ext <<_ACEOF
    6615 /* end confdefs.h.  */
    6616 $ac_includes_default
    6617 int
    6618 main ()
     3331EOF
     3332if { (eval echo configure:3333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3333then
     3334  ac_cv_sizeof_short=`cat conftestval`
     3335else
     3336  echo "configure: failed program was:" >&5
     3337  cat conftest.$ac_ext >&5
     3338  rm -fr conftest*
     3339  ac_cv_sizeof_short=0
     3340fi
     3341rm -fr conftest*
     3342fi
     3343
     3344fi
     3345echo "$ac_t""$ac_cv_sizeof_short" 1>&6
     3346cat >> confdefs.h <<EOF
     3347#define SIZEOF_SHORT $ac_cv_sizeof_short
     3348EOF
     3349
     3350
     3351echo $ac_n "checking size of int""... $ac_c" 1>&6
     3352echo "configure:3353: checking size of int" >&5
     3353if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
     3354  echo $ac_n "(cached) $ac_c" 1>&6
     3355else
     3356  if test "$cross_compiling" = yes; then
     3357  ac_cv_sizeof_int=4
     3358else
     3359  cat > conftest.$ac_ext <<EOF
     3360#line 3361 "configure"
     3361#include "confdefs.h"
     3362#include <stdio.h>
     3363main()
    66193364{
    6620 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
    6621 test_array [0] = 0
    6622 
    6623   ;
    6624   return 0;
     3365  FILE *f=fopen("conftestval", "w");
     3366  if (!f) exit(1);
     3367  fprintf(f, "%d\n", sizeof(int));
     3368  exit(0);
    66253369}
    6626 _ACEOF
    6627 rm -f conftest.$ac_objext
    6628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6629   (eval $ac_compile) 2>conftest.er1
    6630   ac_status=$?
    6631   grep -v '^ *+' conftest.er1 >conftest.err
    6632   rm -f conftest.er1
    6633   cat conftest.err >&5
    6634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6635   (exit $ac_status); } &&
    6636          { ac_try='test -z "$ac_c_werror_flag"
    6637                          || test ! -s conftest.err'
    6638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6639   (eval $ac_try) 2>&5
    6640   ac_status=$?
    6641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6642   (exit $ac_status); }; } &&
    6643          { ac_try='test -s conftest.$ac_objext'
    6644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6645   (eval $ac_try) 2>&5
    6646   ac_status=$?
    6647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6648   (exit $ac_status); }; }; then
    6649   ac_hi=$ac_mid; break
    6650 else
    6651   echo "$as_me: failed program was:" >&5
    6652 sed 's/^/| /' conftest.$ac_ext >&5
    6653 
    6654 ac_lo=`expr $ac_mid + 1`
    6655                     if test $ac_lo -le $ac_mid; then
    6656                       ac_lo= ac_hi=
    6657                       break
    6658                     fi
    6659                     ac_mid=`expr 2 '*' $ac_mid + 1`
    6660 fi
    6661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6662   done
    6663 else
    6664   echo "$as_me: failed program was:" >&5
    6665 sed 's/^/| /' conftest.$ac_ext >&5
    6666 
    6667 cat >conftest.$ac_ext <<_ACEOF
    6668 /* confdefs.h.  */
    6669 _ACEOF
    6670 cat confdefs.h >>conftest.$ac_ext
    6671 cat >>conftest.$ac_ext <<_ACEOF
    6672 /* end confdefs.h.  */
    6673 $ac_includes_default
    6674 int
    6675 main ()
     3370EOF
     3371if { (eval echo configure:3372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3372then
     3373  ac_cv_sizeof_int=`cat conftestval`
     3374else
     3375  echo "configure: failed program was:" >&5
     3376  cat conftest.$ac_ext >&5
     3377  rm -fr conftest*
     3378  ac_cv_sizeof_int=0
     3379fi
     3380rm -fr conftest*
     3381fi
     3382
     3383fi
     3384echo "$ac_t""$ac_cv_sizeof_int" 1>&6
     3385cat >> confdefs.h <<EOF
     3386#define SIZEOF_INT $ac_cv_sizeof_int
     3387EOF
     3388
     3389
     3390echo $ac_n "checking size of long""... $ac_c" 1>&6
     3391echo "configure:3392: checking size of long" >&5
     3392if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
     3393  echo $ac_n "(cached) $ac_c" 1>&6
     3394else
     3395  if test "$cross_compiling" = yes; then
     3396  ac_cv_sizeof_long=4
     3397else
     3398  cat > conftest.$ac_ext <<EOF
     3399#line 3400 "configure"
     3400#include "confdefs.h"
     3401#include <stdio.h>
     3402main()
    66763403{
    6677 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
    6678 test_array [0] = 0
    6679 
    6680   ;
    6681   return 0;
     3404  FILE *f=fopen("conftestval", "w");
     3405  if (!f) exit(1);
     3406  fprintf(f, "%d\n", sizeof(long));
     3407  exit(0);
    66823408}
    6683 _ACEOF
    6684 rm -f conftest.$ac_objext
    6685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6686   (eval $ac_compile) 2>conftest.er1
    6687   ac_status=$?
    6688   grep -v '^ *+' conftest.er1 >conftest.err
    6689   rm -f conftest.er1
    6690   cat conftest.err >&5
    6691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6692   (exit $ac_status); } &&
    6693          { ac_try='test -z "$ac_c_werror_flag"
    6694                          || test ! -s conftest.err'
    6695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6696   (eval $ac_try) 2>&5
    6697   ac_status=$?
    6698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6699   (exit $ac_status); }; } &&
    6700          { ac_try='test -s conftest.$ac_objext'
    6701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6702   (eval $ac_try) 2>&5
    6703   ac_status=$?
    6704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6705   (exit $ac_status); }; }; then
    6706   ac_hi=-1 ac_mid=-1
    6707   while :; do
    6708     cat >conftest.$ac_ext <<_ACEOF
    6709 /* confdefs.h.  */
    6710 _ACEOF
    6711 cat confdefs.h >>conftest.$ac_ext
    6712 cat >>conftest.$ac_ext <<_ACEOF
    6713 /* end confdefs.h.  */
    6714 $ac_includes_default
    6715 int
    6716 main ()
     3409EOF
     3410if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3411then
     3412  ac_cv_sizeof_long=`cat conftestval`
     3413else
     3414  echo "configure: failed program was:" >&5
     3415  cat conftest.$ac_ext >&5
     3416  rm -fr conftest*
     3417  ac_cv_sizeof_long=0
     3418fi
     3419rm -fr conftest*
     3420fi
     3421
     3422fi
     3423echo "$ac_t""$ac_cv_sizeof_long" 1>&6
     3424cat >> confdefs.h <<EOF
     3425#define SIZEOF_LONG $ac_cv_sizeof_long
     3426EOF
     3427
     3428
     3429echo $ac_n "checking size of void*""... $ac_c" 1>&6
     3430echo "configure:3431: checking size of void*" >&5
     3431if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
     3432  echo $ac_n "(cached) $ac_c" 1>&6
     3433else
     3434  if test "$cross_compiling" = yes; then
     3435  ac_cv_sizeof_voidp=4
     3436else
     3437  cat > conftest.$ac_ext <<EOF
     3438#line 3439 "configure"
     3439#include "confdefs.h"
     3440#include <stdio.h>
     3441main()
    67173442{
    6718 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
    6719 test_array [0] = 0
    6720 
    6721   ;
    6722   return 0;
     3443  FILE *f=fopen("conftestval", "w");
     3444  if (!f) exit(1);
     3445  fprintf(f, "%d\n", sizeof(void*));
     3446  exit(0);
    67233447}
    6724 _ACEOF
    6725 rm -f conftest.$ac_objext
    6726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6727   (eval $ac_compile) 2>conftest.er1
    6728   ac_status=$?
    6729   grep -v '^ *+' conftest.er1 >conftest.err
    6730   rm -f conftest.er1
    6731   cat conftest.err >&5
    6732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6733   (exit $ac_status); } &&
    6734          { ac_try='test -z "$ac_c_werror_flag"
    6735                          || test ! -s conftest.err'
    6736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6737   (eval $ac_try) 2>&5
    6738   ac_status=$?
    6739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6740   (exit $ac_status); }; } &&
    6741          { ac_try='test -s conftest.$ac_objext'
    6742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6743   (eval $ac_try) 2>&5
    6744   ac_status=$?
    6745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6746   (exit $ac_status); }; }; then
    6747   ac_lo=$ac_mid; break
    6748 else
    6749   echo "$as_me: failed program was:" >&5
    6750 sed 's/^/| /' conftest.$ac_ext >&5
    6751 
    6752 ac_hi=`expr '(' $ac_mid ')' - 1`
    6753                        if test $ac_mid -le $ac_hi; then
    6754                          ac_lo= ac_hi=
    6755                          break
    6756                        fi
    6757                        ac_mid=`expr 2 '*' $ac_mid`
    6758 fi
    6759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6760   done
    6761 else
    6762   echo "$as_me: failed program was:" >&5
    6763 sed 's/^/| /' conftest.$ac_ext >&5
    6764 
    6765 ac_lo= ac_hi=
    6766 fi
    6767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6768 fi
    6769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6770 # Binary search between lo and hi bounds.
    6771 while test "x$ac_lo" != "x$ac_hi"; do
    6772   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    6773   cat >conftest.$ac_ext <<_ACEOF
    6774 /* confdefs.h.  */
    6775 _ACEOF
    6776 cat confdefs.h >>conftest.$ac_ext
    6777 cat >>conftest.$ac_ext <<_ACEOF
    6778 /* end confdefs.h.  */
    6779 $ac_includes_default
    6780 int
    6781 main ()
     3448EOF
     3449if { (eval echo configure:3450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3450then
     3451  ac_cv_sizeof_voidp=`cat conftestval`
     3452else
     3453  echo "configure: failed program was:" >&5
     3454  cat conftest.$ac_ext >&5
     3455  rm -fr conftest*
     3456  ac_cv_sizeof_voidp=0
     3457fi
     3458rm -fr conftest*
     3459fi
     3460
     3461fi
     3462echo "$ac_t""$ac_cv_sizeof_voidp" 1>&6
     3463cat >> confdefs.h <<EOF
     3464#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
     3465EOF
     3466
     3467
     3468echo $ac_n "checking size of double""... $ac_c" 1>&6
     3469echo "configure:3470: checking size of double" >&5
     3470if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
     3471  echo $ac_n "(cached) $ac_c" 1>&6
     3472else
     3473  if test "$cross_compiling" = yes; then
     3474  ac_cv_sizeof_double=8
     3475else
     3476  cat > conftest.$ac_ext <<EOF
     3477#line 3478 "configure"
     3478#include "confdefs.h"
     3479#include <stdio.h>
     3480main()
    67823481{
    6783 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
    6784 test_array [0] = 0
    6785 
    6786   ;
    6787   return 0;
     3482  FILE *f=fopen("conftestval", "w");
     3483  if (!f) exit(1);
     3484  fprintf(f, "%d\n", sizeof(double));
     3485  exit(0);
    67883486}
    6789 _ACEOF
    6790 rm -f conftest.$ac_objext
    6791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6792   (eval $ac_compile) 2>conftest.er1
    6793   ac_status=$?
    6794   grep -v '^ *+' conftest.er1 >conftest.err
    6795   rm -f conftest.er1
    6796   cat conftest.err >&5
    6797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6798   (exit $ac_status); } &&
    6799          { ac_try='test -z "$ac_c_werror_flag"
    6800                          || test ! -s conftest.err'
    6801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6802   (eval $ac_try) 2>&5
    6803   ac_status=$?
    6804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6805   (exit $ac_status); }; } &&
    6806          { ac_try='test -s conftest.$ac_objext'
    6807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6808   (eval $ac_try) 2>&5
    6809   ac_status=$?
    6810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6811   (exit $ac_status); }; }; then
    6812   ac_hi=$ac_mid
    6813 else
    6814   echo "$as_me: failed program was:" >&5
    6815 sed 's/^/| /' conftest.$ac_ext >&5
    6816 
    6817 ac_lo=`expr '(' $ac_mid ')' + 1`
    6818 fi
    6819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6820 done
    6821 case $ac_lo in
    6822 ?*) ac_cv_sizeof_char=$ac_lo;;
    6823 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
    6824 See \`config.log' for more details." >&5
    6825 echo "$as_me: error: cannot compute sizeof (char), 77
    6826 See \`config.log' for more details." >&2;}
    6827    { (exit 1); exit 1; }; } ;;
    6828 esac
    6829 else
    6830   if test "$cross_compiling" = yes; then
    6831   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    6832 See \`config.log' for more details." >&5
    6833 echo "$as_me: error: cannot run test program while cross compiling
    6834 See \`config.log' for more details." >&2;}
    6835    { (exit 1); exit 1; }; }
    6836 else
    6837   cat >conftest.$ac_ext <<_ACEOF
    6838 /* confdefs.h.  */
    6839 _ACEOF
    6840 cat confdefs.h >>conftest.$ac_ext
    6841 cat >>conftest.$ac_ext <<_ACEOF
    6842 /* end confdefs.h.  */
    6843 $ac_includes_default
    6844 long longval () { return (long) (sizeof (char)); }
    6845 unsigned long ulongval () { return (long) (sizeof (char)); }
    6846 #include <stdio.h>
    6847 #include <stdlib.h>
    6848 int
    6849 main ()
    6850 {
    6851 
    6852   FILE *f = fopen ("conftest.val", "w");
    6853   if (! f)
    6854     exit (1);
    6855   if (((long) (sizeof (char))) < 0)
    6856     {
    6857       long i = longval ();
    6858       if (i != ((long) (sizeof (char))))
    6859         exit (1);
    6860       fprintf (f, "%ld\n", i);
    6861     }
    6862   else
    6863     {
    6864       unsigned long i = ulongval ();
    6865       if (i != ((long) (sizeof (char))))
    6866         exit (1);
    6867       fprintf (f, "%lu\n", i);
    6868     }
    6869   exit (ferror (f) || fclose (f) != 0);
    6870 
    6871   ;
    6872   return 0;
    6873 }
    6874 _ACEOF
    6875 rm -f conftest$ac_exeext
    6876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6877   (eval $ac_link) 2>&5
    6878   ac_status=$?
    6879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6880   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    6881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6882   (eval $ac_try) 2>&5
    6883   ac_status=$?
    6884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6885   (exit $ac_status); }; }; then
    6886   ac_cv_sizeof_char=`cat conftest.val`
    6887 else
    6888   echo "$as_me: program exited with status $ac_status" >&5
    6889 echo "$as_me: failed program was:" >&5
    6890 sed 's/^/| /' conftest.$ac_ext >&5
    6891 
    6892 ( exit $ac_status )
    6893 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
    6894 See \`config.log' for more details." >&5
    6895 echo "$as_me: error: cannot compute sizeof (char), 77
    6896 See \`config.log' for more details." >&2;}
    6897    { (exit 1); exit 1; }; }
    6898 fi
    6899 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    6900 fi
    6901 fi
    6902 rm -f conftest.val
    6903 else
    6904   ac_cv_sizeof_char=0
    6905 fi
    6906 fi
    6907 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
    6908 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
    6909 cat >>confdefs.h <<_ACEOF
    6910 #define SIZEOF_CHAR $ac_cv_sizeof_char
    6911 _ACEOF
    6912 
    6913 
    6914 echo "$as_me:$LINENO: checking for short" >&5
    6915 echo $ECHO_N "checking for short... $ECHO_C" >&6
    6916 if test "${ac_cv_type_short+set}" = set; then
    6917   echo $ECHO_N "(cached) $ECHO_C" >&6
    6918 else
    6919   cat >conftest.$ac_ext <<_ACEOF
    6920 /* confdefs.h.  */
    6921 _ACEOF
    6922 cat confdefs.h >>conftest.$ac_ext
    6923 cat >>conftest.$ac_ext <<_ACEOF
    6924 /* end confdefs.h.  */
    6925 $ac_includes_default
    6926 int
    6927 main ()
    6928 {
    6929 if ((short *) 0)
    6930   return 0;
    6931 if (sizeof (short))
    6932   return 0;
    6933   ;
    6934   return 0;
    6935 }
    6936 _ACEOF
    6937 rm -f conftest.$ac_objext
    6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6939   (eval $ac_compile) 2>conftest.er1
    6940   ac_status=$?
    6941   grep -v '^ *+' conftest.er1 >conftest.err
    6942   rm -f conftest.er1
    6943   cat conftest.err >&5
    6944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6945   (exit $ac_status); } &&
    6946          { ac_try='test -z "$ac_c_werror_flag"
    6947                          || test ! -s conftest.err'
    6948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6949   (eval $ac_try) 2>&5
    6950   ac_status=$?
    6951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6952   (exit $ac_status); }; } &&
    6953          { ac_try='test -s conftest.$ac_objext'
    6954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6955   (eval $ac_try) 2>&5
    6956   ac_status=$?
    6957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6958   (exit $ac_status); }; }; then
    6959   ac_cv_type_short=yes
    6960 else
    6961   echo "$as_me: failed program was:" >&5
    6962 sed 's/^/| /' conftest.$ac_ext >&5
    6963 
    6964 ac_cv_type_short=no
    6965 fi
    6966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6967 fi
    6968 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
    6969 echo "${ECHO_T}$ac_cv_type_short" >&6
    6970 
    6971 echo "$as_me:$LINENO: checking size of short" >&5
    6972 echo $ECHO_N "checking size of short... $ECHO_C" >&6
    6973 if test "${ac_cv_sizeof_short+set}" = set; then
    6974   echo $ECHO_N "(cached) $ECHO_C" >&6
    6975 else
    6976   if test "$ac_cv_type_short" = yes; then
    6977   # The cast to unsigned long works around a bug in the HP C Compiler
    6978   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    6979   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    6980   # This bug is HP SR number 8606223364.
    6981   if test "$cross_compiling" = yes; then
    6982   # Depending upon the size, compute the lo and hi bounds.
    6983 cat >conftest.$ac_ext <<_ACEOF
    6984 /* confdefs.h.  */
    6985 _ACEOF
    6986 cat confdefs.h >>conftest.$ac_ext
    6987 cat >>conftest.$ac_ext <<_ACEOF
    6988 /* end confdefs.h.  */
    6989 $ac_includes_default
    6990 int
    6991 main ()
    6992 {
    6993 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
    6994 test_array [0] = 0
    6995 
    6996   ;
    6997   return 0;
    6998 }
    6999 _ACEOF
    7000 rm -f conftest.$ac_objext
    7001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7002   (eval $ac_compile) 2>conftest.er1
    7003   ac_status=$?
    7004   grep -v '^ *+' conftest.er1 >conftest.err
    7005   rm -f conftest.er1
    7006   cat conftest.err >&5
    7007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7008   (exit $ac_status); } &&
    7009          { ac_try='test -z "$ac_c_werror_flag"
    7010                          || test ! -s conftest.err'
    7011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7012   (eval $ac_try) 2>&5
    7013   ac_status=$?
    7014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7015   (exit $ac_status); }; } &&
    7016          { ac_try='test -s conftest.$ac_objext'
    7017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7018   (eval $ac_try) 2>&5
    7019   ac_status=$?
    7020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7021   (exit $ac_status); }; }; then
    7022   ac_lo=0 ac_mid=0
    7023   while :; do
    7024     cat >conftest.$ac_ext <<_ACEOF
    7025 /* confdefs.h.  */
    7026 _ACEOF
    7027 cat confdefs.h >>conftest.$ac_ext
    7028 cat >>conftest.$ac_ext <<_ACEOF
    7029 /* end confdefs.h.  */
    7030 $ac_includes_default
    7031 int
    7032 main ()
    7033 {
    7034 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
    7035 test_array [0] = 0
    7036 
    7037   ;
    7038   return 0;
    7039 }
    7040 _ACEOF
    7041 rm -f conftest.$ac_objext
    7042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7043   (eval $ac_compile) 2>conftest.er1
    7044   ac_status=$?
    7045   grep -v '^ *+' conftest.er1 >conftest.err
    7046   rm -f conftest.er1
    7047   cat conftest.err >&5
    7048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7049   (exit $ac_status); } &&
    7050          { ac_try='test -z "$ac_c_werror_flag"
    7051                          || test ! -s conftest.err'
    7052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7053   (eval $ac_try) 2>&5
    7054   ac_status=$?
    7055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7056   (exit $ac_status); }; } &&
    7057          { ac_try='test -s conftest.$ac_objext'
    7058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7059   (eval $ac_try) 2>&5
    7060   ac_status=$?
    7061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7062   (exit $ac_status); }; }; then
    7063   ac_hi=$ac_mid; break
    7064 else
    7065   echo "$as_me: failed program was:" >&5
    7066 sed 's/^/| /' conftest.$ac_ext >&5
    7067 
    7068 ac_lo=`expr $ac_mid + 1`
    7069                     if test $ac_lo -le $ac_mid; then
    7070                       ac_lo= ac_hi=
    7071                       break
    7072                     fi
    7073                     ac_mid=`expr 2 '*' $ac_mid + 1`
    7074 fi
    7075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7076   done
    7077 else
    7078   echo "$as_me: failed program was:" >&5
    7079 sed 's/^/| /' conftest.$ac_ext >&5
    7080 
    7081 cat >conftest.$ac_ext <<_ACEOF
    7082 /* confdefs.h.  */
    7083 _ACEOF
    7084 cat confdefs.h >>conftest.$ac_ext
    7085 cat >>conftest.$ac_ext <<_ACEOF
    7086 /* end confdefs.h.  */
    7087 $ac_includes_default
    7088 int
    7089 main ()
    7090 {
    7091 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
    7092 test_array [0] = 0
    7093 
    7094   ;
    7095   return 0;
    7096 }
    7097 _ACEOF
    7098 rm -f conftest.$ac_objext
    7099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7100   (eval $ac_compile) 2>conftest.er1
    7101   ac_status=$?
    7102   grep -v '^ *+' conftest.er1 >conftest.err
    7103   rm -f conftest.er1
    7104   cat conftest.err >&5
    7105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7106   (exit $ac_status); } &&
    7107          { ac_try='test -z "$ac_c_werror_flag"
    7108                          || test ! -s conftest.err'
    7109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7110   (eval $ac_try) 2>&5
    7111   ac_status=$?
    7112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7113   (exit $ac_status); }; } &&
    7114          { ac_try='test -s conftest.$ac_objext'
    7115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7116   (eval $ac_try) 2>&5
    7117   ac_status=$?
    7118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7119   (exit $ac_status); }; }; then
    7120   ac_hi=-1 ac_mid=-1
    7121   while :; do
    7122     cat >conftest.$ac_ext <<_ACEOF
    7123 /* confdefs.h.  */
    7124 _ACEOF
    7125 cat confdefs.h >>conftest.$ac_ext
    7126 cat >>conftest.$ac_ext <<_ACEOF
    7127 /* end confdefs.h.  */
    7128 $ac_includes_default
    7129 int
    7130 main ()
    7131 {
    7132 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
    7133 test_array [0] = 0
    7134 
    7135   ;
    7136   return 0;
    7137 }
    7138 _ACEOF
    7139 rm -f conftest.$ac_objext
    7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7141   (eval $ac_compile) 2>conftest.er1
    7142   ac_status=$?
    7143   grep -v '^ *+' conftest.er1 >conftest.err
    7144   rm -f conftest.er1
    7145   cat conftest.err >&5
    7146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7147   (exit $ac_status); } &&
    7148          { ac_try='test -z "$ac_c_werror_flag"
    7149                          || test ! -s conftest.err'
    7150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7151   (eval $ac_try) 2>&5
    7152   ac_status=$?
    7153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7154   (exit $ac_status); }; } &&
    7155          { ac_try='test -s conftest.$ac_objext'
    7156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7157   (eval $ac_try) 2>&5
    7158   ac_status=$?
    7159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7160   (exit $ac_status); }; }; then
    7161   ac_lo=$ac_mid; break
    7162 else
    7163   echo "$as_me: failed program was:" >&5
    7164 sed 's/^/| /' conftest.$ac_ext >&5
    7165 
    7166 ac_hi=`expr '(' $ac_mid ')' - 1`
    7167                        if test $ac_mid -le $ac_hi; then
    7168                          ac_lo= ac_hi=
    7169                          break
    7170                        fi
    7171                        ac_mid=`expr 2 '*' $ac_mid`
    7172 fi
    7173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7174   done
    7175 else
    7176   echo "$as_me: failed program was:" >&5
    7177 sed 's/^/| /' conftest.$ac_ext >&5
    7178 
    7179 ac_lo= ac_hi=
    7180 fi
    7181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7182 fi
    7183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7184 # Binary search between lo and hi bounds.
    7185 while test "x$ac_lo" != "x$ac_hi"; do
    7186   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    7187   cat >conftest.$ac_ext <<_ACEOF
    7188 /* confdefs.h.  */
    7189 _ACEOF
    7190 cat confdefs.h >>conftest.$ac_ext
    7191 cat >>conftest.$ac_ext <<_ACEOF
    7192 /* end confdefs.h.  */
    7193 $ac_includes_default
    7194 int
    7195 main ()
    7196 {
    7197 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
    7198 test_array [0] = 0
    7199 
    7200   ;
    7201   return 0;
    7202 }
    7203 _ACEOF
    7204 rm -f conftest.$ac_objext
    7205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7206   (eval $ac_compile) 2>conftest.er1
    7207   ac_status=$?
    7208   grep -v '^ *+' conftest.er1 >conftest.err
    7209   rm -f conftest.er1
    7210   cat conftest.err >&5
    7211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7212   (exit $ac_status); } &&
    7213          { ac_try='test -z "$ac_c_werror_flag"
    7214                          || test ! -s conftest.err'
    7215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7216   (eval $ac_try) 2>&5
    7217   ac_status=$?
    7218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7219   (exit $ac_status); }; } &&
    7220          { ac_try='test -s conftest.$ac_objext'
    7221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7222   (eval $ac_try) 2>&5
    7223   ac_status=$?
    7224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7225   (exit $ac_status); }; }; then
    7226   ac_hi=$ac_mid
    7227 else
    7228   echo "$as_me: failed program was:" >&5
    7229 sed 's/^/| /' conftest.$ac_ext >&5
    7230 
    7231 ac_lo=`expr '(' $ac_mid ')' + 1`
    7232 fi
    7233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7234 done
    7235 case $ac_lo in
    7236 ?*) ac_cv_sizeof_short=$ac_lo;;
    7237 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
    7238 See \`config.log' for more details." >&5
    7239 echo "$as_me: error: cannot compute sizeof (short), 77
    7240 See \`config.log' for more details." >&2;}
    7241    { (exit 1); exit 1; }; } ;;
    7242 esac
    7243 else
    7244   if test "$cross_compiling" = yes; then
    7245   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    7246 See \`config.log' for more details." >&5
    7247 echo "$as_me: error: cannot run test program while cross compiling
    7248 See \`config.log' for more details." >&2;}
    7249    { (exit 1); exit 1; }; }
    7250 else
    7251   cat >conftest.$ac_ext <<_ACEOF
    7252 /* confdefs.h.  */
    7253 _ACEOF
    7254 cat confdefs.h >>conftest.$ac_ext
    7255 cat >>conftest.$ac_ext <<_ACEOF
    7256 /* end confdefs.h.  */
    7257 $ac_includes_default
    7258 long longval () { return (long) (sizeof (short)); }
    7259 unsigned long ulongval () { return (long) (sizeof (short)); }
    7260 #include <stdio.h>
    7261 #include <stdlib.h>
    7262 int
    7263 main ()
    7264 {
    7265 
    7266   FILE *f = fopen ("conftest.val", "w");
    7267   if (! f)
    7268     exit (1);
    7269   if (((long) (sizeof (short))) < 0)
    7270     {
    7271       long i = longval ();
    7272       if (i != ((long) (sizeof (short))))
    7273         exit (1);
    7274       fprintf (f, "%ld\n", i);
    7275     }
    7276   else
    7277     {
    7278       unsigned long i = ulongval ();
    7279       if (i != ((long) (sizeof (short))))
    7280         exit (1);
    7281       fprintf (f, "%lu\n", i);
    7282     }
    7283   exit (ferror (f) || fclose (f) != 0);
    7284 
    7285   ;
    7286   return 0;
    7287 }
    7288 _ACEOF
    7289 rm -f conftest$ac_exeext
    7290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7291   (eval $ac_link) 2>&5
    7292   ac_status=$?
    7293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7294   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7296   (eval $ac_try) 2>&5
    7297   ac_status=$?
    7298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7299   (exit $ac_status); }; }; then
    7300   ac_cv_sizeof_short=`cat conftest.val`
    7301 else
    7302   echo "$as_me: program exited with status $ac_status" >&5
    7303 echo "$as_me: failed program was:" >&5
    7304 sed 's/^/| /' conftest.$ac_ext >&5
    7305 
    7306 ( exit $ac_status )
    7307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
    7308 See \`config.log' for more details." >&5
    7309 echo "$as_me: error: cannot compute sizeof (short), 77
    7310 See \`config.log' for more details." >&2;}
    7311    { (exit 1); exit 1; }; }
    7312 fi
    7313 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7314 fi
    7315 fi
    7316 rm -f conftest.val
    7317 else
    7318   ac_cv_sizeof_short=0
    7319 fi
    7320 fi
    7321 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
    7322 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
    7323 cat >>confdefs.h <<_ACEOF
    7324 #define SIZEOF_SHORT $ac_cv_sizeof_short
    7325 _ACEOF
    7326 
    7327 
    7328 echo "$as_me:$LINENO: checking for int" >&5
    7329 echo $ECHO_N "checking for int... $ECHO_C" >&6
    7330 if test "${ac_cv_type_int+set}" = set; then
    7331   echo $ECHO_N "(cached) $ECHO_C" >&6
    7332 else
    7333   cat >conftest.$ac_ext <<_ACEOF
    7334 /* confdefs.h.  */
    7335 _ACEOF
    7336 cat confdefs.h >>conftest.$ac_ext
    7337 cat >>conftest.$ac_ext <<_ACEOF
    7338 /* end confdefs.h.  */
    7339 $ac_includes_default
    7340 int
    7341 main ()
    7342 {
    7343 if ((int *) 0)
    7344   return 0;
    7345 if (sizeof (int))
    7346   return 0;
    7347   ;
    7348   return 0;
    7349 }
    7350 _ACEOF
    7351 rm -f conftest.$ac_objext
    7352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7353   (eval $ac_compile) 2>conftest.er1
    7354   ac_status=$?
    7355   grep -v '^ *+' conftest.er1 >conftest.err
    7356   rm -f conftest.er1
    7357   cat conftest.err >&5
    7358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7359   (exit $ac_status); } &&
    7360          { ac_try='test -z "$ac_c_werror_flag"
    7361                          || test ! -s conftest.err'
    7362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7363   (eval $ac_try) 2>&5
    7364   ac_status=$?
    7365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7366   (exit $ac_status); }; } &&
    7367          { ac_try='test -s conftest.$ac_objext'
    7368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7369   (eval $ac_try) 2>&5
    7370   ac_status=$?
    7371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7372   (exit $ac_status); }; }; then
    7373   ac_cv_type_int=yes
    7374 else
    7375   echo "$as_me: failed program was:" >&5
    7376 sed 's/^/| /' conftest.$ac_ext >&5
    7377 
    7378 ac_cv_type_int=no
    7379 fi
    7380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7381 fi
    7382 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
    7383 echo "${ECHO_T}$ac_cv_type_int" >&6
    7384 
    7385 echo "$as_me:$LINENO: checking size of int" >&5
    7386 echo $ECHO_N "checking size of int... $ECHO_C" >&6
    7387 if test "${ac_cv_sizeof_int+set}" = set; then
    7388   echo $ECHO_N "(cached) $ECHO_C" >&6
    7389 else
    7390   if test "$ac_cv_type_int" = yes; then
    7391   # The cast to unsigned long works around a bug in the HP C Compiler
    7392   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    7393   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    7394   # This bug is HP SR number 8606223364.
    7395   if test "$cross_compiling" = yes; then
    7396   # Depending upon the size, compute the lo and hi bounds.
    7397 cat >conftest.$ac_ext <<_ACEOF
    7398 /* confdefs.h.  */
    7399 _ACEOF
    7400 cat confdefs.h >>conftest.$ac_ext
    7401 cat >>conftest.$ac_ext <<_ACEOF
    7402 /* end confdefs.h.  */
    7403 $ac_includes_default
    7404 int
    7405 main ()
    7406 {
    7407 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
    7408 test_array [0] = 0
    7409 
    7410   ;
    7411   return 0;
    7412 }
    7413 _ACEOF
    7414 rm -f conftest.$ac_objext
    7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7416   (eval $ac_compile) 2>conftest.er1
    7417   ac_status=$?
    7418   grep -v '^ *+' conftest.er1 >conftest.err
    7419   rm -f conftest.er1
    7420   cat conftest.err >&5
    7421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7422   (exit $ac_status); } &&
    7423          { ac_try='test -z "$ac_c_werror_flag"
    7424                          || test ! -s conftest.err'
    7425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7426   (eval $ac_try) 2>&5
    7427   ac_status=$?
    7428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7429   (exit $ac_status); }; } &&
    7430          { ac_try='test -s conftest.$ac_objext'
    7431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7432   (eval $ac_try) 2>&5
    7433   ac_status=$?
    7434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7435   (exit $ac_status); }; }; then
    7436   ac_lo=0 ac_mid=0
    7437   while :; do
    7438     cat >conftest.$ac_ext <<_ACEOF
    7439 /* confdefs.h.  */
    7440 _ACEOF
    7441 cat confdefs.h >>conftest.$ac_ext
    7442 cat >>conftest.$ac_ext <<_ACEOF
    7443 /* end confdefs.h.  */
    7444 $ac_includes_default
    7445 int
    7446 main ()
    7447 {
    7448 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
    7449 test_array [0] = 0
    7450 
    7451   ;
    7452   return 0;
    7453 }
    7454 _ACEOF
    7455 rm -f conftest.$ac_objext
    7456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7457   (eval $ac_compile) 2>conftest.er1
    7458   ac_status=$?
    7459   grep -v '^ *+' conftest.er1 >conftest.err
    7460   rm -f conftest.er1
    7461   cat conftest.err >&5
    7462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7463   (exit $ac_status); } &&
    7464          { ac_try='test -z "$ac_c_werror_flag"
    7465                          || test ! -s conftest.err'
    7466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7467   (eval $ac_try) 2>&5
    7468   ac_status=$?
    7469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7470   (exit $ac_status); }; } &&
    7471          { ac_try='test -s conftest.$ac_objext'
    7472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7473   (eval $ac_try) 2>&5
    7474   ac_status=$?
    7475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7476   (exit $ac_status); }; }; then
    7477   ac_hi=$ac_mid; break
    7478 else
    7479   echo "$as_me: failed program was:" >&5
    7480 sed 's/^/| /' conftest.$ac_ext >&5
    7481 
    7482 ac_lo=`expr $ac_mid + 1`
    7483                     if test $ac_lo -le $ac_mid; then
    7484                       ac_lo= ac_hi=
    7485                       break
    7486                     fi
    7487                     ac_mid=`expr 2 '*' $ac_mid + 1`
    7488 fi
    7489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7490   done
    7491 else
    7492   echo "$as_me: failed program was:" >&5
    7493 sed 's/^/| /' conftest.$ac_ext >&5
    7494 
    7495 cat >conftest.$ac_ext <<_ACEOF
    7496 /* confdefs.h.  */
    7497 _ACEOF
    7498 cat confdefs.h >>conftest.$ac_ext
    7499 cat >>conftest.$ac_ext <<_ACEOF
    7500 /* end confdefs.h.  */
    7501 $ac_includes_default
    7502 int
    7503 main ()
    7504 {
    7505 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
    7506 test_array [0] = 0
    7507 
    7508   ;
    7509   return 0;
    7510 }
    7511 _ACEOF
    7512 rm -f conftest.$ac_objext
    7513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7514   (eval $ac_compile) 2>conftest.er1
    7515   ac_status=$?
    7516   grep -v '^ *+' conftest.er1 >conftest.err
    7517   rm -f conftest.er1
    7518   cat conftest.err >&5
    7519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7520   (exit $ac_status); } &&
    7521          { ac_try='test -z "$ac_c_werror_flag"
    7522                          || test ! -s conftest.err'
    7523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7524   (eval $ac_try) 2>&5
    7525   ac_status=$?
    7526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7527   (exit $ac_status); }; } &&
    7528          { ac_try='test -s conftest.$ac_objext'
    7529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7530   (eval $ac_try) 2>&5
    7531   ac_status=$?
    7532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7533   (exit $ac_status); }; }; then
    7534   ac_hi=-1 ac_mid=-1
    7535   while :; do
    7536     cat >conftest.$ac_ext <<_ACEOF
    7537 /* confdefs.h.  */
    7538 _ACEOF
    7539 cat confdefs.h >>conftest.$ac_ext
    7540 cat >>conftest.$ac_ext <<_ACEOF
    7541 /* end confdefs.h.  */
    7542 $ac_includes_default
    7543 int
    7544 main ()
    7545 {
    7546 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
    7547 test_array [0] = 0
    7548 
    7549   ;
    7550   return 0;
    7551 }
    7552 _ACEOF
    7553 rm -f conftest.$ac_objext
    7554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7555   (eval $ac_compile) 2>conftest.er1
    7556   ac_status=$?
    7557   grep -v '^ *+' conftest.er1 >conftest.err
    7558   rm -f conftest.er1
    7559   cat conftest.err >&5
    7560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7561   (exit $ac_status); } &&
    7562          { ac_try='test -z "$ac_c_werror_flag"
    7563                          || test ! -s conftest.err'
    7564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7565   (eval $ac_try) 2>&5
    7566   ac_status=$?
    7567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7568   (exit $ac_status); }; } &&
    7569          { ac_try='test -s conftest.$ac_objext'
    7570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7571   (eval $ac_try) 2>&5
    7572   ac_status=$?
    7573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7574   (exit $ac_status); }; }; then
    7575   ac_lo=$ac_mid; break
    7576 else
    7577   echo "$as_me: failed program was:" >&5
    7578 sed 's/^/| /' conftest.$ac_ext >&5
    7579 
    7580 ac_hi=`expr '(' $ac_mid ')' - 1`
    7581                        if test $ac_mid -le $ac_hi; then
    7582                          ac_lo= ac_hi=
    7583                          break
    7584                        fi
    7585                        ac_mid=`expr 2 '*' $ac_mid`
    7586 fi
    7587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7588   done
    7589 else
    7590   echo "$as_me: failed program was:" >&5
    7591 sed 's/^/| /' conftest.$ac_ext >&5
    7592 
    7593 ac_lo= ac_hi=
    7594 fi
    7595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7596 fi
    7597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7598 # Binary search between lo and hi bounds.
    7599 while test "x$ac_lo" != "x$ac_hi"; do
    7600   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    7601   cat >conftest.$ac_ext <<_ACEOF
    7602 /* confdefs.h.  */
    7603 _ACEOF
    7604 cat confdefs.h >>conftest.$ac_ext
    7605 cat >>conftest.$ac_ext <<_ACEOF
    7606 /* end confdefs.h.  */
    7607 $ac_includes_default
    7608 int
    7609 main ()
    7610 {
    7611 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
    7612 test_array [0] = 0
    7613 
    7614   ;
    7615   return 0;
    7616 }
    7617 _ACEOF
    7618 rm -f conftest.$ac_objext
    7619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7620   (eval $ac_compile) 2>conftest.er1
    7621   ac_status=$?
    7622   grep -v '^ *+' conftest.er1 >conftest.err
    7623   rm -f conftest.er1
    7624   cat conftest.err >&5
    7625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7626   (exit $ac_status); } &&
    7627          { ac_try='test -z "$ac_c_werror_flag"
    7628                          || test ! -s conftest.err'
    7629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7630   (eval $ac_try) 2>&5
    7631   ac_status=$?
    7632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7633   (exit $ac_status); }; } &&
    7634          { ac_try='test -s conftest.$ac_objext'
    7635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7636   (eval $ac_try) 2>&5
    7637   ac_status=$?
    7638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7639   (exit $ac_status); }; }; then
    7640   ac_hi=$ac_mid
    7641 else
    7642   echo "$as_me: failed program was:" >&5
    7643 sed 's/^/| /' conftest.$ac_ext >&5
    7644 
    7645 ac_lo=`expr '(' $ac_mid ')' + 1`
    7646 fi
    7647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7648 done
    7649 case $ac_lo in
    7650 ?*) ac_cv_sizeof_int=$ac_lo;;
    7651 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
    7652 See \`config.log' for more details." >&5
    7653 echo "$as_me: error: cannot compute sizeof (int), 77
    7654 See \`config.log' for more details." >&2;}
    7655    { (exit 1); exit 1; }; } ;;
    7656 esac
    7657 else
    7658   if test "$cross_compiling" = yes; then
    7659   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    7660 See \`config.log' for more details." >&5
    7661 echo "$as_me: error: cannot run test program while cross compiling
    7662 See \`config.log' for more details." >&2;}
    7663    { (exit 1); exit 1; }; }
    7664 else
    7665   cat >conftest.$ac_ext <<_ACEOF
    7666 /* confdefs.h.  */
    7667 _ACEOF
    7668 cat confdefs.h >>conftest.$ac_ext
    7669 cat >>conftest.$ac_ext <<_ACEOF
    7670 /* end confdefs.h.  */
    7671 $ac_includes_default
    7672 long longval () { return (long) (sizeof (int)); }
    7673 unsigned long ulongval () { return (long) (sizeof (int)); }
    7674 #include <stdio.h>
    7675 #include <stdlib.h>
    7676 int
    7677 main ()
    7678 {
    7679 
    7680   FILE *f = fopen ("conftest.val", "w");
    7681   if (! f)
    7682     exit (1);
    7683   if (((long) (sizeof (int))) < 0)
    7684     {
    7685       long i = longval ();
    7686       if (i != ((long) (sizeof (int))))
    7687         exit (1);
    7688       fprintf (f, "%ld\n", i);
    7689     }
    7690   else
    7691     {
    7692       unsigned long i = ulongval ();
    7693       if (i != ((long) (sizeof (int))))
    7694         exit (1);
    7695       fprintf (f, "%lu\n", i);
    7696     }
    7697   exit (ferror (f) || fclose (f) != 0);
    7698 
    7699   ;
    7700   return 0;
    7701 }
    7702 _ACEOF
    7703 rm -f conftest$ac_exeext
    7704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7705   (eval $ac_link) 2>&5
    7706   ac_status=$?
    7707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7708   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7710   (eval $ac_try) 2>&5
    7711   ac_status=$?
    7712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7713   (exit $ac_status); }; }; then
    7714   ac_cv_sizeof_int=`cat conftest.val`
    7715 else
    7716   echo "$as_me: program exited with status $ac_status" >&5
    7717 echo "$as_me: failed program was:" >&5
    7718 sed 's/^/| /' conftest.$ac_ext >&5
    7719 
    7720 ( exit $ac_status )
    7721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
    7722 See \`config.log' for more details." >&5
    7723 echo "$as_me: error: cannot compute sizeof (int), 77
    7724 See \`config.log' for more details." >&2;}
    7725    { (exit 1); exit 1; }; }
    7726 fi
    7727 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7728 fi
    7729 fi
    7730 rm -f conftest.val
    7731 else
    7732   ac_cv_sizeof_int=0
    7733 fi
    7734 fi
    7735 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    7736 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
    7737 cat >>confdefs.h <<_ACEOF
    7738 #define SIZEOF_INT $ac_cv_sizeof_int
    7739 _ACEOF
    7740 
    7741 
    7742 echo "$as_me:$LINENO: checking for long" >&5
    7743 echo $ECHO_N "checking for long... $ECHO_C" >&6
    7744 if test "${ac_cv_type_long+set}" = set; then
    7745   echo $ECHO_N "(cached) $ECHO_C" >&6
    7746 else
    7747   cat >conftest.$ac_ext <<_ACEOF
    7748 /* confdefs.h.  */
    7749 _ACEOF
    7750 cat confdefs.h >>conftest.$ac_ext
    7751 cat >>conftest.$ac_ext <<_ACEOF
    7752 /* end confdefs.h.  */
    7753 $ac_includes_default
    7754 int
    7755 main ()
    7756 {
    7757 if ((long *) 0)
    7758   return 0;
    7759 if (sizeof (long))
    7760   return 0;
    7761   ;
    7762   return 0;
    7763 }
    7764 _ACEOF
    7765 rm -f conftest.$ac_objext
    7766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7767   (eval $ac_compile) 2>conftest.er1
    7768   ac_status=$?
    7769   grep -v '^ *+' conftest.er1 >conftest.err
    7770   rm -f conftest.er1
    7771   cat conftest.err >&5
    7772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7773   (exit $ac_status); } &&
    7774          { ac_try='test -z "$ac_c_werror_flag"
    7775                          || test ! -s conftest.err'
    7776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7777   (eval $ac_try) 2>&5
    7778   ac_status=$?
    7779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7780   (exit $ac_status); }; } &&
    7781          { ac_try='test -s conftest.$ac_objext'
    7782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7783   (eval $ac_try) 2>&5
    7784   ac_status=$?
    7785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7786   (exit $ac_status); }; }; then
    7787   ac_cv_type_long=yes
    7788 else
    7789   echo "$as_me: failed program was:" >&5
    7790 sed 's/^/| /' conftest.$ac_ext >&5
    7791 
    7792 ac_cv_type_long=no
    7793 fi
    7794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7795 fi
    7796 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
    7797 echo "${ECHO_T}$ac_cv_type_long" >&6
    7798 
    7799 echo "$as_me:$LINENO: checking size of long" >&5
    7800 echo $ECHO_N "checking size of long... $ECHO_C" >&6
    7801 if test "${ac_cv_sizeof_long+set}" = set; then
    7802   echo $ECHO_N "(cached) $ECHO_C" >&6
    7803 else
    7804   if test "$ac_cv_type_long" = yes; then
    7805   # The cast to unsigned long works around a bug in the HP C Compiler
    7806   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    7807   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    7808   # This bug is HP SR number 8606223364.
    7809   if test "$cross_compiling" = yes; then
    7810   # Depending upon the size, compute the lo and hi bounds.
    7811 cat >conftest.$ac_ext <<_ACEOF
    7812 /* confdefs.h.  */
    7813 _ACEOF
    7814 cat confdefs.h >>conftest.$ac_ext
    7815 cat >>conftest.$ac_ext <<_ACEOF
    7816 /* end confdefs.h.  */
    7817 $ac_includes_default
    7818 int
    7819 main ()
    7820 {
    7821 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
    7822 test_array [0] = 0
    7823 
    7824   ;
    7825   return 0;
    7826 }
    7827 _ACEOF
    7828 rm -f conftest.$ac_objext
    7829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7830   (eval $ac_compile) 2>conftest.er1
    7831   ac_status=$?
    7832   grep -v '^ *+' conftest.er1 >conftest.err
    7833   rm -f conftest.er1
    7834   cat conftest.err >&5
    7835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7836   (exit $ac_status); } &&
    7837          { ac_try='test -z "$ac_c_werror_flag"
    7838                          || test ! -s conftest.err'
    7839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7840   (eval $ac_try) 2>&5
    7841   ac_status=$?
    7842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7843   (exit $ac_status); }; } &&
    7844          { ac_try='test -s conftest.$ac_objext'
    7845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7846   (eval $ac_try) 2>&5
    7847   ac_status=$?
    7848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7849   (exit $ac_status); }; }; then
    7850   ac_lo=0 ac_mid=0
    7851   while :; do
    7852     cat >conftest.$ac_ext <<_ACEOF
    7853 /* confdefs.h.  */
    7854 _ACEOF
    7855 cat confdefs.h >>conftest.$ac_ext
    7856 cat >>conftest.$ac_ext <<_ACEOF
    7857 /* end confdefs.h.  */
    7858 $ac_includes_default
    7859 int
    7860 main ()
    7861 {
    7862 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
    7863 test_array [0] = 0
    7864 
    7865   ;
    7866   return 0;
    7867 }
    7868 _ACEOF
    7869 rm -f conftest.$ac_objext
    7870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7871   (eval $ac_compile) 2>conftest.er1
    7872   ac_status=$?
    7873   grep -v '^ *+' conftest.er1 >conftest.err
    7874   rm -f conftest.er1
    7875   cat conftest.err >&5
    7876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7877   (exit $ac_status); } &&
    7878          { ac_try='test -z "$ac_c_werror_flag"
    7879                          || test ! -s conftest.err'
    7880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7881   (eval $ac_try) 2>&5
    7882   ac_status=$?
    7883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7884   (exit $ac_status); }; } &&
    7885          { ac_try='test -s conftest.$ac_objext'
    7886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7887   (eval $ac_try) 2>&5
    7888   ac_status=$?
    7889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7890   (exit $ac_status); }; }; then
    7891   ac_hi=$ac_mid; break
    7892 else
    7893   echo "$as_me: failed program was:" >&5
    7894 sed 's/^/| /' conftest.$ac_ext >&5
    7895 
    7896 ac_lo=`expr $ac_mid + 1`
    7897                     if test $ac_lo -le $ac_mid; then
    7898                       ac_lo= ac_hi=
    7899                       break
    7900                     fi
    7901                     ac_mid=`expr 2 '*' $ac_mid + 1`
    7902 fi
    7903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7904   done
    7905 else
    7906   echo "$as_me: failed program was:" >&5
    7907 sed 's/^/| /' conftest.$ac_ext >&5
    7908 
    7909 cat >conftest.$ac_ext <<_ACEOF
    7910 /* confdefs.h.  */
    7911 _ACEOF
    7912 cat confdefs.h >>conftest.$ac_ext
    7913 cat >>conftest.$ac_ext <<_ACEOF
    7914 /* end confdefs.h.  */
    7915 $ac_includes_default
    7916 int
    7917 main ()
    7918 {
    7919 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
    7920 test_array [0] = 0
    7921 
    7922   ;
    7923   return 0;
    7924 }
    7925 _ACEOF
    7926 rm -f conftest.$ac_objext
    7927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7928   (eval $ac_compile) 2>conftest.er1
    7929   ac_status=$?
    7930   grep -v '^ *+' conftest.er1 >conftest.err
    7931   rm -f conftest.er1
    7932   cat conftest.err >&5
    7933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7934   (exit $ac_status); } &&
    7935          { ac_try='test -z "$ac_c_werror_flag"
    7936                          || test ! -s conftest.err'
    7937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7938   (eval $ac_try) 2>&5
    7939   ac_status=$?
    7940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7941   (exit $ac_status); }; } &&
    7942          { ac_try='test -s conftest.$ac_objext'
    7943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7944   (eval $ac_try) 2>&5
    7945   ac_status=$?
    7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7947   (exit $ac_status); }; }; then
    7948   ac_hi=-1 ac_mid=-1
    7949   while :; do
    7950     cat >conftest.$ac_ext <<_ACEOF
    7951 /* confdefs.h.  */
    7952 _ACEOF
    7953 cat confdefs.h >>conftest.$ac_ext
    7954 cat >>conftest.$ac_ext <<_ACEOF
    7955 /* end confdefs.h.  */
    7956 $ac_includes_default
    7957 int
    7958 main ()
    7959 {
    7960 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
    7961 test_array [0] = 0
    7962 
    7963   ;
    7964   return 0;
    7965 }
    7966 _ACEOF
    7967 rm -f conftest.$ac_objext
    7968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7969   (eval $ac_compile) 2>conftest.er1
    7970   ac_status=$?
    7971   grep -v '^ *+' conftest.er1 >conftest.err
    7972   rm -f conftest.er1
    7973   cat conftest.err >&5
    7974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7975   (exit $ac_status); } &&
    7976          { ac_try='test -z "$ac_c_werror_flag"
    7977                          || test ! -s conftest.err'
    7978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7979   (eval $ac_try) 2>&5
    7980   ac_status=$?
    7981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7982   (exit $ac_status); }; } &&
    7983          { ac_try='test -s conftest.$ac_objext'
    7984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7985   (eval $ac_try) 2>&5
    7986   ac_status=$?
    7987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7988   (exit $ac_status); }; }; then
    7989   ac_lo=$ac_mid; break
    7990 else
    7991   echo "$as_me: failed program was:" >&5
    7992 sed 's/^/| /' conftest.$ac_ext >&5
    7993 
    7994 ac_hi=`expr '(' $ac_mid ')' - 1`
    7995                        if test $ac_mid -le $ac_hi; then
    7996                          ac_lo= ac_hi=
    7997                          break
    7998                        fi
    7999                        ac_mid=`expr 2 '*' $ac_mid`
    8000 fi
    8001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8002   done
    8003 else
    8004   echo "$as_me: failed program was:" >&5
    8005 sed 's/^/| /' conftest.$ac_ext >&5
    8006 
    8007 ac_lo= ac_hi=
    8008 fi
    8009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8010 fi
    8011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8012 # Binary search between lo and hi bounds.
    8013 while test "x$ac_lo" != "x$ac_hi"; do
    8014   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    8015   cat >conftest.$ac_ext <<_ACEOF
    8016 /* confdefs.h.  */
    8017 _ACEOF
    8018 cat confdefs.h >>conftest.$ac_ext
    8019 cat >>conftest.$ac_ext <<_ACEOF
    8020 /* end confdefs.h.  */
    8021 $ac_includes_default
    8022 int
    8023 main ()
    8024 {
    8025 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
    8026 test_array [0] = 0
    8027 
    8028   ;
    8029   return 0;
    8030 }
    8031 _ACEOF
    8032 rm -f conftest.$ac_objext
    8033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8034   (eval $ac_compile) 2>conftest.er1
    8035   ac_status=$?
    8036   grep -v '^ *+' conftest.er1 >conftest.err
    8037   rm -f conftest.er1
    8038   cat conftest.err >&5
    8039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8040   (exit $ac_status); } &&
    8041          { ac_try='test -z "$ac_c_werror_flag"
    8042                          || test ! -s conftest.err'
    8043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8044   (eval $ac_try) 2>&5
    8045   ac_status=$?
    8046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8047   (exit $ac_status); }; } &&
    8048          { ac_try='test -s conftest.$ac_objext'
    8049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8050   (eval $ac_try) 2>&5
    8051   ac_status=$?
    8052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8053   (exit $ac_status); }; }; then
    8054   ac_hi=$ac_mid
    8055 else
    8056   echo "$as_me: failed program was:" >&5
    8057 sed 's/^/| /' conftest.$ac_ext >&5
    8058 
    8059 ac_lo=`expr '(' $ac_mid ')' + 1`
    8060 fi
    8061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8062 done
    8063 case $ac_lo in
    8064 ?*) ac_cv_sizeof_long=$ac_lo;;
    8065 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
    8066 See \`config.log' for more details." >&5
    8067 echo "$as_me: error: cannot compute sizeof (long), 77
    8068 See \`config.log' for more details." >&2;}
    8069    { (exit 1); exit 1; }; } ;;
    8070 esac
    8071 else
    8072   if test "$cross_compiling" = yes; then
    8073   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    8074 See \`config.log' for more details." >&5
    8075 echo "$as_me: error: cannot run test program while cross compiling
    8076 See \`config.log' for more details." >&2;}
    8077    { (exit 1); exit 1; }; }
    8078 else
    8079   cat >conftest.$ac_ext <<_ACEOF
    8080 /* confdefs.h.  */
    8081 _ACEOF
    8082 cat confdefs.h >>conftest.$ac_ext
    8083 cat >>conftest.$ac_ext <<_ACEOF
    8084 /* end confdefs.h.  */
    8085 $ac_includes_default
    8086 long longval () { return (long) (sizeof (long)); }
    8087 unsigned long ulongval () { return (long) (sizeof (long)); }
    8088 #include <stdio.h>
    8089 #include <stdlib.h>
    8090 int
    8091 main ()
    8092 {
    8093 
    8094   FILE *f = fopen ("conftest.val", "w");
    8095   if (! f)
    8096     exit (1);
    8097   if (((long) (sizeof (long))) < 0)
    8098     {
    8099       long i = longval ();
    8100       if (i != ((long) (sizeof (long))))
    8101         exit (1);
    8102       fprintf (f, "%ld\n", i);
    8103     }
    8104   else
    8105     {
    8106       unsigned long i = ulongval ();
    8107       if (i != ((long) (sizeof (long))))
    8108         exit (1);
    8109       fprintf (f, "%lu\n", i);
    8110     }
    8111   exit (ferror (f) || fclose (f) != 0);
    8112 
    8113   ;
    8114   return 0;
    8115 }
    8116 _ACEOF
    8117 rm -f conftest$ac_exeext
    8118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8119   (eval $ac_link) 2>&5
    8120   ac_status=$?
    8121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8122   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    8123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8124   (eval $ac_try) 2>&5
    8125   ac_status=$?
    8126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8127   (exit $ac_status); }; }; then
    8128   ac_cv_sizeof_long=`cat conftest.val`
    8129 else
    8130   echo "$as_me: program exited with status $ac_status" >&5
    8131 echo "$as_me: failed program was:" >&5
    8132 sed 's/^/| /' conftest.$ac_ext >&5
    8133 
    8134 ( exit $ac_status )
    8135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
    8136 See \`config.log' for more details." >&5
    8137 echo "$as_me: error: cannot compute sizeof (long), 77
    8138 See \`config.log' for more details." >&2;}
    8139    { (exit 1); exit 1; }; }
    8140 fi
    8141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    8142 fi
    8143 fi
    8144 rm -f conftest.val
    8145 else
    8146   ac_cv_sizeof_long=0
    8147 fi
    8148 fi
    8149 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    8150 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
    8151 cat >>confdefs.h <<_ACEOF
    8152 #define SIZEOF_LONG $ac_cv_sizeof_long
    8153 _ACEOF
    8154 
    8155 
    8156 echo "$as_me:$LINENO: checking for void*" >&5
    8157 echo $ECHO_N "checking for void*... $ECHO_C" >&6
    8158 if test "${ac_cv_type_voidp+set}" = set; then
    8159   echo $ECHO_N "(cached) $ECHO_C" >&6
    8160 else
    8161   cat >conftest.$ac_ext <<_ACEOF
    8162 /* confdefs.h.  */
    8163 _ACEOF
    8164 cat confdefs.h >>conftest.$ac_ext
    8165 cat >>conftest.$ac_ext <<_ACEOF
    8166 /* end confdefs.h.  */
    8167 $ac_includes_default
    8168 int
    8169 main ()
    8170 {
    8171 if ((void* *) 0)
    8172   return 0;
    8173 if (sizeof (void*))
    8174   return 0;
    8175   ;
    8176   return 0;
    8177 }
    8178 _ACEOF
    8179 rm -f conftest.$ac_objext
    8180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8181   (eval $ac_compile) 2>conftest.er1
    8182   ac_status=$?
    8183   grep -v '^ *+' conftest.er1 >conftest.err
    8184   rm -f conftest.er1
    8185   cat conftest.err >&5
    8186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8187   (exit $ac_status); } &&
    8188          { ac_try='test -z "$ac_c_werror_flag"
    8189                          || test ! -s conftest.err'
    8190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8191   (eval $ac_try) 2>&5
    8192   ac_status=$?
    8193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8194   (exit $ac_status); }; } &&
    8195          { ac_try='test -s conftest.$ac_objext'
    8196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8197   (eval $ac_try) 2>&5
    8198   ac_status=$?
    8199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8200   (exit $ac_status); }; }; then
    8201   ac_cv_type_voidp=yes
    8202 else
    8203   echo "$as_me: failed program was:" >&5
    8204 sed 's/^/| /' conftest.$ac_ext >&5
    8205 
    8206 ac_cv_type_voidp=no
    8207 fi
    8208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8209 fi
    8210 echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
    8211 echo "${ECHO_T}$ac_cv_type_voidp" >&6
    8212 
    8213 echo "$as_me:$LINENO: checking size of void*" >&5
    8214 echo $ECHO_N "checking size of void*... $ECHO_C" >&6
    8215 if test "${ac_cv_sizeof_voidp+set}" = set; then
    8216   echo $ECHO_N "(cached) $ECHO_C" >&6
    8217 else
    8218   if test "$ac_cv_type_voidp" = yes; then
    8219   # The cast to unsigned long works around a bug in the HP C Compiler
    8220   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    8221   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    8222   # This bug is HP SR number 8606223364.
    8223   if test "$cross_compiling" = yes; then
    8224   # Depending upon the size, compute the lo and hi bounds.
    8225 cat >conftest.$ac_ext <<_ACEOF
    8226 /* confdefs.h.  */
    8227 _ACEOF
    8228 cat confdefs.h >>conftest.$ac_ext
    8229 cat >>conftest.$ac_ext <<_ACEOF
    8230 /* end confdefs.h.  */
    8231 $ac_includes_default
    8232 int
    8233 main ()
    8234 {
    8235 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
    8236 test_array [0] = 0
    8237 
    8238   ;
    8239   return 0;
    8240 }
    8241 _ACEOF
    8242 rm -f conftest.$ac_objext
    8243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8244   (eval $ac_compile) 2>conftest.er1
    8245   ac_status=$?
    8246   grep -v '^ *+' conftest.er1 >conftest.err
    8247   rm -f conftest.er1
    8248   cat conftest.err >&5
    8249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8250   (exit $ac_status); } &&
    8251          { ac_try='test -z "$ac_c_werror_flag"
    8252                          || test ! -s conftest.err'
    8253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8254   (eval $ac_try) 2>&5
    8255   ac_status=$?
    8256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8257   (exit $ac_status); }; } &&
    8258          { ac_try='test -s conftest.$ac_objext'
    8259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8260   (eval $ac_try) 2>&5
    8261   ac_status=$?
    8262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8263   (exit $ac_status); }; }; then
    8264   ac_lo=0 ac_mid=0
    8265   while :; do
    8266     cat >conftest.$ac_ext <<_ACEOF
    8267 /* confdefs.h.  */
    8268 _ACEOF
    8269 cat confdefs.h >>conftest.$ac_ext
    8270 cat >>conftest.$ac_ext <<_ACEOF
    8271 /* end confdefs.h.  */
    8272 $ac_includes_default
    8273 int
    8274 main ()
    8275 {
    8276 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
    8277 test_array [0] = 0
    8278 
    8279   ;
    8280   return 0;
    8281 }
    8282 _ACEOF
    8283 rm -f conftest.$ac_objext
    8284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8285   (eval $ac_compile) 2>conftest.er1
    8286   ac_status=$?
    8287   grep -v '^ *+' conftest.er1 >conftest.err
    8288   rm -f conftest.er1
    8289   cat conftest.err >&5
    8290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8291   (exit $ac_status); } &&
    8292          { ac_try='test -z "$ac_c_werror_flag"
    8293                          || test ! -s conftest.err'
    8294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8295   (eval $ac_try) 2>&5
    8296   ac_status=$?
    8297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8298   (exit $ac_status); }; } &&
    8299          { ac_try='test -s conftest.$ac_objext'
    8300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8301   (eval $ac_try) 2>&5
    8302   ac_status=$?
    8303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8304   (exit $ac_status); }; }; then
    8305   ac_hi=$ac_mid; break
    8306 else
    8307   echo "$as_me: failed program was:" >&5
    8308 sed 's/^/| /' conftest.$ac_ext >&5
    8309 
    8310 ac_lo=`expr $ac_mid + 1`
    8311                     if test $ac_lo -le $ac_mid; then
    8312                       ac_lo= ac_hi=
    8313                       break
    8314                     fi
    8315                     ac_mid=`expr 2 '*' $ac_mid + 1`
    8316 fi
    8317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8318   done
    8319 else
    8320   echo "$as_me: failed program was:" >&5
    8321 sed 's/^/| /' conftest.$ac_ext >&5
    8322 
    8323 cat >conftest.$ac_ext <<_ACEOF
    8324 /* confdefs.h.  */
    8325 _ACEOF
    8326 cat confdefs.h >>conftest.$ac_ext
    8327 cat >>conftest.$ac_ext <<_ACEOF
    8328 /* end confdefs.h.  */
    8329 $ac_includes_default
    8330 int
    8331 main ()
    8332 {
    8333 static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
    8334 test_array [0] = 0
    8335 
    8336   ;
    8337   return 0;
    8338 }
    8339 _ACEOF
    8340 rm -f conftest.$ac_objext
    8341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8342   (eval $ac_compile) 2>conftest.er1
    8343   ac_status=$?
    8344   grep -v '^ *+' conftest.er1 >conftest.err
    8345   rm -f conftest.er1
    8346   cat conftest.err >&5
    8347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8348   (exit $ac_status); } &&
    8349          { ac_try='test -z "$ac_c_werror_flag"
    8350                          || test ! -s conftest.err'
    8351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8352   (eval $ac_try) 2>&5
    8353   ac_status=$?
    8354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8355   (exit $ac_status); }; } &&
    8356          { ac_try='test -s conftest.$ac_objext'
    8357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8358   (eval $ac_try) 2>&5
    8359   ac_status=$?
    8360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8361   (exit $ac_status); }; }; then
    8362   ac_hi=-1 ac_mid=-1
    8363   while :; do
    8364     cat >conftest.$ac_ext <<_ACEOF
    8365 /* confdefs.h.  */
    8366 _ACEOF
    8367 cat confdefs.h >>conftest.$ac_ext
    8368 cat >>conftest.$ac_ext <<_ACEOF
    8369 /* end confdefs.h.  */
    8370 $ac_includes_default
    8371 int
    8372 main ()
    8373 {
    8374 static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
    8375 test_array [0] = 0
    8376 
    8377   ;
    8378   return 0;
    8379 }
    8380 _ACEOF
    8381 rm -f conftest.$ac_objext
    8382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8383   (eval $ac_compile) 2>conftest.er1
    8384   ac_status=$?
    8385   grep -v '^ *+' conftest.er1 >conftest.err
    8386   rm -f conftest.er1
    8387   cat conftest.err >&5
    8388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8389   (exit $ac_status); } &&
    8390          { ac_try='test -z "$ac_c_werror_flag"
    8391                          || test ! -s conftest.err'
    8392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8393   (eval $ac_try) 2>&5
    8394   ac_status=$?
    8395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8396   (exit $ac_status); }; } &&
    8397          { ac_try='test -s conftest.$ac_objext'
    8398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8399   (eval $ac_try) 2>&5
    8400   ac_status=$?
    8401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8402   (exit $ac_status); }; }; then
    8403   ac_lo=$ac_mid; break
    8404 else
    8405   echo "$as_me: failed program was:" >&5
    8406 sed 's/^/| /' conftest.$ac_ext >&5
    8407 
    8408 ac_hi=`expr '(' $ac_mid ')' - 1`
    8409                        if test $ac_mid -le $ac_hi; then
    8410                          ac_lo= ac_hi=
    8411                          break
    8412                        fi
    8413                        ac_mid=`expr 2 '*' $ac_mid`
    8414 fi
    8415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8416   done
    8417 else
    8418   echo "$as_me: failed program was:" >&5
    8419 sed 's/^/| /' conftest.$ac_ext >&5
    8420 
    8421 ac_lo= ac_hi=
    8422 fi
    8423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8424 fi
    8425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8426 # Binary search between lo and hi bounds.
    8427 while test "x$ac_lo" != "x$ac_hi"; do
    8428   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    8429   cat >conftest.$ac_ext <<_ACEOF
    8430 /* confdefs.h.  */
    8431 _ACEOF
    8432 cat confdefs.h >>conftest.$ac_ext
    8433 cat >>conftest.$ac_ext <<_ACEOF
    8434 /* end confdefs.h.  */
    8435 $ac_includes_default
    8436 int
    8437 main ()
    8438 {
    8439 static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
    8440 test_array [0] = 0
    8441 
    8442   ;
    8443   return 0;
    8444 }
    8445 _ACEOF
    8446 rm -f conftest.$ac_objext
    8447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8448   (eval $ac_compile) 2>conftest.er1
    8449   ac_status=$?
    8450   grep -v '^ *+' conftest.er1 >conftest.err
    8451   rm -f conftest.er1
    8452   cat conftest.err >&5
    8453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8454   (exit $ac_status); } &&
    8455          { ac_try='test -z "$ac_c_werror_flag"
    8456                          || test ! -s conftest.err'
    8457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8458   (eval $ac_try) 2>&5
    8459   ac_status=$?
    8460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8461   (exit $ac_status); }; } &&
    8462          { ac_try='test -s conftest.$ac_objext'
    8463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8464   (eval $ac_try) 2>&5
    8465   ac_status=$?
    8466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8467   (exit $ac_status); }; }; then
    8468   ac_hi=$ac_mid
    8469 else
    8470   echo "$as_me: failed program was:" >&5
    8471 sed 's/^/| /' conftest.$ac_ext >&5
    8472 
    8473 ac_lo=`expr '(' $ac_mid ')' + 1`
    8474 fi
    8475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8476 done
    8477 case $ac_lo in
    8478 ?*) ac_cv_sizeof_voidp=$ac_lo;;
    8479 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
    8480 See \`config.log' for more details." >&5
    8481 echo "$as_me: error: cannot compute sizeof (void*), 77
    8482 See \`config.log' for more details." >&2;}
    8483    { (exit 1); exit 1; }; } ;;
    8484 esac
    8485 else
    8486   if test "$cross_compiling" = yes; then
    8487   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    8488 See \`config.log' for more details." >&5
    8489 echo "$as_me: error: cannot run test program while cross compiling
    8490 See \`config.log' for more details." >&2;}
    8491    { (exit 1); exit 1; }; }
    8492 else
    8493   cat >conftest.$ac_ext <<_ACEOF
    8494 /* confdefs.h.  */
    8495 _ACEOF
    8496 cat confdefs.h >>conftest.$ac_ext
    8497 cat >>conftest.$ac_ext <<_ACEOF
    8498 /* end confdefs.h.  */
    8499 $ac_includes_default
    8500 long longval () { return (long) (sizeof (void*)); }
    8501 unsigned long ulongval () { return (long) (sizeof (void*)); }
    8502 #include <stdio.h>
    8503 #include <stdlib.h>
    8504 int
    8505 main ()
    8506 {
    8507 
    8508   FILE *f = fopen ("conftest.val", "w");
    8509   if (! f)
    8510     exit (1);
    8511   if (((long) (sizeof (void*))) < 0)
    8512     {
    8513       long i = longval ();
    8514       if (i != ((long) (sizeof (void*))))
    8515         exit (1);
    8516       fprintf (f, "%ld\n", i);
    8517     }
    8518   else
    8519     {
    8520       unsigned long i = ulongval ();
    8521       if (i != ((long) (sizeof (void*))))
    8522         exit (1);
    8523       fprintf (f, "%lu\n", i);
    8524     }
    8525   exit (ferror (f) || fclose (f) != 0);
    8526 
    8527   ;
    8528   return 0;
    8529 }
    8530 _ACEOF
    8531 rm -f conftest$ac_exeext
    8532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8533   (eval $ac_link) 2>&5
    8534   ac_status=$?
    8535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8536   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    8537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8538   (eval $ac_try) 2>&5
    8539   ac_status=$?
    8540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8541   (exit $ac_status); }; }; then
    8542   ac_cv_sizeof_voidp=`cat conftest.val`
    8543 else
    8544   echo "$as_me: program exited with status $ac_status" >&5
    8545 echo "$as_me: failed program was:" >&5
    8546 sed 's/^/| /' conftest.$ac_ext >&5
    8547 
    8548 ( exit $ac_status )
    8549 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
    8550 See \`config.log' for more details." >&5
    8551 echo "$as_me: error: cannot compute sizeof (void*), 77
    8552 See \`config.log' for more details." >&2;}
    8553    { (exit 1); exit 1; }; }
    8554 fi
    8555 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    8556 fi
    8557 fi
    8558 rm -f conftest.val
    8559 else
    8560   ac_cv_sizeof_voidp=0
    8561 fi
    8562 fi
    8563 echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
    8564 echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
    8565 cat >>confdefs.h <<_ACEOF
    8566 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
    8567 _ACEOF
    8568 
    8569 
    8570 echo "$as_me:$LINENO: checking for double" >&5
    8571 echo $ECHO_N "checking for double... $ECHO_C" >&6
    8572 if test "${ac_cv_type_double+set}" = set; then
    8573   echo $ECHO_N "(cached) $ECHO_C" >&6
    8574 else
    8575   cat >conftest.$ac_ext <<_ACEOF
    8576 /* confdefs.h.  */
    8577 _ACEOF
    8578 cat confdefs.h >>conftest.$ac_ext
    8579 cat >>conftest.$ac_ext <<_ACEOF
    8580 /* end confdefs.h.  */
    8581 $ac_includes_default
    8582 int
    8583 main ()
    8584 {
    8585 if ((double *) 0)
    8586   return 0;
    8587 if (sizeof (double))
    8588   return 0;
    8589   ;
    8590   return 0;
    8591 }
    8592 _ACEOF
    8593 rm -f conftest.$ac_objext
    8594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8595   (eval $ac_compile) 2>conftest.er1
    8596   ac_status=$?
    8597   grep -v '^ *+' conftest.er1 >conftest.err
    8598   rm -f conftest.er1
    8599   cat conftest.err >&5
    8600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8601   (exit $ac_status); } &&
    8602          { ac_try='test -z "$ac_c_werror_flag"
    8603                          || test ! -s conftest.err'
    8604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8605   (eval $ac_try) 2>&5
    8606   ac_status=$?
    8607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8608   (exit $ac_status); }; } &&
    8609          { ac_try='test -s conftest.$ac_objext'
    8610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8611   (eval $ac_try) 2>&5
    8612   ac_status=$?
    8613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8614   (exit $ac_status); }; }; then
    8615   ac_cv_type_double=yes
    8616 else
    8617   echo "$as_me: failed program was:" >&5
    8618 sed 's/^/| /' conftest.$ac_ext >&5
    8619 
    8620 ac_cv_type_double=no
    8621 fi
    8622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8623 fi
    8624 echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
    8625 echo "${ECHO_T}$ac_cv_type_double" >&6
    8626 
    8627 echo "$as_me:$LINENO: checking size of double" >&5
    8628 echo $ECHO_N "checking size of double... $ECHO_C" >&6
    8629 if test "${ac_cv_sizeof_double+set}" = set; then
    8630   echo $ECHO_N "(cached) $ECHO_C" >&6
    8631 else
    8632   if test "$ac_cv_type_double" = yes; then
    8633   # The cast to unsigned long works around a bug in the HP C Compiler
    8634   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    8635   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    8636   # This bug is HP SR number 8606223364.
    8637   if test "$cross_compiling" = yes; then
    8638   # Depending upon the size, compute the lo and hi bounds.
    8639 cat >conftest.$ac_ext <<_ACEOF
    8640 /* confdefs.h.  */
    8641 _ACEOF
    8642 cat confdefs.h >>conftest.$ac_ext
    8643 cat >>conftest.$ac_ext <<_ACEOF
    8644 /* end confdefs.h.  */
    8645 $ac_includes_default
    8646 int
    8647 main ()
    8648 {
    8649 static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)];
    8650 test_array [0] = 0
    8651 
    8652   ;
    8653   return 0;
    8654 }
    8655 _ACEOF
    8656 rm -f conftest.$ac_objext
    8657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8658   (eval $ac_compile) 2>conftest.er1
    8659   ac_status=$?
    8660   grep -v '^ *+' conftest.er1 >conftest.err
    8661   rm -f conftest.er1
    8662   cat conftest.err >&5
    8663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8664   (exit $ac_status); } &&
    8665          { ac_try='test -z "$ac_c_werror_flag"
    8666                          || test ! -s conftest.err'
    8667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8668   (eval $ac_try) 2>&5
    8669   ac_status=$?
    8670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8671   (exit $ac_status); }; } &&
    8672          { ac_try='test -s conftest.$ac_objext'
    8673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8674   (eval $ac_try) 2>&5
    8675   ac_status=$?
    8676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8677   (exit $ac_status); }; }; then
    8678   ac_lo=0 ac_mid=0
    8679   while :; do
    8680     cat >conftest.$ac_ext <<_ACEOF
    8681 /* confdefs.h.  */
    8682 _ACEOF
    8683 cat confdefs.h >>conftest.$ac_ext
    8684 cat >>conftest.$ac_ext <<_ACEOF
    8685 /* end confdefs.h.  */
    8686 $ac_includes_default
    8687 int
    8688 main ()
    8689 {
    8690 static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
    8691 test_array [0] = 0
    8692 
    8693   ;
    8694   return 0;
    8695 }
    8696 _ACEOF
    8697 rm -f conftest.$ac_objext
    8698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8699   (eval $ac_compile) 2>conftest.er1
    8700   ac_status=$?
    8701   grep -v '^ *+' conftest.er1 >conftest.err
    8702   rm -f conftest.er1
    8703   cat conftest.err >&5
    8704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8705   (exit $ac_status); } &&
    8706          { ac_try='test -z "$ac_c_werror_flag"
    8707                          || test ! -s conftest.err'
    8708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8709   (eval $ac_try) 2>&5
    8710   ac_status=$?
    8711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8712   (exit $ac_status); }; } &&
    8713          { ac_try='test -s conftest.$ac_objext'
    8714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8715   (eval $ac_try) 2>&5
    8716   ac_status=$?
    8717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8718   (exit $ac_status); }; }; then
    8719   ac_hi=$ac_mid; break
    8720 else
    8721   echo "$as_me: failed program was:" >&5
    8722 sed 's/^/| /' conftest.$ac_ext >&5
    8723 
    8724 ac_lo=`expr $ac_mid + 1`
    8725                     if test $ac_lo -le $ac_mid; then
    8726                       ac_lo= ac_hi=
    8727                       break
    8728                     fi
    8729                     ac_mid=`expr 2 '*' $ac_mid + 1`
    8730 fi
    8731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8732   done
    8733 else
    8734   echo "$as_me: failed program was:" >&5
    8735 sed 's/^/| /' conftest.$ac_ext >&5
    8736 
    8737 cat >conftest.$ac_ext <<_ACEOF
    8738 /* confdefs.h.  */
    8739 _ACEOF
    8740 cat confdefs.h >>conftest.$ac_ext
    8741 cat >>conftest.$ac_ext <<_ACEOF
    8742 /* end confdefs.h.  */
    8743 $ac_includes_default
    8744 int
    8745 main ()
    8746 {
    8747 static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)];
    8748 test_array [0] = 0
    8749 
    8750   ;
    8751   return 0;
    8752 }
    8753 _ACEOF
    8754 rm -f conftest.$ac_objext
    8755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8756   (eval $ac_compile) 2>conftest.er1
    8757   ac_status=$?
    8758   grep -v '^ *+' conftest.er1 >conftest.err
    8759   rm -f conftest.er1
    8760   cat conftest.err >&5
    8761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8762   (exit $ac_status); } &&
    8763          { ac_try='test -z "$ac_c_werror_flag"
    8764                          || test ! -s conftest.err'
    8765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8766   (eval $ac_try) 2>&5
    8767   ac_status=$?
    8768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8769   (exit $ac_status); }; } &&
    8770          { ac_try='test -s conftest.$ac_objext'
    8771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8772   (eval $ac_try) 2>&5
    8773   ac_status=$?
    8774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8775   (exit $ac_status); }; }; then
    8776   ac_hi=-1 ac_mid=-1
    8777   while :; do
    8778     cat >conftest.$ac_ext <<_ACEOF
    8779 /* confdefs.h.  */
    8780 _ACEOF
    8781 cat confdefs.h >>conftest.$ac_ext
    8782 cat >>conftest.$ac_ext <<_ACEOF
    8783 /* end confdefs.h.  */
    8784 $ac_includes_default
    8785 int
    8786 main ()
    8787 {
    8788 static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)];
    8789 test_array [0] = 0
    8790 
    8791   ;
    8792   return 0;
    8793 }
    8794 _ACEOF
    8795 rm -f conftest.$ac_objext
    8796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8797   (eval $ac_compile) 2>conftest.er1
    8798   ac_status=$?
    8799   grep -v '^ *+' conftest.er1 >conftest.err
    8800   rm -f conftest.er1
    8801   cat conftest.err >&5
    8802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8803   (exit $ac_status); } &&
    8804          { ac_try='test -z "$ac_c_werror_flag"
    8805                          || test ! -s conftest.err'
    8806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8807   (eval $ac_try) 2>&5
    8808   ac_status=$?
    8809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8810   (exit $ac_status); }; } &&
    8811          { ac_try='test -s conftest.$ac_objext'
    8812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8813   (eval $ac_try) 2>&5
    8814   ac_status=$?
    8815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8816   (exit $ac_status); }; }; then
    8817   ac_lo=$ac_mid; break
    8818 else
    8819   echo "$as_me: failed program was:" >&5
    8820 sed 's/^/| /' conftest.$ac_ext >&5
    8821 
    8822 ac_hi=`expr '(' $ac_mid ')' - 1`
    8823                        if test $ac_mid -le $ac_hi; then
    8824                          ac_lo= ac_hi=
    8825                          break
    8826                        fi
    8827                        ac_mid=`expr 2 '*' $ac_mid`
    8828 fi
    8829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8830   done
    8831 else
    8832   echo "$as_me: failed program was:" >&5
    8833 sed 's/^/| /' conftest.$ac_ext >&5
    8834 
    8835 ac_lo= ac_hi=
    8836 fi
    8837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8838 fi
    8839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8840 # Binary search between lo and hi bounds.
    8841 while test "x$ac_lo" != "x$ac_hi"; do
    8842   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    8843   cat >conftest.$ac_ext <<_ACEOF
    8844 /* confdefs.h.  */
    8845 _ACEOF
    8846 cat confdefs.h >>conftest.$ac_ext
    8847 cat >>conftest.$ac_ext <<_ACEOF
    8848 /* end confdefs.h.  */
    8849 $ac_includes_default
    8850 int
    8851 main ()
    8852 {
    8853 static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
    8854 test_array [0] = 0
    8855 
    8856   ;
    8857   return 0;
    8858 }
    8859 _ACEOF
    8860 rm -f conftest.$ac_objext
    8861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    8862   (eval $ac_compile) 2>conftest.er1
    8863   ac_status=$?
    8864   grep -v '^ *+' conftest.er1 >conftest.err
    8865   rm -f conftest.er1
    8866   cat conftest.err >&5
    8867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8868   (exit $ac_status); } &&
    8869          { ac_try='test -z "$ac_c_werror_flag"
    8870                          || test ! -s conftest.err'
    8871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8872   (eval $ac_try) 2>&5
    8873   ac_status=$?
    8874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8875   (exit $ac_status); }; } &&
    8876          { ac_try='test -s conftest.$ac_objext'
    8877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8878   (eval $ac_try) 2>&5
    8879   ac_status=$?
    8880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8881   (exit $ac_status); }; }; then
    8882   ac_hi=$ac_mid
    8883 else
    8884   echo "$as_me: failed program was:" >&5
    8885 sed 's/^/| /' conftest.$ac_ext >&5
    8886 
    8887 ac_lo=`expr '(' $ac_mid ')' + 1`
    8888 fi
    8889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    8890 done
    8891 case $ac_lo in
    8892 ?*) ac_cv_sizeof_double=$ac_lo;;
    8893 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
    8894 See \`config.log' for more details." >&5
    8895 echo "$as_me: error: cannot compute sizeof (double), 77
    8896 See \`config.log' for more details." >&2;}
    8897    { (exit 1); exit 1; }; } ;;
    8898 esac
    8899 else
    8900   if test "$cross_compiling" = yes; then
    8901   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    8902 See \`config.log' for more details." >&5
    8903 echo "$as_me: error: cannot run test program while cross compiling
    8904 See \`config.log' for more details." >&2;}
    8905    { (exit 1); exit 1; }; }
    8906 else
    8907   cat >conftest.$ac_ext <<_ACEOF
    8908 /* confdefs.h.  */
    8909 _ACEOF
    8910 cat confdefs.h >>conftest.$ac_ext
    8911 cat >>conftest.$ac_ext <<_ACEOF
    8912 /* end confdefs.h.  */
    8913 $ac_includes_default
    8914 long longval () { return (long) (sizeof (double)); }
    8915 unsigned long ulongval () { return (long) (sizeof (double)); }
    8916 #include <stdio.h>
    8917 #include <stdlib.h>
    8918 int
    8919 main ()
    8920 {
    8921 
    8922   FILE *f = fopen ("conftest.val", "w");
    8923   if (! f)
    8924     exit (1);
    8925   if (((long) (sizeof (double))) < 0)
    8926     {
    8927       long i = longval ();
    8928       if (i != ((long) (sizeof (double))))
    8929         exit (1);
    8930       fprintf (f, "%ld\n", i);
    8931     }
    8932   else
    8933     {
    8934       unsigned long i = ulongval ();
    8935       if (i != ((long) (sizeof (double))))
    8936         exit (1);
    8937       fprintf (f, "%lu\n", i);
    8938     }
    8939   exit (ferror (f) || fclose (f) != 0);
    8940 
    8941   ;
    8942   return 0;
    8943 }
    8944 _ACEOF
    8945 rm -f conftest$ac_exeext
    8946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    8947   (eval $ac_link) 2>&5
    8948   ac_status=$?
    8949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8950   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    8951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    8952   (eval $ac_try) 2>&5
    8953   ac_status=$?
    8954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8955   (exit $ac_status); }; }; then
    8956   ac_cv_sizeof_double=`cat conftest.val`
    8957 else
    8958   echo "$as_me: program exited with status $ac_status" >&5
    8959 echo "$as_me: failed program was:" >&5
    8960 sed 's/^/| /' conftest.$ac_ext >&5
    8961 
    8962 ( exit $ac_status )
    8963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
    8964 See \`config.log' for more details." >&5
    8965 echo "$as_me: error: cannot compute sizeof (double), 77
    8966 See \`config.log' for more details." >&2;}
    8967    { (exit 1); exit 1; }; }
    8968 fi
    8969 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    8970 fi
    8971 fi
    8972 rm -f conftest.val
    8973 else
     3487EOF
     3488if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3489then
     3490  ac_cv_sizeof_double=`cat conftestval`
     3491else
     3492  echo "configure: failed program was:" >&5
     3493  cat conftest.$ac_ext >&5
     3494  rm -fr conftest*
    89743495  ac_cv_sizeof_double=0
    89753496fi
    8976 fi
    8977 echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
    8978 echo "${ECHO_T}$ac_cv_sizeof_double" >&6
    8979 cat >>confdefs.h <<_ACEOF
     3497rm -fr conftest*
     3498fi
     3499
     3500fi
     3501echo "$ac_t""$ac_cv_sizeof_double" 1>&6
     3502cat >> confdefs.h <<EOF
    89803503#define SIZEOF_DOUBLE $ac_cv_sizeof_double
    8981 _ACEOF
    8982 
    8983 
    8984 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    8985 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
    8986 if test "${ac_cv_c_bigendian+set}" = set; then
    8987   echo $ECHO_N "(cached) $ECHO_C" >&6
    8988 else
    8989   # See if sys/param.h defines the BYTE_ORDER macro.
    8990 cat >conftest.$ac_ext <<_ACEOF
    8991 /* confdefs.h.  */
    8992 _ACEOF
    8993 cat confdefs.h >>conftest.$ac_ext
    8994 cat >>conftest.$ac_ext <<_ACEOF
    8995 /* end confdefs.h.  */
     3504EOF
     3505
     3506
     3507echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
     3508echo "configure:3509: checking whether byte ordering is bigendian" >&5
     3509if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
     3510  echo $ac_n "(cached) $ac_c" 1>&6
     3511else
     3512  ac_cv_c_bigendian=unknown
     3513# See if sys/param.h defines the BYTE_ORDER macro.
     3514cat > conftest.$ac_ext <<EOF
     3515#line 3516 "configure"
     3516#include "confdefs.h"
    89963517#include <sys/types.h>
    89973518#include <sys/param.h>
    8998 
    8999 int
    9000 main ()
    9001 {
     3519int main() {
     3520
    90023521#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    90033522 bogus endian macros
    90043523#endif
    9005 
    9006   ;
    9007   return 0;
    9008 }
    9009 _ACEOF
    9010 rm -f conftest.$ac_objext
    9011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9012   (eval $ac_compile) 2>conftest.er1
    9013   ac_status=$?
    9014   grep -v '^ *+' conftest.er1 >conftest.err
    9015   rm -f conftest.er1
    9016   cat conftest.err >&5
    9017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9018   (exit $ac_status); } &&
    9019          { ac_try='test -z "$ac_c_werror_flag"
    9020                          || test ! -s conftest.err'
    9021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9022   (eval $ac_try) 2>&5
    9023   ac_status=$?
    9024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9025   (exit $ac_status); }; } &&
    9026          { ac_try='test -s conftest.$ac_objext'
    9027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9028   (eval $ac_try) 2>&5
    9029   ac_status=$?
    9030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9031   (exit $ac_status); }; }; then
     3524; return 0; }
     3525EOF
     3526if { (eval echo configure:3527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3527  rm -rf conftest*
    90323528  # It does; now see whether it defined to BIG_ENDIAN or not.
    9033 cat >conftest.$ac_ext <<_ACEOF
    9034 /* confdefs.h.  */
    9035 _ACEOF
    9036 cat confdefs.h >>conftest.$ac_ext
    9037 cat >>conftest.$ac_ext <<_ACEOF
    9038 /* end confdefs.h.  */
     3529cat > conftest.$ac_ext <<EOF
     3530#line 3531 "configure"
     3531#include "confdefs.h"
    90393532#include <sys/types.h>
    90403533#include <sys/param.h>
    9041 
    9042 int
    9043 main ()
    9044 {
     3534int main() {
     3535
    90453536#if BYTE_ORDER != BIG_ENDIAN
    90463537 not big endian
    90473538#endif
    9048 
    9049   ;
    9050   return 0;
    9051 }
    9052 _ACEOF
    9053 rm -f conftest.$ac_objext
    9054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9055   (eval $ac_compile) 2>conftest.er1
    9056   ac_status=$?
    9057   grep -v '^ *+' conftest.er1 >conftest.err
    9058   rm -f conftest.er1
    9059   cat conftest.err >&5
    9060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9061   (exit $ac_status); } &&
    9062          { ac_try='test -z "$ac_c_werror_flag"
    9063                          || test ! -s conftest.err'
    9064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9065   (eval $ac_try) 2>&5
    9066   ac_status=$?
    9067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9068   (exit $ac_status); }; } &&
    9069          { ac_try='test -s conftest.$ac_objext'
    9070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9071   (eval $ac_try) 2>&5
    9072   ac_status=$?
    9073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9074   (exit $ac_status); }; }; then
     3539; return 0; }
     3540EOF
     3541if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3542  rm -rf conftest*
    90753543  ac_cv_c_bigendian=yes
    90763544else
    9077   echo "$as_me: failed program was:" >&5
    9078 sed 's/^/| /' conftest.$ac_ext >&5
    9079 
    9080 ac_cv_c_bigendian=no
    9081 fi
    9082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    9083 else
    9084   echo "$as_me: failed program was:" >&5
    9085 sed 's/^/| /' conftest.$ac_ext >&5
    9086 
    9087 # It does not; compile a test program.
     3545  echo "configure: failed program was:" >&5
     3546  cat conftest.$ac_ext >&5
     3547  rm -rf conftest*
     3548  ac_cv_c_bigendian=no
     3549fi
     3550rm -f conftest*
     3551else
     3552  echo "configure: failed program was:" >&5
     3553  cat conftest.$ac_ext >&5
     3554fi
     3555rm -f conftest*
     3556if test $ac_cv_c_bigendian = unknown; then
    90883557if test "$cross_compiling" = yes; then
    9089   # try to guess the endianness by grepping values into an object file
    9090   ac_cv_c_bigendian=unknown
    9091   cat >conftest.$ac_ext <<_ACEOF
    9092 /* confdefs.h.  */
    9093 _ACEOF
    9094 cat confdefs.h >>conftest.$ac_ext
    9095 cat >>conftest.$ac_ext <<_ACEOF
    9096 /* end confdefs.h.  */
    9097 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    9098 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    9099 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    9100 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    9101 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    9102 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    9103 int
    9104 main ()
    9105 {
    9106  _ascii (); _ebcdic ();
    9107   ;
    9108   return 0;
    9109 }
    9110 _ACEOF
    9111 rm -f conftest.$ac_objext
    9112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9113   (eval $ac_compile) 2>conftest.er1
    9114   ac_status=$?
    9115   grep -v '^ *+' conftest.er1 >conftest.err
    9116   rm -f conftest.er1
    9117   cat conftest.err >&5
    9118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9119   (exit $ac_status); } &&
    9120          { ac_try='test -z "$ac_c_werror_flag"
    9121                          || test ! -s conftest.err'
    9122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9123   (eval $ac_try) 2>&5
    9124   ac_status=$?
    9125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9126   (exit $ac_status); }; } &&
    9127          { ac_try='test -s conftest.$ac_objext'
    9128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9129   (eval $ac_try) 2>&5
    9130   ac_status=$?
    9131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9132   (exit $ac_status); }; }; then
    9133   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    9134   ac_cv_c_bigendian=yes
    9135 fi
    9136 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    9137   if test "$ac_cv_c_bigendian" = unknown; then
    9138     ac_cv_c_bigendian=no
    9139   else
    9140     # finding both strings is unlikely to happen, but who knows?
    9141     ac_cv_c_bigendian=unknown
    9142   fi
    9143 fi
    9144 else
    9145   echo "$as_me: failed program was:" >&5
    9146 sed 's/^/| /' conftest.$ac_ext >&5
    9147 
    9148 fi
    9149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    9150 else
    9151   cat >conftest.$ac_ext <<_ACEOF
    9152 /* confdefs.h.  */
    9153 _ACEOF
    9154 cat confdefs.h >>conftest.$ac_ext
    9155 cat >>conftest.$ac_ext <<_ACEOF
    9156 /* end confdefs.h.  */
    9157 int
    9158 main ()
    9159 {
     3558    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     3559else
     3560  cat > conftest.$ac_ext <<EOF
     3561#line 3562 "configure"
     3562#include "confdefs.h"
     3563main () {
    91603564  /* Are we little or big endian?  From Harbison&Steele.  */
    91613565  union
     
    91673571  exit (u.c[sizeof (long) - 1] == 1);
    91683572}
    9169 _ACEOF
    9170 rm -f conftest$ac_exeext
    9171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9172   (eval $ac_link) 2>&5
    9173   ac_status=$?
    9174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9175   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9177   (eval $ac_try) 2>&5
    9178   ac_status=$?
    9179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9180   (exit $ac_status); }; }; then
     3573EOF
     3574if { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3575then
    91813576  ac_cv_c_bigendian=no
    91823577else
    9183   echo "$as_me: program exited with status $ac_status" >&5
    9184 echo "$as_me: failed program was:" >&5
    9185 sed 's/^/| /' conftest.$ac_ext >&5
    9186 
    9187 ( exit $ac_status )
    9188 ac_cv_c_bigendian=yes
    9189 fi
    9190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9191 fi
    9192 fi
    9193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    9194 fi
    9195 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    9196 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    9197 case $ac_cv_c_bigendian in
    9198   yes)
    9199 
    9200 cat >>confdefs.h <<\_ACEOF
     3578  echo "configure: failed program was:" >&5
     3579  cat conftest.$ac_ext >&5
     3580  rm -fr conftest*
     3581  ac_cv_c_bigendian=yes
     3582fi
     3583rm -fr conftest*
     3584fi
     3585
     3586fi
     3587fi
     3588
     3589echo "$ac_t""$ac_cv_c_bigendian" 1>&6
     3590if test $ac_cv_c_bigendian = yes; then
     3591  cat >> confdefs.h <<\EOF
    92013592#define WORDS_BIGENDIAN 1
    9202 _ACEOF
    9203  ;;
    9204   no)
    9205      ;;
    9206   *)
    9207     { { echo "$as_me:$LINENO: error: unknown endianness
    9208 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    9209 echo "$as_me: error: unknown endianness
    9210 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    9211    { (exit 1); exit 1; }; } ;;
    9212 esac
     3593EOF
     3594
     3595fi
    92133596
    92143597if test "$ac_cv_sizeof_int" != 4; then
    9215   { { echo "$as_me:$LINENO: error: need int to be four bytes long" >&5
    9216 echo "$as_me: error: need int to be four bytes long" >&2;}
    9217    { (exit 1); exit 1; }; }
     3598  { echo "configure: error: need int to be four bytes long" 1>&2; exit 1; }
    92183599fi
    92193600if test "$ac_cv_sizeof_long" != "$ac_cv_sizeof_voidp"; then
    9220   { { echo "$as_me:$LINENO: error: need equal sizes for long and void*" >&5
    9221 echo "$as_me: error: need equal sizes for long and void*" >&2;}
    9222    { (exit 1); exit 1; }; }
     3601  { echo "configure: error: need equal sizes for long and void*" 1>&2; exit 1; }
    92233602fi
    92243603if test "$ac_cv_sizeof_double" != 8; then
    9225   { { echo "$as_me:$LINENO: error: need double to b 8 bytes long" >&5
    9226 echo "$as_me: error: need double to b 8 bytes long" >&2;}
    9227    { (exit 1); exit 1; }; }
     3604  { echo "configure: error: need double to b 8 bytes long" 1>&2; exit 1; }
    92283605fi
    92293606if test "$ac_cv_sizeof_voidp" != 4 && test "$ac_cv_sizeof_voidp" != 8; then
    9230   { { echo "$as_me:$LINENO: error: need void* to be 4 or 8 bytes long" >&5
    9231 echo "$as_me: error: need void* to be 4 or 8 bytes long" >&2;}
    9232    { (exit 1); exit 1; }; }
     3607  { echo "configure: error: need void* to be 4 or 8 bytes long" 1>&2; exit 1; }
    92333608fi
    92343609if test "$ac_cv_sizeof_voidp" != 4; then
    92353610  DEFS="-UOM_NDEBUG"
    9236 
    9237 fi
    9238 
     3611 
     3612fi
    92393613
    92403614# Check whether --with-rootdir or --without-rootdir was given.
    92413615if test "${with_rootdir+set}" = set; then
    92423616  withval="$with_rootdir"
    9243 
    9244 fi;
     3617  :
     3618fi
    92453619
    92463620# Check whether --with-lex or --without-lex was given.
    92473621if test "${with_lex+set}" = set; then
    92483622  withval="$with_lex"
    9249 
    9250 fi;
     3623  :
     3624fi
    92513625
    92523626# Check whether --with-readline or --without-readline was given.
    92533627if test "${with_readline+set}" = set; then
    92543628  withval="$with_readline"
    9255 
    9256 fi;
     3629  :
     3630fi
    92573631
    92583632# Check whether --with-MP or --without-MP was given.
    92593633if test "${with_MP+set}" = set; then
    92603634  withval="$with_MP"
    9261 
    9262 fi;
     3635  :
     3636fi
    92633637
    92643638# Check whether --with-dbm or --without-dbm was given.
    92653639if test "${with_dbm+set}" = set; then
    92663640  withval="$with_dbm"
    9267 
    9268 fi;
     3641  :
     3642fi
    92693643
    92703644# Check whether --with-factory or --without-factory was given.
    92713645if test "${with_factory+set}" = set; then
    92723646  withval="$with_factory"
    9273 
    9274 fi;
     3647  :
     3648fi
    92753649
    92763650# Check whether --with-libfac or --without-libfac was given.
    92773651if test "${with_libfac+set}" = set; then
    92783652  withval="$with_libfac"
    9279 
    9280 fi;
     3653  :
     3654fi
    92813655
    92823656# Check whether --with-namespaces or --without-namespaces was given.
    92833657if test "${with_namespaces+set}" = set; then
    92843658  withval="$with_namespaces"
    9285 
    9286 fi;
     3659  :
     3660fi
    92873661
    92883662# Check whether --with-dl or --without-dl was given.
    92893663if test "${with_dl+set}" = set; then
    92903664  withval="$with_dl"
    9291 
    9292 fi;
     3665  :
     3666fi
    92933667
    92943668# Check whether --with-dynamic-modules or --without-dynamic-modules was given.
    92953669if test "${with_dynamic_modules+set}" = set; then
    92963670  withval="$with_dynamic_modules"
    9297 
    9298 fi;
    9299 
     3671  :
     3672fi
     3673 
    93003674# Check whether --with-dynamic-kernel or --without-dynamic-kernel was given.
    93013675if test "${with_dynamic_kernel+set}" = set; then
    93023676  withval="$with_dynamic_kernel"
    9303 
    9304 fi;
     3677  :
     3678fi
    93053679
    93063680# Check whether --with-apint or --without-apint was given.
    93073681if test "${with_apint+set}" = set; then
    93083682  withval="$with_apint"
    9309 
    9310 fi;
     3683  :
     3684fi
    93113685
    93123686# Check whether --with-Plural or --without-Plural was given.
    93133687if test "${with_Plural+set}" = set; then
    93143688  withval="$with_Plural"
    9315 
    9316 fi;
     3689  :
     3690fi
    93173691
    93183692# Check whether --with-NTL or --without-NTL was given.
    93193693if test "${with_NTL+set}" = set; then
    93203694  withval="$with_NTL"
    9321 
     3695  :
    93223696else
    93233697  with_NTL=yes
    9324 fi;
    9325 
    9326 
    9327 
    9328 echo "$as_me:$LINENO: checking whether to use dynamic linking" >&5
    9329 echo $ECHO_N "checking whether to use dynamic linking... $ECHO_C" >&6
     3698fi
     3699
     3700
     3701
     3702
     3703echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
     3704echo "configure:3705: checking whether to use dynamic linking" >&5
    93303705if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    9331   cat >>confdefs.h <<\_ACEOF
     3706  cat >> confdefs.h <<\EOF
    93323707#define HAVE_DL 1
    9333 _ACEOF
     3708EOF
    93343709
    93353710  ac_have_dl=yes
    9336   echo "$as_me:$LINENO: result: yes" >&5
    9337 echo "${ECHO_T}yes" >&6
    9338 else
    9339   echo "$as_me:$LINENO: result: no" >&5
    9340 echo "${ECHO_T}no" >&6
    9341 fi
    9342 
    9343 
    9344 echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5
    9345 echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6
    9346 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then
    9347   echo $ECHO_N "(cached) $ECHO_C" >&6
    9348 else
    9349   ac_check_lib_save_LIBS=$LIBS
     3711  echo "$ac_t""yes" 1>&6
     3712else
     3713  echo "$ac_t""no" 1>&6
     3714fi
     3715
     3716echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
     3717echo "configure:3718: checking for tgetent in -lncurses" >&5
     3718ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
     3719if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     3720  echo $ac_n "(cached) $ac_c" 1>&6
     3721else
     3722  ac_save_LIBS="$LIBS"
    93503723LIBS="-lncurses  $LIBS"
    9351 cat >conftest.$ac_ext <<_ACEOF
    9352 /* confdefs.h.  */
    9353 _ACEOF
    9354 cat confdefs.h >>conftest.$ac_ext
    9355 cat >>conftest.$ac_ext <<_ACEOF
    9356 /* end confdefs.h.  */
    9357 
     3724cat > conftest.$ac_ext <<EOF
     3725#line 3726 "configure"
     3726#include "confdefs.h"
     3727/* Override any gcc2 internal prototype to avoid an error.  */
     3728/* We use char because int might match the return type of a gcc2
     3729    builtin and then its argument prototype would still apply.  */
     3730char tgetent();
     3731
     3732int main() {
     3733tgetent()
     3734; return 0; }
     3735EOF
     3736if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3737  rm -rf conftest*
     3738  eval "ac_cv_lib_$ac_lib_var=yes"
     3739else
     3740  echo "configure: failed program was:" >&5
     3741  cat conftest.$ac_ext >&5
     3742  rm -rf conftest*
     3743  eval "ac_cv_lib_$ac_lib_var=no"
     3744fi
     3745rm -f conftest*
     3746LIBS="$ac_save_LIBS"
     3747
     3748fi
     3749if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     3750  echo "$ac_t""yes" 1>&6
     3751    ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     3752    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     3753  cat >> confdefs.h <<EOF
     3754#define $ac_tr_lib 1
     3755EOF
     3756
     3757  LIBS="-lncurses $LIBS"
     3758
     3759else
     3760  echo "$ac_t""no" 1>&6
     3761\
     3762 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
     3763echo "configure:3764: checking for tgetent in -lcurses" >&5
     3764ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
     3765if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     3766  echo $ac_n "(cached) $ac_c" 1>&6
     3767else
     3768  ac_save_LIBS="$LIBS"
     3769LIBS="-lcurses  $LIBS"
     3770cat > conftest.$ac_ext <<EOF
     3771#line 3772 "configure"
     3772#include "confdefs.h"
     3773/* Override any gcc2 internal prototype to avoid an error.  */
     3774/* We use char because int might match the return type of a gcc2
     3775    builtin and then its argument prototype would still apply.  */
     3776char tgetent();
     3777
     3778int main() {
     3779tgetent()
     3780; return 0; }
     3781EOF
     3782if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3783  rm -rf conftest*
     3784  eval "ac_cv_lib_$ac_lib_var=yes"
     3785else
     3786  echo "configure: failed program was:" >&5
     3787  cat conftest.$ac_ext >&5
     3788  rm -rf conftest*
     3789  eval "ac_cv_lib_$ac_lib_var=no"
     3790fi
     3791rm -f conftest*
     3792LIBS="$ac_save_LIBS"
     3793
     3794fi
     3795if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     3796  echo "$ac_t""yes" 1>&6
     3797    ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/^a-zA-Z0-9_/_/g' \
     3798    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     3799  cat >> confdefs.h <<EOF
     3800#define $ac_tr_lib 1
     3801EOF
     3802
     3803  LIBS="-lcurses $LIBS"
     3804
     3805else
     3806  echo "$ac_t""no" 1>&6
     3807\
     3808  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
     3809echo "configure:3810: checking for tgetent in -ltermcap" >&5
     3810ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
     3811if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     3812  echo $ac_n "(cached) $ac_c" 1>&6
     3813else
     3814  ac_save_LIBS="$LIBS"
     3815LIBS="-ltermcap  $LIBS"
     3816cat > conftest.$ac_ext <<EOF
     3817#line 3818 "configure"
     3818#include "confdefs.h"
     3819/* Override any gcc2 internal prototype to avoid an error.  */
     3820/* We use char because int might match the return type of a gcc2
     3821    builtin and then its argument prototype would still apply.  */
     3822char tgetent();
     3823
     3824int main() {
     3825tgetent()
     3826; return 0; }
     3827EOF
     3828if { (eval echo configure:3829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3829  rm -rf conftest*
     3830  eval "ac_cv_lib_$ac_lib_var=yes"
     3831else
     3832  echo "configure: failed program was:" >&5
     3833  cat conftest.$ac_ext >&5
     3834  rm -rf conftest*
     3835  eval "ac_cv_lib_$ac_lib_var=no"
     3836fi
     3837rm -f conftest*
     3838LIBS="$ac_save_LIBS"
     3839
     3840fi
     3841if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     3842  echo "$ac_t""yes" 1>&6
     3843    ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/^a-zA-Z0-9_/_/g' \
     3844    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     3845  cat >> confdefs.h <<EOF
     3846#define $ac_tr_lib 1
     3847EOF
     3848
     3849  LIBS="-ltermcap $LIBS"
     3850
     3851else
     3852  echo "$ac_t""no" 1>&6
     3853fi
     3854
     3855fi
     3856
     3857fi
     3858
     3859
     3860# readline
     3861if test "$with_readline" = dynamic && test "$ac_have_dl" != yes; then
     3862  echo "configure: warning: can not build dynamic readline without dynamic linking" 1>&2
     3863  with_readline=static
     3864fi
     3865
     3866
     3867if test "$with_readline" != dynamic && test "$with_readline" != no; then
     3868
     3869ac_ext=C
     3870# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     3871ac_cpp='$CXXCPP $CPPFLAGS'
     3872ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     3873ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3874cross_compiling=$ac_cv_prog_cxx_cross
     3875
     3876   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
     3877echo "configure:3878: checking for rl_abort in -lreadline" >&5
     3878ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
     3879if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     3880  echo $ac_n "(cached) $ac_c" 1>&6
     3881else
     3882  ac_save_LIBS="$LIBS"
     3883LIBS="-lreadline  $LIBS"
     3884cat > conftest.$ac_ext <<EOF
     3885#line 3886 "configure"
     3886#include "confdefs.h"
    93583887/* Override any gcc2 internal prototype to avoid an error.  */
    93593888#ifdef __cplusplus
     
    93613890#endif
    93623891/* We use char because int might match the return type of a gcc2
    9363    builtin and then its argument prototype would still apply.  */
    9364 char tgetent ();
    9365 int
    9366 main ()
    9367 {
    9368 tgetent ();
    9369   ;
    9370   return 0;
    9371 }
    9372 _ACEOF
    9373 rm -f conftest.$ac_objext conftest$ac_exeext
    9374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9375   (eval $ac_link) 2>conftest.er1
    9376   ac_status=$?
    9377   grep -v '^ *+' conftest.er1 >conftest.err
    9378   rm -f conftest.er1
    9379   cat conftest.err >&5
    9380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9381   (exit $ac_status); } &&
    9382          { ac_try='test -z "$ac_c_werror_flag"
    9383                          || test ! -s conftest.err'
    9384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9385   (eval $ac_try) 2>&5
    9386   ac_status=$?
    9387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9388   (exit $ac_status); }; } &&
    9389          { ac_try='test -s conftest$ac_exeext'
    9390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9391   (eval $ac_try) 2>&5
    9392   ac_status=$?
    9393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9394   (exit $ac_status); }; }; then
    9395   ac_cv_lib_ncurses_tgetent=yes
    9396 else
    9397   echo "$as_me: failed program was:" >&5
    9398 sed 's/^/| /' conftest.$ac_ext >&5
    9399 
    9400 ac_cv_lib_ncurses_tgetent=no
    9401 fi
    9402 rm -f conftest.err conftest.$ac_objext \
    9403       conftest$ac_exeext conftest.$ac_ext
    9404 LIBS=$ac_check_lib_save_LIBS
    9405 fi
    9406 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5
    9407 echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6
    9408 if test $ac_cv_lib_ncurses_tgetent = yes; then
    9409   cat >>confdefs.h <<_ACEOF
    9410 #define HAVE_LIBNCURSES 1
    9411 _ACEOF
    9412 
    9413   LIBS="-lncurses $LIBS"
    9414 
    9415 else
    9416   \
    9417 
    9418 echo "$as_me:$LINENO: checking for tgetent in -lcurses" >&5
    9419 echo $ECHO_N "checking for tgetent in -lcurses... $ECHO_C" >&6
    9420 if test "${ac_cv_lib_curses_tgetent+set}" = set; then
    9421   echo $ECHO_N "(cached) $ECHO_C" >&6
    9422 else
    9423   ac_check_lib_save_LIBS=$LIBS
    9424 LIBS="-lcurses  $LIBS"
    9425 cat >conftest.$ac_ext <<_ACEOF
    9426 /* confdefs.h.  */
    9427 _ACEOF
    9428 cat confdefs.h >>conftest.$ac_ext
    9429 cat >>conftest.$ac_ext <<_ACEOF
    9430 /* end confdefs.h.  */
    9431 
    9432 /* Override any gcc2 internal prototype to avoid an error.  */
    9433 #ifdef __cplusplus
    9434 extern "C"
    9435 #endif
    9436 /* We use char because int might match the return type of a gcc2
    9437    builtin and then its argument prototype would still apply.  */
    9438 char tgetent ();
    9439 int
    9440 main ()
    9441 {
    9442 tgetent ();
    9443   ;
    9444   return 0;
    9445 }
    9446 _ACEOF
    9447 rm -f conftest.$ac_objext conftest$ac_exeext
    9448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9449   (eval $ac_link) 2>conftest.er1
    9450   ac_status=$?
    9451   grep -v '^ *+' conftest.er1 >conftest.err
    9452   rm -f conftest.er1
    9453   cat conftest.err >&5
    9454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9455   (exit $ac_status); } &&
    9456          { ac_try='test -z "$ac_c_werror_flag"
    9457                          || test ! -s conftest.err'
    9458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9459   (eval $ac_try) 2>&5
    9460   ac_status=$?
    9461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9462   (exit $ac_status); }; } &&
    9463          { ac_try='test -s conftest$ac_exeext'
    9464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9465   (eval $ac_try) 2>&5
    9466   ac_status=$?
    9467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9468   (exit $ac_status); }; }; then
    9469   ac_cv_lib_curses_tgetent=yes
    9470 else
    9471   echo "$as_me: failed program was:" >&5
    9472 sed 's/^/| /' conftest.$ac_ext >&5
    9473 
    9474 ac_cv_lib_curses_tgetent=no
    9475 fi
    9476 rm -f conftest.err conftest.$ac_objext \
    9477       conftest$ac_exeext conftest.$ac_ext
    9478 LIBS=$ac_check_lib_save_LIBS
    9479 fi
    9480 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tgetent" >&5
    9481 echo "${ECHO_T}$ac_cv_lib_curses_tgetent" >&6
    9482 if test $ac_cv_lib_curses_tgetent = yes; then
    9483   cat >>confdefs.h <<_ACEOF
    9484 #define HAVE_LIBCURSES 1
    9485 _ACEOF
    9486 
    9487   LIBS="-lcurses $LIBS"
    9488 
    9489 else
    9490   \
    9491 
    9492 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
    9493 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
    9494 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
    9495   echo $ECHO_N "(cached) $ECHO_C" >&6
    9496 else
    9497   ac_check_lib_save_LIBS=$LIBS
    9498 LIBS="-ltermcap  $LIBS"
    9499 cat >conftest.$ac_ext <<_ACEOF
    9500 /* confdefs.h.  */
    9501 _ACEOF
    9502 cat confdefs.h >>conftest.$ac_ext
    9503 cat >>conftest.$ac_ext <<_ACEOF
    9504 /* end confdefs.h.  */
    9505 
    9506 /* Override any gcc2 internal prototype to avoid an error.  */
    9507 #ifdef __cplusplus
    9508 extern "C"
    9509 #endif
    9510 /* We use char because int might match the return type of a gcc2
    9511    builtin and then its argument prototype would still apply.  */
    9512 char tgetent ();
    9513 int
    9514 main ()
    9515 {
    9516 tgetent ();
    9517   ;
    9518   return 0;
    9519 }
    9520 _ACEOF
    9521 rm -f conftest.$ac_objext conftest$ac_exeext
    9522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9523   (eval $ac_link) 2>conftest.er1
    9524   ac_status=$?
    9525   grep -v '^ *+' conftest.er1 >conftest.err
    9526   rm -f conftest.er1
    9527   cat conftest.err >&5
    9528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9529   (exit $ac_status); } &&
    9530          { ac_try='test -z "$ac_c_werror_flag"
    9531                          || test ! -s conftest.err'
    9532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9533   (eval $ac_try) 2>&5
    9534   ac_status=$?
    9535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9536   (exit $ac_status); }; } &&
    9537          { ac_try='test -s conftest$ac_exeext'
    9538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9539   (eval $ac_try) 2>&5
    9540   ac_status=$?
    9541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9542   (exit $ac_status); }; }; then
    9543   ac_cv_lib_termcap_tgetent=yes
    9544 else
    9545   echo "$as_me: failed program was:" >&5
    9546 sed 's/^/| /' conftest.$ac_ext >&5
    9547 
    9548 ac_cv_lib_termcap_tgetent=no
    9549 fi
    9550 rm -f conftest.err conftest.$ac_objext \
    9551       conftest$ac_exeext conftest.$ac_ext
    9552 LIBS=$ac_check_lib_save_LIBS
    9553 fi
    9554 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
    9555 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
    9556 if test $ac_cv_lib_termcap_tgetent = yes; then
    9557   cat >>confdefs.h <<_ACEOF
    9558 #define HAVE_LIBTERMCAP 1
    9559 _ACEOF
    9560 
    9561   LIBS="-ltermcap $LIBS"
    9562 
    9563 fi
    9564 
    9565 fi
    9566 
    9567 fi
    9568 
    9569 
    9570 # readline
    9571 if test "$with_readline" = dynamic && test "$ac_have_dl" != yes; then
    9572   { echo "$as_me:$LINENO: WARNING: can not build dynamic readline without dynamic linking" >&5
    9573 echo "$as_me: WARNING: can not build dynamic readline without dynamic linking" >&2;}
    9574   with_readline=static
    9575 fi
    9576 
    9577 
    9578 if test "$with_readline" != dynamic && test "$with_readline" != no; then
    9579 
    9580 
    9581 ac_ext=cc
     3892    builtin and then its argument prototype would still apply.  */
     3893char rl_abort();
     3894
     3895int main() {
     3896rl_abort()
     3897; return 0; }
     3898EOF
     3899if { (eval echo configure:3900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3900  rm -rf conftest*
     3901  eval "ac_cv_lib_$ac_lib_var=yes"
     3902else
     3903  echo "configure: failed program was:" >&5
     3904  cat conftest.$ac_ext >&5
     3905  rm -rf conftest*
     3906  eval "ac_cv_lib_$ac_lib_var=no"
     3907fi
     3908rm -f conftest*
     3909LIBS="$ac_save_LIBS"
     3910
     3911fi
     3912if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     3913  echo "$ac_t""yes" 1>&6
     3914    ac_tr_lib=HAVE_LIB`echo readline | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     3915    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     3916  cat >> confdefs.h <<EOF
     3917#define $ac_tr_lib 1
     3918EOF
     3919
     3920  LIBS="-lreadline $LIBS"
     3921
     3922else
     3923  echo "$ac_t""no" 1>&6
     3924fi
     3925
     3926   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
     3927echo "configure:3928: checking how to run the C++ preprocessor" >&5
     3928if test -z "$CXXCPP"; then
     3929if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     3930  echo $ac_n "(cached) $ac_c" 1>&6
     3931else
     3932  ac_ext=C
     3933# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    95823934ac_cpp='$CXXCPP $CPPFLAGS'
    9583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    9584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    9585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    9586 
    9587 
    9588 echo "$as_me:$LINENO: checking for rl_abort in -lreadline" >&5
    9589 echo $ECHO_N "checking for rl_abort in -lreadline... $ECHO_C" >&6
    9590 if test "${ac_cv_lib_readline_rl_abort+set}" = set; then
    9591   echo $ECHO_N "(cached) $ECHO_C" >&6
    9592 else
    9593   ac_check_lib_save_LIBS=$LIBS
    9594 LIBS="-lreadline  $LIBS"
    9595 cat >conftest.$ac_ext <<_ACEOF
    9596 /* confdefs.h.  */
    9597 _ACEOF
    9598 cat confdefs.h >>conftest.$ac_ext
    9599 cat >>conftest.$ac_ext <<_ACEOF
    9600 /* end confdefs.h.  */
    9601 
    9602 /* Override any gcc2 internal prototype to avoid an error.  */
    9603 #ifdef __cplusplus
    9604 extern "C"
    9605 #endif
    9606 /* We use char because int might match the return type of a gcc2
    9607    builtin and then its argument prototype would still apply.  */
    9608 char rl_abort ();
    9609 int
    9610 main ()
    9611 {
    9612 rl_abort ();
    9613   ;
    9614   return 0;
    9615 }
    9616 _ACEOF
    9617 rm -f conftest.$ac_objext conftest$ac_exeext
    9618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    9619   (eval $ac_link) 2>conftest.er1
    9620   ac_status=$?
    9621   grep -v '^ *+' conftest.er1 >conftest.err
    9622   rm -f conftest.er1
    9623   cat conftest.err >&5
    9624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9625   (exit $ac_status); } &&
    9626          { ac_try='test -z "$ac_cxx_werror_flag"
    9627                          || test ! -s conftest.err'
    9628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9629   (eval $ac_try) 2>&5
    9630   ac_status=$?
    9631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9632   (exit $ac_status); }; } &&
    9633          { ac_try='test -s conftest$ac_exeext'
    9634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9635   (eval $ac_try) 2>&5
    9636   ac_status=$?
    9637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9638   (exit $ac_status); }; }; then
    9639   ac_cv_lib_readline_rl_abort=yes
    9640 else
    9641   echo "$as_me: failed program was:" >&5
    9642 sed 's/^/| /' conftest.$ac_ext >&5
    9643 
    9644 ac_cv_lib_readline_rl_abort=no
    9645 fi
    9646 rm -f conftest.err conftest.$ac_objext \
    9647       conftest$ac_exeext conftest.$ac_ext
    9648 LIBS=$ac_check_lib_save_LIBS
    9649 fi
    9650 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_abort" >&5
    9651 echo "${ECHO_T}$ac_cv_lib_readline_rl_abort" >&6
    9652 if test $ac_cv_lib_readline_rl_abort = yes; then
    9653   cat >>confdefs.h <<_ACEOF
    9654 #define HAVE_LIBREADLINE 1
    9655 _ACEOF
    9656 
    9657   LIBS="-lreadline $LIBS"
    9658 
    9659 fi
    9660 
    9661    ac_ext=cc
     3935ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     3936ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3937cross_compiling=$ac_cv_prog_cxx_cross
     3938  CXXCPP="${CXX-g++} -E"
     3939  cat > conftest.$ac_ext <<EOF
     3940#line 3941 "configure"
     3941#include "confdefs.h"
     3942#include <stdlib.h>
     3943EOF
     3944ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     3945{ (eval echo configure:3946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3946ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     3947if test -z "$ac_err"; then
     3948  :
     3949else
     3950  echo "$ac_err" >&5
     3951  echo "configure: failed program was:" >&5
     3952  cat conftest.$ac_ext >&5
     3953  rm -rf conftest*
     3954  CXXCPP=/lib/cpp
     3955fi
     3956rm -f conftest*
     3957  ac_cv_prog_CXXCPP="$CXXCPP"
     3958ac_ext=C
     3959# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    96623960ac_cpp='$CXXCPP $CPPFLAGS'
    9663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    9664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    9665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    9666 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    9667 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
    9668 if test -z "$CXXCPP"; then
    9669   if test "${ac_cv_prog_CXXCPP+set}" = set; then
    9670   echo $ECHO_N "(cached) $ECHO_C" >&6
    9671 else
    9672       # Double quotes because CXXCPP needs to be expanded
    9673     for CXXCPP in "$CXX -E" "/lib/cpp"
    9674     do
    9675       ac_preproc_ok=false
    9676 for ac_cxx_preproc_warn_flag in '' yes
     3961ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     3962ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     3963cross_compiling=$ac_cv_prog_cxx_cross
     3964fi
     3965fi
     3966CXXCPP="$ac_cv_prog_CXXCPP"
     3967echo "$ac_t""$CXXCPP" 1>&6
     3968
     3969for ac_hdr in readline/readline.h readline/history.h
    96773970do
    9678   # Use a header file that comes with gcc, so configuring glibc
    9679   # with a fresh cross-compiler works.
    9680   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    9681   # <limits.h> exists even on freestanding compilers.
    9682   # On the NeXT, cc -E runs the code through the compiler's parser,
    9683   # not just through cpp. "Syntax error" is here to catch this case.
    9684   cat >conftest.$ac_ext <<_ACEOF
    9685 /* confdefs.h.  */
    9686 _ACEOF
    9687 cat confdefs.h >>conftest.$ac_ext
    9688 cat >>conftest.$ac_ext <<_ACEOF
    9689 /* end confdefs.h.  */
    9690 #ifdef __STDC__
    9691 # include <limits.h>
    9692 #else
    9693 # include <assert.h>
    9694 #endif
    9695                      Syntax error
    9696 _ACEOF
    9697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    9698   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    9699   ac_status=$?
    9700   grep -v '^ *+' conftest.er1 >conftest.err
    9701   rm -f conftest.er1
    9702   cat conftest.err >&5
    9703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9704   (exit $ac_status); } >/dev/null; then
    9705   if test -s conftest.err; then
    9706     ac_cpp_err=$ac_cxx_preproc_warn_flag
    9707     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    9708   else
    9709     ac_cpp_err=
    9710   fi
    9711 else
    9712   ac_cpp_err=yes
    9713 fi
    9714 if test -z "$ac_cpp_err"; then
    9715   :
    9716 else
    9717   echo "$as_me: failed program was:" >&5
    9718 sed 's/^/| /' conftest.$ac_ext >&5
    9719 
    9720   # Broken: fails on valid input.
    9721 continue
    9722 fi
    9723 rm -f conftest.err conftest.$ac_ext
    9724 
    9725   # OK, works on sane cases.  Now check whether non-existent headers
    9726   # can be detected and how.
    9727   cat >conftest.$ac_ext <<_ACEOF
    9728 /* confdefs.h.  */
    9729 _ACEOF
    9730 cat confdefs.h >>conftest.$ac_ext
    9731 cat >>conftest.$ac_ext <<_ACEOF
    9732 /* end confdefs.h.  */
    9733 #include <ac_nonexistent.h>
    9734 _ACEOF
    9735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    9736   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    9737   ac_status=$?
    9738   grep -v '^ *+' conftest.er1 >conftest.err
    9739   rm -f conftest.er1
    9740   cat conftest.err >&5
    9741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9742   (exit $ac_status); } >/dev/null; then
    9743   if test -s conftest.err; then
    9744     ac_cpp_err=$ac_cxx_preproc_warn_flag
    9745     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    9746   else
    9747     ac_cpp_err=
    9748   fi
    9749 else
    9750   ac_cpp_err=yes
    9751 fi
    9752 if test -z "$ac_cpp_err"; then
    9753   # Broken: success on invalid input.
    9754 continue
    9755 else
    9756   echo "$as_me: failed program was:" >&5
    9757 sed 's/^/| /' conftest.$ac_ext >&5
    9758 
    9759   # Passes both tests.
    9760 ac_preproc_ok=:
    9761 break
    9762 fi
    9763 rm -f conftest.err conftest.$ac_ext
    9764 
    9765 done
    9766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    9767 rm -f conftest.err conftest.$ac_ext
    9768 if $ac_preproc_ok; then
    9769   break
    9770 fi
    9771 
    9772     done
    9773     ac_cv_prog_CXXCPP=$CXXCPP
    9774 
    9775 fi
    9776   CXXCPP=$ac_cv_prog_CXXCPP
    9777 else
    9778   ac_cv_prog_CXXCPP=$CXXCPP
    9779 fi
    9780 echo "$as_me:$LINENO: result: $CXXCPP" >&5
    9781 echo "${ECHO_T}$CXXCPP" >&6
    9782 ac_preproc_ok=false
    9783 for ac_cxx_preproc_warn_flag in '' yes
    9784 do
    9785   # Use a header file that comes with gcc, so configuring glibc
    9786   # with a fresh cross-compiler works.
    9787   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    9788   # <limits.h> exists even on freestanding compilers.
    9789   # On the NeXT, cc -E runs the code through the compiler's parser,
    9790   # not just through cpp. "Syntax error" is here to catch this case.
    9791   cat >conftest.$ac_ext <<_ACEOF
    9792 /* confdefs.h.  */
    9793 _ACEOF
    9794 cat confdefs.h >>conftest.$ac_ext
    9795 cat >>conftest.$ac_ext <<_ACEOF
    9796 /* end confdefs.h.  */
    9797 #ifdef __STDC__
    9798 # include <limits.h>
    9799 #else
    9800 # include <assert.h>
    9801 #endif
    9802                      Syntax error
    9803 _ACEOF
    9804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    9805   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    9806   ac_status=$?
    9807   grep -v '^ *+' conftest.er1 >conftest.err
    9808   rm -f conftest.er1
    9809   cat conftest.err >&5
    9810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9811   (exit $ac_status); } >/dev/null; then
    9812   if test -s conftest.err; then
    9813     ac_cpp_err=$ac_cxx_preproc_warn_flag
    9814     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    9815   else
    9816     ac_cpp_err=
    9817   fi
    9818 else
    9819   ac_cpp_err=yes
    9820 fi
    9821 if test -z "$ac_cpp_err"; then
    9822   :
    9823 else
    9824   echo "$as_me: failed program was:" >&5
    9825 sed 's/^/| /' conftest.$ac_ext >&5
    9826 
    9827   # Broken: fails on valid input.
    9828 continue
    9829 fi
    9830 rm -f conftest.err conftest.$ac_ext
    9831 
    9832   # OK, works on sane cases.  Now check whether non-existent headers
    9833   # can be detected and how.
    9834   cat >conftest.$ac_ext <<_ACEOF
    9835 /* confdefs.h.  */
    9836 _ACEOF
    9837 cat confdefs.h >>conftest.$ac_ext
    9838 cat >>conftest.$ac_ext <<_ACEOF
    9839 /* end confdefs.h.  */
    9840 #include <ac_nonexistent.h>
    9841 _ACEOF
    9842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    9843   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    9844   ac_status=$?
    9845   grep -v '^ *+' conftest.er1 >conftest.err
    9846   rm -f conftest.er1
    9847   cat conftest.err >&5
    9848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9849   (exit $ac_status); } >/dev/null; then
    9850   if test -s conftest.err; then
    9851     ac_cpp_err=$ac_cxx_preproc_warn_flag
    9852     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    9853   else
    9854     ac_cpp_err=
    9855   fi
    9856 else
    9857   ac_cpp_err=yes
    9858 fi
    9859 if test -z "$ac_cpp_err"; then
    9860   # Broken: success on invalid input.
    9861 continue
    9862 else
    9863   echo "$as_me: failed program was:" >&5
    9864 sed 's/^/| /' conftest.$ac_ext >&5
    9865 
    9866   # Passes both tests.
    9867 ac_preproc_ok=:
    9868 break
    9869 fi
    9870 rm -f conftest.err conftest.$ac_ext
    9871 
    9872 done
    9873 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    9874 rm -f conftest.err conftest.$ac_ext
    9875 if $ac_preproc_ok; then
    9876   :
    9877 else
    9878   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    9879 See \`config.log' for more details." >&5
    9880 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    9881 See \`config.log' for more details." >&2;}
    9882    { (exit 1); exit 1; }; }
    9883 fi
    9884 
    9885 ac_ext=cc
    9886 ac_cpp='$CXXCPP $CPPFLAGS'
    9887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    9888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    9889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    9890 
    9891 
    9892 
    9893 
    9894 for ac_header in readline/readline.h readline/history.h
    9895 do
    9896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    9898   echo "$as_me:$LINENO: checking for $ac_header" >&5
    9899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    9900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    9901   echo $ECHO_N "(cached) $ECHO_C" >&6
    9902 fi
    9903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    9904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    9905 else
    9906   # Is the header compilable?
    9907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    9909 cat >conftest.$ac_ext <<_ACEOF
    9910 /* confdefs.h.  */
    9911 _ACEOF
    9912 cat confdefs.h >>conftest.$ac_ext
    9913 cat >>conftest.$ac_ext <<_ACEOF
    9914 /* end confdefs.h.  */
    9915 $ac_includes_default
    9916 #include <$ac_header>
    9917 _ACEOF
    9918 rm -f conftest.$ac_objext
    9919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    9920   (eval $ac_compile) 2>conftest.er1
    9921   ac_status=$?
    9922   grep -v '^ *+' conftest.er1 >conftest.err
    9923   rm -f conftest.er1
    9924   cat conftest.err >&5
    9925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9926   (exit $ac_status); } &&
    9927          { ac_try='test -z "$ac_cxx_werror_flag"
    9928                          || test ! -s conftest.err'
    9929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9930   (eval $ac_try) 2>&5
    9931   ac_status=$?
    9932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9933   (exit $ac_status); }; } &&
    9934          { ac_try='test -s conftest.$ac_objext'
    9935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    9936   (eval $ac_try) 2>&5
    9937   ac_status=$?
    9938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9939   (exit $ac_status); }; }; then
    9940   ac_header_compiler=yes
    9941 else
    9942   echo "$as_me: failed program was:" >&5
    9943 sed 's/^/| /' conftest.$ac_ext >&5
    9944 
    9945 ac_header_compiler=no
    9946 fi
    9947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    9948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9949 echo "${ECHO_T}$ac_header_compiler" >&6
    9950 
    9951 # Is the header present?
    9952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    9954 cat >conftest.$ac_ext <<_ACEOF
    9955 /* confdefs.h.  */
    9956 _ACEOF
    9957 cat confdefs.h >>conftest.$ac_ext
    9958 cat >>conftest.$ac_ext <<_ACEOF
    9959 /* end confdefs.h.  */
    9960 #include <$ac_header>
    9961 _ACEOF
    9962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    9963   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    9964   ac_status=$?
    9965   grep -v '^ *+' conftest.er1 >conftest.err
    9966   rm -f conftest.er1
    9967   cat conftest.err >&5
    9968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9969   (exit $ac_status); } >/dev/null; then
    9970   if test -s conftest.err; then
    9971     ac_cpp_err=$ac_cxx_preproc_warn_flag
    9972     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
    9973   else
    9974     ac_cpp_err=
    9975   fi
    9976 else
    9977   ac_cpp_err=yes
    9978 fi
    9979 if test -z "$ac_cpp_err"; then
    9980   ac_header_preproc=yes
    9981 else
    9982   echo "$as_me: failed program was:" >&5
    9983 sed 's/^/| /' conftest.$ac_ext >&5
    9984 
    9985   ac_header_preproc=no
    9986 fi
    9987 rm -f conftest.err conftest.$ac_ext
    9988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9989 echo "${ECHO_T}$ac_header_preproc" >&6
    9990 
    9991 # So?  What about this header?
    9992 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9993   yes:no: )
    9994     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9996     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9998     ac_header_preproc=yes
    9999     ;;
    10000   no:yes:* )
    10001     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    10002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    10003     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    10004 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    10005     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    10006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    10007     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    10008 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    10009     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    10010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    10011     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    10012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    10013     (
    10014       cat <<\_ASBOX
    10015 ## ------------------------------------------ ##
    10016 ## Report this to the AC_PACKAGE_NAME lists.  ##
    10017 ## ------------------------------------------ ##
    10018 _ASBOX
    10019     ) |
    10020       sed "s/^/$as_me: WARNING:     /" >&2
    10021     ;;
    10022 esac
    10023 echo "$as_me:$LINENO: checking for $ac_header" >&5
    10024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    10025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    10026   echo $ECHO_N "(cached) $ECHO_C" >&6
    10027 else
    10028   eval "$as_ac_Header=\$ac_header_preproc"
    10029 fi
    10030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    10031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    10032 
    10033 fi
    10034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    10035   cat >>confdefs.h <<_ACEOF
    10036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    10037 _ACEOF
    10038 
    10039 fi
    10040 
     3971ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     3972echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     3973echo "configure:3974: checking for $ac_hdr" >&5
     3974if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     3975  echo $ac_n "(cached) $ac_c" 1>&6
     3976else
     3977  cat > conftest.$ac_ext <<EOF
     3978#line 3979 "configure"
     3979#include "confdefs.h"
     3980#include <$ac_hdr>
     3981EOF
     3982ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     3983{ (eval echo configure:3984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3984ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     3985if test -z "$ac_err"; then
     3986  rm -rf conftest*
     3987  eval "ac_cv_header_$ac_safe=yes"
     3988else
     3989  echo "$ac_err" >&5
     3990  echo "configure: failed program was:" >&5
     3991  cat conftest.$ac_ext >&5
     3992  rm -rf conftest*
     3993  eval "ac_cv_header_$ac_safe=no"
     3994fi
     3995rm -f conftest*
     3996fi
     3997if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     3998  echo "$ac_t""yes" 1>&6
     3999    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     4000  cat >> confdefs.h <<EOF
     4001#define $ac_tr_hdr 1
     4002EOF
     4003 
     4004else
     4005  echo "$ac_t""no" 1>&6
     4006fi
    100414007done
    100424008
    100434009   if test "$ac_cv_lib_readline_rl_abort" = yes && \
    100444010      test "$ac_cv_header_readline_readline_h" = yes; then
    10045      echo "$as_me:$LINENO: checking whether readline.h is ok" >&5
    10046 echo $ECHO_N "checking whether readline.h is ok... $ECHO_C" >&6
    10047      if test "${ac_cv_header_readline_readline_h_ok+set}" = set; then
    10048   echo $ECHO_N "(cached) $ECHO_C" >&6
    10049 else
    10050   cat >conftest.$ac_ext <<_ACEOF
    10051 /* confdefs.h.  */
    10052 _ACEOF
    10053 cat confdefs.h >>conftest.$ac_ext
    10054 cat >>conftest.$ac_ext <<_ACEOF
    10055 /* end confdefs.h.  */
     4011     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
     4012echo "configure:4013: checking whether readline.h is ok" >&5
     4013     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
     4014  echo $ac_n "(cached) $ac_c" 1>&6
     4015else
     4016  cat > conftest.$ac_ext <<EOF
     4017#line 4018 "configure"
     4018#include "confdefs.h"
    100564019#include<unistd.h>
    100574020#include<stdio.h>
     
    100614024#endif
    100624025
    10063 int
    10064 main ()
    10065 {
    10066 
    10067   ;
    10068   return 0;
    10069 }
    10070 _ACEOF
    10071 rm -f conftest.$ac_objext conftest$ac_exeext
    10072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10073   (eval $ac_link) 2>conftest.er1
    10074   ac_status=$?
    10075   grep -v '^ *+' conftest.er1 >conftest.err
    10076   rm -f conftest.er1
    10077   cat conftest.err >&5
    10078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10079   (exit $ac_status); } &&
    10080          { ac_try='test -z "$ac_cxx_werror_flag"
    10081                          || test ! -s conftest.err'
    10082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10083   (eval $ac_try) 2>&5
    10084   ac_status=$?
    10085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10086   (exit $ac_status); }; } &&
    10087          { ac_try='test -s conftest$ac_exeext'
    10088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10089   (eval $ac_try) 2>&5
    10090   ac_status=$?
    10091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10092   (exit $ac_status); }; }; then
     4026int main() {
     4027
     4028; return 0; }
     4029EOF
     4030if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4031  rm -rf conftest*
    100934032  ac_cv_header_readline_readline_h_ok="yes"
    100944033else
    10095   echo "$as_me: failed program was:" >&5
    10096 sed 's/^/| /' conftest.$ac_ext >&5
    10097 
    10098 ac_cv_header_readline_readline_h_ok="no"
    10099 fi
    10100 rm -f conftest.err conftest.$ac_objext \
    10101       conftest$ac_exeext conftest.$ac_ext
    10102 fi
    10103 
    10104     echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h_ok" >&5
    10105 echo "${ECHO_T}$ac_cv_header_readline_readline_h_ok" >&6
     4034  echo "configure: failed program was:" >&5
     4035  cat conftest.$ac_ext >&5
     4036  rm -rf conftest*
     4037  ac_cv_header_readline_readline_h_ok="no"
     4038fi
     4039rm -f conftest*
     4040fi
     4041
     4042    echo "$ac_t""$ac_cv_header_readline_readline_h_ok" 1>&6
    101064043    if test "$ac_cv_header_readline_readline_h_ok" != yes; then
    101074044#not ok -- try once more with explicitly declaring everything
    10108       echo "$as_me:$LINENO: checking whether or not we nevertheless can use readline" >&5
    10109 echo $ECHO_N "checking whether or not we nevertheless can use readline... $ECHO_C" >&6
    10110       if test "${ac_cv_have_readline+set}" = set; then
    10111   echo $ECHO_N "(cached) $ECHO_C" >&6
    10112 else
    10113   cat >conftest.$ac_ext <<_ACEOF
    10114 /* confdefs.h.  */
    10115 _ACEOF
    10116 cat confdefs.h >>conftest.$ac_ext
    10117 cat >>conftest.$ac_ext <<_ACEOF
    10118 /* end confdefs.h.  */
     4045      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
     4046echo "configure:4047: checking whether or not we nevertheless can use readline" >&5
     4047      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
     4048  echo $ac_n "(cached) $ac_c" 1>&6
     4049else
     4050  cat > conftest.$ac_ext <<EOF
     4051#line 4052 "configure"
     4052#include "confdefs.h"
    101194053#include <stdio.h>
    101204054extern "C"
     
    101364070#endif
    101374071
    10138 int
    10139 main ()
    10140 {
     4072int main() {
    101414073rl_readline_name=NULL;
    101424074*rl_line_buffer=1;
     
    101494081write_history(NULL);
    101504082
    10151   ;
    10152   return 0;
    10153 }
    10154 _ACEOF
    10155 rm -f conftest.$ac_objext conftest$ac_exeext
    10156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10157   (eval $ac_link) 2>conftest.er1
    10158   ac_status=$?
    10159   grep -v '^ *+' conftest.er1 >conftest.err
    10160   rm -f conftest.er1
    10161   cat conftest.err >&5
    10162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10163   (exit $ac_status); } &&
    10164          { ac_try='test -z "$ac_cxx_werror_flag"
    10165                          || test ! -s conftest.err'
    10166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10167   (eval $ac_try) 2>&5
    10168   ac_status=$?
    10169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10170   (exit $ac_status); }; } &&
    10171          { ac_try='test -s conftest$ac_exeext'
    10172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10173   (eval $ac_try) 2>&5
    10174   ac_status=$?
    10175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10176   (exit $ac_status); }; }; then
     4083; return 0; }
     4084EOF
     4085if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4086  rm -rf conftest*
    101774087  ac_cv_have_readline="yes"
    101784088
    101794089else
    10180   echo "$as_me: failed program was:" >&5
    10181 sed 's/^/| /' conftest.$ac_ext >&5
    10182 
    10183 ac_cv_have_readline="no"
    10184 
    10185 fi
    10186 rm -f conftest.err conftest.$ac_objext \
    10187       conftest$ac_exeext conftest.$ac_ext
    10188 fi
    10189 
    10190       echo "$as_me:$LINENO: result: $ac_cv_have_readline" >&5
    10191 echo "${ECHO_T}$ac_cv_have_readline" >&6
     4090  echo "configure: failed program was:" >&5
     4091  cat conftest.$ac_ext >&5
     4092  rm -rf conftest*
     4093  ac_cv_have_readline="no"
     4094
     4095fi
     4096rm -f conftest*
     4097fi
     4098
     4099      echo "$ac_t""$ac_cv_have_readline" 1>&6
    101924100    else
    10193       cat >>confdefs.h <<\_ACEOF
     4101      cat >> confdefs.h <<\EOF
    101944102#define READLINE_READLINE_H_OK 1
    10195 _ACEOF
     4103EOF
    101964104
    101974105      ac_cv_have_readline="yes"
     
    101994107  fi
    102004108  if test "$ac_cv_have_readline" = yes; then
    10201     cat >>confdefs.h <<\_ACEOF
     4109    cat >> confdefs.h <<\EOF
    102024110#define HAVE_READLINE 1
    10203 _ACEOF
     4111EOF
    102044112
    102054113  fi
    102064114ac_ext=c
     4115# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    102074116ac_cpp='$CPP $CPPFLAGS'
    10208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    10209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    10210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    10211 
    10212 fi
    10213 
    10214 echo "$as_me:$LINENO: checking which readline to use" >&5
    10215 echo $ECHO_N "checking which readline to use... $ECHO_C" >&6
     4117ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     4118ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     4119cross_compiling=$ac_cv_prog_cc_cross
     4120
     4121fi
     4122
     4123echo $ac_n "checking which readline to use""... $ac_c" 1>&6
     4124echo "configure:4125: checking which readline to use" >&5
    102164125if test "$ac_cv_with_readline" = dynamic; then
    10217   echo "$as_me:$LINENO: result: dynamic" >&5
    10218 echo "${ECHO_T}dynamic" >&6
    10219   cat >>confdefs.h <<\_ACEOF
     4126  echo "$ac_t""dynamic" 1>&6
     4127  cat >> confdefs.h <<\EOF
    102204128#define HAVE_DYN_RL 1
    10221 _ACEOF
     4129EOF
    102224130
    102234131elif test "$ac_cv_have_readline" = yes; then
    10224   echo "$as_me:$LINENO: result: static" >&5
    10225 echo "${ECHO_T}static" >&6
     4132  echo "$ac_t""static" 1>&6
    102264133elif test "$ac_cv_singuname" = PowerMacintosh-darwin; then
    10227   { { echo "$as_me:$LINENO: error: building without readline impossible on PowerMacintosh-darwin" >&5
    10228 echo "$as_me: error: building without readline impossible on PowerMacintosh-darwin" >&2;}
    10229    { (exit 1); exit 1; }; }
    10230 else
    10231   echo "$as_me:$LINENO: result: none" >&5
    10232 echo "${ECHO_T}none" >&6
    10233   { echo "$as_me:$LINENO: WARNING: building without readline: disabling fancy display" >&5
    10234 echo "$as_me: WARNING: building without readline: disabling fancy display" >&2;}
    10235 fi
    10236 
     4134  { echo "configure: error: building without readline impossible on PowerMacintosh-darwin" 1>&2; exit 1; }
     4135else
     4136  echo "$ac_t""none" 1>&6
     4137  echo "configure: warning: building without readline: disabling fancy display" 1>&2
     4138fi
     4139 
    102374140NEED_LIBS=$LIBS
    102384141
    102394142# gmp, smallgmp, MP, MPT, factory, libfac
    10240 
    10241 echo "$as_me:$LINENO: checking for main in -lgmp" >&5
    10242 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
    10243 if test "${ac_cv_lib_gmp_main+set}" = set; then
    10244   echo $ECHO_N "(cached) $ECHO_C" >&6
    10245 else
    10246   ac_check_lib_save_LIBS=$LIBS
     4143echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
     4144echo "configure:4145: checking for main in -lgmp" >&5
     4145ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
     4146if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4147  echo $ac_n "(cached) $ac_c" 1>&6
     4148else
     4149  ac_save_LIBS="$LIBS"
    102474150LIBS="-lgmp  $LIBS"
    10248 cat >conftest.$ac_ext <<_ACEOF
    10249 /* confdefs.h.  */
    10250 _ACEOF
    10251 cat confdefs.h >>conftest.$ac_ext
    10252 cat >>conftest.$ac_ext <<_ACEOF
    10253 /* end confdefs.h.  */
    10254 
    10255 
    10256 int
    10257 main ()
    10258 {
    10259 main ();
    10260   ;
    10261   return 0;
    10262 }
    10263 _ACEOF
    10264 rm -f conftest.$ac_objext conftest$ac_exeext
    10265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10266   (eval $ac_link) 2>conftest.er1
    10267   ac_status=$?
    10268   grep -v '^ *+' conftest.er1 >conftest.err
    10269   rm -f conftest.er1
    10270   cat conftest.err >&5
    10271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10272   (exit $ac_status); } &&
    10273          { ac_try='test -z "$ac_c_werror_flag"
    10274                          || test ! -s conftest.err'
    10275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10276   (eval $ac_try) 2>&5
    10277   ac_status=$?
    10278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10279   (exit $ac_status); }; } &&
    10280          { ac_try='test -s conftest$ac_exeext'
    10281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10282   (eval $ac_try) 2>&5
    10283   ac_status=$?
    10284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10285   (exit $ac_status); }; }; then
    10286   ac_cv_lib_gmp_main=yes
    10287 else
    10288   echo "$as_me: failed program was:" >&5
    10289 sed 's/^/| /' conftest.$ac_ext >&5
    10290 
    10291 ac_cv_lib_gmp_main=no
    10292 fi
    10293 rm -f conftest.err conftest.$ac_objext \
    10294       conftest$ac_exeext conftest.$ac_ext
    10295 LIBS=$ac_check_lib_save_LIBS
    10296 fi
    10297 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
    10298 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
    10299 if test $ac_cv_lib_gmp_main = yes; then
    10300   cat >>confdefs.h <<_ACEOF
    10301 #define HAVE_LIBGMP 1
    10302 _ACEOF
     4151cat > conftest.$ac_ext <<EOF
     4152#line 4153 "configure"
     4153#include "confdefs.h"
     4154
     4155int main() {
     4156main()
     4157; return 0; }
     4158EOF
     4159if { (eval echo configure:4160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4160  rm -rf conftest*
     4161  eval "ac_cv_lib_$ac_lib_var=yes"
     4162else
     4163  echo "configure: failed program was:" >&5
     4164  cat conftest.$ac_ext >&5
     4165  rm -rf conftest*
     4166  eval "ac_cv_lib_$ac_lib_var=no"
     4167fi
     4168rm -f conftest*
     4169LIBS="$ac_save_LIBS"
     4170
     4171fi
     4172if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4173  echo "$ac_t""yes" 1>&6
     4174    ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4175    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4176  cat >> confdefs.h <<EOF
     4177#define $ac_tr_lib 1
     4178EOF
    103034179
    103044180  LIBS="-lgmp $LIBS"
    103054181
     4182else
     4183  echo "$ac_t""no" 1>&6
    103064184fi
    103074185
     
    103094187  LIBS=${NEED_LIBS}
    103104188fi
    10311 
    10312 echo "$as_me:$LINENO: checking for main in -lsmallgmp" >&5
    10313 echo $ECHO_N "checking for main in -lsmallgmp... $ECHO_C" >&6
    10314 if test "${ac_cv_lib_smallgmp_main+set}" = set; then
    10315   echo $ECHO_N "(cached) $ECHO_C" >&6
    10316 else
    10317   ac_check_lib_save_LIBS=$LIBS
     4189echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
     4190echo "configure:4191: checking for main in -lsmallgmp" >&5
     4191ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
     4192if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4193  echo $ac_n "(cached) $ac_c" 1>&6
     4194else
     4195  ac_save_LIBS="$LIBS"
    103184196LIBS="-lsmallgmp  $LIBS"
    10319 cat >conftest.$ac_ext <<_ACEOF
    10320 /* confdefs.h.  */
    10321 _ACEOF
    10322 cat confdefs.h >>conftest.$ac_ext
    10323 cat >>conftest.$ac_ext <<_ACEOF
    10324 /* end confdefs.h.  */
    10325 
    10326 
    10327 int
    10328 main ()
    10329 {
    10330 main ();
    10331   ;
    10332   return 0;
    10333 }
    10334 _ACEOF
    10335 rm -f conftest.$ac_objext conftest$ac_exeext
    10336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10337   (eval $ac_link) 2>conftest.er1
    10338   ac_status=$?
    10339   grep -v '^ *+' conftest.er1 >conftest.err
    10340   rm -f conftest.er1
    10341   cat conftest.err >&5
    10342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10343   (exit $ac_status); } &&
    10344          { ac_try='test -z "$ac_c_werror_flag"
    10345                          || test ! -s conftest.err'
    10346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10347   (eval $ac_try) 2>&5
    10348   ac_status=$?
    10349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10350   (exit $ac_status); }; } &&
    10351          { ac_try='test -s conftest$ac_exeext'
    10352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10353   (eval $ac_try) 2>&5
    10354   ac_status=$?
    10355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10356   (exit $ac_status); }; }; then
    10357   ac_cv_lib_smallgmp_main=yes
    10358 else
    10359   echo "$as_me: failed program was:" >&5
    10360 sed 's/^/| /' conftest.$ac_ext >&5
    10361 
    10362 ac_cv_lib_smallgmp_main=no
    10363 fi
    10364 rm -f conftest.err conftest.$ac_objext \
    10365       conftest$ac_exeext conftest.$ac_ext
    10366 LIBS=$ac_check_lib_save_LIBS
    10367 fi
    10368 echo "$as_me:$LINENO: result: $ac_cv_lib_smallgmp_main" >&5
    10369 echo "${ECHO_T}$ac_cv_lib_smallgmp_main" >&6
    10370 if test $ac_cv_lib_smallgmp_main = yes; then
    10371   cat >>confdefs.h <<_ACEOF
    10372 #define HAVE_LIBSMALLGMP 1
    10373 _ACEOF
     4197cat > conftest.$ac_ext <<EOF
     4198#line 4199 "configure"
     4199#include "confdefs.h"
     4200
     4201int main() {
     4202main()
     4203; return 0; }
     4204EOF
     4205if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4206  rm -rf conftest*
     4207  eval "ac_cv_lib_$ac_lib_var=yes"
     4208else
     4209  echo "configure: failed program was:" >&5
     4210  cat conftest.$ac_ext >&5
     4211  rm -rf conftest*
     4212  eval "ac_cv_lib_$ac_lib_var=no"
     4213fi
     4214rm -f conftest*
     4215LIBS="$ac_save_LIBS"
     4216
     4217fi
     4218if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4219  echo "$ac_t""yes" 1>&6
     4220    ac_tr_lib=HAVE_LIB`echo smallgmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4221    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4222  cat >> confdefs.h <<EOF
     4223#define $ac_tr_lib 1
     4224EOF
    103744225
    103754226  LIBS="-lsmallgmp $LIBS"
    103764227
     4228else
     4229  echo "$ac_t""no" 1>&6
    103774230fi
    103784231
    103794232SAVE_LIBS=$LIBS
    10380 
    10381 echo "$as_me:$LINENO: checking for IMP_PutGmpInt in -lMP" >&5
    10382 echo $ECHO_N "checking for IMP_PutGmpInt in -lMP... $ECHO_C" >&6
    10383 if test "${ac_cv_lib_MP_IMP_PutGmpInt+set}" = set; then
    10384   echo $ECHO_N "(cached) $ECHO_C" >&6
    10385 else
    10386   ac_check_lib_save_LIBS=$LIBS
     4233echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
     4234echo "configure:4235: checking for IMP_PutGmpInt in -lMP" >&5
     4235ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
     4236if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4237  echo $ac_n "(cached) $ac_c" 1>&6
     4238else
     4239  ac_save_LIBS="$LIBS"
    103874240LIBS="-lMP $MP_LIBS $LIBS"
    10388 cat >conftest.$ac_ext <<_ACEOF
    10389 /* confdefs.h.  */
    10390 _ACEOF
    10391 cat confdefs.h >>conftest.$ac_ext
    10392 cat >>conftest.$ac_ext <<_ACEOF
    10393 /* end confdefs.h.  */
    10394 
     4241cat > conftest.$ac_ext <<EOF
     4242#line 4243 "configure"
     4243#include "confdefs.h"
    103954244/* Override any gcc2 internal prototype to avoid an error.  */
    10396 #ifdef __cplusplus
    10397 extern "C"
    10398 #endif
    103994245/* We use char because int might match the return type of a gcc2
    10400    builtin and then its argument prototype would still apply.  */
    10401 char IMP_PutGmpInt ();
    10402 int
    10403 main ()
    10404 {
    10405 IMP_PutGmpInt ();
    10406   ;
    10407   return 0;
    10408 }
    10409 _ACEOF
    10410 rm -f conftest.$ac_objext conftest$ac_exeext
    10411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10412   (eval $ac_link) 2>conftest.er1
    10413   ac_status=$?
    10414   grep -v '^ *+' conftest.er1 >conftest.err
    10415   rm -f conftest.er1
    10416   cat conftest.err >&5
    10417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10418   (exit $ac_status); } &&
    10419          { ac_try='test -z "$ac_c_werror_flag"
    10420                          || test ! -s conftest.err'
    10421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10422   (eval $ac_try) 2>&5
    10423   ac_status=$?
    10424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10425   (exit $ac_status); }; } &&
    10426          { ac_try='test -s conftest$ac_exeext'
    10427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10428   (eval $ac_try) 2>&5
    10429   ac_status=$?
    10430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10431   (exit $ac_status); }; }; then
    10432   ac_cv_lib_MP_IMP_PutGmpInt=yes
    10433 else
    10434   echo "$as_me: failed program was:" >&5
    10435 sed 's/^/| /' conftest.$ac_ext >&5
    10436 
    10437 ac_cv_lib_MP_IMP_PutGmpInt=no
    10438 fi
    10439 rm -f conftest.err conftest.$ac_objext \
    10440       conftest$ac_exeext conftest.$ac_ext
    10441 LIBS=$ac_check_lib_save_LIBS
    10442 fi
    10443 echo "$as_me:$LINENO: result: $ac_cv_lib_MP_IMP_PutGmpInt" >&5
    10444 echo "${ECHO_T}$ac_cv_lib_MP_IMP_PutGmpInt" >&6
    10445 if test $ac_cv_lib_MP_IMP_PutGmpInt = yes; then
    10446   cat >>confdefs.h <<_ACEOF
    10447 #define HAVE_LIBMP 1
    10448 _ACEOF
     4246    builtin and then its argument prototype would still apply.  */
     4247char IMP_PutGmpInt();
     4248
     4249int main() {
     4250IMP_PutGmpInt()
     4251; return 0; }
     4252EOF
     4253if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4254  rm -rf conftest*
     4255  eval "ac_cv_lib_$ac_lib_var=yes"
     4256else
     4257  echo "configure: failed program was:" >&5
     4258  cat conftest.$ac_ext >&5
     4259  rm -rf conftest*
     4260  eval "ac_cv_lib_$ac_lib_var=no"
     4261fi
     4262rm -f conftest*
     4263LIBS="$ac_save_LIBS"
     4264
     4265fi
     4266if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4267  echo "$ac_t""yes" 1>&6
     4268    ac_tr_lib=HAVE_LIB`echo MP | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4269    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4270  cat >> confdefs.h <<EOF
     4271#define $ac_tr_lib 1
     4272EOF
    104494273
    104504274  LIBS="-lMP $LIBS"
    104514275
    10452 fi
    10453 
    10454 
    10455 echo "$as_me:$LINENO: checking for MPT_GetTree in -lMPT" >&5
    10456 echo $ECHO_N "checking for MPT_GetTree in -lMPT... $ECHO_C" >&6
    10457 if test "${ac_cv_lib_MPT_MPT_GetTree+set}" = set; then
    10458   echo $ECHO_N "(cached) $ECHO_C" >&6
    10459 else
    10460   ac_check_lib_save_LIBS=$LIBS
     4276else
     4277  echo "$ac_t""no" 1>&6
     4278fi
     4279
     4280echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
     4281echo "configure:4282: checking for MPT_GetTree in -lMPT" >&5
     4282ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
     4283if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4284  echo $ac_n "(cached) $ac_c" 1>&6
     4285else
     4286  ac_save_LIBS="$LIBS"
    104614287LIBS="-lMPT $MP_LIBS $LIBS"
    10462 cat >conftest.$ac_ext <<_ACEOF
    10463 /* confdefs.h.  */
    10464 _ACEOF
    10465 cat confdefs.h >>conftest.$ac_ext
    10466 cat >>conftest.$ac_ext <<_ACEOF
    10467 /* end confdefs.h.  */
    10468 
     4288cat > conftest.$ac_ext <<EOF
     4289#line 4290 "configure"
     4290#include "confdefs.h"
    104694291/* Override any gcc2 internal prototype to avoid an error.  */
    10470 #ifdef __cplusplus
    10471 extern "C"
    10472 #endif
    104734292/* We use char because int might match the return type of a gcc2
    10474    builtin and then its argument prototype would still apply.  */
    10475 char MPT_GetTree ();
    10476 int
    10477 main ()
    10478 {
    10479 MPT_GetTree ();
    10480   ;
    10481   return 0;
    10482 }
    10483 _ACEOF
    10484 rm -f conftest.$ac_objext conftest$ac_exeext
    10485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10486   (eval $ac_link) 2>conftest.er1
    10487   ac_status=$?
    10488   grep -v '^ *+' conftest.er1 >conftest.err
    10489   rm -f conftest.er1
    10490   cat conftest.err >&5
    10491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10492   (exit $ac_status); } &&
    10493          { ac_try='test -z "$ac_c_werror_flag"
    10494                          || test ! -s conftest.err'
    10495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10496   (eval $ac_try) 2>&5
    10497   ac_status=$?
    10498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10499   (exit $ac_status); }; } &&
    10500          { ac_try='test -s conftest$ac_exeext'
    10501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10502   (eval $ac_try) 2>&5
    10503   ac_status=$?
    10504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10505   (exit $ac_status); }; }; then
    10506   ac_cv_lib_MPT_MPT_GetTree=yes
    10507 else
    10508   echo "$as_me: failed program was:" >&5
    10509 sed 's/^/| /' conftest.$ac_ext >&5
    10510 
    10511 ac_cv_lib_MPT_MPT_GetTree=no
    10512 fi
    10513 rm -f conftest.err conftest.$ac_objext \
    10514       conftest$ac_exeext conftest.$ac_ext
    10515 LIBS=$ac_check_lib_save_LIBS
    10516 fi
    10517 echo "$as_me:$LINENO: result: $ac_cv_lib_MPT_MPT_GetTree" >&5
    10518 echo "${ECHO_T}$ac_cv_lib_MPT_MPT_GetTree" >&6
    10519 if test $ac_cv_lib_MPT_MPT_GetTree = yes; then
    10520   cat >>confdefs.h <<_ACEOF
    10521 #define HAVE_LIBMPT 1
    10522 _ACEOF
     4293    builtin and then its argument prototype would still apply.  */
     4294char MPT_GetTree();
     4295
     4296int main() {
     4297MPT_GetTree()
     4298; return 0; }
     4299EOF
     4300if { (eval echo configure:4301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4301  rm -rf conftest*
     4302  eval "ac_cv_lib_$ac_lib_var=yes"
     4303else
     4304  echo "configure: failed program was:" >&5
     4305  cat conftest.$ac_ext >&5
     4306  rm -rf conftest*
     4307  eval "ac_cv_lib_$ac_lib_var=no"
     4308fi
     4309rm -f conftest*
     4310LIBS="$ac_save_LIBS"
     4311
     4312fi
     4313if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4314  echo "$ac_t""yes" 1>&6
     4315    ac_tr_lib=HAVE_LIB`echo MPT | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4316    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4317  cat >> confdefs.h <<EOF
     4318#define $ac_tr_lib 1
     4319EOF
    105234320
    105244321  LIBS="-lMPT $LIBS"
    105254322
     4323else
     4324  echo "$ac_t""no" 1>&6
    105264325fi
    105274326
    105284327LIBS=$SAVE_LIBS
    10529 
    10530 echo "$as_me:$LINENO: checking for atof in -lsingcf" >&5
    10531 echo $ECHO_N "checking for atof in -lsingcf... $ECHO_C" >&6
    10532 if test "${ac_cv_lib_singcf_atof+set}" = set; then
    10533   echo $ECHO_N "(cached) $ECHO_C" >&6
    10534 else
    10535   ac_check_lib_save_LIBS=$LIBS
     4328echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
     4329echo "configure:4330: checking for atof in -lsingcf" >&5
     4330ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
     4331if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4332  echo $ac_n "(cached) $ac_c" 1>&6
     4333else
     4334  ac_save_LIBS="$LIBS"
    105364335LIBS="-lsingcf  $LIBS"
    10537 cat >conftest.$ac_ext <<_ACEOF
    10538 /* confdefs.h.  */
    10539 _ACEOF
    10540 cat confdefs.h >>conftest.$ac_ext
    10541 cat >>conftest.$ac_ext <<_ACEOF
    10542 /* end confdefs.h.  */
    10543 
     4336cat > conftest.$ac_ext <<EOF
     4337#line 4338 "configure"
     4338#include "confdefs.h"
    105444339/* Override any gcc2 internal prototype to avoid an error.  */
    10545 #ifdef __cplusplus
    10546 extern "C"
    10547 #endif
    105484340/* We use char because int might match the return type of a gcc2
    10549    builtin and then its argument prototype would still apply.  */
    10550 char atof ();
    10551 int
    10552 main ()
    10553 {
    10554 atof ();
    10555   ;
    10556   return 0;
    10557 }
    10558 _ACEOF
    10559 rm -f conftest.$ac_objext conftest$ac_exeext
    10560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10561   (eval $ac_link) 2>conftest.er1
    10562   ac_status=$?
    10563   grep -v '^ *+' conftest.er1 >conftest.err
    10564   rm -f conftest.er1
    10565   cat conftest.err >&5
    10566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10567   (exit $ac_status); } &&
    10568          { ac_try='test -z "$ac_c_werror_flag"
    10569                          || test ! -s conftest.err'
    10570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10571   (eval $ac_try) 2>&5
    10572   ac_status=$?
    10573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10574   (exit $ac_status); }; } &&
    10575          { ac_try='test -s conftest$ac_exeext'
    10576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10577   (eval $ac_try) 2>&5
    10578   ac_status=$?
    10579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10580   (exit $ac_status); }; }; then
    10581   ac_cv_lib_singcf_atof=yes
    10582 else
    10583   echo "$as_me: failed program was:" >&5
    10584 sed 's/^/| /' conftest.$ac_ext >&5
    10585 
    10586 ac_cv_lib_singcf_atof=no
    10587 fi
    10588 rm -f conftest.err conftest.$ac_objext \
    10589       conftest$ac_exeext conftest.$ac_ext
    10590 LIBS=$ac_check_lib_save_LIBS
    10591 fi
    10592 echo "$as_me:$LINENO: result: $ac_cv_lib_singcf_atof" >&5
    10593 echo "${ECHO_T}$ac_cv_lib_singcf_atof" >&6
    10594 if test $ac_cv_lib_singcf_atof = yes; then
    10595   cat >>confdefs.h <<_ACEOF
    10596 #define HAVE_LIBSINGCF 1
    10597 _ACEOF
     4341    builtin and then its argument prototype would still apply.  */
     4342char atof();
     4343
     4344int main() {
     4345atof()
     4346; return 0; }
     4347EOF
     4348if { (eval echo configure:4349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4349  rm -rf conftest*
     4350  eval "ac_cv_lib_$ac_lib_var=yes"
     4351else
     4352  echo "configure: failed program was:" >&5
     4353  cat conftest.$ac_ext >&5
     4354  rm -rf conftest*
     4355  eval "ac_cv_lib_$ac_lib_var=no"
     4356fi
     4357rm -f conftest*
     4358LIBS="$ac_save_LIBS"
     4359
     4360fi
     4361if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4362  echo "$ac_t""yes" 1>&6
     4363    ac_tr_lib=HAVE_LIB`echo singcf | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4364    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4365  cat >> confdefs.h <<EOF
     4366#define $ac_tr_lib 1
     4367EOF
    105984368
    105994369  LIBS="-lsingcf $LIBS"
    106004370
    10601 fi
    10602 
    10603 
    10604 echo "$as_me:$LINENO: checking for atof in -lsingfac" >&5
    10605 echo $ECHO_N "checking for atof in -lsingfac... $ECHO_C" >&6
    10606 if test "${ac_cv_lib_singfac_atof+set}" = set; then
    10607   echo $ECHO_N "(cached) $ECHO_C" >&6
    10608 else
    10609   ac_check_lib_save_LIBS=$LIBS
     4371else
     4372  echo "$ac_t""no" 1>&6
     4373fi
     4374
     4375echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
     4376echo "configure:4377: checking for atof in -lsingfac" >&5
     4377ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
     4378if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4379  echo $ac_n "(cached) $ac_c" 1>&6
     4380else
     4381  ac_save_LIBS="$LIBS"
    106104382LIBS="-lsingfac  $LIBS"
    10611 cat >conftest.$ac_ext <<_ACEOF
    10612 /* confdefs.h.  */
    10613 _ACEOF
    10614 cat confdefs.h >>conftest.$ac_ext
    10615 cat >>conftest.$ac_ext <<_ACEOF
    10616 /* end confdefs.h.  */
    10617 
     4383cat > conftest.$ac_ext <<EOF
     4384#line 4385 "configure"
     4385#include "confdefs.h"
    106184386/* Override any gcc2 internal prototype to avoid an error.  */
    10619 #ifdef __cplusplus
    10620 extern "C"
    10621 #endif
    106224387/* We use char because int might match the return type of a gcc2
    10623    builtin and then its argument prototype would still apply.  */
    10624 char atof ();
    10625 int
    10626 main ()
    10627 {
    10628 atof ();
    10629   ;
    10630   return 0;
    10631 }
    10632 _ACEOF
    10633 rm -f conftest.$ac_objext conftest$ac_exeext
    10634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10635   (eval $ac_link) 2>conftest.er1
    10636   ac_status=$?
    10637   grep -v '^ *+' conftest.er1 >conftest.err
    10638   rm -f conftest.er1
    10639   cat conftest.err >&5
    10640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10641   (exit $ac_status); } &&
    10642          { ac_try='test -z "$ac_c_werror_flag"
    10643                          || test ! -s conftest.err'
    10644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10645   (eval $ac_try) 2>&5
    10646   ac_status=$?
    10647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10648   (exit $ac_status); }; } &&
    10649          { ac_try='test -s conftest$ac_exeext'
    10650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10651   (eval $ac_try) 2>&5
    10652   ac_status=$?
    10653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10654   (exit $ac_status); }; }; then
    10655   ac_cv_lib_singfac_atof=yes
    10656 else
    10657   echo "$as_me: failed program was:" >&5
    10658 sed 's/^/| /' conftest.$ac_ext >&5
    10659 
    10660 ac_cv_lib_singfac_atof=no
    10661 fi
    10662 rm -f conftest.err conftest.$ac_objext \
    10663       conftest$ac_exeext conftest.$ac_ext
    10664 LIBS=$ac_check_lib_save_LIBS
    10665 fi
    10666 echo "$as_me:$LINENO: result: $ac_cv_lib_singfac_atof" >&5
    10667 echo "${ECHO_T}$ac_cv_lib_singfac_atof" >&6
    10668 if test $ac_cv_lib_singfac_atof = yes; then
    10669   cat >>confdefs.h <<_ACEOF
    10670 #define HAVE_LIBSINGFAC 1
    10671 _ACEOF
     4388    builtin and then its argument prototype would still apply.  */
     4389char atof();
     4390
     4391int main() {
     4392atof()
     4393; return 0; }
     4394EOF
     4395if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4396  rm -rf conftest*
     4397  eval "ac_cv_lib_$ac_lib_var=yes"
     4398else
     4399  echo "configure: failed program was:" >&5
     4400  cat conftest.$ac_ext >&5
     4401  rm -rf conftest*
     4402  eval "ac_cv_lib_$ac_lib_var=no"
     4403fi
     4404rm -f conftest*
     4405LIBS="$ac_save_LIBS"
     4406
     4407fi
     4408if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4409  echo "$ac_t""yes" 1>&6
     4410    ac_tr_lib=HAVE_LIB`echo singfac | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4411    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4412  cat >> confdefs.h <<EOF
     4413#define $ac_tr_lib 1
     4414EOF
    106724415
    106734416  LIBS="-lsingfac $LIBS"
    106744417
    10675 fi
    10676 
    10677 
    10678 echo "$as_me:$LINENO: checking for omTestAddr in -lomalloc" >&5
    10679 echo $ECHO_N "checking for omTestAddr in -lomalloc... $ECHO_C" >&6
    10680 if test "${ac_cv_lib_omalloc_omTestAddr+set}" = set; then
    10681   echo $ECHO_N "(cached) $ECHO_C" >&6
    10682 else
    10683   ac_check_lib_save_LIBS=$LIBS
     4418else
     4419  echo "$ac_t""no" 1>&6
     4420fi
     4421
     4422echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
     4423echo "configure:4424: checking for omTestAddr in -lomalloc" >&5
     4424ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
     4425if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4426  echo $ac_n "(cached) $ac_c" 1>&6
     4427else
     4428  ac_save_LIBS="$LIBS"
    106844429LIBS="-lomalloc  $LIBS"
    10685 cat >conftest.$ac_ext <<_ACEOF
    10686 /* confdefs.h.  */
    10687 _ACEOF
    10688 cat confdefs.h >>conftest.$ac_ext
    10689 cat >>conftest.$ac_ext <<_ACEOF
    10690 /* end confdefs.h.  */
    10691 
     4430cat > conftest.$ac_ext <<EOF
     4431#line 4432 "configure"
     4432#include "confdefs.h"
    106924433/* Override any gcc2 internal prototype to avoid an error.  */
    10693 #ifdef __cplusplus
    10694 extern "C"
    10695 #endif
    106964434/* We use char because int might match the return type of a gcc2
    10697    builtin and then its argument prototype would still apply.  */
    10698 char omTestAddr ();
    10699 int
    10700 main ()
    10701 {
    10702 omTestAddr ();
    10703   ;
    10704   return 0;
    10705 }
    10706 _ACEOF
    10707 rm -f conftest.$ac_objext conftest$ac_exeext
    10708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10709   (eval $ac_link) 2>conftest.er1
    10710   ac_status=$?
    10711   grep -v '^ *+' conftest.er1 >conftest.err
    10712   rm -f conftest.er1
    10713   cat conftest.err >&5
    10714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10715   (exit $ac_status); } &&
    10716          { ac_try='test -z "$ac_c_werror_flag"
    10717                          || test ! -s conftest.err'
    10718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10719   (eval $ac_try) 2>&5
    10720   ac_status=$?
    10721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10722   (exit $ac_status); }; } &&
    10723          { ac_try='test -s conftest$ac_exeext'
    10724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10725   (eval $ac_try) 2>&5
    10726   ac_status=$?
    10727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10728   (exit $ac_status); }; }; then
    10729   ac_cv_lib_omalloc_omTestAddr=yes
    10730 else
    10731   echo "$as_me: failed program was:" >&5
    10732 sed 's/^/| /' conftest.$ac_ext >&5
    10733 
    10734 ac_cv_lib_omalloc_omTestAddr=no
    10735 fi
    10736 rm -f conftest.err conftest.$ac_objext \
    10737       conftest$ac_exeext conftest.$ac_ext
    10738 LIBS=$ac_check_lib_save_LIBS
    10739 fi
    10740 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_omTestAddr" >&5
    10741 echo "${ECHO_T}$ac_cv_lib_omalloc_omTestAddr" >&6
    10742 if test $ac_cv_lib_omalloc_omTestAddr = yes; then
    10743   cat >>confdefs.h <<_ACEOF
    10744 #define HAVE_LIBOMALLOC 1
    10745 _ACEOF
     4435    builtin and then its argument prototype would still apply.  */
     4436char omTestAddr();
     4437
     4438int main() {
     4439omTestAddr()
     4440; return 0; }
     4441EOF
     4442if { (eval echo configure:4443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4443  rm -rf conftest*
     4444  eval "ac_cv_lib_$ac_lib_var=yes"
     4445else
     4446  echo "configure: failed program was:" >&5
     4447  cat conftest.$ac_ext >&5
     4448  rm -rf conftest*
     4449  eval "ac_cv_lib_$ac_lib_var=no"
     4450fi
     4451rm -f conftest*
     4452LIBS="$ac_save_LIBS"
     4453
     4454fi
     4455if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4456  echo "$ac_t""yes" 1>&6
     4457    ac_tr_lib=HAVE_LIB`echo omalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4458    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4459  cat >> confdefs.h <<EOF
     4460#define $ac_tr_lib 1
     4461EOF
    107464462
    107474463  LIBS="-lomalloc $LIBS"
    107484464
    10749 fi
    10750 
    10751 
    10752 echo "$as_me:$LINENO: checking for main in -lomalloc_ndebug" >&5
    10753 echo $ECHO_N "checking for main in -lomalloc_ndebug... $ECHO_C" >&6
    10754 if test "${ac_cv_lib_omalloc_ndebug_main+set}" = set; then
    10755   echo $ECHO_N "(cached) $ECHO_C" >&6
    10756 else
    10757   ac_check_lib_save_LIBS=$LIBS
     4465else
     4466  echo "$ac_t""no" 1>&6
     4467fi
     4468
     4469echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
     4470echo "configure:4471: checking for main in -lomalloc_ndebug" >&5
     4471ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
     4472if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4473  echo $ac_n "(cached) $ac_c" 1>&6
     4474else
     4475  ac_save_LIBS="$LIBS"
    107584476LIBS="-lomalloc_ndebug  $LIBS"
    10759 cat >conftest.$ac_ext <<_ACEOF
    10760 /* confdefs.h.  */
    10761 _ACEOF
    10762 cat confdefs.h >>conftest.$ac_ext
    10763 cat >>conftest.$ac_ext <<_ACEOF
    10764 /* end confdefs.h.  */
    10765 
    10766 
    10767 int
    10768 main ()
    10769 {
    10770 main ();
    10771   ;
    10772   return 0;
    10773 }
    10774 _ACEOF
    10775 rm -f conftest.$ac_objext conftest$ac_exeext
    10776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10777   (eval $ac_link) 2>conftest.er1
    10778   ac_status=$?
    10779   grep -v '^ *+' conftest.er1 >conftest.err
    10780   rm -f conftest.er1
    10781   cat conftest.err >&5
    10782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10783   (exit $ac_status); } &&
    10784          { ac_try='test -z "$ac_c_werror_flag"
    10785                          || test ! -s conftest.err'
    10786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10787   (eval $ac_try) 2>&5
    10788   ac_status=$?
    10789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10790   (exit $ac_status); }; } &&
    10791          { ac_try='test -s conftest$ac_exeext'
    10792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10793   (eval $ac_try) 2>&5
    10794   ac_status=$?
    10795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10796   (exit $ac_status); }; }; then
    10797   ac_cv_lib_omalloc_ndebug_main=yes
    10798 else
    10799   echo "$as_me: failed program was:" >&5
    10800 sed 's/^/| /' conftest.$ac_ext >&5
    10801 
    10802 ac_cv_lib_omalloc_ndebug_main=no
    10803 fi
    10804 rm -f conftest.err conftest.$ac_objext \
    10805       conftest$ac_exeext conftest.$ac_ext
    10806 LIBS=$ac_check_lib_save_LIBS
    10807 fi
    10808 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_ndebug_main" >&5
    10809 echo "${ECHO_T}$ac_cv_lib_omalloc_ndebug_main" >&6
    10810 if test $ac_cv_lib_omalloc_ndebug_main = yes; then
    10811   cat >>confdefs.h <<_ACEOF
    10812 #define HAVE_LIBOMALLOC_NDEBUG 1
    10813 _ACEOF
     4477cat > conftest.$ac_ext <<EOF
     4478#line 4479 "configure"
     4479#include "confdefs.h"
     4480
     4481int main() {
     4482main()
     4483; return 0; }
     4484EOF
     4485if { (eval echo configure:4486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4486  rm -rf conftest*
     4487  eval "ac_cv_lib_$ac_lib_var=yes"
     4488else
     4489  echo "configure: failed program was:" >&5
     4490  cat conftest.$ac_ext >&5
     4491  rm -rf conftest*
     4492  eval "ac_cv_lib_$ac_lib_var=no"
     4493fi
     4494rm -f conftest*
     4495LIBS="$ac_save_LIBS"
     4496
     4497fi
     4498if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4499  echo "$ac_t""yes" 1>&6
     4500    ac_tr_lib=HAVE_LIB`echo omalloc_ndebug | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4501    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4502  cat >> confdefs.h <<EOF
     4503#define $ac_tr_lib 1
     4504EOF
    108144505
    108154506  LIBS="-lomalloc_ndebug $LIBS"
    108164507
    10817 fi
    10818 
    10819 
    10820 echo "$as_me:$LINENO: checking for main in -lntl" >&5
    10821 echo $ECHO_N "checking for main in -lntl... $ECHO_C" >&6
    10822 if test "${ac_cv_lib_ntl_main+set}" = set; then
    10823   echo $ECHO_N "(cached) $ECHO_C" >&6
    10824 else
    10825   ac_check_lib_save_LIBS=$LIBS
     4508else
     4509  echo "$ac_t""no" 1>&6
     4510fi
     4511
     4512echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6
     4513echo "configure:4514: checking for main in -lntl" >&5
     4514ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'`
     4515if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     4516  echo $ac_n "(cached) $ac_c" 1>&6
     4517else
     4518  ac_save_LIBS="$LIBS"
    108264519LIBS="-lntl  $LIBS"
    10827 cat >conftest.$ac_ext <<_ACEOF
    10828 /* confdefs.h.  */
    10829 _ACEOF
    10830 cat confdefs.h >>conftest.$ac_ext
    10831 cat >>conftest.$ac_ext <<_ACEOF
    10832 /* end confdefs.h.  */
    10833 
    10834 
    10835 int
    10836 main ()
    10837 {
    10838 main ();
    10839   ;
    10840   return 0;
    10841 }
    10842 _ACEOF
    10843 rm -f conftest.$ac_objext conftest$ac_exeext
    10844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    10845   (eval $ac_link) 2>conftest.er1
    10846   ac_status=$?
    10847   grep -v '^ *+' conftest.er1 >conftest.err
    10848   rm -f conftest.er1
    10849   cat conftest.err >&5
    10850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10851   (exit $ac_status); } &&
    10852          { ac_try='test -z "$ac_c_werror_flag"
    10853                          || test ! -s conftest.err'
    10854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10855   (eval $ac_try) 2>&5
    10856   ac_status=$?
    10857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10858   (exit $ac_status); }; } &&
    10859          { ac_try='test -s conftest$ac_exeext'
    10860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10861   (eval $ac_try) 2>&5
    10862   ac_status=$?
    10863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10864   (exit $ac_status); }; }; then
    10865   ac_cv_lib_ntl_main=yes
    10866 else
    10867   echo "$as_me: failed program was:" >&5
    10868 sed 's/^/| /' conftest.$ac_ext >&5
    10869 
    10870 ac_cv_lib_ntl_main=no
    10871 fi
    10872 rm -f conftest.err conftest.$ac_objext \
    10873       conftest$ac_exeext conftest.$ac_ext
    10874 LIBS=$ac_check_lib_save_LIBS
    10875 fi
    10876 echo "$as_me:$LINENO: result: $ac_cv_lib_ntl_main" >&5
    10877 echo "${ECHO_T}$ac_cv_lib_ntl_main" >&6
    10878 if test $ac_cv_lib_ntl_main = yes; then
    10879   cat >>confdefs.h <<_ACEOF
    10880 #define HAVE_LIBNTL 1
    10881 _ACEOF
     4520cat > conftest.$ac_ext <<EOF
     4521#line 4522 "configure"
     4522#include "confdefs.h"
     4523
     4524int main() {
     4525main()
     4526; return 0; }
     4527EOF
     4528if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4529  rm -rf conftest*
     4530  eval "ac_cv_lib_$ac_lib_var=yes"
     4531else
     4532  echo "configure: failed program was:" >&5
     4533  cat conftest.$ac_ext >&5
     4534  rm -rf conftest*
     4535  eval "ac_cv_lib_$ac_lib_var=no"
     4536fi
     4537rm -f conftest*
     4538LIBS="$ac_save_LIBS"
     4539
     4540fi
     4541if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     4542  echo "$ac_t""yes" 1>&6
     4543    ac_tr_lib=HAVE_LIB`echo ntl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     4544    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     4545  cat >> confdefs.h <<EOF
     4546#define $ac_tr_lib 1
     4547EOF
    108824548
    108834549  LIBS="-lntl $LIBS"
    108844550
    10885 fi
    10886 
    10887 
    10888 
    10889 
    10890 
    10891 
    10892 
    10893 
    10894 
    10895 
    10896 for ac_header in gmp.h smallgmp.h MP.h  MPT.h factory.h factor.h omalloc.h \
     4551else
     4552  echo "$ac_t""no" 1>&6
     4553fi
     4554
     4555
     4556for ac_hdr in gmp.h smallgmp.h MP.h  MPT.h factory.h factor.h omalloc.h \
    108974557 omalloc.c
    108984558do
    10899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    10900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    10901   echo "$as_me:$LINENO: checking for $ac_header" >&5
    10902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    10903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    10904   echo $ECHO_N "(cached) $ECHO_C" >&6
    10905 fi
    10906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    10907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    10908 else
    10909   # Is the header compilable?
    10910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    10911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    10912 cat >conftest.$ac_ext <<_ACEOF
    10913 /* confdefs.h.  */
    10914 _ACEOF
    10915 cat confdefs.h >>conftest.$ac_ext
    10916 cat >>conftest.$ac_ext <<_ACEOF
    10917 /* end confdefs.h.  */
    10918 $ac_includes_default
    10919 #include <$ac_header>
    10920 _ACEOF
    10921 rm -f conftest.$ac_objext
    10922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    10923   (eval $ac_compile) 2>conftest.er1
    10924   ac_status=$?
    10925   grep -v '^ *+' conftest.er1 >conftest.err
    10926   rm -f conftest.er1
    10927   cat conftest.err >&5
    10928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10929   (exit $ac_status); } &&
    10930          { ac_try='test -z "$ac_c_werror_flag"
    10931                          || test ! -s conftest.err'
    10932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10933   (eval $ac_try) 2>&5
    10934   ac_status=$?
    10935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10936   (exit $ac_status); }; } &&
    10937          { ac_try='test -s conftest.$ac_objext'
    10938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    10939   (eval $ac_try) 2>&5
    10940   ac_status=$?
    10941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10942   (exit $ac_status); }; }; then
    10943   ac_header_compiler=yes
    10944 else
    10945   echo "$as_me: failed program was:" >&5
    10946 sed 's/^/| /' conftest.$ac_ext >&5
    10947 
    10948 ac_header_compiler=no
    10949 fi
    10950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    10951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10952 echo "${ECHO_T}$ac_header_compiler" >&6
    10953 
    10954 # Is the header present?
    10955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    10956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    10957 cat >conftest.$ac_ext <<_ACEOF
    10958 /* confdefs.h.  */
    10959 _ACEOF
    10960 cat confdefs.h >>conftest.$ac_ext
    10961 cat >>conftest.$ac_ext <<_ACEOF
    10962 /* end confdefs.h.  */
    10963 #include <$ac_header>
    10964 _ACEOF
    10965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    10966   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    10967   ac_status=$?
    10968   grep -v '^ *+' conftest.er1 >conftest.err
    10969   rm -f conftest.er1
    10970   cat conftest.err >&5
    10971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10972   (exit $ac_status); } >/dev/null; then
    10973   if test -s conftest.err; then
    10974     ac_cpp_err=$ac_c_preproc_warn_flag
    10975     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    10976   else
    10977     ac_cpp_err=
    10978   fi
    10979 else
    10980   ac_cpp_err=yes
    10981 fi
    10982 if test -z "$ac_cpp_err"; then
    10983   ac_header_preproc=yes
    10984 else
    10985   echo "$as_me: failed program was:" >&5
    10986 sed 's/^/| /' conftest.$ac_ext >&5
    10987 
    10988   ac_header_preproc=no
    10989 fi
    10990 rm -f conftest.err conftest.$ac_ext
    10991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10992 echo "${ECHO_T}$ac_header_preproc" >&6
    10993 
    10994 # So?  What about this header?
    10995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    10996   yes:no: )
    10997     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    10998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10999     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11001     ac_header_preproc=yes
    11002     ;;
    11003   no:yes:* )
    11004     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11006     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11007 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11008     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11010     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11011 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11012     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11014     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11016     (
    11017       cat <<\_ASBOX
    11018 ## ------------------------------------------ ##
    11019 ## Report this to the AC_PACKAGE_NAME lists.  ##
    11020 ## ------------------------------------------ ##
    11021 _ASBOX
    11022     ) |
    11023       sed "s/^/$as_me: WARNING:     /" >&2
    11024     ;;
    11025 esac
    11026 echo "$as_me:$LINENO: checking for $ac_header" >&5
    11027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    11028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    11029   echo $ECHO_N "(cached) $ECHO_C" >&6
    11030 else
    11031   eval "$as_ac_Header=\$ac_header_preproc"
    11032 fi
    11033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    11034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    11035 
    11036 fi
    11037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    11038   cat >>confdefs.h <<_ACEOF
    11039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    11040 _ACEOF
    11041 
    11042 fi
    11043 
     4559ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     4560echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     4561echo "configure:4562: checking for $ac_hdr" >&5
     4562if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     4563  echo $ac_n "(cached) $ac_c" 1>&6
     4564else
     4565  cat > conftest.$ac_ext <<EOF
     4566#line 4567 "configure"
     4567#include "confdefs.h"
     4568#include <$ac_hdr>
     4569EOF
     4570ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     4571{ (eval echo configure:4572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4572ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     4573if test -z "$ac_err"; then
     4574  rm -rf conftest*
     4575  eval "ac_cv_header_$ac_safe=yes"
     4576else
     4577  echo "$ac_err" >&5
     4578  echo "configure: failed program was:" >&5
     4579  cat conftest.$ac_ext >&5
     4580  rm -rf conftest*
     4581  eval "ac_cv_header_$ac_safe=no"
     4582fi
     4583rm -f conftest*
     4584fi
     4585if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     4586  echo "$ac_t""yes" 1>&6
     4587    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     4588  cat >> confdefs.h <<EOF
     4589#define $ac_tr_hdr 1
     4590EOF
     4591 
     4592else
     4593  echo "$ac_t""no" 1>&6
     4594fi
    110444595done
    110454596
     
    110864637# evaluate results
    110874638if test "$ac_cv_omalloc_ok" != yes && test "$enable_omalloc" != yes; then
    11088   { { echo "$as_me:$LINENO: error: can not build without omalloc" >&5
    11089 echo "$as_me: error: can not build without omalloc" >&2;}
    11090    { (exit 1); exit 1; }; }
    11091 fi
    11092 
    11093 echo "$as_me:$LINENO: checking which apint package to use" >&5
    11094 echo $ECHO_N "checking which apint package to use... $ECHO_C" >&6
     4639  { echo "configure: error: can not build without omalloc" 1>&2; exit 1; }
     4640fi
     4641
     4642echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
     4643echo "configure:4644: checking which apint package to use" >&5
    110954644if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    110964645  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
    11097     echo "$as_me:$LINENO: result: gmp" >&5
    11098 echo "${ECHO_T}gmp" >&6
     4646    echo "$ac_t""gmp" 1>&6
    110994647    will_have_gmp=yes
    111004648    NEED_LIBS="-lgmp ${NEED_LIBS}"
    111014649  elif test "ac_gmp_smallgmp_ok" = yes || test "$enable_smallgmp" = "yes"; then
    11102     echo "$as_me:$LINENO: result: smallgmp" >&5
    11103 echo "${ECHO_T}smallgmp" >&6
    11104     cat >>confdefs.h <<\_ACEOF
     4650    echo "$ac_t""smallgmp" 1>&6
     4651    cat >> confdefs.h <<\EOF
    111054652#define HAVE_SMALLGMP 1
    11106 _ACEOF
     4653EOF
    111074654
    111084655    NEED_LIBS="-lsmallgmp ${NEED_LIBS}"
    111094656  else
    11110     echo "$as_me:$LINENO: result: none" >&5
    11111 echo "${ECHO_T}none" >&6
    11112     { { echo "$as_me:$LINENO: error: can not build without gmp or smallgmp" >&5
    11113 echo "$as_me: error: can not build without gmp or smallgmp" >&2;}
    11114    { (exit 1); exit 1; }; }
     4657    echo "$ac_t""none" 1>&6
     4658    { echo "configure: error: can not build without gmp or smallgmp" 1>&2; exit 1; }
    111154659  fi
    111164660elif test "${with_apint}" = gmp; then
    111174661  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
    11118     echo "$as_me:$LINENO: result: gmp" >&5
    11119 echo "${ECHO_T}gmp" >&6
     4662    echo "$ac_t""gmp" 1>&6
    111204663    will_have_gmp=yes
    111214664    NEED_LIBS="-lgmp ${NEED_LIBS}"
    111224665  else
    11123     echo "$as_me:$LINENO: result: none" >&5
    11124 echo "${ECHO_T}none" >&6
    11125     { { echo "$as_me:$LINENO: error: can not build with gmp" >&5
    11126 echo "$as_me: error: can not build with gmp" >&2;}
    11127    { (exit 1); exit 1; }; }
     4666    echo "$ac_t""none" 1>&6
     4667    { echo "configure: error: can not build with gmp" 1>&2; exit 1; }
    111284668  fi
    111294669else
    111304670  if test "ac_gmp_smallgmp_ok" = yes || test "$enable_smallgmp" = "yes"; then
    11131     echo "$as_me:$LINENO: result: smallgmp" >&5
    11132 echo "${ECHO_T}smallgmp" >&6
    11133     cat >>confdefs.h <<\_ACEOF
     4671    echo "$ac_t""smallgmp" 1>&6
     4672    cat >> confdefs.h <<\EOF
    111344673#define HAVE_SMALLGMP 1
    11135 _ACEOF
     4674EOF
    111364675
    111374676    NEED_LIBS="-lsmallgmp ${NEED_LIBS}"
    111384677  else
    11139     echo "$as_me:$LINENO: result: none" >&5
    11140 echo "${ECHO_T}none" >&6
    11141     { { echo "$as_me:$LINENO: error: can not build with smallgmp" >&5
    11142 echo "$as_me: error: can not build with smallgmp" >&2;}
    11143    { (exit 1); exit 1; }; }
     4678    echo "$ac_t""none" 1>&6
     4679    { echo "configure: error: can not build with smallgmp" 1>&2; exit 1; }
    111444680  fi
    111454681fi
    111464682
    111474683#
    11148 echo "$as_me:$LINENO: checking whether to have MP" >&5
    11149 echo $ECHO_N "checking whether to have MP... $ECHO_C" >&6
     4684echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
     4685echo "configure:4686: checking whether to have MP" >&5
    111504686if test "${with_MP}" != yes && test "${with_MP}" != no; then
    111514687  if (test "${will_have_gmp}" = yes) && \
    111524688     (test "$ac_MP_ok" =  yes || test "$enable_MP" = yes); then
    11153     echo "$as_me:$LINENO: result: yes" >&5
    11154 echo "${ECHO_T}yes" >&6
    11155     cat >>confdefs.h <<\_ACEOF
     4689    echo "$ac_t""yes" 1>&6
     4690    cat >> confdefs.h <<\EOF
    111564691#define HAVE_MPSR 1
    11157 _ACEOF
     4692EOF
    111584693
    111594694    HAVE_MPSR=1
    111604695    MP_LIBS="-lMPT -lMP ${MP_LIBS}"
    111614696  else
    11162     echo "$as_me:$LINENO: result: no" >&5
    11163 echo "${ECHO_T}no" >&6
     4697    echo "$ac_t""no" 1>&6
    111644698  fi
    111654699elif  test "${with_MP}" = yes; then
    111664700  if (test "${will_have_gmp}" = yes) && \
    111674701     (test "$ac_MP_ok" =  yes || test "$enable_MP" = yes); then
    11168     echo "$as_me:$LINENO: result: yes" >&5
    11169 echo "${ECHO_T}yes" >&6
    11170     cat >>confdefs.h <<\_ACEOF
     4702    echo "$ac_t""yes" 1>&6
     4703    cat >> confdefs.h <<\EOF
    111714704#define HAVE_MPSR 1
    11172 _ACEOF
     4705EOF
    111734706
    111744707    HAVE_MPSR=1
    111754708    MP_LIBS="-lMPT -lMP ${MP_LIBS}"
    111764709  else
    11177     echo "$as_me:$LINENO: result: no" >&5
    11178 echo "${ECHO_T}no" >&6
    11179     { { echo "$as_me:$LINENO: error: can not build with MP" >&5
    11180 echo "$as_me: error: can not build with MP" >&2;}
    11181    { (exit 1); exit 1; }; }
     4710    echo "$ac_t""no" 1>&6
     4711    { echo "configure: error: can not build with MP" 1>&2; exit 1; }
    111824712  fi
    111834713else
    11184   echo "$as_me:$LINENO: result: no" >&5
    11185 echo "${ECHO_T}no" >&6
    11186 fi
    11187 
    11188 
    11189 
    11190 echo "$as_me:$LINENO: checking whether to have NTL" >&5
    11191 echo $ECHO_N "checking whether to have NTL... $ECHO_C" >&6
     4714  echo "$ac_t""no" 1>&6
     4715fi
     4716
     4717
     4718
     4719echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6
     4720echo "configure:4721: checking whether to have NTL" >&5
    111924721if test "${with_NTL}" = yes ; then
    11193   echo "$as_me:$LINENO: result: yes" >&5
    11194 echo "${ECHO_T}yes" >&6
     4722  echo "$ac_t""yes" 1>&6
    111954723  NEED_LIBS="-lntl ${NEED_LIBS}"
    111964724else
    11197   echo "$as_me:$LINENO: result: no" >&5
    11198 echo "${ECHO_T}no" >&6
    11199 fi
    11200 
    11201 echo "$as_me:$LINENO: checking whether to have factory" >&5
    11202 echo $ECHO_N "checking whether to have factory... $ECHO_C" >&6
     4725  echo "$ac_t""no" 1>&6
     4726fi
     4727
     4728echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
     4729echo "configure:4730: checking whether to have factory" >&5
    112034730if test "${with_factory}" != yes && test "${with_factory}" != no; then
    112044731  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
    11205     echo "$as_me:$LINENO: result: yes" >&5
    11206 echo "${ECHO_T}yes" >&6
    11207     cat >>confdefs.h <<\_ACEOF
     4732    echo "$ac_t""yes" 1>&6
     4733    cat >> confdefs.h <<\EOF
    112084734#define HAVE_FACTORY 1
    11209 _ACEOF
     4735EOF
    112104736
    112114737    will_have_factory=yes
    112124738    NEED_LIBS="-lsingcf ${NEED_LIBS}"
    112134739  else
    11214     echo "$as_me:$LINENO: result: no" >&5
    11215 echo "${ECHO_T}no" >&6
     4740    echo "$ac_t""no" 1>&6
    112164741  fi
    112174742elif  test "${with_factory}" = yes; then
    112184743  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
    11219     echo "$as_me:$LINENO: result: yes" >&5
    11220 echo "${ECHO_T}yes" >&6
    11221     cat >>confdefs.h <<\_ACEOF
     4744    echo "$ac_t""yes" 1>&6
     4745    cat >> confdefs.h <<\EOF
    112224746#define HAVE_FACTORY 1
    11223 _ACEOF
     4747EOF
    112244748
    112254749    will_have_factory=yes
    112264750    NEED_LIBS="-lsingcf ${NEED_LIBS}"
    112274751  else
    11228     echo "$as_me:$LINENO: result: no" >&5
    11229 echo "${ECHO_T}no" >&6
    11230     { { echo "$as_me:$LINENO: error: can not build with factory" >&5
    11231 echo "$as_me: error: can not build with factory" >&2;}
    11232    { (exit 1); exit 1; }; }
     4752    echo "$ac_t""no" 1>&6
     4753    { echo "configure: error: can not build with factory" 1>&2; exit 1; }
    112334754  fi
    112344755else
    11235   echo "$as_me:$LINENO: result: no" >&5
    11236 echo "${ECHO_T}no" >&6
    11237 fi
    11238 
    11239 echo "$as_me:$LINENO: checking whether to have libfac" >&5
    11240 echo $ECHO_N "checking whether to have libfac... $ECHO_C" >&6
     4756  echo "$ac_t""no" 1>&6
     4757fi
     4758
     4759echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
     4760echo "configure:4761: checking whether to have libfac" >&5
    112414761if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    112424762  if (test "${will_have_factory}" = yes) && \
    112434763     (test "$ac_libfac_ok" =  yes || test "$enable_libfac" = yes); then
    11244     echo "$as_me:$LINENO: result: yes" >&5
    11245 echo "${ECHO_T}yes" >&6
    11246     cat >>confdefs.h <<\_ACEOF
     4764    echo "$ac_t""yes" 1>&6
     4765    cat >> confdefs.h <<\EOF
    112474766#define HAVE_LIBFAC_P 1
    11248 _ACEOF
     4767EOF
    112494768
    112504769    NEED_LIBS="-lsingfac ${NEED_LIBS}"
    112514770  else
    11252     echo "$as_me:$LINENO: result: no" >&5
    11253 echo "${ECHO_T}no" >&6
     4771    echo "$ac_t""no" 1>&6
    112544772  fi
    112554773elif  test "${with_libfac}" = yes; then
    112564774  if (test "${will_have_factory}" = yes) && \
    112574775     (test "$ac_libfac_ok" =  yes || test "$enable_libfac" = yes); then
    11258     echo "$as_me:$LINENO: result: yes" >&5
    11259 echo "${ECHO_T}yes" >&6
    11260     cat >>confdefs.h <<\_ACEOF
     4776    echo "$ac_t""yes" 1>&6
     4777    cat >> confdefs.h <<\EOF
    112614778#define HAVE_LIBFAC_P 1
    11262 _ACEOF
     4779EOF
    112634780
    112644781    NEED_LIBS="-lsingfac ${NEED_LIBS}"
    112654782  else
    11266     echo "$as_me:$LINENO: result: no" >&5
    11267 echo "${ECHO_T}no" >&6
    11268     { { echo "$as_me:$LINENO: error: can not build with libfac" >&5
    11269 echo "$as_me: error: can not build with libfac" >&2;}
    11270    { (exit 1); exit 1; }; }
     4783    echo "$ac_t""no" 1>&6
     4784    { echo "configure: error: can not build with libfac" 1>&2; exit 1; }
    112714785  fi
    112724786else
    11273   echo "$as_me:$LINENO: result: no" >&5
    11274 echo "${ECHO_T}no" >&6
    11275 fi
    11276 
    11277 
    11278 
    11279 
    11280 echo "$as_me:$LINENO: checking whether to have dbm links" >&5
    11281 echo $ECHO_N "checking whether to have dbm links... $ECHO_C" >&6
     4787  echo "$ac_t""no" 1>&6
     4788fi
     4789
     4790
     4791
     4792
     4793echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
     4794echo "configure:4795: checking whether to have dbm links" >&5
    112824795if test "$with_dbm" != no; then
    11283   cat >>confdefs.h <<\_ACEOF
     4796  cat >> confdefs.h <<\EOF
    112844797#define HAVE_DBM 1
    11285 _ACEOF
    11286 
    11287   echo "$as_me:$LINENO: result: yes" >&5
    11288 echo "${ECHO_T}yes" >&6
    11289 else
    11290   echo "$as_me:$LINENO: result: no" >&5
    11291 echo "${ECHO_T}no" >&6
    11292 fi
    11293 
    11294 echo "$as_me:$LINENO: checking whether to have namespaces" >&5
    11295 echo $ECHO_N "checking whether to have namespaces... $ECHO_C" >&6
     4798EOF
     4799
     4800  echo "$ac_t""yes" 1>&6
     4801else
     4802  echo "$ac_t""no" 1>&6
     4803fi
     4804
     4805echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
     4806echo "configure:4807: checking whether to have namespaces" >&5
    112964807if test "$with_namespaces" != no; then
    11297   echo "$as_me:$LINENO: result: yes" >&5
    11298 echo "${ECHO_T}yes" >&6
    11299   cat >>confdefs.h <<\_ACEOF
     4808  echo "$ac_t""yes" 1>&6
     4809  cat >> confdefs.h <<\EOF
    113004810#define HAVE_NS 1
    11301 _ACEOF
    11302 
    11303 else
    11304   echo "$as_me:$LINENO: result: no" >&5
    11305 echo "${ECHO_T}no" >&6
    11306 fi
    11307 
    11308 echo "$as_me:$LINENO: checking whether to have dynamic modules" >&5
    11309 echo $ECHO_N "checking whether to have dynamic modules... $ECHO_C" >&6
     4811EOF
     4812
     4813else
     4814  echo "$ac_t""no" 1>&6
     4815fi
     4816
     4817echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
     4818echo "configure:4819: checking whether to have dynamic modules" >&5
    113104819if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    11311   echo "$as_me:$LINENO: result: no" >&5
    11312 echo "${ECHO_T}no" >&6
    11313 else
    11314   cat >>confdefs.h <<\_ACEOF
     4820  echo "$ac_t""no" 1>&6
     4821else
     4822  cat >> confdefs.h <<\EOF
    113154823#define HAVE_DYNAMIC_LOADING 1
    11316 _ACEOF
    11317 
    11318   echo "$as_me:$LINENO: result: yes" >&5
    11319 echo "${ECHO_T}yes" >&6
    11320 fi
    11321 
    11322 echo "$as_me:$LINENO: checking whether to have dynamic kernel" >&5
    11323 echo $ECHO_N "checking whether to have dynamic kernel... $ECHO_C" >&6
     4824EOF
     4825
     4826  echo "$ac_t""yes" 1>&6
     4827fi
     4828
     4829echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
     4830echo "configure:4831: checking whether to have dynamic kernel" >&5
    113244831if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    113254832  DL_KERNEL=1
    11326 
    11327   echo "$as_me:$LINENO: result: yes" >&5
    11328 echo "${ECHO_T}yes" >&6
    11329 else
    11330   echo "$as_me:$LINENO: result: no" >&5
    11331 echo "${ECHO_T}no" >&6
    11332 fi
    11333 
    11334 echo "$as_me:$LINENO: checking whether to have Plural" >&5
    11335 echo $ECHO_N "checking whether to have Plural... $ECHO_C" >&6
     4833 
     4834  echo "$ac_t""yes" 1>&6
     4835else
     4836  echo "$ac_t""no" 1>&6
     4837fi
     4838
     4839echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
     4840echo "configure:4841: checking whether to have Plural" >&5
    113364841if test "$with_Plural" != yes && test "$enable_Plural" != yes; then
    11337   echo "$as_me:$LINENO: result: no" >&5
    11338 echo "${ECHO_T}no" >&6
    11339 else
    11340   cat >>confdefs.h <<\_ACEOF
     4842  echo "$ac_t""no" 1>&6
     4843else
     4844  cat >> confdefs.h <<\EOF
    113414845#define HAVE_PLURAL 1
    11342 _ACEOF
    11343 
    11344   echo "$as_me:$LINENO: result: yes" >&5
    11345 echo "${ECHO_T}yes" >&6
     4846EOF
     4847
     4848  echo "$ac_t""yes" 1>&6
    113464849  PLURAL=1
    11347 
     4850 
    113484851fi
    113494852
     
    113554858fi
    113564859
    11357           ac_config_files="$ac_config_files ${OUTPUT_MAKEFILES}"
    11358           ac_config_commands="$ac_config_commands default"
    11359 cat >confcache <<\_ACEOF
     4860trap '' 1 2 15
     4861cat > confcache <<\EOF
    113604862# This file is a shell script that caches the results of configure
    113614863# tests run on this system so they can be shared between configure
    11362 # scripts and configure runs, see configure's option --config-cache.
    11363 # It is not useful on other systems.  If it contains results you don't
    11364 # want to keep, you may remove or edit it.
     4864# scripts and configure runs.  It is not useful on other systems.
     4865# If it contains results you don't want to keep, you may remove or edit it.
    113654866#
    11366 # config.status only pays attention to the cache file if you give it
    11367 # the --recheck option to rerun configure.
     4867# By default, configure uses ./config.cache as the cache file,
     4868# creating it if it does not exist already.  You can give configure
     4869# the --cache-file=FILE option to use a different cache file; that is
     4870# what configure does when it calls configure scripts in
     4871# subdirectories, so they share the cache.
     4872# Giving --cache-file=/dev/null disables caching, for debugging configure.
     4873# config.status only pays attention to the cache file if you give it the
     4874# --recheck option to rerun configure.
    113684875#
    11369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
    11370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
    11371 # following values.
    11372 
    11373 _ACEOF
    11374 
     4876EOF
    113754877# The following way of writing the cache mishandles newlines in values,
    113764878# but we know of no workaround that is simple, portable, and efficient.
     
    113784880# Ultrix sh set writes to stderr and can't be redirected directly,
    113794881# and sets the high bit in the cache file unless we assign to the vars.
    11380 {
    11381   (set) 2>&1 |
    11382     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    11383     *ac_space=\ *)
    11384       # `set' does not quote correctly, so add quotes (double-quote
    11385       # substitution turns \\\\ into \\, and sed turns \\ into \).
    11386       sed -n \
    11387         "s/'/'\\\\''/g;
    11388           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    11389       ;;
    11390     *)
    11391       # `set' quotes correctly as required by POSIX, so do not add quotes.
    11392       sed -n \
    11393         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    11394       ;;
    11395     esac;
    11396 } |
    11397   sed '
    11398      t clear
    11399      : clear
    11400      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    11401      t end
    11402      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    11403      : end' >>confcache
    11404 if diff $cache_file confcache >/dev/null 2>&1; then :; else
     4882(set) 2>&1 |
     4883  case `(ac_space=' '; set | grep ac_space) 2>&1` in
     4884  *ac_space=\ *)
     4885    # `set' does not quote correctly, so add quotes (double-quote substitution
     4886    # turns \\\\ into \\, and sed turns \\ into \).
     4887    sed -n \
     4888      -e "s/'/'\\\\''/g" \
     4889      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     4890    ;;
     4891  *)
     4892    # `set' quotes correctly as required by POSIX, so do not add quotes.
     4893    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     4894    ;;
     4895  esac >> confcache
     4896if cmp -s $cache_file confcache; then
     4897  :
     4898else
    114054899  if test -w $cache_file; then
    11406     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    11407     cat confcache >$cache_file
     4900    echo "updating cache $cache_file"
     4901    cat confcache > $cache_file
    114084902  else
    114094903    echo "not updating unwritable cache $cache_file"
     
    114124906rm -f confcache
    114134907
     4908trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
     4909
    114144910test "x$prefix" = xNONE && prefix=$ac_default_prefix
    114154911# Let make expand exec_prefix.
    114164912test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    114174913
    11418 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    11419 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    11420 # trailing colons and then remove the whole line if VPATH becomes empty
    11421 # (actually we leave an empty line to preserve line numbers).
     4914# Any assignment to VPATH causes Sun make to only execute
     4915# the first set of double-colon rules, so remove it if not needed.
     4916# If there is a colon in the path, we need to keep it.
    114224917if test "x$srcdir" = x.; then
    11423   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    11424 s/:*\$(srcdir):*/:/;
    11425 s/:*\${srcdir}:*/:/;
    11426 s/:*@srcdir@:*/:/;
    11427 s/^\([^=]*=[     ]*\):*/\1/;
    11428 s/:*$//;
    11429 s/^[^=]*=[       ]*$//;
    11430 }'
    11431 fi
     4918  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
     4919fi
     4920
     4921trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
    114324922
    114334923DEFS=-DHAVE_CONFIG_H
    114344924
    11435 ac_libobjs=
    11436 ac_ltlibobjs=
    11437 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    11438   # 1. Remove the extension, and $U if already installed.
    11439   ac_i=`echo "$ac_i" |
    11440          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    11441   # 2. Add them.
    11442   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    11443   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     4925# Without the "./", some shells look in PATH for config.status.
     4926: ${CONFIG_STATUS=./config.status}
     4927
     4928echo creating $CONFIG_STATUS
     4929rm -f $CONFIG_STATUS
     4930cat > $CONFIG_STATUS <<EOF
     4931#! /bin/sh
     4932# Generated automatically by configure.
     4933# Run this file to recreate the current configuration.
     4934# This directory was configured as follows,
     4935# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     4936#
     4937# $0 $ac_configure_args
     4938#
     4939# Compiler output produced by configure, useful for debugging
     4940# configure, is in ./config.log if it exists.
     4941
     4942ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
     4943for ac_option
     4944do
     4945  case "\$ac_option" in
     4946  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     4947    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
     4948    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
     4949  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
     4950    echo "$CONFIG_STATUS generated by autoconf version 2.13"
     4951    exit 0 ;;
     4952  -help | --help | --hel | --he | --h)
     4953    echo "\$ac_cs_usage"; exit 0 ;;
     4954  *) echo "\$ac_cs_usage"; exit 1 ;;
     4955  esac
    114444956done
    11445 LIBOBJS=$ac_libobjs
    11446 
    11447 LTLIBOBJS=$ac_ltlibobjs
    11448 
    11449 
    11450 
    11451 : ${CONFIG_STATUS=./config.status}
    11452 ac_clean_files_save=$ac_clean_files
    11453 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    11454 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    11455 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    11456 cat >$CONFIG_STATUS <<_ACEOF
    11457 #! $SHELL
    11458 # Generated by $as_me.
    11459 # Run this file to recreate the current configuration.
    11460 # Compiler output produced by configure, useful for debugging
    11461 # configure, is in config.log if it exists.
    11462 
    11463 debug=false
    11464 ac_cs_recheck=false
    11465 ac_cs_silent=false
    11466 SHELL=\${CONFIG_SHELL-$SHELL}
    11467 _ACEOF
    11468 
    11469 cat >>$CONFIG_STATUS <<\_ACEOF
    11470 ## --------------------- ##
    11471 ## M4sh Initialization.  ##
    11472 ## --------------------- ##
    11473 
    11474 # Be Bourne compatible
    11475 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    11476   emulate sh
    11477   NULLCMD=:
    11478   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    11479   # is contrary to our usage.  Disable this feature.
    11480   alias -g '${1+"$@"}'='"$@"'
    11481 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    11482   set -o posix
    11483 fi
    11484 DUALCASE=1; export DUALCASE # for MKS sh
    11485 
    11486 # Support unset when possible.
    11487 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    11488   as_unset=unset
    11489 else
    11490   as_unset=false
    11491 fi
    11492 
    11493 
    11494 # Work around bugs in pre-3.0 UWIN ksh.
    11495 $as_unset ENV MAIL MAILPATH
    11496 PS1='$ '
    11497 PS2='> '
    11498 PS4='+ '
    11499 
    11500 # NLS nuisances.
    11501 for as_var in \
    11502   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    11503   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    11504   LC_TELEPHONE LC_TIME
    11505 do
    11506   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    11507     eval $as_var=C; export $as_var
     4957
     4958ac_given_srcdir=$srcdir
     4959ac_given_INSTALL="$INSTALL"
     4960
     4961trap 'rm -fr `echo "${OUTPUT_MAKEFILES} mod2.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     4962EOF
     4963cat >> $CONFIG_STATUS <<EOF
     4964
     4965# Protect against being on the right side of a sed subst in config.status.
     4966sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
     4967 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
     4968$ac_vpsub
     4969$extrasub
     4970s%@SHELL@%$SHELL%g
     4971s%@CFLAGS@%$CFLAGS%g
     4972s%@CPPFLAGS@%$CPPFLAGS%g
     4973s%@CXXFLAGS@%$CXXFLAGS%g
     4974s%@FFLAGS@%$FFLAGS%g
     4975s%@DEFS@%$DEFS%g
     4976s%@LDFLAGS@%$LDFLAGS%g
     4977s%@LIBS@%$LIBS%g
     4978s%@exec_prefix@%$exec_prefix%g
     4979s%@prefix@%$prefix%g
     4980s%@program_transform_name@%$program_transform_name%g
     4981s%@bindir@%$bindir%g
     4982s%@sbindir@%$sbindir%g
     4983s%@libexecdir@%$libexecdir%g
     4984s%@datadir@%$datadir%g
     4985s%@sysconfdir@%$sysconfdir%g
     4986s%@sharedstatedir@%$sharedstatedir%g
     4987s%@localstatedir@%$localstatedir%g
     4988s%@libdir@%$libdir%g
     4989s%@includedir@%$includedir%g
     4990s%@oldincludedir@%$oldincludedir%g
     4991s%@infodir@%$infodir%g
     4992s%@mandir@%$mandir%g
     4993s%@SINGUNAME@%$SINGUNAME%g
     4994s%@EXEC_EXT@%$EXEC_EXT%g
     4995s%@SING_UNAME@%$SING_UNAME%g
     4996s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g
     4997s%@VERSION_DATE@%$VERSION_DATE%g
     4998s%@SINGULAR_MAJOR_VERSION@%$SINGULAR_MAJOR_VERSION%g
     4999s%@SINGULAR_MINOR_VERSION@%$SINGULAR_MINOR_VERSION%g
     5000s%@SINGULAR_SUB_VERSION@%$SINGULAR_SUB_VERSION%g
     5001s%@CC@%$CC%g
     5002s%@CPP@%$CPP%g
     5003s%@CXX@%$CXX%g
     5004s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     5005s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     5006s%@INSTALL_DATA@%$INSTALL_DATA%g
     5007s%@PIPE@%$PIPE%g
     5008s%@CXXTEMPLFLAGS@%$CXXTEMPLFLAGS%g
     5009s%@CXXNOOPTFLAGS@%$CXXNOOPTFLAGS%g
     5010s%@STATIC_LDFLAGS@%$STATIC_LDFLAGS%g
     5011s%@SET_MAKE@%$SET_MAKE%g
     5012s%@SINGULAR@%$SINGULAR%g
     5013s%@LEX@%$LEX%g
     5014s%@BISON@%$BISON%g
     5015s%@LN_S@%$LN_S%g
     5016s%@PERL@%$PERL%g
     5017s%@LD_DYN_FLAGS@%$LD_DYN_FLAGS%g
     5018s%@SFLAGS@%$SFLAGS%g
     5019s%@SLDFLAGS@%$SLDFLAGS%g
     5020s%@LD@%$LD%g
     5021s%@ALLOCA@%$ALLOCA%g
     5022s%@CXXCPP@%$CXXCPP%g
     5023s%@HAVE_MPSR@%$HAVE_MPSR%g
     5024s%@MP_LIBS@%$MP_LIBS%g
     5025s%@NEED_LIBS@%$NEED_LIBS%g
     5026s%@DL_KERNEL@%$DL_KERNEL%g
     5027s%@PLURAL@%$PLURAL%g
     5028
     5029CEOF
     5030EOF
     5031
     5032cat >> $CONFIG_STATUS <<\EOF
     5033
     5034# Split the substitutions into bite-sized pieces for seds with
     5035# small command number limits, like on Digital OSF/1 and HP-UX.
     5036ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     5037ac_file=1 # Number of current file.
     5038ac_beg=1 # First line for current file.
     5039ac_end=$ac_max_sed_cmds # Line after last line for current file.
     5040ac_more_lines=:
     5041ac_sed_cmds=""
     5042while $ac_more_lines; do
     5043  if test $ac_beg -gt 1; then
     5044    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
    115085045  else
    11509     $as_unset $as_var
     5046    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
     5047  fi
     5048  if test ! -s conftest.s$ac_file; then
     5049    ac_more_lines=false
     5050    rm -f conftest.s$ac_file
     5051  else
     5052    if test -z "$ac_sed_cmds"; then
     5053      ac_sed_cmds="sed -f conftest.s$ac_file"
     5054    else
     5055      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
     5056    fi
     5057    ac_file=`expr $ac_file + 1`
     5058    ac_beg=$ac_end
     5059    ac_end=`expr $ac_end + $ac_max_sed_cmds`
    115105060  fi
    115115061done
    11512 
    11513 # Required to use basename.
    11514 if expr a : '\(a\)' >/dev/null 2>&1; then
    11515   as_expr=expr
    11516 else
    11517   as_expr=false
    11518 fi
    11519 
    11520 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    11521   as_basename=basename
    11522 else
    11523   as_basename=false
    11524 fi
    11525 
    11526 
    11527 # Name of the executable.
    11528 as_me=`$as_basename "$0" ||
    11529 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    11530          X"$0" : 'X\(//\)$' \| \
    11531          X"$0" : 'X\(/\)$' \| \
    11532          .     : '\(.\)' 2>/dev/null ||
    11533 echo X/"$0" |
    11534     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    11535           /^X\/\(\/\/\)$/{ s//\1/; q; }
    11536           /^X\/\(\/\).*/{ s//\1/; q; }
    11537           s/.*/./; q'`
    11538 
    11539 
    11540 # PATH needs CR, and LINENO needs CR and PATH.
    11541 # Avoid depending upon Character Ranges.
    11542 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    11543 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    11544 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    11545 as_cr_digits='0123456789'
    11546 as_cr_alnum=$as_cr_Letters$as_cr_digits
    11547 
    11548 # The user is always right.
    11549 if test "${PATH_SEPARATOR+set}" != set; then
    11550   echo "#! /bin/sh" >conf$$.sh
    11551   echo  "exit 0"   >>conf$$.sh
    11552   chmod +x conf$$.sh
    11553   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    11554     PATH_SEPARATOR=';'
     5062if test -z "$ac_sed_cmds"; then
     5063  ac_sed_cmds=cat
     5064fi
     5065EOF
     5066
     5067cat >> $CONFIG_STATUS <<EOF
     5068
     5069CONFIG_FILES=\${CONFIG_FILES-"${OUTPUT_MAKEFILES}"}
     5070EOF
     5071cat >> $CONFIG_STATUS <<\EOF
     5072for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
     5073  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     5074  case "$ac_file" in
     5075  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     5076       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     5077  *) ac_file_in="${ac_file}.in" ;;
     5078  esac
     5079
     5080  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
     5081
     5082  # Remove last slash and all that follows it.  Not all systems have dirname.
     5083  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     5084  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     5085    # The file is in a subdirectory.
     5086    test ! -d "$ac_dir" && mkdir "$ac_dir"
     5087    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
     5088    # A "../" for each directory in $ac_dir_suffix.
     5089    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
    115555090  else
    11556     PATH_SEPARATOR=:
     5091    ac_dir_suffix= ac_dots=
    115575092  fi
    11558   rm -f conf$$.sh
    11559 fi
    11560 
    11561 
    11562   as_lineno_1=$LINENO
    11563   as_lineno_2=$LINENO
    11564   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    11565   test "x$as_lineno_1" != "x$as_lineno_2" &&
    11566   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    11567   # Find who we are.  Look in the path if we contain no path at all
    11568   # relative or not.
    11569   case $0 in
    11570     *[\\/]* ) as_myself=$0 ;;
    11571     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11572 for as_dir in $PATH
    11573 do
    11574   IFS=$as_save_IFS
    11575   test -z "$as_dir" && as_dir=.
    11576   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11577 done
    11578 
    11579        ;;
     5093
     5094  case "$ac_given_srcdir" in
     5095  .)  srcdir=.
     5096      if test -z "$ac_dots"; then top_srcdir=.
     5097      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
     5098  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
     5099  *) # Relative path.
     5100    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     5101    top_srcdir="$ac_dots$ac_given_srcdir" ;;
    115805102  esac
    11581   # We did not find ourselves, most probably we were run as `sh COMMAND'
    11582   # in which case we are not to be found in the path.
    11583   if test "x$as_myself" = x; then
    11584     as_myself=$0
    11585   fi
    11586   if test ! -f "$as_myself"; then
    11587     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    11588 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    11589    { (exit 1); exit 1; }; }
    11590   fi
    11591   case $CONFIG_SHELL in
    11592   '')
    11593     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11594 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    11595 do
    11596   IFS=$as_save_IFS
    11597   test -z "$as_dir" && as_dir=.
    11598   for as_base in sh bash ksh sh5; do
    11599          case $as_dir in
    11600          /*)
    11601            if ("$as_dir/$as_base" -c '
    11602   as_lineno_1=$LINENO
    11603   as_lineno_2=$LINENO
    11604   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    11605   test "x$as_lineno_1" != "x$as_lineno_2" &&
    11606   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    11607              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    11608              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    11609              CONFIG_SHELL=$as_dir/$as_base
    11610              export CONFIG_SHELL
    11611              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    11612            fi;;
    11613          esac
    11614        done
    11615 done
    11616 ;;
     5103
     5104  case "$ac_given_INSTALL" in
     5105  [/$]*) INSTALL="$ac_given_INSTALL" ;;
     5106  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
    116175107  esac
    116185108
    11619   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    11620   # uniformly replaced by the line number.  The first 'sed' inserts a
    11621   # line-number line before each line; the second 'sed' does the real
    11622   # work.  The second script uses 'N' to pair each line-number line
    11623   # with the numbered line, and appends trailing '-' during
    11624   # substitution so that $LINENO is not a special case at line end.
    11625   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    11626   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    11627   sed '=' <$as_myself |
    11628     sed '
    11629       N
    11630       s,$,-,
    11631       : loop
    11632       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    11633       t loop
    11634       s,-$,,
    11635       s,^['$as_cr_digits']*\n,,
    11636     ' >$as_me.lineno &&
    11637   chmod +x $as_me.lineno ||
    11638     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    11639 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    11640    { (exit 1); exit 1; }; }
    11641 
    11642   # Don't try to exec as it changes $[0], causing all sort of problems
    11643   # (the dirname of $[0] is not the place where we might find the
    11644   # original and so on.  Autoconf is especially sensible to this).
    11645   . ./$as_me.lineno
    11646   # Exit status is that of the last command.
    11647   exit
    11648 }
    11649 
    11650 
    11651 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    11652   *c*,-n*) ECHO_N= ECHO_C='
    11653 ' ECHO_T='      ' ;;
    11654   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    11655   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    11656 esac
    11657 
    11658 if expr a : '\(a\)' >/dev/null 2>&1; then
    11659   as_expr=expr
    11660 else
    11661   as_expr=false
    11662 fi
    11663 
    11664 rm -f conf$$ conf$$.exe conf$$.file
    11665 echo >conf$$.file
    11666 if ln -s conf$$.file conf$$ 2>/dev/null; then
    11667   # We could just check for DJGPP; but this test a) works b) is more generic
    11668   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    11669   if test -f conf$$.exe; then
    11670     # Don't use ln at all; we don't have any links
    11671     as_ln_s='cp -p'
    11672   else
    11673     as_ln_s='ln -s'
    11674   fi
    11675 elif ln conf$$.file conf$$ 2>/dev/null; then
    11676   as_ln_s=ln
    11677 else
    11678   as_ln_s='cp -p'
    11679 fi
    11680 rm -f conf$$ conf$$.exe conf$$.file
    11681 
    11682 if mkdir -p . 2>/dev/null; then
    11683   as_mkdir_p=:
    11684 else
    11685   test -d ./-p && rmdir ./-p
    11686   as_mkdir_p=false
    11687 fi
    11688 
    11689 as_executable_p="test -f"
    11690 
    11691 # Sed expression to map a string onto a valid CPP name.
    11692 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    11693 
    11694 # Sed expression to map a string onto a valid variable name.
    11695 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    11696 
    11697 
    11698 # IFS
    11699 # We need space, tab and new line, in precisely that order.
    11700 as_nl='
    11701 '
    11702 IFS="   $as_nl"
    11703 
    11704 # CDPATH.
    11705 $as_unset CDPATH
    11706 
    11707 exec 6>&1
    11708 
    11709 # Open the log real soon, to keep \$[0] and so on meaningful, and to
    11710 # report actual input values of CONFIG_FILES etc. instead of their
    11711 # values after options handling.  Logging --version etc. is OK.
    11712 exec 5>>config.log
    11713 {
    11714   echo
    11715   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    11716 ## Running $as_me. ##
    11717 _ASBOX
    11718 } >&5
    11719 cat >&5 <<_CSEOF
    11720 
    11721 This file was extended by $as_me, which was
    11722 generated by GNU Autoconf 2.59.  Invocation command line was
    11723 
    11724   CONFIG_FILES    = $CONFIG_FILES
    11725   CONFIG_HEADERS  = $CONFIG_HEADERS
    11726   CONFIG_LINKS    = $CONFIG_LINKS
    11727   CONFIG_COMMANDS = $CONFIG_COMMANDS
    11728   $ $0 $@
    11729 
    11730 _CSEOF
    11731 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    11732 echo >&5
    11733 _ACEOF
    11734 
    11735 # Files that config.status was made for.
    11736 if test -n "$ac_config_files"; then
    11737   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    11738 fi
    11739 
    11740 if test -n "$ac_config_headers"; then
    11741   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    11742 fi
    11743 
    11744 if test -n "$ac_config_links"; then
    11745   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    11746 fi
    11747 
    11748 if test -n "$ac_config_commands"; then
    11749   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    11750 fi
    11751 
    11752 cat >>$CONFIG_STATUS <<\_ACEOF
    11753 
    11754 ac_cs_usage="\
    11755 \`$as_me' instantiates files from templates according to the
    11756 current configuration.
    11757 
    11758 Usage: $0 [OPTIONS] [FILE]...
    11759 
    11760   -h, --help       print this help, then exit
    11761   -V, --version    print version number, then exit
    11762   -q, --quiet      do not print progress messages
    11763   -d, --debug      don't remove temporary files
    11764       --recheck    update $as_me by reconfiguring in the same conditions
    11765   --file=FILE[:TEMPLATE]
    11766                    instantiate the configuration file FILE
    11767   --header=FILE[:TEMPLATE]
    11768                    instantiate the configuration header FILE
    11769 
    11770 Configuration files:
    11771 $config_files
    11772 
    11773 Configuration headers:
    11774 $config_headers
    11775 
    11776 Configuration commands:
    11777 $config_commands
    11778 
    11779 Report bugs to <bug-autoconf@gnu.org>."
    11780 _ACEOF
    11781 
    11782 cat >>$CONFIG_STATUS <<_ACEOF
    11783 ac_cs_version="\\
    11784 config.status
    11785 configured by $0, generated by GNU Autoconf 2.59,
    11786   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    11787 
    11788 Copyright (C) 2003 Free Software Foundation, Inc.
    11789 This config.status script is free software; the Free Software Foundation
    11790 gives unlimited permission to copy, distribute and modify it."
    11791 srcdir=$srcdir
    11792 INSTALL="$INSTALL"
    11793 _ACEOF
    11794 
    11795 cat >>$CONFIG_STATUS <<\_ACEOF
    11796 # If no file are specified by the user, then we need to provide default
    11797 # value.  By we need to know if files were specified by the user.
    11798 ac_need_defaults=:
    11799 while test $# != 0
    11800 do
    11801   case $1 in
    11802   --*=*)
    11803     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    11804     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    11805     ac_shift=:
    11806     ;;
    11807   -*)
    11808     ac_option=$1
    11809     ac_optarg=$2
    11810     ac_shift=shift
    11811     ;;
    11812   *) # This is not an option, so the user has probably given explicit
    11813      # arguments.
    11814      ac_option=$1
    11815      ac_need_defaults=false;;
     5109  echo creating "$ac_file"
     5110  rm -f "$ac_file"
     5111  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
     5112  case "$ac_file" in
     5113  *Makefile*) ac_comsub="1i\\
     5114# $configure_input" ;;
     5115  *) ac_comsub= ;;
    118165116  esac
    118175117
    11818   case $ac_option in
    11819   # Handling of the options.
    11820 _ACEOF
    11821 cat >>$CONFIG_STATUS <<\_ACEOF
    11822   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    11823     ac_cs_recheck=: ;;
    11824   --version | --vers* | -V )
    11825     echo "$ac_cs_version"; exit 0 ;;
    11826   --he | --h)
    11827     # Conflict between --help and --header
    11828     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    11829 Try \`$0 --help' for more information." >&5
    11830 echo "$as_me: error: ambiguous option: $1
    11831 Try \`$0 --help' for more information." >&2;}
    11832    { (exit 1); exit 1; }; };;
    11833   --help | --hel | -h )
    11834     echo "$ac_cs_usage"; exit 0 ;;
    11835   --debug | --d* | -d )
    11836     debug=: ;;
    11837   --file | --fil | --fi | --f )
    11838     $ac_shift
    11839     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    11840     ac_need_defaults=false;;
    11841   --header | --heade | --head | --hea )
    11842     $ac_shift
    11843     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    11844     ac_need_defaults=false;;
    11845   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    11846   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    11847     ac_cs_silent=: ;;
    11848 
    11849   # This is an error.
    11850   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    11851 Try \`$0 --help' for more information." >&5
    11852 echo "$as_me: error: unrecognized option: $1
    11853 Try \`$0 --help' for more information." >&2;}
    11854    { (exit 1); exit 1; }; } ;;
    11855 
    11856   *) ac_config_targets="$ac_config_targets $1" ;;
    11857 
    11858   esac
    11859   shift
    11860 done
    11861 
    11862 ac_configure_extra_args=
    11863 
    11864 if $ac_cs_silent; then
    11865   exec 6>/dev/null
    11866   ac_configure_extra_args="$ac_configure_extra_args --silent"
    11867 fi
    11868 
    11869 _ACEOF
    11870 cat >>$CONFIG_STATUS <<_ACEOF
    11871 if \$ac_cs_recheck; then
    11872   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    11873   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    11874 fi
    11875 
    11876 _ACEOF
    11877 
    11878 
    11879 
    11880 
    11881 
    11882 cat >>$CONFIG_STATUS <<\_ACEOF
    11883 for ac_config_target in $ac_config_targets
    11884 do
    11885   case "$ac_config_target" in
    11886   # Handling of arguments.
    11887   "${OUTPUT_MAKEFILES}" ) CONFIG_FILES="$CONFIG_FILES ${OUTPUT_MAKEFILES}" ;;
    11888   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    11889   "mod2.h" ) CONFIG_HEADERS="$CONFIG_HEADERS mod2.h" ;;
    11890   "../kernel/mod2.h" ) CONFIG_HEADERS="$CONFIG_HEADERS ../kernel/mod2.h" ;;
    11891   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    11892 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    11893    { (exit 1); exit 1; }; };;
    11894   esac
    11895 done
    11896 
    11897 # If the user did not use the arguments to specify the items to instantiate,
    11898 # then the envvar interface is used.  Set only those that are not.
    11899 # We use the long form for the default assignment because of an extremely
    11900 # bizarre bug on SunOS 4.1.3.
    11901 if $ac_need_defaults; then
    11902   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    11903   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    11904   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
    11905 fi
    11906 
    11907 # Have a temporary directory for convenience.  Make it in the build tree
    11908 # simply because there is no reason to put it here, and in addition,
    11909 # creating and moving files from /tmp can sometimes cause problems.
    11910 # Create a temporary directory, and hook for its removal unless debugging.
    11911 $debug ||
    11912 {
    11913   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    11914   trap '{ (exit 1); exit 1; }' 1 2 13 15
    11915 }
    11916 
    11917 # Create a (secure) tmp directory for tmp files.
    11918 
    11919 {
    11920   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    11921   test -n "$tmp" && test -d "$tmp"
    11922 }  ||
    11923 {
    11924   tmp=./confstat$$-$RANDOM
    11925   (umask 077 && mkdir $tmp)
    11926 } ||
    11927 {
    11928    echo "$me: cannot create a temporary directory in ." >&2
    11929    { (exit 1); exit 1; }
    11930 }
    11931 
    11932 _ACEOF
    11933 
    11934 cat >>$CONFIG_STATUS <<_ACEOF
    11935 
    11936 #
    11937 # CONFIG_FILES section.
    11938 #
    11939 
    11940 # No need to generate the scripts if there are no CONFIG_FILES.
    11941 # This happens for instance when ./config.status config.h
    11942 if test -n "\$CONFIG_FILES"; then
    11943   # Protect against being on the right side of a sed subst in config.status.
    11944   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    11945    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    11946 s,@SHELL@,$SHELL,;t t
    11947 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    11948 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    11949 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    11950 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    11951 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    11952 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    11953 s,@exec_prefix@,$exec_prefix,;t t
    11954 s,@prefix@,$prefix,;t t
    11955 s,@program_transform_name@,$program_transform_name,;t t
    11956 s,@bindir@,$bindir,;t t
    11957 s,@sbindir@,$sbindir,;t t
    11958 s,@libexecdir@,$libexecdir,;t t
    11959 s,@datadir@,$datadir,;t t
    11960 s,@sysconfdir@,$sysconfdir,;t t
    11961 s,@sharedstatedir@,$sharedstatedir,;t t
    11962 s,@localstatedir@,$localstatedir,;t t
    11963 s,@libdir@,$libdir,;t t
    11964 s,@includedir@,$includedir,;t t
    11965 s,@oldincludedir@,$oldincludedir,;t t
    11966 s,@infodir@,$infodir,;t t
    11967 s,@mandir@,$mandir,;t t
    11968 s,@build_alias@,$build_alias,;t t
    11969 s,@host_alias@,$host_alias,;t t
    11970 s,@target_alias@,$target_alias,;t t
    11971 s,@DEFS@,$DEFS,;t t
    11972 s,@ECHO_C@,$ECHO_C,;t t
    11973 s,@ECHO_N@,$ECHO_N,;t t
    11974 s,@ECHO_T@,$ECHO_T,;t t
    11975 s,@LIBS@,$LIBS,;t t
    11976 s,@SINGUNAME@,$SINGUNAME,;t t
    11977 s,@EXEC_EXT@,$EXEC_EXT,;t t
    11978 s,@SING_UNAME@,$SING_UNAME,;t t
    11979 s,@SINGULAR_VERSION@,$SINGULAR_VERSION,;t t
    11980 s,@VERSION_DATE@,$VERSION_DATE,;t t
    11981 s,@SINGULAR_MAJOR_VERSION@,$SINGULAR_MAJOR_VERSION,;t t
    11982 s,@SINGULAR_MINOR_VERSION@,$SINGULAR_MINOR_VERSION,;t t
    11983 s,@SINGULAR_SUB_VERSION@,$SINGULAR_SUB_VERSION,;t t
    11984 s,@CC@,$CC,;t t
    11985 s,@CFLAGS@,$CFLAGS,;t t
    11986 s,@LDFLAGS@,$LDFLAGS,;t t
    11987 s,@CPPFLAGS@,$CPPFLAGS,;t t
    11988 s,@ac_ct_CC@,$ac_ct_CC,;t t
    11989 s,@EXEEXT@,$EXEEXT,;t t
    11990 s,@OBJEXT@,$OBJEXT,;t t
    11991 s,@CPP@,$CPP,;t t
    11992 s,@CXX@,$CXX,;t t
    11993 s,@CXXFLAGS@,$CXXFLAGS,;t t
    11994 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    11995 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    11996 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    11997 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    11998 s,@EGREP@,$EGREP,;t t
    11999 s,@PIPE@,$PIPE,;t t
    12000 s,@CXXTEMPLFLAGS@,$CXXTEMPLFLAGS,;t t
    12001 s,@CXXNOOPTFLAGS@,$CXXNOOPTFLAGS,;t t
    12002 s,@STATIC_LDFLAGS@,$STATIC_LDFLAGS,;t t
    12003 s,@SET_MAKE@,$SET_MAKE,;t t
    12004 s,@SINGULAR@,$SINGULAR,;t t
    12005 s,@LEX@,$LEX,;t t
    12006 s,@BISON@,$BISON,;t t
    12007 s,@LN_S@,$LN_S,;t t
    12008 s,@PERL@,$PERL,;t t
    12009 s,@LD_DYN_FLAGS@,$LD_DYN_FLAGS,;t t
    12010 s,@SFLAGS@,$SFLAGS,;t t
    12011 s,@SLDFLAGS@,$SLDFLAGS,;t t
    12012 s,@LD@,$LD,;t t
    12013 s,@ALLOCA@,$ALLOCA,;t t
    12014 s,@CXXCPP@,$CXXCPP,;t t
    12015 s,@HAVE_MPSR@,$HAVE_MPSR,;t t
    12016 s,@MP_LIBS@,$MP_LIBS,;t t
    12017 s,@NEED_LIBS@,$NEED_LIBS,;t t
    12018 s,@DL_KERNEL@,$DL_KERNEL,;t t
    12019 s,@PLURAL@,$PLURAL,;t t
    12020 s,@LIBOBJS@,$LIBOBJS,;t t
    12021 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    12022 CEOF
    12023 
    12024 _ACEOF
    12025 
    12026   cat >>$CONFIG_STATUS <<\_ACEOF
    12027   # Split the substitutions into bite-sized pieces for seds with
    12028   # small command number limits, like on Digital OSF/1 and HP-UX.
    12029   ac_max_sed_lines=48
    12030   ac_sed_frag=1 # Number of current file.
    12031   ac_beg=1 # First line for current file.
    12032   ac_end=$ac_max_sed_lines # Line after last line for current file.
    12033   ac_more_lines=:
    12034   ac_sed_cmds=
    12035   while $ac_more_lines; do
    12036     if test $ac_beg -gt 1; then
    12037       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    12038     else
    12039       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    12040     fi
    12041     if test ! -s $tmp/subs.frag; then
    12042       ac_more_lines=false
    12043     else
    12044       # The purpose of the label and of the branching condition is to
    12045       # speed up the sed processing (if there are no `@' at all, there
    12046       # is no need to browse any of the substitutions).
    12047       # These are the two extra sed commands mentioned above.
    12048       (echo ':t
    12049   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    12050       if test -z "$ac_sed_cmds"; then
    12051         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    12052       else
    12053         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    12054       fi
    12055       ac_sed_frag=`expr $ac_sed_frag + 1`
    12056       ac_beg=$ac_end
    12057       ac_end=`expr $ac_end + $ac_max_sed_lines`
    12058     fi
    12059   done
    12060   if test -z "$ac_sed_cmds"; then
    12061     ac_sed_cmds=cat
    12062   fi
    12063 fi # test -n "$CONFIG_FILES"
    12064 
    12065 _ACEOF
    12066 cat >>$CONFIG_STATUS <<\_ACEOF
    12067 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    12068   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    12069   case $ac_file in
    12070   - | *:- | *:-:* ) # input from stdin
    12071         cat >$tmp/stdin
    12072         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    12073         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    12074   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    12075         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    12076   * )   ac_file_in=$ac_file.in ;;
    12077   esac
    12078 
    12079   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    12080   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    12081 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    12082          X"$ac_file" : 'X\(//\)[^/]' \| \
    12083          X"$ac_file" : 'X\(//\)$' \| \
    12084          X"$ac_file" : 'X\(/\)' \| \
    12085          .     : '\(.\)' 2>/dev/null ||
    12086 echo X"$ac_file" |
    12087     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    12088           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    12089           /^X\(\/\/\)$/{ s//\1/; q; }
    12090           /^X\(\/\).*/{ s//\1/; q; }
    12091           s/.*/./; q'`
    12092   { if $as_mkdir_p; then
    12093     mkdir -p "$ac_dir"
    12094   else
    12095     as_dir="$ac_dir"
    12096     as_dirs=
    12097     while test ! -d "$as_dir"; do
    12098       as_dirs="$as_dir $as_dirs"
    12099       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    12100 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    12101          X"$as_dir" : 'X\(//\)[^/]' \| \
    12102          X"$as_dir" : 'X\(//\)$' \| \
    12103          X"$as_dir" : 'X\(/\)' \| \
    12104          .     : '\(.\)' 2>/dev/null ||
    12105 echo X"$as_dir" |
    12106     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    12107           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    12108           /^X\(\/\/\)$/{ s//\1/; q; }
    12109           /^X\(\/\).*/{ s//\1/; q; }
    12110           s/.*/./; q'`
    12111     done
    12112     test ! -n "$as_dirs" || mkdir $as_dirs
    12113   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    12114 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    12115    { (exit 1); exit 1; }; }; }
    12116 
    12117   ac_builddir=.
    12118 
    12119 if test "$ac_dir" != .; then
    12120   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    12121   # A "../" for each directory in $ac_dir_suffix.
    12122   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    12123 else
    12124   ac_dir_suffix= ac_top_builddir=
    12125 fi
    12126 
    12127 case $srcdir in
    12128   .)  # No --srcdir option.  We are building in place.
    12129     ac_srcdir=.
    12130     if test -z "$ac_top_builddir"; then
    12131        ac_top_srcdir=.
    12132     else
    12133        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    12134     fi ;;
    12135   [\\/]* | ?:[\\/]* )  # Absolute path.
    12136     ac_srcdir=$srcdir$ac_dir_suffix;
    12137     ac_top_srcdir=$srcdir ;;
    12138   *) # Relative path.
    12139     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    12140     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    12141 esac
    12142 
    12143 # Do not use `cd foo && pwd` to compute absolute paths, because
    12144 # the directories may not exist.
    12145 case `pwd` in
    12146 .) ac_abs_builddir="$ac_dir";;
    12147 *)
    12148   case "$ac_dir" in
    12149   .) ac_abs_builddir=`pwd`;;
    12150   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    12151   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    12152   esac;;
    12153 esac
    12154 case $ac_abs_builddir in
    12155 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    12156 *)
    12157   case ${ac_top_builddir}. in
    12158   .) ac_abs_top_builddir=$ac_abs_builddir;;
    12159   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    12160   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    12161   esac;;
    12162 esac
    12163 case $ac_abs_builddir in
    12164 .) ac_abs_srcdir=$ac_srcdir;;
    12165 *)
    12166   case $ac_srcdir in
    12167   .) ac_abs_srcdir=$ac_abs_builddir;;
    12168   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    12169   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    12170   esac;;
    12171 esac
    12172 case $ac_abs_builddir in
    12173 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    12174 *)
    12175   case $ac_top_srcdir in
    12176   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    12177   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    12178   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    12179   esac;;
    12180 esac
    12181 
    12182 
    12183   case $INSTALL in
    12184   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    12185   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
    12186   esac
    12187 
    12188   if test x"$ac_file" != x-; then
    12189     { echo "$as_me:$LINENO: creating $ac_file" >&5
    12190 echo "$as_me: creating $ac_file" >&6;}
    12191     rm -f "$ac_file"
    12192   fi
    12193   # Let's still pretend it is `configure' which instantiates (i.e., don't
    12194   # use $as_me), people would be surprised to read:
    12195   #    /* config.h.  Generated by config.status.  */
    12196   if test x"$ac_file" = x-; then
    12197     configure_input=
    12198   else
    12199     configure_input="$ac_file.  "
    12200   fi
    12201   configure_input=$configure_input"Generated from `echo $ac_file_in |
    12202                                      sed 's,.*/,,'` by configure."
    12203 
    12204   # First look for the input files in the build tree, otherwise in the
    12205   # src tree.
    12206   ac_file_inputs=`IFS=:
    12207     for f in $ac_file_in; do
    12208       case $f in
    12209       -) echo $tmp/stdin ;;
    12210       [\\/$]*)
    12211          # Absolute (can't be DOS-style, as IFS=:)
    12212          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    12213 echo "$as_me: error: cannot find input file: $f" >&2;}
    12214    { (exit 1); exit 1; }; }
    12215          echo "$f";;
    12216       *) # Relative
    12217          if test -f "$f"; then
    12218            # Build tree
    12219            echo "$f"
    12220          elif test -f "$srcdir/$f"; then
    12221            # Source tree
    12222            echo "$srcdir/$f"
    12223          else
    12224            # /dev/null tree
    12225            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    12226 echo "$as_me: error: cannot find input file: $f" >&2;}
    12227    { (exit 1); exit 1; }; }
    12228          fi;;
    12229       esac
    12230     done` || { (exit 1); exit 1; }
    12231 _ACEOF
    12232 cat >>$CONFIG_STATUS <<_ACEOF
    12233   sed "$ac_vpsub
    12234 $extrasub
    12235 _ACEOF
    12236 cat >>$CONFIG_STATUS <<\_ACEOF
    12237 :t
    12238 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    12239 s,@configure_input@,$configure_input,;t t
    12240 s,@srcdir@,$ac_srcdir,;t t
    12241 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    12242 s,@top_srcdir@,$ac_top_srcdir,;t t
    12243 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    12244 s,@builddir@,$ac_builddir,;t t
    12245 s,@abs_builddir@,$ac_abs_builddir,;t t
    12246 s,@top_builddir@,$ac_top_builddir,;t t
    12247 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    12248 s,@INSTALL@,$ac_INSTALL,;t t
    12249 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    12250   rm -f $tmp/stdin
    12251   if test x"$ac_file" != x-; then
    12252     mv $tmp/out $ac_file
    12253   else
    12254     cat $tmp/out
    12255     rm -f $tmp/out
    12256   fi
    12257 
    12258 done
    12259 _ACEOF
    12260 cat >>$CONFIG_STATUS <<\_ACEOF
    12261 
    12262 #
    12263 # CONFIG_HEADER section.
    12264 #
     5118  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     5119  sed -e "$ac_comsub
     5120s%@configure_input@%$configure_input%g
     5121s%@srcdir@%$srcdir%g
     5122s%@top_srcdir@%$top_srcdir%g
     5123s%@INSTALL@%$INSTALL%g
     5124" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
     5125fi; done
     5126rm -f conftest.s*
    122655127
    122665128# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     
    122685130#
    122695131# ac_d sets the value in "#define NAME VALUE" lines.
    12270 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
    12271 ac_dB='[         ].*$,\1#\2'
    12272 ac_dC=' '
    12273 ac_dD=',;t'
    12274 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    12275 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
    12276 ac_uB='$,\1#\2define\3'
     5132ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
     5133ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
     5134ac_dC='\3'
     5135ac_dD='%g'
     5136# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
     5137ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     5138ac_uB='\([      ]\)%\1#\2define\3'
    122775139ac_uC=' '
    12278 ac_uD=',;t'
    12279 
    12280 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
     5140ac_uD='\4%g'
     5141# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
     5142ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
     5143ac_eB='$%\1#\2define\3'
     5144ac_eC=' '
     5145ac_eD='%g'
     5146
     5147if test "${CONFIG_HEADERS+set}" != set; then
     5148EOF
     5149cat >> $CONFIG_STATUS <<EOF
     5150  CONFIG_HEADERS="mod2.h"
     5151EOF
     5152cat >> $CONFIG_STATUS <<\EOF
     5153fi
     5154for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
    122815155  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    12282   case $ac_file in
    12283   - | *:- | *:-:* ) # input from stdin
    12284         cat >$tmp/stdin
    12285         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    12286         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    12287   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    12288         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    12289   * )   ac_file_in=$ac_file.in ;;
     5156  case "$ac_file" in
     5157  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     5158       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     5159  *) ac_file_in="${ac_file}.in" ;;
    122905160  esac
    122915161
    12292   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    12293 echo "$as_me: creating $ac_file" >&6;}
    12294 
    12295   # First look for the input files in the build tree, otherwise in the
    12296   # src tree.
    12297   ac_file_inputs=`IFS=:
    12298     for f in $ac_file_in; do
    12299       case $f in
    12300       -) echo $tmp/stdin ;;
    12301       [\\/$]*)
    12302          # Absolute (can't be DOS-style, as IFS=:)
    12303          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    12304 echo "$as_me: error: cannot find input file: $f" >&2;}
    12305    { (exit 1); exit 1; }; }
    12306          # Do quote $f, to prevent DOS paths from being IFS'd.
    12307          echo "$f";;
    12308       *) # Relative
    12309          if test -f "$f"; then
    12310            # Build tree
    12311            echo "$f"
    12312          elif test -f "$srcdir/$f"; then
    12313            # Source tree
    12314            echo "$srcdir/$f"
    12315          else
    12316            # /dev/null tree
    12317            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    12318 echo "$as_me: error: cannot find input file: $f" >&2;}
    12319    { (exit 1); exit 1; }; }
    12320          fi;;
    12321       esac
    12322     done` || { (exit 1); exit 1; }
    12323   # Remove the trailing spaces.
    12324   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
    12325 
    12326 _ACEOF
    12327 
    12328 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    12329 # `conftest.undefs', that substitutes the proper values into
    12330 # config.h.in to produce config.h.  The first handles `#define'
    12331 # templates, and the second `#undef' templates.
    12332 # And first: Protect against being on the right side of a sed subst in
    12333 # config.status.  Protect against being in an unquoted here document
    12334 # in config.status.
    12335 rm -f conftest.defines conftest.undefs
    12336 # Using a here document instead of a string reduces the quoting nightmare.
    12337 # Putting comments in sed scripts is not portable.
    12338 #
    12339 # `end' is used to avoid that the second main sed command (meant for
    12340 # 0-ary CPP macros) applies to n-ary macro definitions.
    12341 # See the Autoconf documentation for `clear'.
    12342 cat >confdef2sed.sed <<\_ACEOF
    12343 s/[\\&,]/\\&/g
    12344 s,[\\$`],\\&,g
    12345 t clear
    12346 : clear
    12347 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    12348 t end
    12349 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    12350 : end
    12351 _ACEOF
    12352 # If some macros were called several times there might be several times
    12353 # the same #defines, which is useless.  Nevertheless, we may not want to
    12354 # sort them, since we want the *last* AC-DEFINE to be honored.
    12355 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    12356 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    12357 rm -f confdef2sed.sed
     5162  echo creating $ac_file
     5163
     5164  rm -f conftest.frag conftest.in conftest.out
     5165  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     5166  cat $ac_file_inputs > conftest.in
     5167
     5168EOF
     5169
     5170# Transform confdefs.h into a sed script conftest.vals that substitutes
     5171# the proper values into config.h.in to produce config.h.  And first:
     5172# Protect against being on the right side of a sed subst in config.status.
     5173# Protect against being in an unquoted here document in config.status.
     5174rm -f conftest.vals
     5175cat > conftest.hdr <<\EOF
     5176s/[\\&%]/\\&/g
     5177s%[\\$`]%\\&%g
     5178s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
     5179s%ac_d%ac_u%gp
     5180s%ac_u%ac_e%gp
     5181EOF
     5182sed -n -f conftest.hdr confdefs.h > conftest.vals
     5183rm -f conftest.hdr
    123585184
    123595185# This sed command replaces #undef with comments.  This is necessary, for
    123605186# example, in the case of _POSIX_SOURCE, which is predefined and required
    123615187# on some systems where configure will not decide to define it.
    12362 cat >>conftest.undefs <<\_ACEOF
    12363 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    12364 _ACEOF
    12365 
    12366 # Break up conftest.defines because some shells have a limit on the size
    12367 # of here documents, and old seds have small limits too (100 cmds).
    12368 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    12369 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    12370 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    12371 echo '  :' >>$CONFIG_STATUS
     5188cat >> conftest.vals <<\EOF
     5189s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
     5190EOF
     5191
     5192# Break up conftest.vals because some shells have a limit on
     5193# the size of here documents, and old seds have small limits too.
     5194
    123725195rm -f conftest.tail
    12373 while grep . conftest.defines >/dev/null
     5196while :
    123745197do
    12375   # Write a limited-size here document to $tmp/defines.sed.
    12376   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    12377   # Speed up: don't consider the non `#define' lines.
    12378   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
    12379   # Work around the forget-to-reset-the-flag bug.
    12380   echo 't clr' >>$CONFIG_STATUS
    12381   echo ': clr' >>$CONFIG_STATUS
    12382   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
     5198  ac_lines=`grep -c . conftest.vals`
     5199  # grep -c gives empty output for an empty file on some AIX systems.
     5200  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
     5201  # Write a limited-size here document to conftest.frag.
     5202  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
     5203  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
    123835204  echo 'CEOF
    12384   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    12385   rm -f $tmp/in
    12386   mv $tmp/out $tmp/in
    12387 ' >>$CONFIG_STATUS
    12388   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    12389   rm -f conftest.defines
    12390   mv conftest.tail conftest.defines
     5205  sed -f conftest.frag conftest.in > conftest.out
     5206  rm -f conftest.in
     5207  mv conftest.out conftest.in
     5208' >> $CONFIG_STATUS
     5209  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
     5210  rm -f conftest.vals
     5211  mv conftest.tail conftest.vals
    123915212done
    12392 rm -f conftest.defines
    12393 echo '  fi # grep' >>$CONFIG_STATUS
    12394 echo >>$CONFIG_STATUS
    12395 
    12396 # Break up conftest.undefs because some shells have a limit on the size
    12397 # of here documents, and old seds have small limits too (100 cmds).
    12398 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    12399 rm -f conftest.tail
    12400 while grep . conftest.undefs >/dev/null
    12401 do
    12402   # Write a limited-size here document to $tmp/undefs.sed.
    12403   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    12404   # Speed up: don't consider the non `#undef'
    12405   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    12406   # Work around the forget-to-reset-the-flag bug.
    12407   echo 't clr' >>$CONFIG_STATUS
    12408   echo ': clr' >>$CONFIG_STATUS
    12409   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    12410   echo 'CEOF
    12411   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    12412   rm -f $tmp/in
    12413   mv $tmp/out $tmp/in
    12414 ' >>$CONFIG_STATUS
    12415   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    12416   rm -f conftest.undefs
    12417   mv conftest.tail conftest.undefs
    12418 done
    12419 rm -f conftest.undefs
    12420 
    12421 cat >>$CONFIG_STATUS <<\_ACEOF
    12422   # Let's still pretend it is `configure' which instantiates (i.e., don't
    12423   # use $as_me), people would be surprised to read:
    12424   #    /* config.h.  Generated by config.status.  */
    12425   if test x"$ac_file" = x-; then
    12426     echo "/* Generated by configure.  */" >$tmp/config.h
     5213rm -f conftest.vals
     5214
     5215cat >> $CONFIG_STATUS <<\EOF
     5216  rm -f conftest.frag conftest.h
     5217  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
     5218  cat conftest.in >> conftest.h
     5219  rm -f conftest.in
     5220  if cmp -s $ac_file conftest.h 2>/dev/null; then
     5221    echo "$ac_file is unchanged"
     5222    rm -f conftest.h
    124275223  else
    12428     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
     5224    # Remove last slash and all that follows it.  Not all systems have dirname.
     5225      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     5226      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     5227      # The file is in a subdirectory.
     5228      test ! -d "$ac_dir" && mkdir "$ac_dir"
     5229    fi
     5230    rm -f $ac_file
     5231    mv conftest.h $ac_file
    124295232  fi
    12430   cat $tmp/in >>$tmp/config.h
    12431   rm -f $tmp/in
    12432   if test x"$ac_file" != x-; then
    12433     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    12434       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    12435 echo "$as_me: $ac_file is unchanged" >&6;}
    12436     else
    12437       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    12438 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    12439          X"$ac_file" : 'X\(//\)[^/]' \| \
    12440          X"$ac_file" : 'X\(//\)$' \| \
    12441          X"$ac_file" : 'X\(/\)' \| \
    12442          .     : '\(.\)' 2>/dev/null ||
    12443 echo X"$ac_file" |
    12444     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    12445           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    12446           /^X\(\/\/\)$/{ s//\1/; q; }
    12447           /^X\(\/\).*/{ s//\1/; q; }
    12448           s/.*/./; q'`
    12449       { if $as_mkdir_p; then
    12450     mkdir -p "$ac_dir"
    12451   else
    12452     as_dir="$ac_dir"
    12453     as_dirs=
    12454     while test ! -d "$as_dir"; do
    12455       as_dirs="$as_dir $as_dirs"
    12456       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    12457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    12458          X"$as_dir" : 'X\(//\)[^/]' \| \
    12459          X"$as_dir" : 'X\(//\)$' \| \
    12460          X"$as_dir" : 'X\(/\)' \| \
    12461          .     : '\(.\)' 2>/dev/null ||
    12462 echo X"$as_dir" |
    12463     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    12464           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    12465           /^X\(\/\/\)$/{ s//\1/; q; }
    12466           /^X\(\/\).*/{ s//\1/; q; }
    12467           s/.*/./; q'`
    12468     done
    12469     test ! -n "$as_dirs" || mkdir $as_dirs
    12470   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    12471 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    12472    { (exit 1); exit 1; }; }; }
    12473 
    12474       rm -f $ac_file
    12475       mv $tmp/config.h $ac_file
    12476     fi
    12477   else
    12478     cat $tmp/config.h
    12479     rm -f $tmp/config.h
    12480   fi
    12481 done
    12482 _ACEOF
    12483 cat >>$CONFIG_STATUS <<\_ACEOF
    12484 
    12485 #
    12486 # CONFIG_COMMANDS section.
    12487 #
    12488 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
    12489   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
    12490   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
    12491   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
    12492 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    12493          X"$ac_dest" : 'X\(//\)[^/]' \| \
    12494          X"$ac_dest" : 'X\(//\)$' \| \
    12495          X"$ac_dest" : 'X\(/\)' \| \
    12496          .     : '\(.\)' 2>/dev/null ||
    12497 echo X"$ac_dest" |
    12498     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    12499           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    12500           /^X\(\/\/\)$/{ s//\1/; q; }
    12501           /^X\(\/\).*/{ s//\1/; q; }
    12502           s/.*/./; q'`
    12503   { if $as_mkdir_p; then
    12504     mkdir -p "$ac_dir"
    12505   else
    12506     as_dir="$ac_dir"
    12507     as_dirs=
    12508     while test ! -d "$as_dir"; do
    12509       as_dirs="$as_dir $as_dirs"
    12510       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    12511 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    12512          X"$as_dir" : 'X\(//\)[^/]' \| \
    12513          X"$as_dir" : 'X\(//\)$' \| \
    12514          X"$as_dir" : 'X\(/\)' \| \
    12515          .     : '\(.\)' 2>/dev/null ||
    12516 echo X"$as_dir" |
    12517     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    12518           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    12519           /^X\(\/\/\)$/{ s//\1/; q; }
    12520           /^X\(\/\).*/{ s//\1/; q; }
    12521           s/.*/./; q'`
    12522     done
    12523     test ! -n "$as_dirs" || mkdir $as_dirs
    12524   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    12525 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    12526    { (exit 1); exit 1; }; }; }
    12527 
    12528   ac_builddir=.
    12529 
    12530 if test "$ac_dir" != .; then
    12531   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    12532   # A "../" for each directory in $ac_dir_suffix.
    12533   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    12534 else
    12535   ac_dir_suffix= ac_top_builddir=
    12536 fi
    12537 
    12538 case $srcdir in
    12539   .)  # No --srcdir option.  We are building in place.
    12540     ac_srcdir=.
    12541     if test -z "$ac_top_builddir"; then
    12542        ac_top_srcdir=.
    12543     else
    12544        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    12545     fi ;;
    12546   [\\/]* | ?:[\\/]* )  # Absolute path.
    12547     ac_srcdir=$srcdir$ac_dir_suffix;
    12548     ac_top_srcdir=$srcdir ;;
    12549   *) # Relative path.
    12550     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    12551     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    12552 esac
    12553 
    12554 # Do not use `cd foo && pwd` to compute absolute paths, because
    12555 # the directories may not exist.
    12556 case `pwd` in
    12557 .) ac_abs_builddir="$ac_dir";;
    12558 *)
    12559   case "$ac_dir" in
    12560   .) ac_abs_builddir=`pwd`;;
    12561   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    12562   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    12563   esac;;
    12564 esac
    12565 case $ac_abs_builddir in
    12566 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    12567 *)
    12568   case ${ac_top_builddir}. in
    12569   .) ac_abs_top_builddir=$ac_abs_builddir;;
    12570   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    12571   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    12572   esac;;
    12573 esac
    12574 case $ac_abs_builddir in
    12575 .) ac_abs_srcdir=$ac_srcdir;;
    12576 *)
    12577   case $ac_srcdir in
    12578   .) ac_abs_srcdir=$ac_abs_builddir;;
    12579   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    12580   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    12581   esac;;
    12582 esac
    12583 case $ac_abs_builddir in
    12584 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    12585 *)
    12586   case $ac_top_srcdir in
    12587   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    12588   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    12589   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    12590   esac;;
    12591 esac
    12592 
    12593 
    12594   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
    12595 echo "$as_me: executing $ac_dest commands" >&6;}
    12596   case $ac_dest in
    12597     default ) \
     5233fi; done
     5234
     5235EOF
     5236cat >> $CONFIG_STATUS <<EOF
     5237
     5238EOF
     5239cat >> $CONFIG_STATUS <<\EOF
     5240\
    125985241 cp mod2.h ../kernel/mod2.h; \
    12599  if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi ;;
    12600   esac
    12601 done
    12602 _ACEOF
    12603 
    12604 cat >>$CONFIG_STATUS <<\_ACEOF
    12605 
    12606 { (exit 0); exit 0; }
    12607 _ACEOF
     5242 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi
     5243exit 0
     5244EOF
    126085245chmod +x $CONFIG_STATUS
    12609 ac_clean_files=$ac_clean_files_save
    12610 
    12611 
    12612 # configure is writing to config.log, and then calls config.status.
    12613 # config.status does its own redirection, appending to config.log.
    12614 # Unfortunately, on DOS this fails, as config.log is still kept open
    12615 # by configure, so config.status won't be able to write to it; its
    12616 # output is simply discarded.  So we exec the FD to /dev/null,
    12617 # effectively closing config.log, so it can be properly (re)opened and
    12618 # appended to by config.status.  When coming back to configure, we
    12619 # need to make the FD available again.
    12620 if test "$no_create" != yes; then
    12621   ac_cs_success=:
    12622   ac_config_status_args=
    12623   test "$silent" = yes &&
    12624     ac_config_status_args="$ac_config_status_args --quiet"
    12625   exec 5>/dev/null
    12626   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
    12627   exec 5>>config.log
    12628   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    12629   # would make configure fail if this is the last instruction.
    12630   $ac_cs_success || { (exit 1); exit 1; }
    12631 fi
    12632 
     5246rm -fr confdefs* $ac_clean_files
     5247test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
     5248
  • Singular/configure.in

    r370756 r206aed  
    392392AC_SEARCH_LIBS(setenv, bsd)
    393393AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd vsnprintf readlink \
    394  sleep usleep getpwnam popen setenv)
     394 sleep usleep getpwnam popen setenv siginterrupt)
    395395
    396396
  • Singular/extra.cc

    r370756 r206aed  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.220 2005-04-01 08:15:55 bricken Exp $ */
     4/* $Id: extra.cc,v 1.221 2005-04-28 12:25:30 hannes Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    6161#ifdef HAVE_SPECTRUM
    6262#include "spectrum.h"
     63#endif
     64
     65#if defined(HPUX_10) || defined(HPUX_9)
     66extern "C" int setenv(const char *name, const char *value, int overwrite);
    6367#endif
    6468
  • Singular/mod2.h.in

    r370756 r206aed  
    66 *          DO NOT EDIT!
    77 *
    8  *  Version: $Id: mod2.h.in,v 1.109 2005-02-16 10:54:07 Singular Exp $
     8 *  Version: $Id: mod2.h.in,v 1.110 2005-04-28 12:25:32 hannes Exp $
    99 *******************************************************************/
    1010#ifndef MOD2_H
     
    108108/* Define if you have popen */
    109109#undef HAVE_POPEN
     110/* Define if you have siginterrupt (BSD4.3) */
     111#undef HAVE_SIGINTERRUPT
    110112/* Define sizeof(char) */
    111113#define SIZEOF_CHAR 1
Note: See TracChangeset for help on using the changeset viewer.