Changeset 492b69 in git


Ignore:
Timestamp:
Apr 22, 2005, 5:48:26 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
a9c967b1eec854ae58ac32f87a07a498712ac70f
Parents:
c1819736b4b24f4e58363635d5047d21d3c675b7
Message:
*hannes; autoconf problems


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

Legend:

Unmodified
Added
Removed
  • configure

    rc18197 r492b69  
    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="kernel/matpol.h"
     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_subdirs_all="$ac_subdirs_all $CONFIG_SUBDIRS"
    314 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 SINGULAR_VERSION VERSION_DATE SINGULAR_SHORT_VERSION SINGULAR_RPM_VERSION SINGULAR_ROOT_DIR SINGUNAME SING_UNAME CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP CXX CXXFLAGS ac_ct_CXX PIPE PERL UUDECODE GUNZIP MYGZIP LATEX2HTML LN_S MKINSTALLDIRS SINGULAR TMP_DIR TEXI2DVI TEXI2PDF MAKEINFO TEXINDEX TEXI2HTML TEXI2HTML_OPTS SET_MAKE SUBDIRS BUILD_SUBDIRS CONFIG_SUBDIRS subdirs LIBOBJS LTLIBOBJS'
    315 ac_subst_files=''
     15ac_help="$ac_help
     16\
     17  --with-tmpdir=DIR       use DIR as temporary directory"
     18ac_help="$ac_help
     19\
     20  --enable-PACKAGE        configure and/or build PACKAGE
     21  --disable-PACKAGE       do not configure and/or build PACKAGE
     22   where PACKAGE can be:
     23     smallgmp             minimal version of gmp written in C only"
     24ac_help="$ac_help
     25\
     26     omalloc              omalloc memory managment"
     27ac_help="$ac_help
     28\
     29     gmp                  Gnu Multiple Precision package"
     30ac_help="$ac_help
     31\
     32     MP                   Multi Protocol library"
     33ac_help="$ac_help
     34\
     35     factory              polynomial factorization library"
     36ac_help="$ac_help
     37\
     38     libfac               char set and modp poly factorization library"
     39ac_help="$ac_help
     40\
     41     sgroup               numerical semigroup computations"
     42ac_help="$ac_help
     43\
     44     Singular             CAS for Polynomial Computations"
     45ac_help="$ac_help
     46\
     47     IntegerProgramming   IntegerProgramming"
     48ac_help="$ac_help
     49\
     50     Plural               Plural"
     51ac_help="$ac_help
     52\
     53     Texinfo              Texinfo for info, texi2dvi, makeinfo"
     54ac_help="$ac_help
     55\
     56     Texi2html            Texinfo to HTML converter"
     57ac_help="$ac_help
     58\
     59     doc                  Singular documentation"
     60ac_help="$ac_help
     61\
     62     emacs                emacs completion files"
     63ac_help="$ac_help
     64\
     65  --with-PACKAGE          use PACKAGE, provide dependent functionality
     66  --without-PACKAGE       do not use PACKAGE, disable dependent functionality
     67   where PACKAGE can be:
     68     MP                   Multi Protocol library"
     69ac_help="$ac_help
     70\
     71     factory              polynomial factorization library"
     72ac_help="$ac_help
     73\
     74     libfac               char set and modp poly factorization library"
     75ac_help="$ac_help
     76\
     77  --with-apint=PACKAGE    use PACKAGE for arbitary integer arithmetic
     78                          where PACKAGE can be gmp or smallgmp
     79All additional --enable and --with options are passed to subsequent calls
     80to configure of the packages to be built. See also configure --help in
     81these packages (resp. subdirs). "
    31682
    31783# Initialize some variables set by options.
    318 ac_init_help=
    319 ac_init_version=false
    32084# The variables have the same names as the options, with
    32185# dashes changed to underlines.
    322 cache_file=/dev/null
     86build=NONE
     87cache_file=./config.cache
    32388exec_prefix=NONE
     89host=NONE
    32490no_create=
     91nonopt=NONE
    32592no_recursion=
    32693prefix=NONE
     
    33198site=
    33299srcdir=
     100target=NONE
    333101verbose=
    334102x_includes=NONE
    335103x_libraries=NONE
    336 
    337 # Installation directory options.
    338 # These are left unexpanded so users can "make install exec_prefix=/foo"
    339 # and all the variables that are supposed to be based on exec_prefix
    340 # by default will actually change.
    341 # Use braces instead of parens because sh, perl, etc. also accept them.
    342104bindir='${exec_prefix}/bin'
    343105sbindir='${exec_prefix}/sbin'
     
    353115mandir='${prefix}/man'
    354116
     117# Initialize some other variables.
     118subdirs=
     119MFLAGS= MAKEFLAGS=
     120SHELL=${CONFIG_SHELL-/bin/sh}
     121# Maximum number of lines to put in a shell here document.
     122ac_max_here_lines=12
     123
    355124ac_prev=
    356125for ac_option
    357126do
     127
    358128  # If the previous option needs an argument, assign it.
    359129  if test -n "$ac_prev"; then
     
    363133  fi
    364134
    365   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     135  case "$ac_option" in
     136  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
     137  *) ac_optarg= ;;
     138  esac
    366139
    367140  # Accept the important Cygnus configure options, so we can diagnose typos.
    368141
    369   case $ac_option in
     142  case "$ac_option" in
    370143
    371144  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    372145    ac_prev=bindir ;;
    373146  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    374     bindir=$ac_optarg ;;
     147    bindir="$ac_optarg" ;;
    375148
    376149  -build | --build | --buil | --bui | --bu)
    377     ac_prev=build_alias ;;
     150    ac_prev=build ;;
    378151  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    379     build_alias=$ac_optarg ;;
     152    build="$ac_optarg" ;;
    380153
    381154  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    384157  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    385158  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    386     cache_file=$ac_optarg ;;
    387 
    388   --config-cache | -C)
    389     cache_file=config.cache ;;
     159    cache_file="$ac_optarg" ;;
    390160
    391161  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    393163  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    394164  | --da=*)
    395     datadir=$ac_optarg ;;
     165    datadir="$ac_optarg" ;;
    396166
    397167  -disable-* | --disable-*)
    398     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     168    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    399169    # Reject names that are not valid shell variable names.
    400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    401       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    402    { (exit 1); exit 1; }; }
    403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    404     eval "enable_$ac_feature=no" ;;
     170    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
     171      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     172    fi
     173    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     174    eval "enable_${ac_feature}=no" ;;
    405175
    406176  -enable-* | --enable-*)
    407     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     177    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    408178    # Reject names that are not valid shell variable names.
    409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    410       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    411    { (exit 1); exit 1; }; }
    412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    413     case $ac_option in
    414       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     179    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
     180      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
     181    fi
     182    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
     183    case "$ac_option" in
     184      *=*) ;;
    415185      *) ac_optarg=yes ;;
    416186    esac
    417     eval "enable_$ac_feature='$ac_optarg'" ;;
     187    eval "enable_${ac_feature}='$ac_optarg'" ;;
    418188
    419189  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    424194  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    425195  | --exec=* | --exe=* | --ex=*)
    426     exec_prefix=$ac_optarg ;;
     196    exec_prefix="$ac_optarg" ;;
    427197
    428198  -gas | --gas | --ga | --g)
     
    430200    with_gas=yes ;;
    431201
    432   -help | --help | --hel | --he | -h)
    433     ac_init_help=long ;;
    434   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    435     ac_init_help=recursive ;;
    436   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    437     ac_init_help=short ;;
     202  -help | --help | --hel | --he)
     203    # Omit some internal or obsolete options to make the list less imposing.
     204    # This message is too long to be a string in the A/UX 3.1 sh.
     205    cat << EOF
     206Usage: configure [options] [host]
     207Options: [defaults in brackets after descriptions]
     208Configuration:
     209  --cache-file=FILE       cache test results in FILE
     210  --help                  print this message
     211  --no-create             do not create output files
     212  --quiet, --silent       do not print \`checking...' messages
     213  --version               print the version of autoconf that created configure
     214Directory and file names:
     215  --prefix=PREFIX         install architecture-independent files in PREFIX
     216                          [$ac_default_prefix]
     217  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     218                          [same as prefix]
     219  --bindir=DIR            user executables in DIR [EPREFIX/bin]
     220  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
     221  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
     222  --datadir=DIR           read-only architecture-independent data in DIR
     223                          [PREFIX/share]
     224  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
     225  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
     226                          [PREFIX/com]
     227  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
     228  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
     229  --includedir=DIR        C header files in DIR [PREFIX/include]
     230  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
     231  --infodir=DIR           info documentation in DIR [PREFIX/info]
     232  --mandir=DIR            man documentation in DIR [PREFIX/man]
     233  --srcdir=DIR            find the sources in DIR [configure dir or ..]
     234  --program-prefix=PREFIX prepend PREFIX to installed program names
     235  --program-suffix=SUFFIX append SUFFIX to installed program names
     236  --program-transform-name=PROGRAM
     237                          run sed PROGRAM on installed program names
     238EOF
     239    cat << EOF
     240Host type:
     241  --build=BUILD           configure for building on BUILD [BUILD=HOST]
     242  --host=HOST             configure for HOST [guessed]
     243  --target=TARGET         configure for TARGET [TARGET=HOST]
     244Features and packages:
     245  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     246  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     247  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     248  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     249  --x-includes=DIR        X include files are in DIR
     250  --x-libraries=DIR       X library files are in DIR
     251EOF
     252    if test -n "$ac_help"; then
     253      echo "--enable and --with options recognized:$ac_help"
     254    fi
     255    exit 0 ;;
    438256
    439257  -host | --host | --hos | --ho)
    440     ac_prev=host_alias ;;
     258    ac_prev=host ;;
    441259  -host=* | --host=* | --hos=* | --ho=*)
    442     host_alias=$ac_optarg ;;
     260    host="$ac_optarg" ;;
    443261
    444262  -includedir | --includedir | --includedi | --included | --include \
     
    447265  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    448266  | --includ=* | --inclu=* | --incl=* | --inc=*)
    449     includedir=$ac_optarg ;;
     267    includedir="$ac_optarg" ;;
    450268
    451269  -infodir | --infodir | --infodi | --infod | --info | --inf)
    452270    ac_prev=infodir ;;
    453271  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    454     infodir=$ac_optarg ;;
     272    infodir="$ac_optarg" ;;
    455273
    456274  -libdir | --libdir | --libdi | --libd)
    457275    ac_prev=libdir ;;
    458276  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    459     libdir=$ac_optarg ;;
     277    libdir="$ac_optarg" ;;
    460278
    461279  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    464282  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    465283  | --libexe=* | --libex=* | --libe=*)
    466     libexecdir=$ac_optarg ;;
     284    libexecdir="$ac_optarg" ;;
    467285
    468286  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    473291  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    474292  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    475     localstatedir=$ac_optarg ;;
     293    localstatedir="$ac_optarg" ;;
    476294
    477295  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    478296    ac_prev=mandir ;;
    479297  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    480     mandir=$ac_optarg ;;
     298    mandir="$ac_optarg" ;;
    481299
    482300  -nfp | --nfp | --nf)
     
    485303
    486304  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    487   | --no-cr | --no-c | -n)
     305  | --no-cr | --no-c)
    488306    no_create=yes ;;
    489307
     
    499317  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    500318  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    501     oldincludedir=$ac_optarg ;;
     319    oldincludedir="$ac_optarg" ;;
    502320
    503321  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    504322    ac_prev=prefix ;;
    505323  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    506     prefix=$ac_optarg ;;
     324    prefix="$ac_optarg" ;;
    507325
    508326  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    511329  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    512330  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    513     program_prefix=$ac_optarg ;;
     331    program_prefix="$ac_optarg" ;;
    514332
    515333  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    518336  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    519337  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    520     program_suffix=$ac_optarg ;;
     338    program_suffix="$ac_optarg" ;;
    521339
    522340  -program-transform-name | --program-transform-name \
     
    535353  | --program-trans=* | --program-tran=* \
    536354  | --progr-tra=* | --program-tr=* | --program-t=*)
    537     program_transform_name=$ac_optarg ;;
     355    program_transform_name="$ac_optarg" ;;
    538356
    539357  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    545363  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    546364  | --sbi=* | --sb=*)
    547     sbindir=$ac_optarg ;;
     365    sbindir="$ac_optarg" ;;
    548366
    549367  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    556374  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    557375  | --sha=* | --sh=*)
    558     sharedstatedir=$ac_optarg ;;
     376    sharedstatedir="$ac_optarg" ;;
    559377
    560378  -site | --site | --sit)
    561379    ac_prev=site ;;
    562380  -site=* | --site=* | --sit=*)
    563     site=$ac_optarg ;;
     381    site="$ac_optarg" ;;
    564382
    565383  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    566384    ac_prev=srcdir ;;
    567385  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    568     srcdir=$ac_optarg ;;
     386    srcdir="$ac_optarg" ;;
    569387
    570388  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    573391  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    574392  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    575     sysconfdir=$ac_optarg ;;
     393    sysconfdir="$ac_optarg" ;;
    576394
    577395  -target | --target | --targe | --targ | --tar | --ta | --t)
    578     ac_prev=target_alias ;;
     396    ac_prev=target ;;
    579397  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    580     target_alias=$ac_optarg ;;
     398    target="$ac_optarg" ;;
    581399
    582400  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    583401    verbose=yes ;;
    584402
    585   -version | --version | --versio | --versi | --vers | -V)
    586     ac_init_version=: ;;
     403  -version | --version | --versio | --versi | --vers)
     404    echo "configure generated by autoconf version 2.13"
     405    exit 0 ;;
    587406
    588407  -with-* | --with-*)
    589     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     408    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    590409    # Reject names that are not valid shell variable names.
    591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    592       { echo "$as_me: error: invalid package name: $ac_package" >&2
    593    { (exit 1); exit 1; }; }
     410    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
     411      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
     412    fi
    594413    ac_package=`echo $ac_package| sed 's/-/_/g'`
    595     case $ac_option in
    596       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
     414    case "$ac_option" in
     415      *=*) ;;
    597416      *) ac_optarg=yes ;;
    598417    esac
    599     eval "with_$ac_package='$ac_optarg'" ;;
     418    eval "with_${ac_package}='$ac_optarg'" ;;
    600419
    601420  -without-* | --without-*)
    602     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     421    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    603422    # Reject names that are not valid shell variable names.
    604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    605       { echo "$as_me: error: invalid package name: $ac_package" >&2
    606    { (exit 1); exit 1; }; }
    607     ac_package=`echo $ac_package | sed 's/-/_/g'`
    608     eval "with_$ac_package=no" ;;
     423    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
     424      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
     425    fi
     426    ac_package=`echo $ac_package| sed 's/-/_/g'`
     427    eval "with_${ac_package}=no" ;;
    609428
    610429  --x)
     
    617436  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    618437  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    619     x_includes=$ac_optarg ;;
     438    x_includes="$ac_optarg" ;;
    620439
    621440  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    624443  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    625444  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    626     x_libraries=$ac_optarg ;;
    627 
    628   -*) { echo "$as_me: error: unrecognized option: $ac_option
    629 Try \`$0 --help' for more information." >&2
    630    { (exit 1); exit 1; }; }
     445    x_libraries="$ac_optarg" ;;
     446
     447  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    631448    ;;
    632449
    633   *=*)
    634     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    635     # Reject names that are not valid shell variable names.
    636     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    637       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    638    { (exit 1); exit 1; }; }
    639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    640     eval "$ac_envvar='$ac_optarg'"
    641     export $ac_envvar ;;
    642 
    643450  *)
    644     # FIXME: should be removed in autoconf 3.0.
    645     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    646     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    647       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    648     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     451    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
     452      echo "configure: warning: $ac_option: invalid host type" 1>&2
     453    fi
     454    if test "x$nonopt" != xNONE; then
     455      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
     456    fi
     457    nonopt="$ac_option"
    649458    ;;
    650459
     
    653462
    654463if test -n "$ac_prev"; then
    655   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    656   { echo "$as_me: error: missing argument to $ac_option" >&2
    657    { (exit 1); exit 1; }; }
    658 fi
    659 
    660 # Be sure to have absolute paths.
    661 for ac_var in exec_prefix prefix
     464  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
     465fi
     466
     467trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
     468
     469# File descriptor usage:
     470# 0 standard input
     471# 1 file creation
     472# 2 errors and warnings
     473# 3 some systems may open it to /dev/tty
     474# 4 used on the Kubota Titan
     475# 6 checking for... messages and results
     476# 5 compiler messages saved in config.log
     477if test "$silent" = yes; then
     478  exec 6>/dev/null
     479else
     480  exec 6>&1
     481fi
     482exec 5>./config.log
     483
     484echo "\
     485This file contains any messages produced by compilers while
     486running configure, to aid debugging if configure makes a mistake.
     487" 1>&5
     488
     489# Strip out --no-create and --no-recursion so they do not pile up.
     490# Also quote any args containing shell metacharacters.
     491ac_configure_args=
     492for ac_arg
    662493do
    663   eval ac_val=$`echo $ac_var`
    664   case $ac_val in
    665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    666     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    667    { (exit 1); exit 1; }; };;
     494  case "$ac_arg" in
     495  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
     496  | --no-cr | --no-c) ;;
     497  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
     498  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
     499  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
     500  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     501  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
    668502  esac
    669503done
    670504
    671 # Be sure to have absolute paths.
    672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673               localstatedir libdir includedir oldincludedir infodir mandir
    674 do
    675   eval ac_val=$`echo $ac_var`
    676   case $ac_val in
    677     [\\/$]* | ?:[\\/]* ) ;;
    678     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    679    { (exit 1); exit 1; }; };;
    680   esac
    681 done
    682 
    683 # There might be people who depend on the old broken behavior: `$host'
    684 # used to hold the argument of --host etc.
    685 # FIXME: To remove some day.
    686 build=$build_alias
    687 host=$host_alias
    688 target=$target_alias
    689 
    690 # FIXME: To remove some day.
    691 if test "x$host_alias" != x; then
    692   if test "x$build_alias" = x; then
    693     cross_compiling=maybe
    694     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    695     If a cross compiler is detected then cross compile mode will be used." >&2
    696   elif test "x$build_alias" != "x$host_alias"; then
    697     cross_compiling=yes
    698   fi
    699 fi
    700 
    701 ac_tool_prefix=
    702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    703 
    704 test "$silent" = yes && exec 6>/dev/null
    705 
     505# NLS nuisances.
     506# Only set these to C if already set.  These must not be set unconditionally
     507# because not all systems understand e.g. LANG=C (notably SCO).
     508# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
     509# Non-C LC_CTYPE values break the ctype check.
     510if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
     511if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
     512if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
     513if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
     514
     515# confdefs.h avoids OS command line length limits that DEFS can exceed.
     516rm -rf conftest* confdefs.h
     517# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     518echo > confdefs.h
     519
     520# A filename unique to this package, relative to the directory that
     521# configure is in, which we can look for to find out if srcdir is correct.
     522ac_unique_file=kernel/matpol.h
    706523
    707524# Find the source files, if location was not specified.
     
    709526  ac_srcdir_defaulted=yes
    710527  # Try the directory containing this script, then its parent.
    711   ac_confdir=`(dirname "$0") 2>/dev/null ||
    712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    713          X"$0" : 'X\(//\)[^/]' \| \
    714          X"$0" : 'X\(//\)$' \| \
    715          X"$0" : 'X\(/\)' \| \
    716          .     : '\(.\)' 2>/dev/null ||
    717 echo X"$0" |
    718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    719           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    720           /^X\(\/\/\)$/{ s//\1/; q; }
    721           /^X\(\/\).*/{ s//\1/; q; }
    722           s/.*/./; q'`
     528  ac_prog=$0
     529  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
     530  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    723531  srcdir=$ac_confdir
    724532  if test ! -r $srcdir/$ac_unique_file; then
     
    730538if test ! -r $srcdir/$ac_unique_file; then
    731539  if test "$ac_srcdir_defaulted" = yes; then
    732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    733    { (exit 1); exit 1; }; }
    734   else
    735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    736    { (exit 1); exit 1; }; }
    737   fi
    738 fi
    739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    740   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    741    { (exit 1); exit 1; }; }
    742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    743 ac_env_build_alias_set=${build_alias+set}
    744 ac_env_build_alias_value=$build_alias
    745 ac_cv_env_build_alias_set=${build_alias+set}
    746 ac_cv_env_build_alias_value=$build_alias
    747 ac_env_host_alias_set=${host_alias+set}
    748 ac_env_host_alias_value=$host_alias
    749 ac_cv_env_host_alias_set=${host_alias+set}
    750 ac_cv_env_host_alias_value=$host_alias
    751 ac_env_target_alias_set=${target_alias+set}
    752 ac_env_target_alias_value=$target_alias
    753 ac_cv_env_target_alias_set=${target_alias+set}
    754 ac_cv_env_target_alias_value=$target_alias
    755 ac_env_CC_set=${CC+set}
    756 ac_env_CC_value=$CC
    757 ac_cv_env_CC_set=${CC+set}
    758 ac_cv_env_CC_value=$CC
    759 ac_env_CFLAGS_set=${CFLAGS+set}
    760 ac_env_CFLAGS_value=$CFLAGS
    761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    762 ac_cv_env_CFLAGS_value=$CFLAGS
    763 ac_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_env_LDFLAGS_value=$LDFLAGS
    765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    766 ac_cv_env_LDFLAGS_value=$LDFLAGS
    767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    771 ac_env_CPP_set=${CPP+set}
    772 ac_env_CPP_value=$CPP
    773 ac_cv_env_CPP_set=${CPP+set}
    774 ac_cv_env_CPP_value=$CPP
    775 ac_env_CXX_set=${CXX+set}
    776 ac_env_CXX_value=$CXX
    777 ac_cv_env_CXX_set=${CXX+set}
    778 ac_cv_env_CXX_value=$CXX
    779 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    780 ac_env_CXXFLAGS_value=$CXXFLAGS
    781 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    782 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    783 
    784 #
    785 # Report the --help message.
    786 #
    787 if test "$ac_init_help" = "long"; then
    788   # Omit some internal or obsolete options to make the list less imposing.
    789   # This message is too long to be a string in the A/UX 3.1 sh.
    790   cat <<_ACEOF
    791 \`configure' configures this package to adapt to many kinds of systems.
    792 
    793 Usage: $0 [OPTION]... [VAR=VALUE]...
    794 
    795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    796 VAR=VALUE.  See below for descriptions of some of the useful variables.
    797 
    798 Defaults for the options are specified in brackets.
    799 
    800 Configuration:
    801   -h, --help              display this help and exit
    802       --help=short        display options specific to this package
    803       --help=recursive    display the short help of all the included packages
    804   -V, --version           display version information and exit
    805   -q, --quiet, --silent   do not print \`checking...' messages
    806       --cache-file=FILE   cache test results in FILE [disabled]
    807   -C, --config-cache      alias for \`--cache-file=config.cache'
    808   -n, --no-create         do not create output files
    809       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    810 
    811 _ACEOF
    812 
    813   cat <<_ACEOF
    814 Installation directories:
    815   --prefix=PREFIX         install architecture-independent files in PREFIX
    816                           [$ac_default_prefix]
    817   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    818                           [PREFIX]
    819 
    820 By default, \`make install' will install all the files in
    821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    823 for instance \`--prefix=\$HOME'.
    824 
    825 For better control, use the options below.
    826 
    827 Fine tuning of the installation directories:
    828   --bindir=DIR           user executables [EPREFIX/bin]
    829   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    830   --libexecdir=DIR       program executables [EPREFIX/libexec]
    831   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    832   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    833   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    834   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    835   --libdir=DIR           object code libraries [EPREFIX/lib]
    836   --includedir=DIR       C header files [PREFIX/include]
    837   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    838   --infodir=DIR          info documentation [PREFIX/info]
    839   --mandir=DIR           man documentation [PREFIX/man]
    840 _ACEOF
    841 
    842   cat <<\_ACEOF
    843 _ACEOF
    844 fi
    845 
    846 if test -n "$ac_init_help"; then
    847 
    848   cat <<\_ACEOF
    849 
    850 Optional Features:
    851   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    852   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    853 \
    854   --enable-PACKAGE        configure and/or build PACKAGE
    855   --disable-PACKAGE       do not configure and/or build PACKAGE
    856    where PACKAGE can be:
    857      smallgmp             minimal version of gmp written in C only
    858 \
    859      omalloc              omalloc memory managment
    860 \
    861      gmp                  Gnu Multiple Precision package
    862 \
    863      MP                   Multi Protocol library
    864 \
    865      factory              polynomial factorization library
    866 \
    867      libfac               char set and modp poly factorization library
    868 \
    869      sgroup               numerical semigroup computations
    870 \
    871      Singular             CAS for Polynomial Computations
    872 \
    873      IntegerProgramming   IntegerProgramming
    874 \
    875      Plural               Plural
    876 \
    877      Texinfo              Texinfo for info, texi2dvi, makeinfo
    878 \
    879      Texi2html            Texinfo to HTML converter
    880 \
    881      doc                  Singular documentation
    882 \
    883      emacs                emacs completion files
    884 
    885 Optional Packages:
    886   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    887   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    888 \
    889   --with-tmpdir=DIR       use DIR as temporary directory
    890 \
    891   --with-PACKAGE          use PACKAGE, provide dependent functionality
    892   --without-PACKAGE       do not use PACKAGE, disable dependent functionality
    893    where PACKAGE can be:
    894      MP                   Multi Protocol library
    895 \
    896      factory              polynomial factorization library
    897 \
    898      libfac               char set and modp poly factorization library
    899 \
    900   --with-apint=PACKAGE    use PACKAGE for arbitary integer arithmetic
    901                           where PACKAGE can be gmp or smallgmp
    902 All additional --enable and --with options are passed to subsequent calls
    903 to configure of the packages to be built. See also configure --help in
    904 these packages (resp. subdirs).
    905 
    906 Some influential environment variables:
    907   CC          C compiler command
    908   CFLAGS      C compiler flags
    909   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    910               nonstandard directory <lib dir>
    911   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    912               headers in a nonstandard directory <include dir>
    913   CPP         C preprocessor
    914   CXX         C++ compiler command
    915   CXXFLAGS    C++ compiler flags
    916 
    917 Use these variables to override the choices made by `configure' or to help
    918 it to find libraries and programs with nonstandard names/locations.
    919 
    920 _ACEOF
    921 fi
    922 
    923 if test "$ac_init_help" = "recursive"; then
    924   # If there are subdirs, report their specific --help.
    925   ac_popdir=`pwd`
    926   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    927     test -d $ac_dir || continue
    928     ac_builddir=.
    929 
    930 if test "$ac_dir" != .; then
    931   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    932   # A "../" for each directory in $ac_dir_suffix.
    933   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    934 else
    935   ac_dir_suffix= ac_top_builddir=
    936 fi
    937 
    938 case $srcdir in
    939   .)  # No --srcdir option.  We are building in place.
    940     ac_srcdir=.
    941     if test -z "$ac_top_builddir"; then
    942        ac_top_srcdir=.
    943     else
    944        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    945     fi ;;
    946   [\\/]* | ?:[\\/]* )  # Absolute path.
    947     ac_srcdir=$srcdir$ac_dir_suffix;
    948     ac_top_srcdir=$srcdir ;;
    949   *) # Relative path.
    950     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    951     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    952 esac
    953 
    954 # Do not use `cd foo && pwd` to compute absolute paths, because
    955 # the directories may not exist.
    956 case `pwd` in
    957 .) ac_abs_builddir="$ac_dir";;
    958 *)
    959   case "$ac_dir" in
    960   .) ac_abs_builddir=`pwd`;;
    961   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    962   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    963   esac;;
    964 esac
    965 case $ac_abs_builddir in
    966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    967 *)
    968   case ${ac_top_builddir}. in
    969   .) ac_abs_top_builddir=$ac_abs_builddir;;
    970   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    971   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    972   esac;;
    973 esac
    974 case $ac_abs_builddir in
    975 .) ac_abs_srcdir=$ac_srcdir;;
    976 *)
    977   case $ac_srcdir in
    978   .) ac_abs_srcdir=$ac_abs_builddir;;
    979   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    980   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    981   esac;;
    982 esac
    983 case $ac_abs_builddir in
    984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    985 *)
    986   case $ac_top_srcdir in
    987   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    988   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    989   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    990   esac;;
    991 esac
    992 
    993     cd $ac_dir
    994     # Check for guested configure; otherwise get Cygnus style configure.
    995     if test -f $ac_srcdir/configure.gnu; then
    996       echo
    997       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    998     elif test -f $ac_srcdir/configure; then
    999       echo
    1000       $SHELL $ac_srcdir/configure  --help=recursive
    1001     elif test -f $ac_srcdir/configure.ac ||
    1002            test -f $ac_srcdir/configure.in; then
    1003       echo
    1004       $ac_configure --help
    1005     else
    1006       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    1007     fi
    1008     cd $ac_popdir
    1009   done
    1010 fi
    1011 
    1012 test -n "$ac_init_help" && exit 0
    1013 if $ac_init_version; then
    1014   cat <<\_ACEOF
    1015 
    1016 Copyright (C) 2003 Free Software Foundation, Inc.
    1017 This configure script is free software; the Free Software Foundation
    1018 gives unlimited permission to copy, distribute and modify it.
    1019 _ACEOF
    1020   exit 0
    1021 fi
    1022 exec 5>config.log
    1023 cat >&5 <<_ACEOF
    1024 This file contains any messages produced by compilers while
    1025 running configure, to aid debugging if configure makes a mistake.
    1026 
    1027 It was created by $as_me, which was
    1028 generated by GNU Autoconf 2.59.  Invocation command line was
    1029 
    1030   $ $0 $@
    1031 
    1032 _ACEOF
    1033 {
    1034 cat <<_ASUNAME
    1035 ## --------- ##
    1036 ## Platform. ##
    1037 ## --------- ##
    1038 
    1039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    1040 uname -m = `(uname -m) 2>/dev/null || echo unknown`
    1041 uname -r = `(uname -r) 2>/dev/null || echo unknown`
    1042 uname -s = `(uname -s) 2>/dev/null || echo unknown`
    1043 uname -v = `(uname -v) 2>/dev/null || echo unknown`
    1044 
    1045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    1046 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    1047 
    1048 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    1049 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    1050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1051 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
    1052 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    1053 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    1054 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    1055 
    1056 _ASUNAME
    1057 
    1058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1059 for as_dir in $PATH
    1060 do
    1061   IFS=$as_save_IFS
    1062   test -z "$as_dir" && as_dir=.
    1063   echo "PATH: $as_dir"
    1064 done
    1065 
    1066 } >&5
    1067 
    1068 cat >&5 <<_ACEOF
    1069 
    1070 
    1071 ## ----------- ##
    1072 ## Core tests. ##
    1073 ## ----------- ##
    1074 
    1075 _ACEOF
    1076 
    1077 
    1078 # Keep a trace of the command line.
    1079 # Strip out --no-create and --no-recursion so they do not pile up.
    1080 # Strip out --silent because we don't want to record it for future runs.
    1081 # Also quote any args containing shell meta-characters.
    1082 # Make two passes to allow for proper duplicate-argument suppression.
    1083 ac_configure_args=
    1084 ac_configure_args0=
    1085 ac_configure_args1=
    1086 ac_sep=
    1087 ac_must_keep_next=false
    1088 for ac_pass in 1 2
    1089 do
    1090   for ac_arg
    1091   do
    1092     case $ac_arg in
    1093     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
    1094     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1095     | -silent | --silent | --silen | --sile | --sil)
    1096       continue ;;
    1097     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1098       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    1099     esac
    1100     case $ac_pass in
    1101     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    1102     2)
    1103       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    1104       if test $ac_must_keep_next = true; then
    1105         ac_must_keep_next=false # Got value, back to normal.
    1106       else
    1107         case $ac_arg in
    1108           *=* | --config-cache | -C | -disable-* | --disable-* \
    1109           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    1110           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    1111           | -with-* | --with-* | -without-* | --without-* | --x)
    1112             case "$ac_configure_args0 " in
    1113               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    1114             esac
    1115             ;;
    1116           -* ) ac_must_keep_next=true ;;
    1117         esac
    1118       fi
    1119       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1120       # Get rid of the leading space.
    1121       ac_sep=" "
    1122       ;;
    1123     esac
    1124   done
    1125 done
    1126 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1127 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    1128 
    1129 # When interrupted or exit'd, cleanup temporary files, and complete
    1130 # config.log.  We remove comments because anyway the quotes in there
    1131 # would cause problems or look ugly.
    1132 # WARNING: Be sure not to use single quotes in there, as some shells,
    1133 # such as our DU 5.0 friend, will then `close' the trap.
    1134 trap 'exit_status=$?
    1135   # Save into config.log some information that might help in debugging.
    1136   {
    1137     echo
    1138 
    1139     cat <<\_ASBOX
    1140 ## ---------------- ##
    1141 ## Cache variables. ##
    1142 ## ---------------- ##
    1143 _ASBOX
    1144     echo
    1145     # The following way of writing the cache mishandles newlines in values,
    1146 {
    1147   (set) 2>&1 |
    1148     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1149     *ac_space=\ *)
    1150       sed -n \
    1151         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1152           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    1153       ;;
    1154     *)
    1155       sed -n \
    1156         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1157       ;;
    1158     esac;
    1159 }
    1160     echo
    1161 
    1162     cat <<\_ASBOX
    1163 ## ----------------- ##
    1164 ## Output variables. ##
    1165 ## ----------------- ##
    1166 _ASBOX
    1167     echo
    1168     for ac_var in $ac_subst_vars
    1169     do
    1170       eval ac_val=$`echo $ac_var`
    1171       echo "$ac_var='"'"'$ac_val'"'"'"
    1172     done | sort
    1173     echo
    1174 
    1175     if test -n "$ac_subst_files"; then
    1176       cat <<\_ASBOX
    1177 ## ------------- ##
    1178 ## Output files. ##
    1179 ## ------------- ##
    1180 _ASBOX
    1181       echo
    1182       for ac_var in $ac_subst_files
    1183       do
    1184         eval ac_val=$`echo $ac_var`
    1185         echo "$ac_var='"'"'$ac_val'"'"'"
    1186       done | sort
    1187       echo
    1188     fi
    1189 
    1190     if test -s confdefs.h; then
    1191       cat <<\_ASBOX
    1192 ## ----------- ##
    1193 ## confdefs.h. ##
    1194 ## ----------- ##
    1195 _ASBOX
    1196       echo
    1197       sed "/^$/d" confdefs.h | sort
    1198       echo
    1199     fi
    1200     test "$ac_signal" != 0 &&
    1201       echo "$as_me: caught signal $ac_signal"
    1202     echo "$as_me: exit $exit_status"
    1203   } >&5
    1204   rm -f core *.core &&
    1205   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    1206     exit $exit_status
    1207      ' 0
    1208 for ac_signal in 1 2 13 15; do
    1209   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    1210 done
    1211 ac_signal=0
    1212 
    1213 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    1214 rm -rf conftest* confdefs.h
    1215 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1216 echo >confdefs.h
    1217 
    1218 # Predefined preprocessor variables.
    1219 
    1220 cat >>confdefs.h <<_ACEOF
    1221 #define PACKAGE_NAME "$PACKAGE_NAME"
    1222 _ACEOF
    1223 
    1224 
    1225 cat >>confdefs.h <<_ACEOF
    1226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    1227 _ACEOF
    1228 
    1229 
    1230 cat >>confdefs.h <<_ACEOF
    1231 #define PACKAGE_VERSION "$PACKAGE_VERSION"
    1232 _ACEOF
    1233 
    1234 
    1235 cat >>confdefs.h <<_ACEOF
    1236 #define PACKAGE_STRING "$PACKAGE_STRING"
    1237 _ACEOF
    1238 
    1239 
    1240 cat >>confdefs.h <<_ACEOF
    1241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    1242 _ACEOF
    1243 
    1244 
    1245 # Let the site file select an alternate cache file if it wants to.
     540    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
     541  else
     542    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
     543  fi
     544fi
     545srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
     546
    1246547# Prefer explicitly selected file to automatically selected ones.
    1247548if test -z "$CONFIG_SITE"; then
     
    1254555for ac_site_file in $CONFIG_SITE; do
    1255556  if test -r "$ac_site_file"; then
    1256     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1257 echo "$as_me: loading site script $ac_site_file" >&6;}
    1258     sed 's/^/| /' "$ac_site_file" >&5
     557    echo "loading site script $ac_site_file"
    1259558    . "$ac_site_file"
    1260559  fi
     
    1262561
    1263562if test -r "$cache_file"; then
    1264   # Some versions of bash will fail to source /dev/null (special
    1265   # files actually), so we avoid doing that.
    1266   if test -f "$cache_file"; then
    1267     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1268 echo "$as_me: loading cache $cache_file" >&6;}
    1269     case $cache_file in
    1270       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1271       *)                      . ./$cache_file;;
    1272     esac
    1273   fi
    1274 else
    1275   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1276 echo "$as_me: creating cache $cache_file" >&6;}
    1277   >$cache_file
    1278 fi
    1279 
    1280 # Check that the precious variables saved in the cache have kept the same
    1281 # value.
    1282 ac_cache_corrupted=false
    1283 for ac_var in `(set) 2>&1 |
    1284                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    1285   eval ac_old_set=\$ac_cv_env_${ac_var}_set
    1286   eval ac_new_set=\$ac_env_${ac_var}_set
    1287   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1288   eval ac_new_val="\$ac_env_${ac_var}_value"
    1289   case $ac_old_set,$ac_new_set in
    1290     set,)
    1291       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    1293       ac_cache_corrupted=: ;;
    1294     ,set)
    1295       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    1297       ac_cache_corrupted=: ;;
    1298     ,);;
    1299     *)
    1300       if test "x$ac_old_val" != "x$ac_new_val"; then
    1301         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1303         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1304 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1305         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1306 echo "$as_me:   current value: $ac_new_val" >&2;}
    1307         ac_cache_corrupted=:
    1308       fi;;
    1309   esac
    1310   # Pass precious variables to config.status.
    1311   if test "$ac_new_set" = set; then
    1312     case $ac_new_val in
    1313     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1314       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    1315     *) ac_arg=$ac_var=$ac_new_val ;;
    1316     esac
    1317     case " $ac_configure_args " in
    1318       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1319       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    1320     esac
    1321   fi
    1322 done
    1323 if $ac_cache_corrupted; then
    1324   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1325 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1326   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1327 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1328    { (exit 1); exit 1; }; }
     563  echo "loading cache $cache_file"
     564  . $cache_file
     565else
     566  echo "creating cache $cache_file"
     567  > $cache_file
    1329568fi
    1330569
    1331570ac_ext=c
     571# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    1332572ac_cpp='$CPP $CPPFLAGS'
    1333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1336 
    1337 
    1338 
    1339 
    1340 
    1341 
    1342 
    1343 
    1344 
    1345 
    1346 
    1347 
    1348 
    1349 
    1350 
    1351 
    1352 
     573ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     574ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     575cross_compiling=$ac_cv_prog_cc_cross
     576
     577ac_exeext=
     578ac_objext=o
     579if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
     580  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
     581  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
     582    ac_n= ac_c='
     583' ac_t='        '
     584  else
     585    ac_n=-n ac_c= ac_t=
     586  fi
     587else
     588  ac_n= ac_c='\c' ac_t=
     589fi
    1353590
    1354591
     
    1356593pwd=`pwd`
    1357594
    1358 # make them to env variables
     595# make them to env variables 
    1359596# pass them indirectly to subsequent configures
    1360597SINGULAR_MAJOR_VERSION=2
     
    1405642
    1406643
    1407 echo "$as_me:$LINENO: checking uname for singular" >&5
    1408 echo $ECHO_N "checking uname for singular... $ECHO_C" >&6
    1409 if test "${ac_cv_singuname+set}" = set; then
    1410   echo $ECHO_N "(cached) $ECHO_C" >&6
     644echo $ac_n "checking uname for singular""... $ac_c" 1>&6
     645echo "configure:646: checking uname for singular" >&5
     646if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
     647  echo $ac_n "(cached) $ac_c" 1>&6
    1411648else
    1412649  ac_cv_singuname="unknown"
     
    1419656fi
    1420657
    1421 echo "$as_me:$LINENO: result: $ac_cv_singuname" >&5
    1422 echo "${ECHO_T}$ac_cv_singuname" >&6
     658echo "$ac_t""$ac_cv_singuname" 1>&6
    1423659if test "$ac_cv_singuname" = unknown; then
    1424   { { echo "$as_me:$LINENO: error: Unknown architecture: Check singuname.sh" >&5
    1425 echo "$as_me: error: Unknown architecture: Check singuname.sh" >&2;}
    1426    { (exit 1); exit 1; }; }
     660  { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; }
    1427661else
    1428662  SINGUNAME=$ac_cv_singuname
    1429 
     663 
    1430664fi
    1431665
     
    1434668
    1435669
    1436 ac_ext=c
    1437 ac_cpp='$CPP $CPPFLAGS'
    1438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    1439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    1440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1441 if test -n "$ac_tool_prefix"; then
    1442   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    1443 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1444 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1446 if test "${ac_cv_prog_CC+set}" = set; then
    1447   echo $ECHO_N "(cached) $ECHO_C" >&6
     670# Extract the first word of "gcc", so it can be a program name with args.
     671set dummy gcc; ac_word=$2
     672echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     673echo "configure:674: checking for $ac_word" >&5
     674if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     675  echo $ac_n "(cached) $ac_c" 1>&6
    1448676else
    1449677  if test -n "$CC"; then
    1450678  ac_cv_prog_CC="$CC" # Let the user override the test.
    1451679else
    1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1453 for as_dir in $PATH
    1454 do
    1455   IFS=$as_save_IFS
    1456   test -z "$as_dir" && as_dir=.
    1457   for ac_exec_ext in '' $ac_executable_extensions; do
    1458   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1459     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1460     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1461     break 2
    1462   fi
    1463 done
    1464 done
    1465 
    1466 fi
    1467 fi
    1468 CC=$ac_cv_prog_CC
     680  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     681  ac_dummy="$PATH"
     682  for ac_dir in $ac_dummy; do
     683    test -z "$ac_dir" && ac_dir=.
     684    if test -f $ac_dir/$ac_word; then
     685      ac_cv_prog_CC="gcc"
     686      break
     687    fi
     688  done
     689  IFS="$ac_save_ifs"
     690fi
     691fi
     692CC="$ac_cv_prog_CC"
    1469693if test -n "$CC"; then
    1470   echo "$as_me:$LINENO: result: $CC" >&5
    1471 echo "${ECHO_T}$CC" >&6
    1472 else
    1473   echo "$as_me:$LINENO: result: no" >&5
    1474 echo "${ECHO_T}no" >&6
    1475 fi
    1476 
    1477 fi
    1478 if test -z "$ac_cv_prog_CC"; then
    1479   ac_ct_CC=$CC
    1480   # Extract the first word of "gcc", so it can be a program name with args.
    1481 set dummy gcc; ac_word=$2
    1482 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1484 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1485   echo $ECHO_N "(cached) $ECHO_C" >&6
    1486 else
    1487   if test -n "$ac_ct_CC"; then
    1488   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1489 else
    1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1491 for as_dir in $PATH
    1492 do
    1493   IFS=$as_save_IFS
    1494   test -z "$as_dir" && as_dir=.
    1495   for ac_exec_ext in '' $ac_executable_extensions; do
    1496   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1497     ac_cv_prog_ac_ct_CC="gcc"
    1498     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1499     break 2
    1500   fi
    1501 done
    1502 done
    1503 
    1504 fi
    1505 fi
    1506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1507 if test -n "$ac_ct_CC"; then
    1508   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1509 echo "${ECHO_T}$ac_ct_CC" >&6
    1510 else
    1511   echo "$as_me:$LINENO: result: no" >&5
    1512 echo "${ECHO_T}no" >&6
    1513 fi
    1514 
    1515   CC=$ac_ct_CC
    1516 else
    1517   CC="$ac_cv_prog_CC"
    1518 fi
    1519 
    1520 if test -z "$CC"; then
    1521   if test -n "$ac_tool_prefix"; then
    1522   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    1523 set dummy ${ac_tool_prefix}cc; ac_word=$2
    1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1526 if test "${ac_cv_prog_CC+set}" = set; then
    1527   echo $ECHO_N "(cached) $ECHO_C" >&6
    1528 else
    1529   if test -n "$CC"; then
    1530   ac_cv_prog_CC="$CC" # Let the user override the test.
    1531 else
    1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1533 for as_dir in $PATH
    1534 do
    1535   IFS=$as_save_IFS
    1536   test -z "$as_dir" && as_dir=.
    1537   for ac_exec_ext in '' $ac_executable_extensions; do
    1538   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1539     ac_cv_prog_CC="${ac_tool_prefix}cc"
    1540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1541     break 2
    1542   fi
    1543 done
    1544 done
    1545 
    1546 fi
    1547 fi
    1548 CC=$ac_cv_prog_CC
    1549 if test -n "$CC"; then
    1550   echo "$as_me:$LINENO: result: $CC" >&5
    1551 echo "${ECHO_T}$CC" >&6
    1552 else
    1553   echo "$as_me:$LINENO: result: no" >&5
    1554 echo "${ECHO_T}no" >&6
    1555 fi
    1556 
    1557 fi
    1558 if test -z "$ac_cv_prog_CC"; then
    1559   ac_ct_CC=$CC
    1560   # Extract the first word of "cc", so it can be a program name with args.
    1561 set dummy cc; ac_word=$2
    1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1565   echo $ECHO_N "(cached) $ECHO_C" >&6
    1566 else
    1567   if test -n "$ac_ct_CC"; then
    1568   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1569 else
    1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1571 for as_dir in $PATH
    1572 do
    1573   IFS=$as_save_IFS
    1574   test -z "$as_dir" && as_dir=.
    1575   for ac_exec_ext in '' $ac_executable_extensions; do
    1576   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1577     ac_cv_prog_ac_ct_CC="cc"
    1578     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1579     break 2
    1580   fi
    1581 done
    1582 done
    1583 
    1584 fi
    1585 fi
    1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1587 if test -n "$ac_ct_CC"; then
    1588   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1589 echo "${ECHO_T}$ac_ct_CC" >&6
    1590 else
    1591   echo "$as_me:$LINENO: result: no" >&5
    1592 echo "${ECHO_T}no" >&6
    1593 fi
    1594 
    1595   CC=$ac_ct_CC
    1596 else
    1597   CC="$ac_cv_prog_CC"
    1598 fi
    1599 
    1600 fi
     694  echo "$ac_t""$CC" 1>&6
     695else
     696  echo "$ac_t""no" 1>&6
     697fi
     698
    1601699if test -z "$CC"; then
    1602700  # Extract the first word of "cc", so it can be a program name with args.
    1603701set dummy cc; ac_word=$2
    1604 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1606 if test "${ac_cv_prog_CC+set}" = set; then
    1607   echo $ECHO_N "(cached) $ECHO_C" >&6
     702echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     703echo "configure:704: checking for $ac_word" >&5
     704if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     705  echo $ac_n "(cached) $ac_c" 1>&6
    1608706else
    1609707  if test -n "$CC"; then
    1610708  ac_cv_prog_CC="$CC" # Let the user override the test.
    1611709else
     710  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    1612711  ac_prog_rejected=no
    1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1614 for as_dir in $PATH
    1615 do
    1616   IFS=$as_save_IFS
    1617   test -z "$as_dir" && as_dir=.
    1618   for ac_exec_ext in '' $ac_executable_extensions; do
    1619   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1620     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    1621        ac_prog_rejected=yes
    1622        continue
    1623      fi
    1624     ac_cv_prog_CC="cc"
    1625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1626     break 2
    1627   fi
    1628 done
    1629 done
    1630 
     712  ac_dummy="$PATH"
     713  for ac_dir in $ac_dummy; do
     714    test -z "$ac_dir" && ac_dir=.
     715    if test -f $ac_dir/$ac_word; then
     716      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     717        ac_prog_rejected=yes
     718        continue
     719      fi
     720      ac_cv_prog_CC="cc"
     721      break
     722    fi
     723  done
     724  IFS="$ac_save_ifs"
    1631725if test $ac_prog_rejected = yes; then
    1632726  # We found a bogon in the path, so make sure we never use it.
    1633727  set dummy $ac_cv_prog_CC
    1634728  shift
    1635   if test $# != 0; then
     729  if test $# -gt 0; then
    1636730    # We chose a different compiler from the bogus one.
    1637731    # However, it has the same basename, so the bogon will be chosen
    1638732    # first if we set CC to just the basename; use the full file name.
    1639733    shift
    1640     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    1641   fi
    1642 fi
    1643 fi
    1644 fi
    1645 CC=$ac_cv_prog_CC
     734    set dummy "$ac_dir/$ac_word" "$@"
     735    shift
     736    ac_cv_prog_CC="$@"
     737  fi
     738fi
     739fi
     740fi
     741CC="$ac_cv_prog_CC"
    1646742if test -n "$CC"; then
    1647   echo "$as_me:$LINENO: result: $CC" >&5
    1648 echo "${ECHO_T}$CC" >&6
    1649 else
    1650   echo "$as_me:$LINENO: result: no" >&5
    1651 echo "${ECHO_T}no" >&6
    1652 fi
    1653 
    1654 fi
    1655 if test -z "$CC"; then
    1656   if test -n "$ac_tool_prefix"; then
    1657   for ac_prog in cl
    1658   do
    1659     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    1660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1663 if test "${ac_cv_prog_CC+set}" = set; then
    1664   echo $ECHO_N "(cached) $ECHO_C" >&6
     743  echo "$ac_t""$CC" 1>&6
     744else
     745  echo "$ac_t""no" 1>&6
     746fi
     747
     748  if test -z "$CC"; then
     749    case "`uname -s`" in
     750    *win32* | *WIN32*)
     751      # Extract the first word of "cl", so it can be a program name with args.
     752set dummy cl; ac_word=$2
     753echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     754echo "configure:755: checking for $ac_word" >&5
     755if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     756  echo $ac_n "(cached) $ac_c" 1>&6
    1665757else
    1666758  if test -n "$CC"; then
    1667759  ac_cv_prog_CC="$CC" # Let the user override the test.
    1668760else
    1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1670 for as_dir in $PATH
    1671 do
    1672   IFS=$as_save_IFS
    1673   test -z "$as_dir" && as_dir=.
    1674   for ac_exec_ext in '' $ac_executable_extensions; do
    1675   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1676     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1677     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1678     break 2
    1679   fi
    1680 done
    1681 done
    1682 
    1683 fi
    1684 fi
    1685 CC=$ac_cv_prog_CC
     761  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     762  ac_dummy="$PATH"
     763  for ac_dir in $ac_dummy; do
     764    test -z "$ac_dir" && ac_dir=.
     765    if test -f $ac_dir/$ac_word; then
     766      ac_cv_prog_CC="cl"
     767      break
     768    fi
     769  done
     770  IFS="$ac_save_ifs"
     771fi
     772fi
     773CC="$ac_cv_prog_CC"
    1686774if test -n "$CC"; then
    1687   echo "$as_me:$LINENO: result: $CC" >&5
    1688 echo "${ECHO_T}$CC" >&6
    1689 else
    1690   echo "$as_me:$LINENO: result: no" >&5
    1691 echo "${ECHO_T}no" >&6
    1692 fi
    1693 
    1694     test -n "$CC" && break
    1695   done
    1696 fi
    1697 if test -z "$CC"; then
    1698   ac_ct_CC=$CC
    1699   for ac_prog in cl
    1700 do
    1701   # Extract the first word of "$ac_prog", so it can be a program name with args.
    1702 set dummy $ac_prog; ac_word=$2
    1703 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1706   echo $ECHO_N "(cached) $ECHO_C" >&6
    1707 else
    1708   if test -n "$ac_ct_CC"; then
    1709   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1710 else
    1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1712 for as_dir in $PATH
    1713 do
    1714   IFS=$as_save_IFS
    1715   test -z "$as_dir" && as_dir=.
    1716   for ac_exec_ext in '' $ac_executable_extensions; do
    1717   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1718     ac_cv_prog_ac_ct_CC="$ac_prog"
    1719     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1720     break 2
    1721   fi
    1722 done
    1723 done
    1724 
    1725 fi
    1726 fi
    1727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1728 if test -n "$ac_ct_CC"; then
    1729   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1730 echo "${ECHO_T}$ac_ct_CC" >&6
    1731 else
    1732   echo "$as_me:$LINENO: result: no" >&5
    1733 echo "${ECHO_T}no" >&6
    1734 fi
    1735 
    1736   test -n "$ac_ct_CC" && break
    1737 done
    1738 
    1739   CC=$ac_ct_CC
    1740 fi
    1741 
    1742 fi
    1743 
    1744 
    1745 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    1746 See \`config.log' for more details." >&5
    1747 echo "$as_me: error: no acceptable C compiler found in \$PATH
    1748 See \`config.log' for more details." >&2;}
    1749    { (exit 1); exit 1; }; }
    1750 
    1751 # Provide some information about the compiler.
    1752 echo "$as_me:$LINENO:" \
    1753      "checking for C compiler version" >&5
    1754 ac_compiler=`set X $ac_compile; echo $2`
    1755 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1756   (eval $ac_compiler --version </dev/null >&5) 2>&5
    1757   ac_status=$?
    1758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1759   (exit $ac_status); }
    1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1761   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1762   ac_status=$?
    1763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1764   (exit $ac_status); }
    1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1766   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1767   ac_status=$?
    1768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1769   (exit $ac_status); }
    1770 
    1771 cat >conftest.$ac_ext <<_ACEOF
    1772 /* confdefs.h.  */
    1773 _ACEOF
    1774 cat confdefs.h >>conftest.$ac_ext
    1775 cat >>conftest.$ac_ext <<_ACEOF
    1776 /* end confdefs.h.  */
    1777 
    1778 int
    1779 main ()
    1780 {
    1781 
    1782   ;
    1783   return 0;
    1784 }
    1785 _ACEOF
    1786 ac_clean_files_save=$ac_clean_files
    1787 ac_clean_files="$ac_clean_files a.out a.exe b.out"
    1788 # Try to create an executable without -o first, disregard a.out.
    1789 # It will help us diagnose broken compilers, and finding out an intuition
    1790 # of exeext.
    1791 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1792 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1793 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1794 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1795   (eval $ac_link_default) 2>&5
    1796   ac_status=$?
    1797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1798   (exit $ac_status); }; then
    1799   # Find the output, starting from the most likely.  This scheme is
    1800 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1801 # resort.
    1802 
    1803 # Be careful to initialize this variable, since it used to be cached.
    1804 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1805 ac_cv_exeext=
    1806 # b.out is created by i960 compilers.
    1807 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
    1808 do
    1809   test -f "$ac_file" || continue
    1810   case $ac_file in
    1811     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1812         ;;
    1813     conftest.$ac_ext )
    1814         # This is the source file.
    1815         ;;
    1816     [ab].out )
    1817         # We found the default executable, but exeext='' is most
    1818         # certainly right.
    1819         break;;
    1820     *.* )
    1821         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1822         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1823         # but it would be cool to find out if it's true.  Does anybody
    1824         # maintain Libtool? --akim.
    1825         export ac_cv_exeext
    1826         break;;
    1827     * )
    1828         break;;
    1829   esac
    1830 done
    1831 else
    1832   echo "$as_me: failed program was:" >&5
    1833 sed 's/^/| /' conftest.$ac_ext >&5
    1834 
    1835 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    1836 See \`config.log' for more details." >&5
    1837 echo "$as_me: error: C compiler cannot create executables
    1838 See \`config.log' for more details." >&2;}
    1839    { (exit 77); exit 77; }; }
    1840 fi
    1841 
    1842 ac_exeext=$ac_cv_exeext
    1843 echo "$as_me:$LINENO: result: $ac_file" >&5
    1844 echo "${ECHO_T}$ac_file" >&6
    1845 
    1846 # Check the compiler produces executables we can run.  If not, either
    1847 # the compiler is broken, or we cross compile.
    1848 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1849 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    1850 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    1851 # If not cross compiling, check that we can run a simple program.
    1852 if test "$cross_compiling" != yes; then
    1853   if { ac_try='./$ac_file'
    1854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1855   (eval $ac_try) 2>&5
    1856   ac_status=$?
    1857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1858   (exit $ac_status); }; }; then
    1859     cross_compiling=no
    1860   else
    1861     if test "$cross_compiling" = maybe; then
    1862         cross_compiling=yes
    1863     else
    1864         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    1865 If you meant to cross compile, use \`--host'.
    1866 See \`config.log' for more details." >&5
    1867 echo "$as_me: error: cannot run C compiled programs.
    1868 If you meant to cross compile, use \`--host'.
    1869 See \`config.log' for more details." >&2;}
    1870    { (exit 1); exit 1; }; }
    1871     fi
    1872   fi
    1873 fi
    1874 echo "$as_me:$LINENO: result: yes" >&5
    1875 echo "${ECHO_T}yes" >&6
    1876 
    1877 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    1878 ac_clean_files=$ac_clean_files_save
    1879 # Check the compiler produces executables we can run.  If not, either
    1880 # the compiler is broken, or we cross compile.
    1881 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1882 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1883 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1884 echo "${ECHO_T}$cross_compiling" >&6
    1885 
    1886 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1887 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1889   (eval $ac_link) 2>&5
    1890   ac_status=$?
    1891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1892   (exit $ac_status); }; then
    1893   # If both `conftest.exe' and `conftest' are `present' (well, observable)
    1894 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
    1895 # work properly (i.e., refer to `conftest.exe'), while it won't with
    1896 # `rm'.
    1897 for ac_file in conftest.exe conftest conftest.*; do
    1898   test -f "$ac_file" || continue
    1899   case $ac_file in
    1900     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    1901     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1902           export ac_cv_exeext
    1903           break;;
    1904     * ) break;;
    1905   esac
    1906 done
    1907 else
    1908   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    1909 See \`config.log' for more details." >&5
    1910 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    1911 See \`config.log' for more details." >&2;}
    1912    { (exit 1); exit 1; }; }
    1913 fi
    1914 
    1915 rm -f conftest$ac_cv_exeext
    1916 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1917 echo "${ECHO_T}$ac_cv_exeext" >&6
    1918 
    1919 rm -f conftest.$ac_ext
    1920 EXEEXT=$ac_cv_exeext
    1921 ac_exeext=$EXEEXT
    1922 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1923 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    1924 if test "${ac_cv_objext+set}" = set; then
    1925   echo $ECHO_N "(cached) $ECHO_C" >&6
    1926 else
    1927   cat >conftest.$ac_ext <<_ACEOF
    1928 /* confdefs.h.  */
    1929 _ACEOF
    1930 cat confdefs.h >>conftest.$ac_ext
    1931 cat >>conftest.$ac_ext <<_ACEOF
    1932 /* end confdefs.h.  */
    1933 
    1934 int
    1935 main ()
    1936 {
    1937 
    1938   ;
    1939   return 0;
    1940 }
    1941 _ACEOF
    1942 rm -f conftest.o conftest.obj
    1943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1944   (eval $ac_compile) 2>&5
    1945   ac_status=$?
    1946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1947   (exit $ac_status); }; then
    1948   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
    1949   case $ac_file in
    1950     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
    1951     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    1952        break;;
    1953   esac
    1954 done
    1955 else
    1956   echo "$as_me: failed program was:" >&5
    1957 sed 's/^/| /' conftest.$ac_ext >&5
    1958 
    1959 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    1960 See \`config.log' for more details." >&5
    1961 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    1962 See \`config.log' for more details." >&2;}
    1963    { (exit 1); exit 1; }; }
    1964 fi
    1965 
    1966 rm -f conftest.$ac_cv_objext conftest.$ac_ext
    1967 fi
    1968 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1969 echo "${ECHO_T}$ac_cv_objext" >&6
    1970 OBJEXT=$ac_cv_objext
    1971 ac_objext=$OBJEXT
    1972 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1973 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    1974 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    1975   echo $ECHO_N "(cached) $ECHO_C" >&6
    1976 else
    1977   cat >conftest.$ac_ext <<_ACEOF
    1978 /* confdefs.h.  */
    1979 _ACEOF
    1980 cat confdefs.h >>conftest.$ac_ext
    1981 cat >>conftest.$ac_ext <<_ACEOF
    1982 /* end confdefs.h.  */
    1983 
    1984 int
    1985 main ()
    1986 {
    1987 #ifndef __GNUC__
    1988        choke me
     775  echo "$ac_t""$CC" 1>&6
     776else
     777  echo "$ac_t""no" 1>&6
     778fi
     779 ;;
     780    esac
     781  fi
     782  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
     783fi
     784
     785echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     786echo "configure:787: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     787
     788ac_ext=c
     789# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     790ac_cpp='$CPP $CPPFLAGS'
     791ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     792ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     793cross_compiling=$ac_cv_prog_cc_cross
     794
     795cat > conftest.$ac_ext << EOF
     796
     797#line 798 "configure"
     798#include "confdefs.h"
     799
     800main(){return(0);}
     801EOF
     802if { (eval echo configure:803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     803  ac_cv_prog_cc_works=yes
     804  # If we can't run a trivial program, we are probably using a cross compiler.
     805  if (./conftest; exit) 2>/dev/null; then
     806    ac_cv_prog_cc_cross=no
     807  else
     808    ac_cv_prog_cc_cross=yes
     809  fi
     810else
     811  echo "configure: failed program was:" >&5
     812  cat conftest.$ac_ext >&5
     813  ac_cv_prog_cc_works=no
     814fi
     815rm -fr conftest*
     816ac_ext=c
     817# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     818ac_cpp='$CPP $CPPFLAGS'
     819ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     820ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     821cross_compiling=$ac_cv_prog_cc_cross
     822
     823echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     824if test $ac_cv_prog_cc_works = no; then
     825  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
     826fi
     827echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     828echo "configure:829: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     829echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     830cross_compiling=$ac_cv_prog_cc_cross
     831
     832echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
     833echo "configure:834: checking whether we are using GNU C" >&5
     834if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
     835  echo $ac_n "(cached) $ac_c" 1>&6
     836else
     837  cat > conftest.c <<EOF
     838#ifdef __GNUC__
     839  yes;
    1989840#endif
    1990 
    1991   ;
    1992   return 0;
    1993 }
    1994 _ACEOF
    1995 rm -f conftest.$ac_objext
    1996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1997   (eval $ac_compile) 2>conftest.er1
    1998   ac_status=$?
    1999   grep -v '^ *+' conftest.er1 >conftest.err
    2000   rm -f conftest.er1
    2001   cat conftest.err >&5
    2002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2003   (exit $ac_status); } &&
    2004          { ac_try='test -z "$ac_c_werror_flag"
    2005                          || test ! -s conftest.err'
    2006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2007   (eval $ac_try) 2>&5
    2008   ac_status=$?
    2009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2010   (exit $ac_status); }; } &&
    2011          { ac_try='test -s conftest.$ac_objext'
    2012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2013   (eval $ac_try) 2>&5
    2014   ac_status=$?
    2015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2016   (exit $ac_status); }; }; then
    2017   ac_compiler_gnu=yes
    2018 else
    2019   echo "$as_me: failed program was:" >&5
    2020 sed 's/^/| /' conftest.$ac_ext >&5
    2021 
    2022 ac_compiler_gnu=no
    2023 fi
    2024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2025 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    2026 
    2027 fi
    2028 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2030 GCC=`test $ac_compiler_gnu = yes && echo yes`
    2031 ac_test_CFLAGS=${CFLAGS+set}
    2032 ac_save_CFLAGS=$CFLAGS
    2033 CFLAGS="-g"
    2034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2036 if test "${ac_cv_prog_cc_g+set}" = set; then
    2037   echo $ECHO_N "(cached) $ECHO_C" >&6
    2038 else
    2039   cat >conftest.$ac_ext <<_ACEOF
    2040 /* confdefs.h.  */
    2041 _ACEOF
    2042 cat confdefs.h >>conftest.$ac_ext
    2043 cat >>conftest.$ac_ext <<_ACEOF
    2044 /* end confdefs.h.  */
    2045 
    2046 int
    2047 main ()
    2048 {
    2049 
    2050   ;
    2051   return 0;
    2052 }
    2053 _ACEOF
    2054 rm -f conftest.$ac_objext
    2055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2056   (eval $ac_compile) 2>conftest.er1
    2057   ac_status=$?
    2058   grep -v '^ *+' conftest.er1 >conftest.err
    2059   rm -f conftest.er1
    2060   cat conftest.err >&5
    2061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2062   (exit $ac_status); } &&
    2063          { ac_try='test -z "$ac_c_werror_flag"
    2064                          || test ! -s conftest.err'
    2065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2066   (eval $ac_try) 2>&5
    2067   ac_status=$?
    2068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2069   (exit $ac_status); }; } &&
    2070          { ac_try='test -s conftest.$ac_objext'
    2071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2072   (eval $ac_try) 2>&5
    2073   ac_status=$?
    2074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2075   (exit $ac_status); }; }; then
     841EOF
     842if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     843  ac_cv_prog_gcc=yes
     844else
     845  ac_cv_prog_gcc=no
     846fi
     847fi
     848
     849echo "$ac_t""$ac_cv_prog_gcc" 1>&6
     850
     851if test $ac_cv_prog_gcc = yes; then
     852  GCC=yes
     853else
     854  GCC=
     855fi
     856
     857ac_test_CFLAGS="${CFLAGS+set}"
     858ac_save_CFLAGS="$CFLAGS"
     859CFLAGS=
     860echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     861echo "configure:862: checking whether ${CC-cc} accepts -g" >&5
     862if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
     863  echo $ac_n "(cached) $ac_c" 1>&6
     864else
     865  echo 'void f(){}' > conftest.c
     866if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    2076867  ac_cv_prog_cc_g=yes
    2077868else
    2078   echo "$as_me: failed program was:" >&5
    2079 sed 's/^/| /' conftest.$ac_ext >&5
    2080 
    2081 ac_cv_prog_cc_g=no
    2082 fi
    2083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2084 fi
    2085 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2086 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     869  ac_cv_prog_cc_g=no
     870fi
     871rm -f conftest*
     872
     873fi
     874
     875echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
    2087876if test "$ac_test_CFLAGS" = set; then
    2088   CFLAGS=$ac_save_CFLAGS
     877  CFLAGS="$ac_save_CFLAGS"
    2089878elif test $ac_cv_prog_cc_g = yes; then
    2090879  if test "$GCC" = yes; then
     
    2100889  fi
    2101890fi
    2102 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2103 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2104 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2105   echo $ECHO_N "(cached) $ECHO_C" >&6
    2106 else
    2107   ac_cv_prog_cc_stdc=no
    2108 ac_save_CC=$CC
    2109 cat >conftest.$ac_ext <<_ACEOF
    2110 /* confdefs.h.  */
    2111 _ACEOF
    2112 cat confdefs.h >>conftest.$ac_ext
    2113 cat >>conftest.$ac_ext <<_ACEOF
    2114 /* end confdefs.h.  */
    2115 #include <stdarg.h>
    2116 #include <stdio.h>
    2117 #include <sys/types.h>
    2118 #include <sys/stat.h>
    2119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    2120 struct buf { int x; };
    2121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    2122 static char *e (p, i)
    2123      char **p;
    2124      int i;
    2125 {
    2126   return p[i];
    2127 }
    2128 static char *f (char * (*g) (char **, int), char **p, ...)
    2129 {
    2130   char *s;
    2131   va_list v;
    2132   va_start (v,p);
    2133   s = g (p, va_arg (v,int));
    2134   va_end (v);
    2135   return s;
    2136 }
    2137 
    2138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    2139    function prototypes and stuff, but not '\xHH' hex character constants.
    2140    These don't provoke an error unfortunately, instead are silently treated
    2141    as 'x'.  The following induces an error, until -std1 is added to get
    2142    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    2143    array size at least.  It's necessary to write '\x00'==0 to get something
    2144    that's true only with -std1.  */
    2145 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    2146 
    2147 int test (int i, double x);
    2148 struct s1 {int (*f) (int a);};
    2149 struct s2 {int (*f) (double a);};
    2150 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    2151 int argc;
    2152 char **argv;
    2153 int
    2154 main ()
    2155 {
    2156 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    2157   ;
    2158   return 0;
    2159 }
    2160 _ACEOF
    2161 # Don't try gcc -ansi; that turns off useful extensions and
    2162 # breaks some systems' header files.
    2163 # AIX                   -qlanglvl=ansi
    2164 # Ultrix and OSF/1      -std1
    2165 # HP-UX 10.20 and later -Ae
    2166 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2167 # SVR4                  -Xc -D__EXTENSIONS__
    2168 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    2169 do
    2170   CC="$ac_save_CC $ac_arg"
    2171   rm -f conftest.$ac_objext
    2172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2173   (eval $ac_compile) 2>conftest.er1
    2174   ac_status=$?
    2175   grep -v '^ *+' conftest.er1 >conftest.err
    2176   rm -f conftest.er1
    2177   cat conftest.err >&5
    2178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2179   (exit $ac_status); } &&
    2180          { ac_try='test -z "$ac_c_werror_flag"
    2181                          || test ! -s conftest.err'
    2182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2183   (eval $ac_try) 2>&5
    2184   ac_status=$?
    2185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2186   (exit $ac_status); }; } &&
    2187          { ac_try='test -s conftest.$ac_objext'
    2188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2189   (eval $ac_try) 2>&5
    2190   ac_status=$?
    2191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2192   (exit $ac_status); }; }; then
    2193   ac_cv_prog_cc_stdc=$ac_arg
    2194 break
    2195 else
    2196   echo "$as_me: failed program was:" >&5
    2197 sed 's/^/| /' conftest.$ac_ext >&5
    2198 
    2199 fi
    2200 rm -f conftest.err conftest.$ac_objext
    2201 done
    2202 rm -f conftest.$ac_ext conftest.$ac_objext
    2203 CC=$ac_save_CC
    2204 
    2205 fi
    2206 
    2207 case "x$ac_cv_prog_cc_stdc" in
    2208   x|xno)
    2209     echo "$as_me:$LINENO: result: none needed" >&5
    2210 echo "${ECHO_T}none needed" >&6 ;;
    2211   *)
    2212     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2213 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2214     CC="$CC $ac_cv_prog_cc_stdc" ;;
    2215 esac
    2216 
    2217 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2218 # in C++ we need to declare it.  In case someone uses the same compiler
    2219 # for both compiling C and C++ we need to have the C++ compiler decide
    2220 # the declaration of exit, since it's the most demanding environment.
    2221 cat >conftest.$ac_ext <<_ACEOF
    2222 #ifndef __cplusplus
    2223   choke me
    2224 #endif
    2225 _ACEOF
    2226 rm -f conftest.$ac_objext
    2227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2228   (eval $ac_compile) 2>conftest.er1
    2229   ac_status=$?
    2230   grep -v '^ *+' conftest.er1 >conftest.err
    2231   rm -f conftest.er1
    2232   cat conftest.err >&5
    2233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2234   (exit $ac_status); } &&
    2235          { ac_try='test -z "$ac_c_werror_flag"
    2236                          || test ! -s conftest.err'
    2237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2238   (eval $ac_try) 2>&5
    2239   ac_status=$?
    2240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2241   (exit $ac_status); }; } &&
    2242          { ac_try='test -s conftest.$ac_objext'
    2243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2244   (eval $ac_try) 2>&5
    2245   ac_status=$?
    2246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2247   (exit $ac_status); }; }; then
    2248   for ac_declaration in \
    2249    '' \
    2250    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2251    'extern "C" void std::exit (int); using std::exit;' \
    2252    'extern "C" void exit (int) throw ();' \
    2253    'extern "C" void exit (int);' \
    2254    'void exit (int);'
    2255 do
    2256   cat >conftest.$ac_ext <<_ACEOF
    2257 /* confdefs.h.  */
    2258 _ACEOF
    2259 cat confdefs.h >>conftest.$ac_ext
    2260 cat >>conftest.$ac_ext <<_ACEOF
    2261 /* end confdefs.h.  */
    2262 $ac_declaration
    2263 #include <stdlib.h>
    2264 int
    2265 main ()
    2266 {
    2267 exit (42);
    2268   ;
    2269   return 0;
    2270 }
    2271 _ACEOF
    2272 rm -f conftest.$ac_objext
    2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2274   (eval $ac_compile) 2>conftest.er1
    2275   ac_status=$?
    2276   grep -v '^ *+' conftest.er1 >conftest.err
    2277   rm -f conftest.er1
    2278   cat conftest.err >&5
    2279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2280   (exit $ac_status); } &&
    2281          { ac_try='test -z "$ac_c_werror_flag"
    2282                          || test ! -s conftest.err'
    2283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2284   (eval $ac_try) 2>&5
    2285   ac_status=$?
    2286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2287   (exit $ac_status); }; } &&
    2288          { ac_try='test -s conftest.$ac_objext'
    2289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2290   (eval $ac_try) 2>&5
    2291   ac_status=$?
    2292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2293   (exit $ac_status); }; }; then
    2294   :
    2295 else
    2296   echo "$as_me: failed program was:" >&5
    2297 sed 's/^/| /' conftest.$ac_ext >&5
    2298 
    2299 continue
    2300 fi
    2301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2302   cat >conftest.$ac_ext <<_ACEOF
    2303 /* confdefs.h.  */
    2304 _ACEOF
    2305 cat confdefs.h >>conftest.$ac_ext
    2306 cat >>conftest.$ac_ext <<_ACEOF
    2307 /* end confdefs.h.  */
    2308 $ac_declaration
    2309 int
    2310 main ()
    2311 {
    2312 exit (42);
    2313   ;
    2314   return 0;
    2315 }
    2316 _ACEOF
    2317 rm -f conftest.$ac_objext
    2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2319   (eval $ac_compile) 2>conftest.er1
    2320   ac_status=$?
    2321   grep -v '^ *+' conftest.er1 >conftest.err
    2322   rm -f conftest.er1
    2323   cat conftest.err >&5
    2324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2325   (exit $ac_status); } &&
    2326          { ac_try='test -z "$ac_c_werror_flag"
    2327                          || test ! -s conftest.err'
    2328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2329   (eval $ac_try) 2>&5
    2330   ac_status=$?
    2331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2332   (exit $ac_status); }; } &&
    2333          { ac_try='test -s conftest.$ac_objext'
    2334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2335   (eval $ac_try) 2>&5
    2336   ac_status=$?
    2337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2338   (exit $ac_status); }; }; then
    2339   break
    2340 else
    2341   echo "$as_me: failed program was:" >&5
    2342 sed 's/^/| /' conftest.$ac_ext >&5
    2343 
    2344 fi
    2345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2346 done
    2347 rm -f conftest*
    2348 if test -n "$ac_declaration"; then
    2349   echo '#ifdef __cplusplus' >>confdefs.h
    2350   echo $ac_declaration      >>confdefs.h
    2351   echo '#endif'             >>confdefs.h
    2352 fi
    2353 
    2354 else
    2355   echo "$as_me: failed program was:" >&5
    2356 sed 's/^/| /' conftest.$ac_ext >&5
    2357 
    2358 fi
    2359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2360 ac_ext=c
    2361 ac_cpp='$CPP $CPPFLAGS'
    2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2365 
    2366 ac_ext=c
    2367 ac_cpp='$CPP $CPPFLAGS'
    2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2371 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2372 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     891
     892echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     893echo "configure:894: checking how to run the C preprocessor" >&5
    2373894# On Suns, sometimes $CPP names a directory.
    2374895if test -n "$CPP" && test -d "$CPP"; then
     
    2376897fi
    2377898if test -z "$CPP"; then
    2378   if test "${ac_cv_prog_CPP+set}" = set; then
    2379   echo $ECHO_N "(cached) $ECHO_C" >&6
    2380 else
    2381       # Double quotes because CPP needs to be expanded
    2382     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    2383     do
    2384       ac_preproc_ok=false
    2385 for ac_c_preproc_warn_flag in '' yes
    2386 do
    2387   # Use a header file that comes with gcc, so configuring glibc
    2388   # with a fresh cross-compiler works.
    2389   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2390   # <limits.h> exists even on freestanding compilers.
     899if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
     900  echo $ac_n "(cached) $ac_c" 1>&6
     901else
     902    # This must be in double quotes, not single quotes, because CPP may get
     903  # substituted into the Makefile and "${CC-cc}" will confuse make.
     904  CPP="${CC-cc} -E"
    2391905  # On the NeXT, cc -E runs the code through the compiler's parser,
    2392   # not just through cpp. "Syntax error" is here to catch this case.
    2393   cat >conftest.$ac_ext <<_ACEOF
    2394 /* confdefs.h.  */
    2395 _ACEOF
    2396 cat confdefs.h >>conftest.$ac_ext
    2397 cat >>conftest.$ac_ext <<_ACEOF
    2398 /* end confdefs.h.  */
    2399 #ifdef __STDC__
    2400 # include <limits.h>
    2401 #else
    2402 # include <assert.h>
    2403 #endif
    2404                      Syntax error
    2405 _ACEOF
    2406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2407   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2408   ac_status=$?
    2409   grep -v '^ *+' conftest.er1 >conftest.err
    2410   rm -f conftest.er1
    2411   cat conftest.err >&5
    2412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2413   (exit $ac_status); } >/dev/null; then
    2414   if test -s conftest.err; then
    2415     ac_cpp_err=$ac_c_preproc_warn_flag
    2416     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2417   else
    2418     ac_cpp_err=
    2419   fi
    2420 else
    2421   ac_cpp_err=yes
    2422 fi
    2423 if test -z "$ac_cpp_err"; then
     906  # not just through cpp.
     907  cat > conftest.$ac_ext <<EOF
     908#line 909 "configure"
     909#include "confdefs.h"
     910#include <assert.h>
     911Syntax Error
     912EOF
     913ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     914{ (eval echo configure:915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     915ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     916if test -z "$ac_err"; then
    2424917  :
    2425918else
    2426   echo "$as_me: failed program was:" >&5
    2427 sed 's/^/| /' conftest.$ac_ext >&5
    2428 
    2429   # Broken: fails on valid input.
    2430 continue
    2431 fi
    2432 rm -f conftest.err conftest.$ac_ext
    2433 
    2434   # OK, works on sane cases.  Now check whether non-existent headers
    2435   # can be detected and how.
    2436   cat >conftest.$ac_ext <<_ACEOF
    2437 /* confdefs.h.  */
    2438 _ACEOF
    2439 cat confdefs.h >>conftest.$ac_ext
    2440 cat >>conftest.$ac_ext <<_ACEOF
    2441 /* end confdefs.h.  */
    2442 #include <ac_nonexistent.h>
    2443 _ACEOF
    2444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2445   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2446   ac_status=$?
    2447   grep -v '^ *+' conftest.er1 >conftest.err
    2448   rm -f conftest.er1
    2449   cat conftest.err >&5
    2450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2451   (exit $ac_status); } >/dev/null; then
    2452   if test -s conftest.err; then
    2453     ac_cpp_err=$ac_c_preproc_warn_flag
    2454     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2455   else
    2456     ac_cpp_err=
    2457   fi
    2458 else
    2459   ac_cpp_err=yes
    2460 fi
    2461 if test -z "$ac_cpp_err"; then
    2462   # Broken: success on invalid input.
    2463 continue
    2464 else
    2465   echo "$as_me: failed program was:" >&5
    2466 sed 's/^/| /' conftest.$ac_ext >&5
    2467 
    2468   # Passes both tests.
    2469 ac_preproc_ok=:
    2470 break
    2471 fi
    2472 rm -f conftest.err conftest.$ac_ext
    2473 
    2474 done
    2475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2476 rm -f conftest.err conftest.$ac_ext
    2477 if $ac_preproc_ok; then
    2478   break
    2479 fi
    2480 
    2481     done
    2482     ac_cv_prog_CPP=$CPP
    2483 
    2484 fi
    2485   CPP=$ac_cv_prog_CPP
    2486 else
    2487   ac_cv_prog_CPP=$CPP
    2488 fi
    2489 echo "$as_me:$LINENO: result: $CPP" >&5
    2490 echo "${ECHO_T}$CPP" >&6
    2491 ac_preproc_ok=false
    2492 for ac_c_preproc_warn_flag in '' yes
    2493 do
    2494   # Use a header file that comes with gcc, so configuring glibc
    2495   # with a fresh cross-compiler works.
    2496   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2497   # <limits.h> exists even on freestanding compilers.
    2498   # On the NeXT, cc -E runs the code through the compiler's parser,
    2499   # not just through cpp. "Syntax error" is here to catch this case.
    2500   cat >conftest.$ac_ext <<_ACEOF
    2501 /* confdefs.h.  */
    2502 _ACEOF
    2503 cat confdefs.h >>conftest.$ac_ext
    2504 cat >>conftest.$ac_ext <<_ACEOF
    2505 /* end confdefs.h.  */
    2506 #ifdef __STDC__
    2507 # include <limits.h>
    2508 #else
    2509 # include <assert.h>
    2510 #endif
    2511                      Syntax error
    2512 _ACEOF
    2513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2514   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2515   ac_status=$?
    2516   grep -v '^ *+' conftest.er1 >conftest.err
    2517   rm -f conftest.er1
    2518   cat conftest.err >&5
    2519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2520   (exit $ac_status); } >/dev/null; then
    2521   if test -s conftest.err; then
    2522     ac_cpp_err=$ac_c_preproc_warn_flag
    2523     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2524   else
    2525     ac_cpp_err=
    2526   fi
    2527 else
    2528   ac_cpp_err=yes
    2529 fi
    2530 if test -z "$ac_cpp_err"; then
     919  echo "$ac_err" >&5
     920  echo "configure: failed program was:" >&5
     921  cat conftest.$ac_ext >&5
     922  rm -rf conftest*
     923  CPP="${CC-cc} -E -traditional-cpp"
     924  cat > conftest.$ac_ext <<EOF
     925#line 926 "configure"
     926#include "confdefs.h"
     927#include <assert.h>
     928Syntax Error
     929EOF
     930ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     931{ (eval echo configure:932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     932ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     933if test -z "$ac_err"; then
    2531934  :
    2532935else
    2533   echo "$as_me: failed program was:" >&5
    2534 sed 's/^/| /' conftest.$ac_ext >&5
    2535 
    2536   # Broken: fails on valid input.
    2537 continue
    2538 fi
    2539 rm -f conftest.err conftest.$ac_ext
    2540 
    2541   # OK, works on sane cases.  Now check whether non-existent headers
    2542   # can be detected and how.
    2543   cat >conftest.$ac_ext <<_ACEOF
    2544 /* confdefs.h.  */
    2545 _ACEOF
    2546 cat confdefs.h >>conftest.$ac_ext
    2547 cat >>conftest.$ac_ext <<_ACEOF
    2548 /* end confdefs.h.  */
    2549 #include <ac_nonexistent.h>
    2550 _ACEOF
    2551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2552   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2553   ac_status=$?
    2554   grep -v '^ *+' conftest.er1 >conftest.err
    2555   rm -f conftest.er1
    2556   cat conftest.err >&5
    2557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2558   (exit $ac_status); } >/dev/null; then
    2559   if test -s conftest.err; then
    2560     ac_cpp_err=$ac_c_preproc_warn_flag
    2561     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2562   else
    2563     ac_cpp_err=
    2564   fi
    2565 else
    2566   ac_cpp_err=yes
    2567 fi
    2568 if test -z "$ac_cpp_err"; then
    2569   # Broken: success on invalid input.
    2570 continue
    2571 else
    2572   echo "$as_me: failed program was:" >&5
    2573 sed 's/^/| /' conftest.$ac_ext >&5
    2574 
    2575   # Passes both tests.
    2576 ac_preproc_ok=:
    2577 break
    2578 fi
    2579 rm -f conftest.err conftest.$ac_ext
    2580 
    2581 done
    2582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2583 rm -f conftest.err conftest.$ac_ext
    2584 if $ac_preproc_ok; then
     936  echo "$ac_err" >&5
     937  echo "configure: failed program was:" >&5
     938  cat conftest.$ac_ext >&5
     939  rm -rf conftest*
     940  CPP="${CC-cc} -nologo -E"
     941  cat > conftest.$ac_ext <<EOF
     942#line 943 "configure"
     943#include "confdefs.h"
     944#include <assert.h>
     945Syntax Error
     946EOF
     947ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     948{ (eval echo configure:949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     949ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     950if test -z "$ac_err"; then
    2585951  :
    2586952else
    2587   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    2588 See \`config.log' for more details." >&5
    2589 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    2590 See \`config.log' for more details." >&2;}
    2591    { (exit 1); exit 1; }; }
    2592 fi
    2593 
    2594 ac_ext=c
    2595 ac_cpp='$CPP $CPPFLAGS'
    2596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     953  echo "$ac_err" >&5
     954  echo "configure: failed program was:" >&5
     955  cat conftest.$ac_ext >&5
     956  rm -rf conftest*
     957  CPP=/lib/cpp
     958fi
     959rm -f conftest*
     960fi
     961rm -f conftest*
     962fi
     963rm -f conftest*
     964  ac_cv_prog_CPP="$CPP"
     965fi
     966  CPP="$ac_cv_prog_CPP"
     967else
     968  ac_cv_prog_CPP="$CPP"
     969fi
     970echo "$ac_t""$CPP" 1>&6
    2599971
    2600972ac_aux_dir=
     
    2608980    ac_install_sh="$ac_aux_dir/install.sh -c"
    2609981    break
    2610   elif test -f $ac_dir/shtool; then
    2611     ac_aux_dir=$ac_dir
    2612     ac_install_sh="$ac_aux_dir/shtool install -c"
    2613     break
    2614982  fi
    2615983done
    2616984if test -z "$ac_aux_dir"; then
    2617   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2618 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    2619    { (exit 1); exit 1; }; }
    2620 fi
    2621 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2622 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2623 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     985  { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
     986fi
     987ac_config_guess=$ac_aux_dir/config.guess
     988ac_config_sub=$ac_aux_dir/config.sub
     989ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    2624990
    2625991# Find a good install program.  We prefer a C program (faster),
     
    2630996# IRIX /sbin/install
    2631997# AIX /bin/install
    2632 # AmigaOS /C/install, which installs bootblocks on floppy discs
    2633998# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    2634999# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    26351000# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
    2636 # OS/2's system install, which has a completely different semantic
    26371001# ./install, which can be erroneously created by make from ./install.sh.
    2638 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2639 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     1002echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
     1003echo "configure:1004: checking for a BSD compatible install" >&5
    26401004if test -z "$INSTALL"; then
    2641 if test "${ac_cv_path_install+set}" = set; then
    2642   echo $ECHO_N "(cached) $ECHO_C" >&6
    2643 else
    2644   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2645 for as_dir in $PATH
    2646 do
    2647   IFS=$as_save_IFS
    2648   test -z "$as_dir" && as_dir=.
    2649   # Account for people who put trailing slashes in PATH elements.
    2650 case $as_dir/ in
    2651   ./ | .// | /cC/* | \
    2652   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2653   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    2654   /usr/ucb/* ) ;;
    2655   *)
    2656     # OSF1 and SCO ODT 3.0 have their own names for install.
    2657     # Don't use installbsd from OSF since it installs stuff as root
    2658     # by default.
    2659     for ac_prog in ginstall scoinst install; do
    2660       for ac_exec_ext in '' $ac_executable_extensions; do
    2661         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     1005if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     1006  echo $ac_n "(cached) $ac_c" 1>&6
     1007else
     1008    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
     1009  for ac_dir in $PATH; do
     1010    # Account for people who put trailing slashes in PATH elements.
     1011    case "$ac_dir/" in
     1012    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
     1013    *)
     1014      # OSF1 and SCO ODT 3.0 have their own names for install.
     1015      # Don't use installbsd from OSF since it installs stuff as root
     1016      # by default.
     1017      for ac_prog in ginstall scoinst install; do
     1018        if test -f $ac_dir/$ac_prog; then
    26621019          if test $ac_prog = install &&
    2663             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1020            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
    26641021            # AIX install.  It has an incompatible calling convention.
    26651022            :
    2666           elif test $ac_prog = install &&
    2667             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2668             # program-specific install script used by HP pwplus--don't use.
    2669             :
    26701023          else
    2671             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2672             break 3
     1024            ac_cv_path_install="$ac_dir/$ac_prog -c"
     1025            break 2
    26731026          fi
    26741027        fi
    26751028      done
    2676     done
    2677     ;;
    2678 esac
    2679 done
    2680 
     1029      ;;
     1030    esac
     1031  done
     1032  IFS="$ac_save_IFS"
    26811033
    26821034fi
    26831035  if test "${ac_cv_path_install+set}" = set; then
    2684     INSTALL=$ac_cv_path_install
     1036    INSTALL="$ac_cv_path_install"
    26851037  else
    26861038    # As a last resort, use the slow shell script.  We don't cache a
     
    26881040    # break other packages using the cache if that directory is
    26891041    # removed, or if the path is relative.
    2690     INSTALL=$ac_install_sh
    2691   fi
    2692 fi
    2693 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2694 echo "${ECHO_T}$INSTALL" >&6
     1042    INSTALL="$ac_install_sh"
     1043  fi
     1044fi
     1045echo "$ac_t""$INSTALL" 1>&6
    26951046
    26961047# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    26981049test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    26991050
    2700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
     1051test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
    27011052
    27021053test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    27031054
    2704 
    2705 
    2706 echo "$as_me:$LINENO: checking for egrep" >&5
    2707 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2708 if test "${ac_cv_prog_egrep+set}" = set; then
    2709   echo $ECHO_N "(cached) $ECHO_C" >&6
    2710 else
    2711   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2712     then ac_cv_prog_egrep='grep -E'
    2713     else ac_cv_prog_egrep='egrep'
    2714     fi
    2715 fi
    2716 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2717 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2718  EGREP=$ac_cv_prog_egrep
    2719 
    2720 
    2721 
    2722 echo "$as_me:$LINENO: checking for AIX" >&5
    2723 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    2724 cat >conftest.$ac_ext <<_ACEOF
    2725 /* confdefs.h.  */
    2726 _ACEOF
    2727 cat confdefs.h >>conftest.$ac_ext
    2728 cat >>conftest.$ac_ext <<_ACEOF
    2729 /* end confdefs.h.  */
     1055echo $ac_n "checking for AIX""... $ac_c" 1>&6
     1056echo "configure:1057: checking for AIX" >&5
     1057cat > conftest.$ac_ext <<EOF
     1058#line 1059 "configure"
     1059#include "confdefs.h"
    27301060#ifdef _AIX
    27311061  yes
    27321062#endif
    27331063
    2734 _ACEOF
     1064EOF
    27351065if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2736   $EGREP "yes" >/dev/null 2>&1; then
    2737   echo "$as_me:$LINENO: result: yes" >&5
    2738 echo "${ECHO_T}yes" >&6
    2739 cat >>confdefs.h <<\_ACEOF
     1066  egrep "yes" >/dev/null 2>&1; then
     1067  rm -rf conftest*
     1068  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
    27401069#define _ALL_SOURCE 1
    2741 _ACEOF
    2742 
    2743 else
    2744   echo "$as_me:$LINENO: result: no" >&5
    2745 echo "${ECHO_T}no" >&6
     1070EOF
     1071
     1072else
     1073  rm -rf conftest*
     1074  echo "$ac_t""no" 1>&6
    27461075fi
    27471076rm -f conftest*
    27481077
    27491078
    2750 ac_ext=cc
    2751 ac_cpp='$CXXCPP $CPPFLAGS'
    2752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2755 if test -n "$ac_tool_prefix"; then
    2756   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    2757   do
    2758     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2760 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2762 if test "${ac_cv_prog_CXX+set}" = set; then
    2763   echo $ECHO_N "(cached) $ECHO_C" >&6
     1079for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
     1080do
     1081# Extract the first word of "$ac_prog", so it can be a program name with args.
     1082set dummy $ac_prog; ac_word=$2
     1083echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1084echo "configure:1085: checking for $ac_word" >&5
     1085if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
     1086  echo $ac_n "(cached) $ac_c" 1>&6
    27641087else
    27651088  if test -n "$CXX"; then
    27661089  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    27671090else
    2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2769 for as_dir in $PATH
    2770 do
    2771   IFS=$as_save_IFS
    2772   test -z "$as_dir" && as_dir=.
    2773   for ac_exec_ext in '' $ac_executable_extensions; do
    2774   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2775     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2776     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2777     break 2
    2778   fi
     1091  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1092  ac_dummy="$PATH"
     1093  for ac_dir in $ac_dummy; do
     1094    test -z "$ac_dir" && ac_dir=.
     1095    if test -f $ac_dir/$ac_word; then
     1096      ac_cv_prog_CXX="$ac_prog"
     1097      break
     1098    fi
     1099  done
     1100  IFS="$ac_save_ifs"
     1101fi
     1102fi
     1103CXX="$ac_cv_prog_CXX"
     1104if test -n "$CXX"; then
     1105  echo "$ac_t""$CXX" 1>&6
     1106else
     1107  echo "$ac_t""no" 1>&6
     1108fi
     1109
     1110test -n "$CXX" && break
    27791111done
    2780 done
    2781 
    2782 fi
    2783 fi
    2784 CXX=$ac_cv_prog_CXX
    2785 if test -n "$CXX"; then
    2786   echo "$as_me:$LINENO: result: $CXX" >&5
    2787 echo "${ECHO_T}$CXX" >&6
    2788 else
    2789   echo "$as_me:$LINENO: result: no" >&5
    2790 echo "${ECHO_T}no" >&6
    2791 fi
    2792 
    2793     test -n "$CXX" && break
    2794   done
    2795 fi
    2796 if test -z "$CXX"; then
    2797   ac_ct_CXX=$CXX
    2798   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
    2799 do
    2800   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2801 set dummy $ac_prog; ac_word=$2
    2802 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2804 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2805   echo $ECHO_N "(cached) $ECHO_C" >&6
    2806 else
    2807   if test -n "$ac_ct_CXX"; then
    2808   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    2809 else
    2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2811 for as_dir in $PATH
    2812 do
    2813   IFS=$as_save_IFS
    2814   test -z "$as_dir" && as_dir=.
    2815   for ac_exec_ext in '' $ac_executable_extensions; do
    2816   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2817     ac_cv_prog_ac_ct_CXX="$ac_prog"
    2818     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2819     break 2
    2820   fi
    2821 done
    2822 done
    2823 
    2824 fi
    2825 fi
    2826 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    2827 if test -n "$ac_ct_CXX"; then
    2828   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2829 echo "${ECHO_T}$ac_ct_CXX" >&6
    2830 else
    2831   echo "$as_me:$LINENO: result: no" >&5
    2832 echo "${ECHO_T}no" >&6
    2833 fi
    2834 
    2835   test -n "$ac_ct_CXX" && break
    2836 done
    2837 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2838 
    2839   CXX=$ac_ct_CXX
    2840 fi
    2841 
    2842 
    2843 # Provide some information about the compiler.
    2844 echo "$as_me:$LINENO:" \
    2845      "checking for C++ compiler version" >&5
    2846 ac_compiler=`set X $ac_compile; echo $2`
    2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2848   (eval $ac_compiler --version </dev/null >&5) 2>&5
    2849   ac_status=$?
    2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2851   (exit $ac_status); }
    2852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2853   (eval $ac_compiler -v </dev/null >&5) 2>&5
    2854   ac_status=$?
    2855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2856   (exit $ac_status); }
    2857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2858   (eval $ac_compiler -V </dev/null >&5) 2>&5
    2859   ac_status=$?
    2860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2861   (exit $ac_status); }
    2862 
    2863 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2864 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    2865 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2866   echo $ECHO_N "(cached) $ECHO_C" >&6
    2867 else
    2868   cat >conftest.$ac_ext <<_ACEOF
    2869 /* confdefs.h.  */
    2870 _ACEOF
    2871 cat confdefs.h >>conftest.$ac_ext
    2872 cat >>conftest.$ac_ext <<_ACEOF
    2873 /* end confdefs.h.  */
    2874 
    2875 int
    2876 main ()
    2877 {
    2878 #ifndef __GNUC__
    2879        choke me
     1112test -n "$CXX" || CXX="gcc"
     1113
     1114
     1115echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     1116echo "configure:1117: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1117
     1118ac_ext=C
     1119# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1120ac_cpp='$CXXCPP $CPPFLAGS'
     1121ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1122ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1123cross_compiling=$ac_cv_prog_cxx_cross
     1124
     1125cat > conftest.$ac_ext << EOF
     1126
     1127#line 1128 "configure"
     1128#include "confdefs.h"
     1129
     1130int main(){return(0);}
     1131EOF
     1132if { (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1133  ac_cv_prog_cxx_works=yes
     1134  # If we can't run a trivial program, we are probably using a cross compiler.
     1135  if (./conftest; exit) 2>/dev/null; then
     1136    ac_cv_prog_cxx_cross=no
     1137  else
     1138    ac_cv_prog_cxx_cross=yes
     1139  fi
     1140else
     1141  echo "configure: failed program was:" >&5
     1142  cat conftest.$ac_ext >&5
     1143  ac_cv_prog_cxx_works=no
     1144fi
     1145rm -fr conftest*
     1146ac_ext=c
     1147# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     1148ac_cpp='$CPP $CPPFLAGS'
     1149ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     1150ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1151cross_compiling=$ac_cv_prog_cc_cross
     1152
     1153echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
     1154if test $ac_cv_prog_cxx_works = no; then
     1155  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
     1156fi
     1157echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     1158echo "configure:1159: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1159echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
     1160cross_compiling=$ac_cv_prog_cxx_cross
     1161
     1162echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
     1163echo "configure:1164: checking whether we are using GNU C++" >&5
     1164if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
     1165  echo $ac_n "(cached) $ac_c" 1>&6
     1166else
     1167  cat > conftest.C <<EOF
     1168#ifdef __GNUC__
     1169  yes;
    28801170#endif
    2881 
    2882   ;
    2883   return 0;
    2884 }
    2885 _ACEOF
    2886 rm -f conftest.$ac_objext
    2887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2888   (eval $ac_compile) 2>conftest.er1
    2889   ac_status=$?
    2890   grep -v '^ *+' conftest.er1 >conftest.err
    2891   rm -f conftest.er1
    2892   cat conftest.err >&5
    2893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2894   (exit $ac_status); } &&
    2895          { ac_try='test -z "$ac_cxx_werror_flag"
    2896                          || test ! -s conftest.err'
    2897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2898   (eval $ac_try) 2>&5
    2899   ac_status=$?
    2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2901   (exit $ac_status); }; } &&
    2902          { ac_try='test -s conftest.$ac_objext'
    2903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2904   (eval $ac_try) 2>&5
    2905   ac_status=$?
    2906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2907   (exit $ac_status); }; }; then
    2908   ac_compiler_gnu=yes
    2909 else
    2910   echo "$as_me: failed program was:" >&5
    2911 sed 's/^/| /' conftest.$ac_ext >&5
    2912 
    2913 ac_compiler_gnu=no
    2914 fi
    2915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2916 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    2917 
    2918 fi
    2919 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2920 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2921 GXX=`test $ac_compiler_gnu = yes && echo yes`
    2922 ac_test_CXXFLAGS=${CXXFLAGS+set}
    2923 ac_save_CXXFLAGS=$CXXFLAGS
    2924 CXXFLAGS="-g"
    2925 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2926 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    2927 if test "${ac_cv_prog_cxx_g+set}" = set; then
    2928   echo $ECHO_N "(cached) $ECHO_C" >&6
    2929 else
    2930   cat >conftest.$ac_ext <<_ACEOF
    2931 /* confdefs.h.  */
    2932 _ACEOF
    2933 cat confdefs.h >>conftest.$ac_ext
    2934 cat >>conftest.$ac_ext <<_ACEOF
    2935 /* end confdefs.h.  */
    2936 
    2937 int
    2938 main ()
    2939 {
    2940 
    2941   ;
    2942   return 0;
    2943 }
    2944 _ACEOF
    2945 rm -f conftest.$ac_objext
    2946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2947   (eval $ac_compile) 2>conftest.er1
    2948   ac_status=$?
    2949   grep -v '^ *+' conftest.er1 >conftest.err
    2950   rm -f conftest.er1
    2951   cat conftest.err >&5
    2952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2953   (exit $ac_status); } &&
    2954          { ac_try='test -z "$ac_cxx_werror_flag"
    2955                          || test ! -s conftest.err'
    2956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2957   (eval $ac_try) 2>&5
    2958   ac_status=$?
    2959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2960   (exit $ac_status); }; } &&
    2961          { ac_try='test -s conftest.$ac_objext'
    2962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2963   (eval $ac_try) 2>&5
    2964   ac_status=$?
    2965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2966   (exit $ac_status); }; }; then
     1171EOF
     1172if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1173  ac_cv_prog_gxx=yes
     1174else
     1175  ac_cv_prog_gxx=no
     1176fi
     1177fi
     1178
     1179echo "$ac_t""$ac_cv_prog_gxx" 1>&6
     1180
     1181if test $ac_cv_prog_gxx = yes; then
     1182  GXX=yes
     1183else
     1184  GXX=
     1185fi
     1186
     1187ac_test_CXXFLAGS="${CXXFLAGS+set}"
     1188ac_save_CXXFLAGS="$CXXFLAGS"
     1189CXXFLAGS=
     1190echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     1191echo "configure:1192: checking whether ${CXX-g++} accepts -g" >&5
     1192if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
     1193  echo $ac_n "(cached) $ac_c" 1>&6
     1194else
     1195  echo 'void f(){}' > conftest.cc
     1196if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
    29671197  ac_cv_prog_cxx_g=yes
    29681198else
    2969   echo "$as_me: failed program was:" >&5
    2970 sed 's/^/| /' conftest.$ac_ext >&5
    2971 
    2972 ac_cv_prog_cxx_g=no
    2973 fi
    2974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2975 fi
    2976 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2977 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     1199  ac_cv_prog_cxx_g=no
     1200fi
     1201rm -f conftest*
     1202
     1203fi
     1204
     1205echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
    29781206if test "$ac_test_CXXFLAGS" = set; then
    2979   CXXFLAGS=$ac_save_CXXFLAGS
     1207  CXXFLAGS="$ac_save_CXXFLAGS"
    29801208elif test $ac_cv_prog_cxx_g = yes; then
    29811209  if test "$GXX" = yes; then
     
    29911219  fi
    29921220fi
    2993 for ac_declaration in \
    2994    '' \
    2995    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2996    'extern "C" void std::exit (int); using std::exit;' \
    2997    'extern "C" void exit (int) throw ();' \
    2998    'extern "C" void exit (int);' \
    2999    'void exit (int);'
    3000 do
    3001   cat >conftest.$ac_ext <<_ACEOF
    3002 /* confdefs.h.  */
    3003 _ACEOF
    3004 cat confdefs.h >>conftest.$ac_ext
    3005 cat >>conftest.$ac_ext <<_ACEOF
    3006 /* end confdefs.h.  */
    3007 $ac_declaration
    3008 #include <stdlib.h>
    3009 int
    3010 main ()
    3011 {
    3012 exit (42);
    3013   ;
    3014   return 0;
    3015 }
    3016 _ACEOF
    3017 rm -f conftest.$ac_objext
    3018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3019   (eval $ac_compile) 2>conftest.er1
    3020   ac_status=$?
    3021   grep -v '^ *+' conftest.er1 >conftest.err
    3022   rm -f conftest.er1
    3023   cat conftest.err >&5
    3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3025   (exit $ac_status); } &&
    3026          { ac_try='test -z "$ac_cxx_werror_flag"
    3027                          || test ! -s conftest.err'
    3028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3029   (eval $ac_try) 2>&5
    3030   ac_status=$?
    3031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3032   (exit $ac_status); }; } &&
    3033          { ac_try='test -s conftest.$ac_objext'
    3034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3035   (eval $ac_try) 2>&5
    3036   ac_status=$?
    3037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3038   (exit $ac_status); }; }; then
    3039   :
    3040 else
    3041   echo "$as_me: failed program was:" >&5
    3042 sed 's/^/| /' conftest.$ac_ext >&5
    3043 
    3044 continue
    3045 fi
    3046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3047   cat >conftest.$ac_ext <<_ACEOF
    3048 /* confdefs.h.  */
    3049 _ACEOF
    3050 cat confdefs.h >>conftest.$ac_ext
    3051 cat >>conftest.$ac_ext <<_ACEOF
    3052 /* end confdefs.h.  */
    3053 $ac_declaration
    3054 int
    3055 main ()
    3056 {
    3057 exit (42);
    3058   ;
    3059   return 0;
    3060 }
    3061 _ACEOF
    3062 rm -f conftest.$ac_objext
    3063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3064   (eval $ac_compile) 2>conftest.er1
    3065   ac_status=$?
    3066   grep -v '^ *+' conftest.er1 >conftest.err
    3067   rm -f conftest.er1
    3068   cat conftest.err >&5
    3069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3070   (exit $ac_status); } &&
    3071          { ac_try='test -z "$ac_cxx_werror_flag"
    3072                          || test ! -s conftest.err'
    3073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3074   (eval $ac_try) 2>&5
    3075   ac_status=$?
    3076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3077   (exit $ac_status); }; } &&
    3078          { ac_try='test -s conftest.$ac_objext'
    3079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3080   (eval $ac_try) 2>&5
    3081   ac_status=$?
    3082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3083   (exit $ac_status); }; }; then
    3084   break
    3085 else
    3086   echo "$as_me: failed program was:" >&5
    3087 sed 's/^/| /' conftest.$ac_ext >&5
    3088 
    3089 fi
    3090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3091 done
    3092 rm -f conftest*
    3093 if test -n "$ac_declaration"; then
    3094   echo '#ifdef __cplusplus' >>confdefs.h
    3095   echo $ac_declaration      >>confdefs.h
    3096   echo '#endif'             >>confdefs.h
    3097 fi
    3098 
    3099 ac_ext=c
    3100 ac_cpp='$CPP $CPPFLAGS'
    3101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    31041221
    31051222
     
    31081225
    31091226# check whether the compiler accepts -pipe
    3110 echo "$as_me:$LINENO: checking whether compiler accepts -pipe" >&5
    3111 echo $ECHO_N "checking whether compiler accepts -pipe... $ECHO_C" >&6
     1227echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
     1228echo "configure:1229: checking whether compiler accepts -pipe" >&5
    31121229temp_cflags=${CFLAGS}
    31131230CFLAGS="${CFLAGS} -pipe"
    3114 if test "${ac_cv_cxx_have_pipe+set}" = set; then
    3115   echo $ECHO_N "(cached) $ECHO_C" >&6
    3116 else
    3117   cat >conftest.$ac_ext <<_ACEOF
    3118 /* confdefs.h.  */
    3119 _ACEOF
    3120 cat confdefs.h >>conftest.$ac_ext
    3121 cat >>conftest.$ac_ext <<_ACEOF
    3122 /* end confdefs.h.  */
    3123 
    3124 int
    3125 main ()
    3126 {
    3127 
    3128   ;
    3129   return 0;
    3130 }
    3131 _ACEOF
    3132 rm -f conftest.$ac_objext
    3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3134   (eval $ac_compile) 2>conftest.er1
    3135   ac_status=$?
    3136   grep -v '^ *+' conftest.er1 >conftest.err
    3137   rm -f conftest.er1
    3138   cat conftest.err >&5
    3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3140   (exit $ac_status); } &&
    3141          { ac_try='test -z "$ac_c_werror_flag"
    3142                          || test ! -s conftest.err'
    3143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3144   (eval $ac_try) 2>&5
    3145   ac_status=$?
    3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3147   (exit $ac_status); }; } &&
    3148          { ac_try='test -s conftest.$ac_objext'
    3149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3150   (eval $ac_try) 2>&5
    3151   ac_status=$?
    3152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3153   (exit $ac_status); }; }; then
     1231if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then
     1232  echo $ac_n "(cached) $ac_c" 1>&6
     1233else
     1234  cat > conftest.$ac_ext <<EOF
     1235#line 1236 "configure"
     1236#include "confdefs.h"
     1237
     1238int main() {
     1239
     1240; return 0; }
     1241EOF
     1242if { (eval echo configure:1243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1243  rm -rf conftest*
    31541244  ac_cv_cxx_have_pipe=yes
    31551245else
    3156   echo "$as_me: failed program was:" >&5
    3157 sed 's/^/| /' conftest.$ac_ext >&5
    3158 
    3159 ac_cv_cxx_have_pipe=no
    3160 fi
    3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3162 
    3163 fi
    3164 
    3165 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_pipe}" >&5
    3166 echo "${ECHO_T}${ac_cv_cxx_have_pipe}" >&6
     1246  echo "configure: failed program was:" >&5
     1247  cat conftest.$ac_ext >&5
     1248  rm -rf conftest*
     1249  ac_cv_cxx_have_pipe=no
     1250fi
     1251rm -f conftest*
     1252
     1253fi
     1254
     1255echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6
    31671256CFLAGS=${temp_cflags}
    31681257if test "${ac_cv_cxx_have_pipe}" != yes; then
     
    31751264for ac_prog in perl5 perl
    31761265do
    3177   # Extract the first word of "$ac_prog", so it can be a program name with args.
     1266# Extract the first word of "$ac_prog", so it can be a program name with args.
    31781267set dummy $ac_prog; ac_word=$2
    3179 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3181 if test "${ac_cv_prog_PERL+set}" = set; then
    3182   echo $ECHO_N "(cached) $ECHO_C" >&6
     1268echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1269echo "configure:1270: checking for $ac_word" >&5
     1270if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
     1271  echo $ac_n "(cached) $ac_c" 1>&6
    31831272else
    31841273  if test -n "$PERL"; then
    31851274  ac_cv_prog_PERL="$PERL" # Let the user override the test.
    31861275else
    3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3188 for as_dir in $PATH
    3189 do
    3190   IFS=$as_save_IFS
    3191   test -z "$as_dir" && as_dir=.
    3192   for ac_exec_ext in '' $ac_executable_extensions; do
    3193   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3194     ac_cv_prog_PERL="$ac_prog"
    3195     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3196     break 2
    3197   fi
    3198 done
    3199 done
    3200 
    3201 fi
    3202 fi
    3203 PERL=$ac_cv_prog_PERL
     1276  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1277  ac_dummy="$PATH"
     1278  for ac_dir in $ac_dummy; do
     1279    test -z "$ac_dir" && ac_dir=.
     1280    if test -f $ac_dir/$ac_word; then
     1281      ac_cv_prog_PERL="$ac_prog"
     1282      break
     1283    fi
     1284  done
     1285  IFS="$ac_save_ifs"
     1286fi
     1287fi
     1288PERL="$ac_cv_prog_PERL"
    32041289if test -n "$PERL"; then
    3205   echo "$as_me:$LINENO: result: $PERL" >&5
    3206 echo "${ECHO_T}$PERL" >&6
    3207 else
    3208   echo "$as_me:$LINENO: result: no" >&5
    3209 echo "${ECHO_T}no" >&6
    3210 fi
    3211 
    3212   test -n "$PERL" && break
     1290  echo "$ac_t""$PERL" 1>&6
     1291else
     1292  echo "$ac_t""no" 1>&6
     1293fi
     1294
     1295test -n "$PERL" && break
    32131296done
    32141297
    32151298for ac_prog in uudecode "uudeview -i"
    32161299do
    3217   # Extract the first word of "$ac_prog", so it can be a program name with args.
     1300# Extract the first word of "$ac_prog", so it can be a program name with args.
    32181301set dummy $ac_prog; ac_word=$2
    3219 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3221 if test "${ac_cv_prog_UUDECODE+set}" = set; then
    3222   echo $ECHO_N "(cached) $ECHO_C" >&6
     1302echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1303echo "configure:1304: checking for $ac_word" >&5
     1304if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
     1305  echo $ac_n "(cached) $ac_c" 1>&6
    32231306else
    32241307  if test -n "$UUDECODE"; then
    32251308  ac_cv_prog_UUDECODE="$UUDECODE" # Let the user override the test.
    32261309else
    3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3228 for as_dir in $PATH
    3229 do
    3230   IFS=$as_save_IFS
    3231   test -z "$as_dir" && as_dir=.
    3232   for ac_exec_ext in '' $ac_executable_extensions; do
    3233   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3234     ac_cv_prog_UUDECODE="$ac_prog"
    3235     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3236     break 2
    3237   fi
    3238 done
    3239 done
    3240 
    3241 fi
    3242 fi
    3243 UUDECODE=$ac_cv_prog_UUDECODE
     1310  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1311  ac_dummy="$PATH"
     1312  for ac_dir in $ac_dummy; do
     1313    test -z "$ac_dir" && ac_dir=.
     1314    if test -f $ac_dir/$ac_word; then
     1315      ac_cv_prog_UUDECODE="$ac_prog"
     1316      break
     1317    fi
     1318  done
     1319  IFS="$ac_save_ifs"
     1320fi
     1321fi
     1322UUDECODE="$ac_cv_prog_UUDECODE"
    32441323if test -n "$UUDECODE"; then
    3245   echo "$as_me:$LINENO: result: $UUDECODE" >&5
    3246 echo "${ECHO_T}$UUDECODE" >&6
    3247 else
    3248   echo "$as_me:$LINENO: result: no" >&5
    3249 echo "${ECHO_T}no" >&6
    3250 fi
    3251 
    3252   test -n "$UUDECODE" && break
     1324  echo "$ac_t""$UUDECODE" 1>&6
     1325else
     1326  echo "$ac_t""no" 1>&6
     1327fi
     1328
     1329test -n "$UUDECODE" && break
    32531330done
    32541331
    32551332for ac_prog in gunzip
    32561333do
    3257   # Extract the first word of "$ac_prog", so it can be a program name with args.
     1334# Extract the first word of "$ac_prog", so it can be a program name with args.
    32581335set dummy $ac_prog; ac_word=$2
    3259 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3261 if test "${ac_cv_prog_GUNZIP+set}" = set; then
    3262   echo $ECHO_N "(cached) $ECHO_C" >&6
     1336echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1337echo "configure:1338: checking for $ac_word" >&5
     1338if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then
     1339  echo $ac_n "(cached) $ac_c" 1>&6
    32631340else
    32641341  if test -n "$GUNZIP"; then
    32651342  ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test.
    32661343else
    3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3268 for as_dir in $PATH
    3269 do
    3270   IFS=$as_save_IFS
    3271   test -z "$as_dir" && as_dir=.
    3272   for ac_exec_ext in '' $ac_executable_extensions; do
    3273   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3274     ac_cv_prog_GUNZIP="$ac_prog"
    3275     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3276     break 2
    3277   fi
    3278 done
    3279 done
    3280 
    3281 fi
    3282 fi
    3283 GUNZIP=$ac_cv_prog_GUNZIP
     1344  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1345  ac_dummy="$PATH"
     1346  for ac_dir in $ac_dummy; do
     1347    test -z "$ac_dir" && ac_dir=.
     1348    if test -f $ac_dir/$ac_word; then
     1349      ac_cv_prog_GUNZIP="$ac_prog"
     1350      break
     1351    fi
     1352  done
     1353  IFS="$ac_save_ifs"
     1354fi
     1355fi
     1356GUNZIP="$ac_cv_prog_GUNZIP"
    32841357if test -n "$GUNZIP"; then
    3285   echo "$as_me:$LINENO: result: $GUNZIP" >&5
    3286 echo "${ECHO_T}$GUNZIP" >&6
    3287 else
    3288   echo "$as_me:$LINENO: result: no" >&5
    3289 echo "${ECHO_T}no" >&6
    3290 fi
    3291 
    3292   test -n "$GUNZIP" && break
     1358  echo "$ac_t""$GUNZIP" 1>&6
     1359else
     1360  echo "$ac_t""no" 1>&6
     1361fi
     1362
     1363test -n "$GUNZIP" && break
    32931364done
    32941365test -n "$GUNZIP" || GUNZIP="${pwd}/warn_not_found.sh gunzip"
     
    32971368for ac_prog in gzip
    32981369do
    3299   # Extract the first word of "$ac_prog", so it can be a program name with args.
     1370# Extract the first word of "$ac_prog", so it can be a program name with args.
    33001371set dummy $ac_prog; ac_word=$2
    3301 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3303 if test "${ac_cv_prog_MYGZIP+set}" = set; then
    3304   echo $ECHO_N "(cached) $ECHO_C" >&6
     1372echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1373echo "configure:1374: checking for $ac_word" >&5
     1374if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then
     1375  echo $ac_n "(cached) $ac_c" 1>&6
    33051376else
    33061377  if test -n "$MYGZIP"; then
    33071378  ac_cv_prog_MYGZIP="$MYGZIP" # Let the user override the test.
    33081379else
    3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3310 for as_dir in $PATH
    3311 do
    3312   IFS=$as_save_IFS
    3313   test -z "$as_dir" && as_dir=.
    3314   for ac_exec_ext in '' $ac_executable_extensions; do
    3315   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3316     ac_cv_prog_MYGZIP="$ac_prog"
    3317     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3318     break 2
    3319   fi
    3320 done
    3321 done
    3322 
    3323 fi
    3324 fi
    3325 MYGZIP=$ac_cv_prog_MYGZIP
     1380  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1381  ac_dummy="$PATH"
     1382  for ac_dir in $ac_dummy; do
     1383    test -z "$ac_dir" && ac_dir=.
     1384    if test -f $ac_dir/$ac_word; then
     1385      ac_cv_prog_MYGZIP="$ac_prog"
     1386      break
     1387    fi
     1388  done
     1389  IFS="$ac_save_ifs"
     1390fi
     1391fi
     1392MYGZIP="$ac_cv_prog_MYGZIP"
    33261393if test -n "$MYGZIP"; then
    3327   echo "$as_me:$LINENO: result: $MYGZIP" >&5
    3328 echo "${ECHO_T}$MYGZIP" >&6
    3329 else
    3330   echo "$as_me:$LINENO: result: no" >&5
    3331 echo "${ECHO_T}no" >&6
    3332 fi
    3333 
    3334   test -n "$MYGZIP" && break
     1394  echo "$ac_t""$MYGZIP" 1>&6
     1395else
     1396  echo "$ac_t""no" 1>&6
     1397fi
     1398
     1399test -n "$MYGZIP" && break
    33351400done
    33361401test -n "$MYGZIP" || MYGZIP="${pwd}/warn_not_found.sh gzip"
     
    33381403# Extract the first word of "latex2html", so it can be a program name with args.
    33391404set dummy latex2html; ac_word=$2
    3340 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3342 if test "${ac_cv_prog_LATEX2HTML+set}" = set; then
    3343   echo $ECHO_N "(cached) $ECHO_C" >&6
     1405echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1406echo "configure:1407: checking for $ac_word" >&5
     1407if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then
     1408  echo $ac_n "(cached) $ac_c" 1>&6
    33441409else
    33451410  if test -n "$LATEX2HTML"; then
    33461411  ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test.
    33471412else
    3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3349 for as_dir in $PATH
    3350 do
    3351   IFS=$as_save_IFS
    3352   test -z "$as_dir" && as_dir=.
    3353   for ac_exec_ext in '' $ac_executable_extensions; do
    3354   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3355     ac_cv_prog_LATEX2HTML="latex2html"
    3356     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    3357     break 2
    3358   fi
    3359 done
    3360 done
    3361 
    3362 fi
    3363 fi
    3364 LATEX2HTML=$ac_cv_prog_LATEX2HTML
     1413  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1414  ac_dummy="$PATH"
     1415  for ac_dir in $ac_dummy; do
     1416    test -z "$ac_dir" && ac_dir=.
     1417    if test -f $ac_dir/$ac_word; then
     1418      ac_cv_prog_LATEX2HTML="latex2html"
     1419      break
     1420    fi
     1421  done
     1422  IFS="$ac_save_ifs"
     1423fi
     1424fi
     1425LATEX2HTML="$ac_cv_prog_LATEX2HTML"
    33651426if test -n "$LATEX2HTML"; then
    3366   echo "$as_me:$LINENO: result: $LATEX2HTML" >&5
    3367 echo "${ECHO_T}$LATEX2HTML" >&6
    3368 else
    3369   echo "$as_me:$LINENO: result: no" >&5
    3370 echo "${ECHO_T}no" >&6
    3371 fi
    3372 
    3373 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3374 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    3375 LN_S=$as_ln_s
    3376 if test "$LN_S" = "ln -s"; then
    3377   echo "$as_me:$LINENO: result: yes" >&5
    3378 echo "${ECHO_T}yes" >&6
    3379 else
    3380   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3381 echo "${ECHO_T}no, using $LN_S" >&6
     1427  echo "$ac_t""$LATEX2HTML" 1>&6
     1428else
     1429  echo "$ac_t""no" 1>&6
     1430fi
     1431
     1432echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
     1433echo "configure:1434: checking whether ln -s works" >&5
     1434if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
     1435  echo $ac_n "(cached) $ac_c" 1>&6
     1436else
     1437  rm -f conftestdata
     1438if ln -s X conftestdata 2>/dev/null
     1439then
     1440  rm -f conftestdata
     1441  ac_cv_prog_LN_S="ln -s"
     1442else
     1443  ac_cv_prog_LN_S=ln
     1444fi
     1445fi
     1446LN_S="$ac_cv_prog_LN_S"
     1447if test "$ac_cv_prog_LN_S" = "ln -s"; then
     1448  echo "$ac_t""yes" 1>&6
     1449else
     1450  echo "$ac_t""no" 1>&6
    33821451fi
    33831452
     
    33851454if test -r "${pwd}/mkinstalldirs"; then
    33861455  MKINSTALLDIRS=${pwd}/mkinstalldirs
    3387 
    3388 else
    3389   { { echo "$as_me:$LINENO: error: mkinstalldirs not foind in ${pwd}" >&5
    3390 echo "$as_me: error: mkinstalldirs not foind in ${pwd}" >&2;}
    3391    { (exit 1); exit 1; }; }
     1456 
     1457else
     1458  { echo "configure: error: mkinstalldirs not foind in ${pwd}" 1>&2; exit 1; }
    33921459fi
    33931460
     
    34331500
    34341501# check for AIX
    3435 echo "$as_me:$LINENO: checking whether _AIX is defined" >&5
    3436 echo $ECHO_N "checking whether _AIX is defined... $ECHO_C" >&6
    3437 if test "${ac_cv_is_aix+set}" = set; then
    3438   echo $ECHO_N "(cached) $ECHO_C" >&6
    3439 else
    3440   cat >conftest.$ac_ext <<_ACEOF
    3441 /* confdefs.h.  */
    3442 _ACEOF
    3443 cat confdefs.h >>conftest.$ac_ext
    3444 cat >>conftest.$ac_ext <<_ACEOF
    3445 /* end confdefs.h.  */
     1502echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
     1503echo "configure:1504: checking whether _AIX is defined" >&5
     1504if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
     1505  echo $ac_n "(cached) $ac_c" 1>&6
     1506else
     1507  cat > conftest.$ac_ext <<EOF
     1508#line 1509 "configure"
     1509#include "confdefs.h"
    34461510#ifdef _AIX
    34471511    yes
    34481512#endif
    34491513
    3450 _ACEOF
     1514EOF
    34511515if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3452   $EGREP "yes" >/dev/null 2>&1; then
     1516  egrep "yes" >/dev/null 2>&1; then
     1517  rm -rf conftest*
    34531518  ac_cv_is_aix=yes
    34541519else
     1520  rm -rf conftest*
    34551521  ac_cv_is_aix=no
    34561522fi
     
    34601526
    34611527if test "$ac_cv_is_aix" = yes; then
    3462   echo "$as_me:$LINENO: result: yes" >&5
    3463 echo "${ECHO_T}yes" >&6
    3464 else
    3465   echo "$as_me:$LINENO: result: no" >&5
    3466 echo "${ECHO_T}no" >&6
    3467 fi
    3468 
    3469 
    3470 echo "$as_me:$LINENO: checking for atof in -lm" >&5
    3471 echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6
    3472 if test "${ac_cv_lib_m_atof+set}" = set; then
    3473   echo $ECHO_N "(cached) $ECHO_C" >&6
    3474 else
    3475   ac_check_lib_save_LIBS=$LIBS
     1528  echo "$ac_t""yes" 1>&6
     1529else
     1530  echo "$ac_t""no" 1>&6
     1531fi
     1532
     1533echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
     1534echo "configure:1535: checking for atof in -lm" >&5
     1535ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
     1536if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1537  echo $ac_n "(cached) $ac_c" 1>&6
     1538else
     1539  ac_save_LIBS="$LIBS"
    34761540LIBS="-lm  $LIBS"
    3477 cat >conftest.$ac_ext <<_ACEOF
    3478 /* confdefs.h.  */
    3479 _ACEOF
    3480 cat confdefs.h >>conftest.$ac_ext
    3481 cat >>conftest.$ac_ext <<_ACEOF
    3482 /* end confdefs.h.  */
    3483 
     1541cat > conftest.$ac_ext <<EOF
     1542#line 1543 "configure"
     1543#include "confdefs.h"
    34841544/* Override any gcc2 internal prototype to avoid an error.  */
    3485 #ifdef __cplusplus
    3486 extern "C"
    3487 #endif
    34881545/* We use char because int might match the return type of a gcc2
    3489    builtin and then its argument prototype would still apply.  */
    3490 char atof ();
    3491 int
    3492 main ()
    3493 {
    3494 atof ();
    3495   ;
    3496   return 0;
    3497 }
    3498 _ACEOF
    3499 rm -f conftest.$ac_objext conftest$ac_exeext
    3500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3501   (eval $ac_link) 2>conftest.er1
    3502   ac_status=$?
    3503   grep -v '^ *+' conftest.er1 >conftest.err
    3504   rm -f conftest.er1
    3505   cat conftest.err >&5
    3506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3507   (exit $ac_status); } &&
    3508          { ac_try='test -z "$ac_c_werror_flag"
    3509                          || test ! -s conftest.err'
    3510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3511   (eval $ac_try) 2>&5
    3512   ac_status=$?
    3513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3514   (exit $ac_status); }; } &&
    3515          { ac_try='test -s conftest$ac_exeext'
    3516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3517   (eval $ac_try) 2>&5
    3518   ac_status=$?
    3519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3520   (exit $ac_status); }; }; then
    3521   ac_cv_lib_m_atof=yes
    3522 else
    3523   echo "$as_me: failed program was:" >&5
    3524 sed 's/^/| /' conftest.$ac_ext >&5
    3525 
    3526 ac_cv_lib_m_atof=no
    3527 fi
    3528 rm -f conftest.err conftest.$ac_objext \
    3529       conftest$ac_exeext conftest.$ac_ext
    3530 LIBS=$ac_check_lib_save_LIBS
    3531 fi
    3532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5
    3533 echo "${ECHO_T}$ac_cv_lib_m_atof" >&6
    3534 if test $ac_cv_lib_m_atof = yes; then
    3535   cat >>confdefs.h <<_ACEOF
    3536 #define HAVE_LIBM 1
    3537 _ACEOF
     1546    builtin and then its argument prototype would still apply.  */
     1547char atof();
     1548
     1549int main() {
     1550atof()
     1551; return 0; }
     1552EOF
     1553if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1554  rm -rf conftest*
     1555  eval "ac_cv_lib_$ac_lib_var=yes"
     1556else
     1557  echo "configure: failed program was:" >&5
     1558  cat conftest.$ac_ext >&5
     1559  rm -rf conftest*
     1560  eval "ac_cv_lib_$ac_lib_var=no"
     1561fi
     1562rm -f conftest*
     1563LIBS="$ac_save_LIBS"
     1564
     1565fi
     1566if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1567  echo "$ac_t""yes" 1>&6
     1568    ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1569    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1570  cat >> confdefs.h <<EOF
     1571#define $ac_tr_lib 1
     1572EOF
    35381573
    35391574  LIBS="-lm $LIBS"
    35401575
    3541 fi
    3542 
    3543 
    3544 echo "$as_me:$LINENO: checking for socket in -lbsd" >&5
    3545 echo $ECHO_N "checking for socket in -lbsd... $ECHO_C" >&6
    3546 if test "${ac_cv_lib_bsd_socket+set}" = set; then
    3547   echo $ECHO_N "(cached) $ECHO_C" >&6
    3548 else
    3549   ac_check_lib_save_LIBS=$LIBS
     1576else
     1577  echo "$ac_t""no" 1>&6
     1578fi
     1579
     1580echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
     1581echo "configure:1582: checking for socket in -lbsd" >&5
     1582ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
     1583if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1584  echo $ac_n "(cached) $ac_c" 1>&6
     1585else
     1586  ac_save_LIBS="$LIBS"
    35501587LIBS="-lbsd  $LIBS"
    3551 cat >conftest.$ac_ext <<_ACEOF
    3552 /* confdefs.h.  */
    3553 _ACEOF
    3554 cat confdefs.h >>conftest.$ac_ext
    3555 cat >>conftest.$ac_ext <<_ACEOF
    3556 /* end confdefs.h.  */
    3557 
     1588cat > conftest.$ac_ext <<EOF
     1589#line 1590 "configure"
     1590#include "confdefs.h"
    35581591/* Override any gcc2 internal prototype to avoid an error.  */
    3559 #ifdef __cplusplus
    3560 extern "C"
    3561 #endif
    35621592/* We use char because int might match the return type of a gcc2
    3563    builtin and then its argument prototype would still apply.  */
    3564 char socket ();
    3565 int
    3566 main ()
    3567 {
    3568 socket ();
    3569   ;
    3570   return 0;
    3571 }
    3572 _ACEOF
    3573 rm -f conftest.$ac_objext conftest$ac_exeext
    3574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3575   (eval $ac_link) 2>conftest.er1
    3576   ac_status=$?
    3577   grep -v '^ *+' conftest.er1 >conftest.err
    3578   rm -f conftest.er1
    3579   cat conftest.err >&5
    3580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3581   (exit $ac_status); } &&
    3582          { ac_try='test -z "$ac_c_werror_flag"
    3583                          || test ! -s conftest.err'
    3584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3585   (eval $ac_try) 2>&5
    3586   ac_status=$?
    3587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3588   (exit $ac_status); }; } &&
    3589          { ac_try='test -s conftest$ac_exeext'
    3590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3591   (eval $ac_try) 2>&5
    3592   ac_status=$?
    3593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3594   (exit $ac_status); }; }; then
    3595   ac_cv_lib_bsd_socket=yes
    3596 else
    3597   echo "$as_me: failed program was:" >&5
    3598 sed 's/^/| /' conftest.$ac_ext >&5
    3599 
    3600 ac_cv_lib_bsd_socket=no
    3601 fi
    3602 rm -f conftest.err conftest.$ac_objext \
    3603       conftest$ac_exeext conftest.$ac_ext
    3604 LIBS=$ac_check_lib_save_LIBS
    3605 fi
    3606 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_socket" >&5
    3607 echo "${ECHO_T}$ac_cv_lib_bsd_socket" >&6
    3608 if test $ac_cv_lib_bsd_socket = yes; then
    3609   cat >>confdefs.h <<_ACEOF
    3610 #define HAVE_LIBBSD 1
    3611 _ACEOF
     1593    builtin and then its argument prototype would still apply.  */
     1594char socket();
     1595
     1596int main() {
     1597socket()
     1598; return 0; }
     1599EOF
     1600if { (eval echo configure:1601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1601  rm -rf conftest*
     1602  eval "ac_cv_lib_$ac_lib_var=yes"
     1603else
     1604  echo "configure: failed program was:" >&5
     1605  cat conftest.$ac_ext >&5
     1606  rm -rf conftest*
     1607  eval "ac_cv_lib_$ac_lib_var=no"
     1608fi
     1609rm -f conftest*
     1610LIBS="$ac_save_LIBS"
     1611
     1612fi
     1613if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1614  echo "$ac_t""yes" 1>&6
     1615    ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1616    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1617  cat >> confdefs.h <<EOF
     1618#define $ac_tr_lib 1
     1619EOF
    36121620
    36131621  LIBS="-lbsd $LIBS"
    36141622
    3615 fi
    3616 
    3617 
    3618 echo "$as_me:$LINENO: checking for listen in -lsocket" >&5
    3619 echo $ECHO_N "checking for listen in -lsocket... $ECHO_C" >&6
    3620 if test "${ac_cv_lib_socket_listen+set}" = set; then
    3621   echo $ECHO_N "(cached) $ECHO_C" >&6
    3622 else
    3623   ac_check_lib_save_LIBS=$LIBS
     1623else
     1624  echo "$ac_t""no" 1>&6
     1625fi
     1626
     1627echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
     1628echo "configure:1629: checking for listen in -lsocket" >&5
     1629ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
     1630if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1631  echo $ac_n "(cached) $ac_c" 1>&6
     1632else
     1633  ac_save_LIBS="$LIBS"
    36241634LIBS="-lsocket  $LIBS"
    3625 cat >conftest.$ac_ext <<_ACEOF
    3626 /* confdefs.h.  */
    3627 _ACEOF
    3628 cat confdefs.h >>conftest.$ac_ext
    3629 cat >>conftest.$ac_ext <<_ACEOF
    3630 /* end confdefs.h.  */
    3631 
     1635cat > conftest.$ac_ext <<EOF
     1636#line 1637 "configure"
     1637#include "confdefs.h"
    36321638/* Override any gcc2 internal prototype to avoid an error.  */
    3633 #ifdef __cplusplus
    3634 extern "C"
    3635 #endif
    36361639/* We use char because int might match the return type of a gcc2
    3637    builtin and then its argument prototype would still apply.  */
    3638 char listen ();
    3639 int
    3640 main ()
    3641 {
    3642 listen ();
    3643   ;
    3644   return 0;
    3645 }
    3646 _ACEOF
    3647 rm -f conftest.$ac_objext conftest$ac_exeext
    3648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3649   (eval $ac_link) 2>conftest.er1
    3650   ac_status=$?
    3651   grep -v '^ *+' conftest.er1 >conftest.err
    3652   rm -f conftest.er1
    3653   cat conftest.err >&5
    3654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3655   (exit $ac_status); } &&
    3656          { ac_try='test -z "$ac_c_werror_flag"
    3657                          || test ! -s conftest.err'
    3658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3659   (eval $ac_try) 2>&5
    3660   ac_status=$?
    3661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3662   (exit $ac_status); }; } &&
    3663          { ac_try='test -s conftest$ac_exeext'
    3664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3665   (eval $ac_try) 2>&5
    3666   ac_status=$?
    3667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3668   (exit $ac_status); }; }; then
    3669   ac_cv_lib_socket_listen=yes
    3670 else
    3671   echo "$as_me: failed program was:" >&5
    3672 sed 's/^/| /' conftest.$ac_ext >&5
    3673 
    3674 ac_cv_lib_socket_listen=no
    3675 fi
    3676 rm -f conftest.err conftest.$ac_objext \
    3677       conftest$ac_exeext conftest.$ac_ext
    3678 LIBS=$ac_check_lib_save_LIBS
    3679 fi
    3680 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_listen" >&5
    3681 echo "${ECHO_T}$ac_cv_lib_socket_listen" >&6
    3682 if test $ac_cv_lib_socket_listen = yes; then
    3683   cat >>confdefs.h <<_ACEOF
    3684 #define HAVE_LIBSOCKET 1
    3685 _ACEOF
     1640    builtin and then its argument prototype would still apply.  */
     1641char listen();
     1642
     1643int main() {
     1644listen()
     1645; return 0; }
     1646EOF
     1647if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1648  rm -rf conftest*
     1649  eval "ac_cv_lib_$ac_lib_var=yes"
     1650else
     1651  echo "configure: failed program was:" >&5
     1652  cat conftest.$ac_ext >&5
     1653  rm -rf conftest*
     1654  eval "ac_cv_lib_$ac_lib_var=no"
     1655fi
     1656rm -f conftest*
     1657LIBS="$ac_save_LIBS"
     1658
     1659fi
     1660if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1661  echo "$ac_t""yes" 1>&6
     1662    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1663    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1664  cat >> confdefs.h <<EOF
     1665#define $ac_tr_lib 1
     1666EOF
    36861667
    36871668  LIBS="-lsocket $LIBS"
    36881669
    3689 fi
    3690 
    3691 
    3692 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
    3693 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
    3694 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
    3695   echo $ECHO_N "(cached) $ECHO_C" >&6
    3696 else
    3697   ac_check_lib_save_LIBS=$LIBS
     1670else
     1671  echo "$ac_t""no" 1>&6
     1672fi
     1673
     1674echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
     1675echo "configure:1676: checking for gethostbyname in -lnsl" >&5
     1676ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
     1677if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1678  echo $ac_n "(cached) $ac_c" 1>&6
     1679else
     1680  ac_save_LIBS="$LIBS"
    36981681LIBS="-lnsl  $LIBS"
    3699 cat >conftest.$ac_ext <<_ACEOF
    3700 /* confdefs.h.  */
    3701 _ACEOF
    3702 cat confdefs.h >>conftest.$ac_ext
    3703 cat >>conftest.$ac_ext <<_ACEOF
    3704 /* end confdefs.h.  */
    3705 
     1682cat > conftest.$ac_ext <<EOF
     1683#line 1684 "configure"
     1684#include "confdefs.h"
    37061685/* Override any gcc2 internal prototype to avoid an error.  */
    3707 #ifdef __cplusplus
    3708 extern "C"
    3709 #endif
    37101686/* We use char because int might match the return type of a gcc2
    3711    builtin and then its argument prototype would still apply.  */
    3712 char gethostbyname ();
    3713 int
    3714 main ()
    3715 {
    3716 gethostbyname ();
    3717   ;
    3718   return 0;
    3719 }
    3720 _ACEOF
    3721 rm -f conftest.$ac_objext conftest$ac_exeext
    3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3723   (eval $ac_link) 2>conftest.er1
    3724   ac_status=$?
    3725   grep -v '^ *+' conftest.er1 >conftest.err
    3726   rm -f conftest.er1
    3727   cat conftest.err >&5
    3728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3729   (exit $ac_status); } &&
    3730          { ac_try='test -z "$ac_c_werror_flag"
    3731                          || test ! -s conftest.err'
    3732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3733   (eval $ac_try) 2>&5
    3734   ac_status=$?
    3735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3736   (exit $ac_status); }; } &&
    3737          { ac_try='test -s conftest$ac_exeext'
    3738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3739   (eval $ac_try) 2>&5
    3740   ac_status=$?
    3741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3742   (exit $ac_status); }; }; then
    3743   ac_cv_lib_nsl_gethostbyname=yes
    3744 else
    3745   echo "$as_me: failed program was:" >&5
    3746 sed 's/^/| /' conftest.$ac_ext >&5
    3747 
    3748 ac_cv_lib_nsl_gethostbyname=no
    3749 fi
    3750 rm -f conftest.err conftest.$ac_objext \
    3751       conftest$ac_exeext conftest.$ac_ext
    3752 LIBS=$ac_check_lib_save_LIBS
    3753 fi
    3754 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
    3755 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
    3756 if test $ac_cv_lib_nsl_gethostbyname = yes; then
    3757   cat >>confdefs.h <<_ACEOF
    3758 #define HAVE_LIBNSL 1
    3759 _ACEOF
     1687    builtin and then its argument prototype would still apply.  */
     1688char gethostbyname();
     1689
     1690int main() {
     1691gethostbyname()
     1692; return 0; }
     1693EOF
     1694if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1695  rm -rf conftest*
     1696  eval "ac_cv_lib_$ac_lib_var=yes"
     1697else
     1698  echo "configure: failed program was:" >&5
     1699  cat conftest.$ac_ext >&5
     1700  rm -rf conftest*
     1701  eval "ac_cv_lib_$ac_lib_var=no"
     1702fi
     1703rm -f conftest*
     1704LIBS="$ac_save_LIBS"
     1705
     1706fi
     1707if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1708  echo "$ac_t""yes" 1>&6
     1709    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1710    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1711  cat >> confdefs.h <<EOF
     1712#define $ac_tr_lib 1
     1713EOF
    37601714
    37611715  LIBS="-lnsl $LIBS"
    37621716
    3763 fi
    3764 
    3765 
    3766 echo "$as_me:$LINENO: checking for main in -lgmp" >&5
    3767 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
    3768 if test "${ac_cv_lib_gmp_main+set}" = set; then
    3769   echo $ECHO_N "(cached) $ECHO_C" >&6
    3770 else
    3771   ac_check_lib_save_LIBS=$LIBS
     1717else
     1718  echo "$ac_t""no" 1>&6
     1719fi
     1720
     1721echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
     1722echo "configure:1723: checking for main in -lgmp" >&5
     1723ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
     1724if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1725  echo $ac_n "(cached) $ac_c" 1>&6
     1726else
     1727  ac_save_LIBS="$LIBS"
    37721728LIBS="-lgmp  $LIBS"
    3773 cat >conftest.$ac_ext <<_ACEOF
    3774 /* confdefs.h.  */
    3775 _ACEOF
    3776 cat confdefs.h >>conftest.$ac_ext
    3777 cat >>conftest.$ac_ext <<_ACEOF
    3778 /* end confdefs.h.  */
    3779 
    3780 
    3781 int
    3782 main ()
    3783 {
    3784 main ();
    3785   ;
    3786   return 0;
    3787 }
    3788 _ACEOF
    3789 rm -f conftest.$ac_objext conftest$ac_exeext
    3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3791   (eval $ac_link) 2>conftest.er1
    3792   ac_status=$?
    3793   grep -v '^ *+' conftest.er1 >conftest.err
    3794   rm -f conftest.er1
    3795   cat conftest.err >&5
    3796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3797   (exit $ac_status); } &&
    3798          { ac_try='test -z "$ac_c_werror_flag"
    3799                          || test ! -s conftest.err'
    3800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3801   (eval $ac_try) 2>&5
    3802   ac_status=$?
    3803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3804   (exit $ac_status); }; } &&
    3805          { ac_try='test -s conftest$ac_exeext'
    3806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3807   (eval $ac_try) 2>&5
    3808   ac_status=$?
    3809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3810   (exit $ac_status); }; }; then
    3811   ac_cv_lib_gmp_main=yes
    3812 else
    3813   echo "$as_me: failed program was:" >&5
    3814 sed 's/^/| /' conftest.$ac_ext >&5
    3815 
    3816 ac_cv_lib_gmp_main=no
    3817 fi
    3818 rm -f conftest.err conftest.$ac_objext \
    3819       conftest$ac_exeext conftest.$ac_ext
    3820 LIBS=$ac_check_lib_save_LIBS
    3821 fi
    3822 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
    3823 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
    3824 if test $ac_cv_lib_gmp_main = yes; then
    3825   cat >>confdefs.h <<_ACEOF
    3826 #define HAVE_LIBGMP 1
    3827 _ACEOF
     1729cat > conftest.$ac_ext <<EOF
     1730#line 1731 "configure"
     1731#include "confdefs.h"
     1732
     1733int main() {
     1734main()
     1735; return 0; }
     1736EOF
     1737if { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1738  rm -rf conftest*
     1739  eval "ac_cv_lib_$ac_lib_var=yes"
     1740else
     1741  echo "configure: failed program was:" >&5
     1742  cat conftest.$ac_ext >&5
     1743  rm -rf conftest*
     1744  eval "ac_cv_lib_$ac_lib_var=no"
     1745fi
     1746rm -f conftest*
     1747LIBS="$ac_save_LIBS"
     1748
     1749fi
     1750if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1751  echo "$ac_t""yes" 1>&6
     1752    ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1753    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1754  cat >> confdefs.h <<EOF
     1755#define $ac_tr_lib 1
     1756EOF
    38281757
    38291758  LIBS="-lgmp $LIBS"
    38301759
    3831 fi
    3832 
    3833 
    3834 echo "$as_me:$LINENO: checking for mpz_init in -lsmallgmp" >&5
    3835 echo $ECHO_N "checking for mpz_init in -lsmallgmp... $ECHO_C" >&6
    3836 if test "${ac_cv_lib_smallgmp_mpz_init+set}" = set; then
    3837   echo $ECHO_N "(cached) $ECHO_C" >&6
    3838 else
    3839   ac_check_lib_save_LIBS=$LIBS
     1760else
     1761  echo "$ac_t""no" 1>&6
     1762fi
     1763
     1764echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
     1765echo "configure:1766: checking for mpz_init in -lsmallgmp" >&5
     1766ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
     1767if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1768  echo $ac_n "(cached) $ac_c" 1>&6
     1769else
     1770  ac_save_LIBS="$LIBS"
    38401771LIBS="-lsmallgmp  $LIBS"
    3841 cat >conftest.$ac_ext <<_ACEOF
    3842 /* confdefs.h.  */
    3843 _ACEOF
    3844 cat confdefs.h >>conftest.$ac_ext
    3845 cat >>conftest.$ac_ext <<_ACEOF
    3846 /* end confdefs.h.  */
    3847 
     1772cat > conftest.$ac_ext <<EOF
     1773#line 1774 "configure"
     1774#include "confdefs.h"
    38481775/* Override any gcc2 internal prototype to avoid an error.  */
    3849 #ifdef __cplusplus
    3850 extern "C"
    3851 #endif
    38521776/* We use char because int might match the return type of a gcc2
    3853    builtin and then its argument prototype would still apply.  */
    3854 char mpz_init ();
    3855 int
    3856 main ()
    3857 {
    3858 mpz_init ();
    3859   ;
    3860   return 0;
    3861 }
    3862 _ACEOF
    3863 rm -f conftest.$ac_objext conftest$ac_exeext
    3864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3865   (eval $ac_link) 2>conftest.er1
    3866   ac_status=$?
    3867   grep -v '^ *+' conftest.er1 >conftest.err
    3868   rm -f conftest.er1
    3869   cat conftest.err >&5
    3870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3871   (exit $ac_status); } &&
    3872          { ac_try='test -z "$ac_c_werror_flag"
    3873                          || test ! -s conftest.err'
    3874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3875   (eval $ac_try) 2>&5
    3876   ac_status=$?
    3877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3878   (exit $ac_status); }; } &&
    3879          { ac_try='test -s conftest$ac_exeext'
    3880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3881   (eval $ac_try) 2>&5
    3882   ac_status=$?
    3883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3884   (exit $ac_status); }; }; then
    3885   ac_cv_lib_smallgmp_mpz_init=yes
    3886 else
    3887   echo "$as_me: failed program was:" >&5
    3888 sed 's/^/| /' conftest.$ac_ext >&5
    3889 
    3890 ac_cv_lib_smallgmp_mpz_init=no
    3891 fi
    3892 rm -f conftest.err conftest.$ac_objext \
    3893       conftest$ac_exeext conftest.$ac_ext
    3894 LIBS=$ac_check_lib_save_LIBS
    3895 fi
    3896 echo "$as_me:$LINENO: result: $ac_cv_lib_smallgmp_mpz_init" >&5
    3897 echo "${ECHO_T}$ac_cv_lib_smallgmp_mpz_init" >&6
    3898 if test $ac_cv_lib_smallgmp_mpz_init = yes; then
    3899   cat >>confdefs.h <<_ACEOF
    3900 #define HAVE_LIBSMALLGMP 1
    3901 _ACEOF
     1777    builtin and then its argument prototype would still apply.  */
     1778char mpz_init();
     1779
     1780int main() {
     1781mpz_init()
     1782; return 0; }
     1783EOF
     1784if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1785  rm -rf conftest*
     1786  eval "ac_cv_lib_$ac_lib_var=yes"
     1787else
     1788  echo "configure: failed program was:" >&5
     1789  cat conftest.$ac_ext >&5
     1790  rm -rf conftest*
     1791  eval "ac_cv_lib_$ac_lib_var=no"
     1792fi
     1793rm -f conftest*
     1794LIBS="$ac_save_LIBS"
     1795
     1796fi
     1797if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1798  echo "$ac_t""yes" 1>&6
     1799    ac_tr_lib=HAVE_LIB`echo smallgmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1800    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1801  cat >> confdefs.h <<EOF
     1802#define $ac_tr_lib 1
     1803EOF
    39021804
    39031805  LIBS="-lsmallgmp $LIBS"
    39041806
    3905 fi
    3906 
    3907 
    3908 echo "$as_me:$LINENO: checking for IMP_PutGmpInt in -lMP" >&5
    3909 echo $ECHO_N "checking for IMP_PutGmpInt in -lMP... $ECHO_C" >&6
    3910 if test "${ac_cv_lib_MP_IMP_PutGmpInt+set}" = set; then
    3911   echo $ECHO_N "(cached) $ECHO_C" >&6
    3912 else
    3913   ac_check_lib_save_LIBS=$LIBS
     1807else
     1808  echo "$ac_t""no" 1>&6
     1809fi
     1810
     1811echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
     1812echo "configure:1813: checking for IMP_PutGmpInt in -lMP" >&5
     1813ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
     1814if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1815  echo $ac_n "(cached) $ac_c" 1>&6
     1816else
     1817  ac_save_LIBS="$LIBS"
    39141818LIBS="-lMP  $LIBS"
    3915 cat >conftest.$ac_ext <<_ACEOF
    3916 /* confdefs.h.  */
    3917 _ACEOF
    3918 cat confdefs.h >>conftest.$ac_ext
    3919 cat >>conftest.$ac_ext <<_ACEOF
    3920 /* end confdefs.h.  */
    3921 
     1819cat > conftest.$ac_ext <<EOF
     1820#line 1821 "configure"
     1821#include "confdefs.h"
    39221822/* Override any gcc2 internal prototype to avoid an error.  */
    3923 #ifdef __cplusplus
    3924 extern "C"
    3925 #endif
    39261823/* We use char because int might match the return type of a gcc2
    3927    builtin and then its argument prototype would still apply.  */
    3928 char IMP_PutGmpInt ();
    3929 int
    3930 main ()
    3931 {
    3932 IMP_PutGmpInt ();
    3933   ;
    3934   return 0;
    3935 }
    3936 _ACEOF
    3937 rm -f conftest.$ac_objext conftest$ac_exeext
    3938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3939   (eval $ac_link) 2>conftest.er1
    3940   ac_status=$?
    3941   grep -v '^ *+' conftest.er1 >conftest.err
    3942   rm -f conftest.er1
    3943   cat conftest.err >&5
    3944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3945   (exit $ac_status); } &&
    3946          { ac_try='test -z "$ac_c_werror_flag"
    3947                          || test ! -s conftest.err'
    3948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3949   (eval $ac_try) 2>&5
    3950   ac_status=$?
    3951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3952   (exit $ac_status); }; } &&
    3953          { ac_try='test -s conftest$ac_exeext'
    3954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3955   (eval $ac_try) 2>&5
    3956   ac_status=$?
    3957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3958   (exit $ac_status); }; }; then
    3959   ac_cv_lib_MP_IMP_PutGmpInt=yes
    3960 else
    3961   echo "$as_me: failed program was:" >&5
    3962 sed 's/^/| /' conftest.$ac_ext >&5
    3963 
    3964 ac_cv_lib_MP_IMP_PutGmpInt=no
    3965 fi
    3966 rm -f conftest.err conftest.$ac_objext \
    3967       conftest$ac_exeext conftest.$ac_ext
    3968 LIBS=$ac_check_lib_save_LIBS
    3969 fi
    3970 echo "$as_me:$LINENO: result: $ac_cv_lib_MP_IMP_PutGmpInt" >&5
    3971 echo "${ECHO_T}$ac_cv_lib_MP_IMP_PutGmpInt" >&6
    3972 if test $ac_cv_lib_MP_IMP_PutGmpInt = yes; then
    3973   cat >>confdefs.h <<_ACEOF
    3974 #define HAVE_LIBMP 1
    3975 _ACEOF
     1824    builtin and then its argument prototype would still apply.  */
     1825char IMP_PutGmpInt();
     1826
     1827int main() {
     1828IMP_PutGmpInt()
     1829; return 0; }
     1830EOF
     1831if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1832  rm -rf conftest*
     1833  eval "ac_cv_lib_$ac_lib_var=yes"
     1834else
     1835  echo "configure: failed program was:" >&5
     1836  cat conftest.$ac_ext >&5
     1837  rm -rf conftest*
     1838  eval "ac_cv_lib_$ac_lib_var=no"
     1839fi
     1840rm -f conftest*
     1841LIBS="$ac_save_LIBS"
     1842
     1843fi
     1844if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1845  echo "$ac_t""yes" 1>&6
     1846    ac_tr_lib=HAVE_LIB`echo MP | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1847    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1848  cat >> confdefs.h <<EOF
     1849#define $ac_tr_lib 1
     1850EOF
    39761851
    39771852  LIBS="-lMP $LIBS"
    39781853
    3979 fi
    3980 
    3981 
    3982 echo "$as_me:$LINENO: checking for MPT_GetTree in -lMPT" >&5
    3983 echo $ECHO_N "checking for MPT_GetTree in -lMPT... $ECHO_C" >&6
    3984 if test "${ac_cv_lib_MPT_MPT_GetTree+set}" = set; then
    3985   echo $ECHO_N "(cached) $ECHO_C" >&6
    3986 else
    3987   ac_check_lib_save_LIBS=$LIBS
     1854else
     1855  echo "$ac_t""no" 1>&6
     1856fi
     1857
     1858echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
     1859echo "configure:1860: checking for MPT_GetTree in -lMPT" >&5
     1860ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
     1861if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1862  echo $ac_n "(cached) $ac_c" 1>&6
     1863else
     1864  ac_save_LIBS="$LIBS"
    39881865LIBS="-lMPT  $LIBS"
    3989 cat >conftest.$ac_ext <<_ACEOF
    3990 /* confdefs.h.  */
    3991 _ACEOF
    3992 cat confdefs.h >>conftest.$ac_ext
    3993 cat >>conftest.$ac_ext <<_ACEOF
    3994 /* end confdefs.h.  */
    3995 
     1866cat > conftest.$ac_ext <<EOF
     1867#line 1868 "configure"
     1868#include "confdefs.h"
    39961869/* Override any gcc2 internal prototype to avoid an error.  */
    3997 #ifdef __cplusplus
    3998 extern "C"
    3999 #endif
    40001870/* We use char because int might match the return type of a gcc2
    4001    builtin and then its argument prototype would still apply.  */
    4002 char MPT_GetTree ();
    4003 int
    4004 main ()
    4005 {
    4006 MPT_GetTree ();
    4007   ;
    4008   return 0;
    4009 }
    4010 _ACEOF
    4011 rm -f conftest.$ac_objext conftest$ac_exeext
    4012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4013   (eval $ac_link) 2>conftest.er1
    4014   ac_status=$?
    4015   grep -v '^ *+' conftest.er1 >conftest.err
    4016   rm -f conftest.er1
    4017   cat conftest.err >&5
    4018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4019   (exit $ac_status); } &&
    4020          { ac_try='test -z "$ac_c_werror_flag"
    4021                          || test ! -s conftest.err'
    4022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4023   (eval $ac_try) 2>&5
    4024   ac_status=$?
    4025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4026   (exit $ac_status); }; } &&
    4027          { ac_try='test -s conftest$ac_exeext'
    4028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4029   (eval $ac_try) 2>&5
    4030   ac_status=$?
    4031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4032   (exit $ac_status); }; }; then
    4033   ac_cv_lib_MPT_MPT_GetTree=yes
    4034 else
    4035   echo "$as_me: failed program was:" >&5
    4036 sed 's/^/| /' conftest.$ac_ext >&5
    4037 
    4038 ac_cv_lib_MPT_MPT_GetTree=no
    4039 fi
    4040 rm -f conftest.err conftest.$ac_objext \
    4041       conftest$ac_exeext conftest.$ac_ext
    4042 LIBS=$ac_check_lib_save_LIBS
    4043 fi
    4044 echo "$as_me:$LINENO: result: $ac_cv_lib_MPT_MPT_GetTree" >&5
    4045 echo "${ECHO_T}$ac_cv_lib_MPT_MPT_GetTree" >&6
    4046 if test $ac_cv_lib_MPT_MPT_GetTree = yes; then
    4047   cat >>confdefs.h <<_ACEOF
    4048 #define HAVE_LIBMPT 1
    4049 _ACEOF
     1871    builtin and then its argument prototype would still apply.  */
     1872char MPT_GetTree();
     1873
     1874int main() {
     1875MPT_GetTree()
     1876; return 0; }
     1877EOF
     1878if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1879  rm -rf conftest*
     1880  eval "ac_cv_lib_$ac_lib_var=yes"
     1881else
     1882  echo "configure: failed program was:" >&5
     1883  cat conftest.$ac_ext >&5
     1884  rm -rf conftest*
     1885  eval "ac_cv_lib_$ac_lib_var=no"
     1886fi
     1887rm -f conftest*
     1888LIBS="$ac_save_LIBS"
     1889
     1890fi
     1891if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1892  echo "$ac_t""yes" 1>&6
     1893    ac_tr_lib=HAVE_LIB`echo MPT | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1894    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1895  cat >> confdefs.h <<EOF
     1896#define $ac_tr_lib 1
     1897EOF
    40501898
    40511899  LIBS="-lMPT $LIBS"
    40521900
    4053 fi
    4054 
    4055 
    4056 echo "$as_me:$LINENO: checking for atof in -lsingcf" >&5
    4057 echo $ECHO_N "checking for atof in -lsingcf... $ECHO_C" >&6
    4058 if test "${ac_cv_lib_singcf_atof+set}" = set; then
    4059   echo $ECHO_N "(cached) $ECHO_C" >&6
    4060 else
    4061   ac_check_lib_save_LIBS=$LIBS
     1901else
     1902  echo "$ac_t""no" 1>&6
     1903fi
     1904
     1905echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
     1906echo "configure:1907: checking for atof in -lsingcf" >&5
     1907ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
     1908if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1909  echo $ac_n "(cached) $ac_c" 1>&6
     1910else
     1911  ac_save_LIBS="$LIBS"
    40621912LIBS="-lsingcf  $LIBS"
    4063 cat >conftest.$ac_ext <<_ACEOF
    4064 /* confdefs.h.  */
    4065 _ACEOF
    4066 cat confdefs.h >>conftest.$ac_ext
    4067 cat >>conftest.$ac_ext <<_ACEOF
    4068 /* end confdefs.h.  */
    4069 
     1913cat > conftest.$ac_ext <<EOF
     1914#line 1915 "configure"
     1915#include "confdefs.h"
    40701916/* Override any gcc2 internal prototype to avoid an error.  */
    4071 #ifdef __cplusplus
    4072 extern "C"
    4073 #endif
    40741917/* We use char because int might match the return type of a gcc2
    4075    builtin and then its argument prototype would still apply.  */
    4076 char atof ();
    4077 int
    4078 main ()
    4079 {
    4080 atof ();
    4081   ;
    4082   return 0;
    4083 }
    4084 _ACEOF
    4085 rm -f conftest.$ac_objext conftest$ac_exeext
    4086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4087   (eval $ac_link) 2>conftest.er1
    4088   ac_status=$?
    4089   grep -v '^ *+' conftest.er1 >conftest.err
    4090   rm -f conftest.er1
    4091   cat conftest.err >&5
    4092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4093   (exit $ac_status); } &&
    4094          { ac_try='test -z "$ac_c_werror_flag"
    4095                          || test ! -s conftest.err'
    4096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4097   (eval $ac_try) 2>&5
    4098   ac_status=$?
    4099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4100   (exit $ac_status); }; } &&
    4101          { ac_try='test -s conftest$ac_exeext'
    4102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4103   (eval $ac_try) 2>&5
    4104   ac_status=$?
    4105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4106   (exit $ac_status); }; }; then
    4107   ac_cv_lib_singcf_atof=yes
    4108 else
    4109   echo "$as_me: failed program was:" >&5
    4110 sed 's/^/| /' conftest.$ac_ext >&5
    4111 
    4112 ac_cv_lib_singcf_atof=no
    4113 fi
    4114 rm -f conftest.err conftest.$ac_objext \
    4115       conftest$ac_exeext conftest.$ac_ext
    4116 LIBS=$ac_check_lib_save_LIBS
    4117 fi
    4118 echo "$as_me:$LINENO: result: $ac_cv_lib_singcf_atof" >&5
    4119 echo "${ECHO_T}$ac_cv_lib_singcf_atof" >&6
    4120 if test $ac_cv_lib_singcf_atof = yes; then
    4121   cat >>confdefs.h <<_ACEOF
    4122 #define HAVE_LIBSINGCF 1
    4123 _ACEOF
     1918    builtin and then its argument prototype would still apply.  */
     1919char atof();
     1920
     1921int main() {
     1922atof()
     1923; return 0; }
     1924EOF
     1925if { (eval echo configure:1926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1926  rm -rf conftest*
     1927  eval "ac_cv_lib_$ac_lib_var=yes"
     1928else
     1929  echo "configure: failed program was:" >&5
     1930  cat conftest.$ac_ext >&5
     1931  rm -rf conftest*
     1932  eval "ac_cv_lib_$ac_lib_var=no"
     1933fi
     1934rm -f conftest*
     1935LIBS="$ac_save_LIBS"
     1936
     1937fi
     1938if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1939  echo "$ac_t""yes" 1>&6
     1940    ac_tr_lib=HAVE_LIB`echo singcf | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1941    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1942  cat >> confdefs.h <<EOF
     1943#define $ac_tr_lib 1
     1944EOF
    41241945
    41251946  LIBS="-lsingcf $LIBS"
    41261947
    4127 fi
    4128 
    4129 
    4130 echo "$as_me:$LINENO: checking for atof in -lsingfac" >&5
    4131 echo $ECHO_N "checking for atof in -lsingfac... $ECHO_C" >&6
    4132 if test "${ac_cv_lib_singfac_atof+set}" = set; then
    4133   echo $ECHO_N "(cached) $ECHO_C" >&6
    4134 else
    4135   ac_check_lib_save_LIBS=$LIBS
     1948else
     1949  echo "$ac_t""no" 1>&6
     1950fi
     1951
     1952echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
     1953echo "configure:1954: checking for atof in -lsingfac" >&5
     1954ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
     1955if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1956  echo $ac_n "(cached) $ac_c" 1>&6
     1957else
     1958  ac_save_LIBS="$LIBS"
    41361959LIBS="-lsingfac  $LIBS"
    4137 cat >conftest.$ac_ext <<_ACEOF
    4138 /* confdefs.h.  */
    4139 _ACEOF
    4140 cat confdefs.h >>conftest.$ac_ext
    4141 cat >>conftest.$ac_ext <<_ACEOF
    4142 /* end confdefs.h.  */
    4143 
     1960cat > conftest.$ac_ext <<EOF
     1961#line 1962 "configure"
     1962#include "confdefs.h"
    41441963/* Override any gcc2 internal prototype to avoid an error.  */
    4145 #ifdef __cplusplus
    4146 extern "C"
    4147 #endif
    41481964/* We use char because int might match the return type of a gcc2
    4149    builtin and then its argument prototype would still apply.  */
    4150 char atof ();
    4151 int
    4152 main ()
    4153 {
    4154 atof ();
    4155   ;
    4156   return 0;
    4157 }
    4158 _ACEOF
    4159 rm -f conftest.$ac_objext conftest$ac_exeext
    4160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4161   (eval $ac_link) 2>conftest.er1
    4162   ac_status=$?
    4163   grep -v '^ *+' conftest.er1 >conftest.err
    4164   rm -f conftest.er1
    4165   cat conftest.err >&5
    4166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4167   (exit $ac_status); } &&
    4168          { ac_try='test -z "$ac_c_werror_flag"
    4169                          || test ! -s conftest.err'
    4170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4171   (eval $ac_try) 2>&5
    4172   ac_status=$?
    4173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4174   (exit $ac_status); }; } &&
    4175          { ac_try='test -s conftest$ac_exeext'
    4176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4177   (eval $ac_try) 2>&5
    4178   ac_status=$?
    4179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4180   (exit $ac_status); }; }; then
    4181   ac_cv_lib_singfac_atof=yes
    4182 else
    4183   echo "$as_me: failed program was:" >&5
    4184 sed 's/^/| /' conftest.$ac_ext >&5
    4185 
    4186 ac_cv_lib_singfac_atof=no
    4187 fi
    4188 rm -f conftest.err conftest.$ac_objext \
    4189       conftest$ac_exeext conftest.$ac_ext
    4190 LIBS=$ac_check_lib_save_LIBS
    4191 fi
    4192 echo "$as_me:$LINENO: result: $ac_cv_lib_singfac_atof" >&5
    4193 echo "${ECHO_T}$ac_cv_lib_singfac_atof" >&6
    4194 if test $ac_cv_lib_singfac_atof = yes; then
    4195   cat >>confdefs.h <<_ACEOF
    4196 #define HAVE_LIBSINGFAC 1
    4197 _ACEOF
     1965    builtin and then its argument prototype would still apply.  */
     1966char atof();
     1967
     1968int main() {
     1969atof()
     1970; return 0; }
     1971EOF
     1972if { (eval echo configure:1973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1973  rm -rf conftest*
     1974  eval "ac_cv_lib_$ac_lib_var=yes"
     1975else
     1976  echo "configure: failed program was:" >&5
     1977  cat conftest.$ac_ext >&5
     1978  rm -rf conftest*
     1979  eval "ac_cv_lib_$ac_lib_var=no"
     1980fi
     1981rm -f conftest*
     1982LIBS="$ac_save_LIBS"
     1983
     1984fi
     1985if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1986  echo "$ac_t""yes" 1>&6
     1987    ac_tr_lib=HAVE_LIB`echo singfac | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1988    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1989  cat >> confdefs.h <<EOF
     1990#define $ac_tr_lib 1
     1991EOF
    41981992
    41991993  LIBS="-lsingfac $LIBS"
    42001994
    4201 fi
    4202 
    4203 
    4204 echo "$as_me:$LINENO: checking for omTestAddr in -lomalloc" >&5
    4205 echo $ECHO_N "checking for omTestAddr in -lomalloc... $ECHO_C" >&6
    4206 if test "${ac_cv_lib_omalloc_omTestAddr+set}" = set; then
    4207   echo $ECHO_N "(cached) $ECHO_C" >&6
    4208 else
    4209   ac_check_lib_save_LIBS=$LIBS
     1995else
     1996  echo "$ac_t""no" 1>&6
     1997fi
     1998
     1999echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
     2000echo "configure:2001: checking for omTestAddr in -lomalloc" >&5
     2001ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
     2002if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     2003  echo $ac_n "(cached) $ac_c" 1>&6
     2004else
     2005  ac_save_LIBS="$LIBS"
    42102006LIBS="-lomalloc  $LIBS"
    4211 cat >conftest.$ac_ext <<_ACEOF
    4212 /* confdefs.h.  */
    4213 _ACEOF
    4214 cat confdefs.h >>conftest.$ac_ext
    4215 cat >>conftest.$ac_ext <<_ACEOF
    4216 /* end confdefs.h.  */
    4217 
     2007cat > conftest.$ac_ext <<EOF
     2008#line 2009 "configure"
     2009#include "confdefs.h"
    42182010/* Override any gcc2 internal prototype to avoid an error.  */
    4219 #ifdef __cplusplus
    4220 extern "C"
    4221 #endif
    42222011/* We use char because int might match the return type of a gcc2
    4223    builtin and then its argument prototype would still apply.  */
    4224 char omTestAddr ();
    4225 int
    4226 main ()
    4227 {
    4228 omTestAddr ();
    4229   ;
    4230   return 0;
    4231 }
    4232 _ACEOF
    4233 rm -f conftest.$ac_objext conftest$ac_exeext
    4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4235   (eval $ac_link) 2>conftest.er1
    4236   ac_status=$?
    4237   grep -v '^ *+' conftest.er1 >conftest.err
    4238   rm -f conftest.er1
    4239   cat conftest.err >&5
    4240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4241   (exit $ac_status); } &&
    4242          { ac_try='test -z "$ac_c_werror_flag"
    4243                          || test ! -s conftest.err'
    4244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4245   (eval $ac_try) 2>&5
    4246   ac_status=$?
    4247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4248   (exit $ac_status); }; } &&
    4249          { ac_try='test -s conftest$ac_exeext'
    4250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4251   (eval $ac_try) 2>&5
    4252   ac_status=$?
    4253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4254   (exit $ac_status); }; }; then
    4255   ac_cv_lib_omalloc_omTestAddr=yes
    4256 else
    4257   echo "$as_me: failed program was:" >&5
    4258 sed 's/^/| /' conftest.$ac_ext >&5
    4259 
    4260 ac_cv_lib_omalloc_omTestAddr=no
    4261 fi
    4262 rm -f conftest.err conftest.$ac_objext \
    4263       conftest$ac_exeext conftest.$ac_ext
    4264 LIBS=$ac_check_lib_save_LIBS
    4265 fi
    4266 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_omTestAddr" >&5
    4267 echo "${ECHO_T}$ac_cv_lib_omalloc_omTestAddr" >&6
    4268 if test $ac_cv_lib_omalloc_omTestAddr = yes; then
    4269   cat >>confdefs.h <<_ACEOF
    4270 #define HAVE_LIBOMALLOC 1
    4271 _ACEOF
     2012    builtin and then its argument prototype would still apply.  */
     2013char omTestAddr();
     2014
     2015int main() {
     2016omTestAddr()
     2017; return 0; }
     2018EOF
     2019if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2020  rm -rf conftest*
     2021  eval "ac_cv_lib_$ac_lib_var=yes"
     2022else
     2023  echo "configure: failed program was:" >&5
     2024  cat conftest.$ac_ext >&5
     2025  rm -rf conftest*
     2026  eval "ac_cv_lib_$ac_lib_var=no"
     2027fi
     2028rm -f conftest*
     2029LIBS="$ac_save_LIBS"
     2030
     2031fi
     2032if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     2033  echo "$ac_t""yes" 1>&6
     2034    ac_tr_lib=HAVE_LIB`echo omalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     2035    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     2036  cat >> confdefs.h <<EOF
     2037#define $ac_tr_lib 1
     2038EOF
    42722039
    42732040  LIBS="-lomalloc $LIBS"
    42742041
    4275 fi
    4276 
    4277 
    4278 echo "$as_me:$LINENO: checking for main in -lomalloc_ndebug" >&5
    4279 echo $ECHO_N "checking for main in -lomalloc_ndebug... $ECHO_C" >&6
    4280 if test "${ac_cv_lib_omalloc_ndebug_main+set}" = set; then
    4281   echo $ECHO_N "(cached) $ECHO_C" >&6
    4282 else
    4283   ac_check_lib_save_LIBS=$LIBS
     2042else
     2043  echo "$ac_t""no" 1>&6
     2044fi
     2045
     2046echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
     2047echo "configure:2048: checking for main in -lomalloc_ndebug" >&5
     2048ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
     2049if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     2050  echo $ac_n "(cached) $ac_c" 1>&6
     2051else
     2052  ac_save_LIBS="$LIBS"
    42842053LIBS="-lomalloc_ndebug  $LIBS"
    4285 cat >conftest.$ac_ext <<_ACEOF
    4286 /* confdefs.h.  */
    4287 _ACEOF
    4288 cat confdefs.h >>conftest.$ac_ext
    4289 cat >>conftest.$ac_ext <<_ACEOF
    4290 /* end confdefs.h.  */
    4291 
    4292 
    4293 int
    4294 main ()
    4295 {
    4296 main ();
    4297   ;
    4298   return 0;
    4299 }
    4300 _ACEOF
    4301 rm -f conftest.$ac_objext conftest$ac_exeext
    4302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4303   (eval $ac_link) 2>conftest.er1
    4304   ac_status=$?
    4305   grep -v '^ *+' conftest.er1 >conftest.err
    4306   rm -f conftest.er1
    4307   cat conftest.err >&5
    4308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4309   (exit $ac_status); } &&
    4310          { ac_try='test -z "$ac_c_werror_flag"
    4311                          || test ! -s conftest.err'
    4312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4313   (eval $ac_try) 2>&5
    4314   ac_status=$?
    4315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4316   (exit $ac_status); }; } &&
    4317          { ac_try='test -s conftest$ac_exeext'
    4318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4319   (eval $ac_try) 2>&5
    4320   ac_status=$?
    4321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4322   (exit $ac_status); }; }; then
    4323   ac_cv_lib_omalloc_ndebug_main=yes
    4324 else
    4325   echo "$as_me: failed program was:" >&5
    4326 sed 's/^/| /' conftest.$ac_ext >&5
    4327 
    4328 ac_cv_lib_omalloc_ndebug_main=no
    4329 fi
    4330 rm -f conftest.err conftest.$ac_objext \
    4331       conftest$ac_exeext conftest.$ac_ext
    4332 LIBS=$ac_check_lib_save_LIBS
    4333 fi
    4334 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_ndebug_main" >&5
    4335 echo "${ECHO_T}$ac_cv_lib_omalloc_ndebug_main" >&6
    4336 if test $ac_cv_lib_omalloc_ndebug_main = yes; then
    4337   cat >>confdefs.h <<_ACEOF
    4338 #define HAVE_LIBOMALLOC_NDEBUG 1
    4339 _ACEOF
     2054cat > conftest.$ac_ext <<EOF
     2055#line 2056 "configure"
     2056#include "confdefs.h"
     2057
     2058int main() {
     2059main()
     2060; return 0; }
     2061EOF
     2062if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2063  rm -rf conftest*
     2064  eval "ac_cv_lib_$ac_lib_var=yes"
     2065else
     2066  echo "configure: failed program was:" >&5
     2067  cat conftest.$ac_ext >&5
     2068  rm -rf conftest*
     2069  eval "ac_cv_lib_$ac_lib_var=no"
     2070fi
     2071rm -f conftest*
     2072LIBS="$ac_save_LIBS"
     2073
     2074fi
     2075if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     2076  echo "$ac_t""yes" 1>&6
     2077    ac_tr_lib=HAVE_LIB`echo omalloc_ndebug | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     2078    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     2079  cat >> confdefs.h <<EOF
     2080#define $ac_tr_lib 1
     2081EOF
    43402082
    43412083  LIBS="-lomalloc_ndebug $LIBS"
    43422084
    4343 fi
    4344 
    4345 
    4346 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    4347 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    4348 if test "${ac_cv_header_stdc+set}" = set; then
    4349   echo $ECHO_N "(cached) $ECHO_C" >&6
    4350 else
    4351   cat >conftest.$ac_ext <<_ACEOF
    4352 /* confdefs.h.  */
    4353 _ACEOF
    4354 cat confdefs.h >>conftest.$ac_ext
    4355 cat >>conftest.$ac_ext <<_ACEOF
    4356 /* end confdefs.h.  */
    4357 #include <stdlib.h>
    4358 #include <stdarg.h>
    4359 #include <string.h>
    4360 #include <float.h>
    4361 
    4362 int
    4363 main ()
    4364 {
    4365 
    4366   ;
    4367   return 0;
    4368 }
    4369 _ACEOF
    4370 rm -f conftest.$ac_objext
    4371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4372   (eval $ac_compile) 2>conftest.er1
    4373   ac_status=$?
    4374   grep -v '^ *+' conftest.er1 >conftest.err
    4375   rm -f conftest.er1
    4376   cat conftest.err >&5
    4377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4378   (exit $ac_status); } &&
    4379          { ac_try='test -z "$ac_c_werror_flag"
    4380                          || test ! -s conftest.err'
    4381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4382   (eval $ac_try) 2>&5
    4383   ac_status=$?
    4384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4385   (exit $ac_status); }; } &&
    4386          { ac_try='test -s conftest.$ac_objext'
    4387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4388   (eval $ac_try) 2>&5
    4389   ac_status=$?
    4390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4391   (exit $ac_status); }; }; then
    4392   ac_cv_header_stdc=yes
    4393 else
    4394   echo "$as_me: failed program was:" >&5
    4395 sed 's/^/| /' conftest.$ac_ext >&5
    4396 
    4397 ac_cv_header_stdc=no
    4398 fi
    4399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4400 
    4401 if test $ac_cv_header_stdc = yes; then
    4402   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    4403   cat >conftest.$ac_ext <<_ACEOF
    4404 /* confdefs.h.  */
    4405 _ACEOF
    4406 cat confdefs.h >>conftest.$ac_ext
    4407 cat >>conftest.$ac_ext <<_ACEOF
    4408 /* end confdefs.h.  */
    4409 #include <string.h>
    4410 
    4411 _ACEOF
    4412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4413   $EGREP "memchr" >/dev/null 2>&1; then
    4414   :
    4415 else
    4416   ac_cv_header_stdc=no
     2085else
     2086  echo "$ac_t""no" 1>&6
     2087fi
     2088
     2089
     2090for ac_hdr in gmp.h smallgmp.h MP.h  MPT.h factory.h factor.h omalloc.h
     2091do
     2092ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     2093echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     2094echo "configure:2095: checking for $ac_hdr" >&5
     2095if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2096  echo $ac_n "(cached) $ac_c" 1>&6
     2097else
     2098  cat > conftest.$ac_ext <<EOF
     2099#line 2100 "configure"
     2100#include "confdefs.h"
     2101#include <$ac_hdr>
     2102EOF
     2103ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2104{ (eval echo configure:2105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2105ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     2106if test -z "$ac_err"; then
     2107  rm -rf conftest*
     2108  eval "ac_cv_header_$ac_safe=yes"
     2109else
     2110  echo "$ac_err" >&5
     2111  echo "configure: failed program was:" >&5
     2112  cat conftest.$ac_ext >&5
     2113  rm -rf conftest*
     2114  eval "ac_cv_header_$ac_safe=no"
    44172115fi
    44182116rm -f conftest*
    4419 
    4420 fi
    4421 
    4422 if test $ac_cv_header_stdc = yes; then
    4423   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    4424   cat >conftest.$ac_ext <<_ACEOF
    4425 /* confdefs.h.  */
    4426 _ACEOF
    4427 cat confdefs.h >>conftest.$ac_ext
    4428 cat >>conftest.$ac_ext <<_ACEOF
    4429 /* end confdefs.h.  */
    4430 #include <stdlib.h>
    4431 
    4432 _ACEOF
    4433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4434   $EGREP "free" >/dev/null 2>&1; then
    4435   :
    4436 else
    4437   ac_cv_header_stdc=no
    4438 fi
    4439 rm -f conftest*
    4440 
    4441 fi
    4442 
    4443 if test $ac_cv_header_stdc = yes; then
    4444   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    4445   if test "$cross_compiling" = yes; then
    4446   :
    4447 else
    4448   cat >conftest.$ac_ext <<_ACEOF
    4449 /* confdefs.h.  */
    4450 _ACEOF
    4451 cat confdefs.h >>conftest.$ac_ext
    4452 cat >>conftest.$ac_ext <<_ACEOF
    4453 /* end confdefs.h.  */
    4454 #include <ctype.h>
    4455 #if ((' ' & 0x0FF) == 0x020)
    4456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    4457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    4458 #else
    4459 # define ISLOWER(c) \
    4460                    (('a' <= (c) && (c) <= 'i') \
    4461                      || ('j' <= (c) && (c) <= 'r') \
    4462                      || ('s' <= (c) && (c) <= 'z'))
    4463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    4464 #endif
    4465 
    4466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    4467 int
    4468 main ()
    4469 {
    4470   int i;
    4471   for (i = 0; i < 256; i++)
    4472     if (XOR (islower (i), ISLOWER (i))
    4473         || toupper (i) != TOUPPER (i))
    4474       exit(2);
    4475   exit (0);
    4476 }
    4477 _ACEOF
    4478 rm -f conftest$ac_exeext
    4479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4480   (eval $ac_link) 2>&5
    4481   ac_status=$?
    4482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4483   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4485   (eval $ac_try) 2>&5
    4486   ac_status=$?
    4487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4488   (exit $ac_status); }; }; then
    4489   :
    4490 else
    4491   echo "$as_me: program exited with status $ac_status" >&5
    4492 echo "$as_me: failed program was:" >&5
    4493 sed 's/^/| /' conftest.$ac_ext >&5
    4494 
    4495 ( exit $ac_status )
    4496 ac_cv_header_stdc=no
    4497 fi
    4498 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4499 fi
    4500 fi
    4501 fi
    4502 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    4503 echo "${ECHO_T}$ac_cv_header_stdc" >&6
    4504 if test $ac_cv_header_stdc = yes; then
    4505 
    4506 cat >>confdefs.h <<\_ACEOF
    4507 #define STDC_HEADERS 1
    4508 _ACEOF
    4509 
    4510 fi
    4511 
    4512 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    4513 
    4514 
    4515 
    4516 
    4517 
    4518 
    4519 
    4520 
    4521 
    4522 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    4523                   inttypes.h stdint.h unistd.h
    4524 do
    4525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4526 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4529   echo $ECHO_N "(cached) $ECHO_C" >&6
    4530 else
    4531   cat >conftest.$ac_ext <<_ACEOF
    4532 /* confdefs.h.  */
    4533 _ACEOF
    4534 cat confdefs.h >>conftest.$ac_ext
    4535 cat >>conftest.$ac_ext <<_ACEOF
    4536 /* end confdefs.h.  */
    4537 $ac_includes_default
    4538 
    4539 #include <$ac_header>
    4540 _ACEOF
    4541 rm -f conftest.$ac_objext
    4542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4543   (eval $ac_compile) 2>conftest.er1
    4544   ac_status=$?
    4545   grep -v '^ *+' conftest.er1 >conftest.err
    4546   rm -f conftest.er1
    4547   cat conftest.err >&5
    4548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4549   (exit $ac_status); } &&
    4550          { ac_try='test -z "$ac_c_werror_flag"
    4551                          || test ! -s conftest.err'
    4552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4553   (eval $ac_try) 2>&5
    4554   ac_status=$?
    4555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4556   (exit $ac_status); }; } &&
    4557          { ac_try='test -s conftest.$ac_objext'
    4558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4559   (eval $ac_try) 2>&5
    4560   ac_status=$?
    4561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4562   (exit $ac_status); }; }; then
    4563   eval "$as_ac_Header=yes"
    4564 else
    4565   echo "$as_me: failed program was:" >&5
    4566 sed 's/^/| /' conftest.$ac_ext >&5
    4567 
    4568 eval "$as_ac_Header=no"
    4569 fi
    4570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4571 fi
    4572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4575   cat >>confdefs.h <<_ACEOF
    4576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4577 _ACEOF
    4578 
    4579 fi
    4580 
    4581 done
    4582 
    4583 
    4584 
    4585 
    4586 
    4587 
    4588 
    4589 
    4590 
    4591 for ac_header in gmp.h smallgmp.h MP.h  MPT.h factory.h factor.h omalloc.h
    4592 do
    4593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4595   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4598   echo $ECHO_N "(cached) $ECHO_C" >&6
    4599 fi
    4600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4602 else
    4603   # Is the header compilable?
    4604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    4606 cat >conftest.$ac_ext <<_ACEOF
    4607 /* confdefs.h.  */
    4608 _ACEOF
    4609 cat confdefs.h >>conftest.$ac_ext
    4610 cat >>conftest.$ac_ext <<_ACEOF
    4611 /* end confdefs.h.  */
    4612 $ac_includes_default
    4613 #include <$ac_header>
    4614 _ACEOF
    4615 rm -f conftest.$ac_objext
    4616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4617   (eval $ac_compile) 2>conftest.er1
    4618   ac_status=$?
    4619   grep -v '^ *+' conftest.er1 >conftest.err
    4620   rm -f conftest.er1
    4621   cat conftest.err >&5
    4622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4623   (exit $ac_status); } &&
    4624          { ac_try='test -z "$ac_c_werror_flag"
    4625                          || test ! -s conftest.err'
    4626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4627   (eval $ac_try) 2>&5
    4628   ac_status=$?
    4629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4630   (exit $ac_status); }; } &&
    4631          { ac_try='test -s conftest.$ac_objext'
    4632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4633   (eval $ac_try) 2>&5
    4634   ac_status=$?
    4635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4636   (exit $ac_status); }; }; then
    4637   ac_header_compiler=yes
    4638 else
    4639   echo "$as_me: failed program was:" >&5
    4640 sed 's/^/| /' conftest.$ac_ext >&5
    4641 
    4642 ac_header_compiler=no
    4643 fi
    4644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4646 echo "${ECHO_T}$ac_header_compiler" >&6
    4647 
    4648 # Is the header present?
    4649 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    4651 cat >conftest.$ac_ext <<_ACEOF
    4652 /* confdefs.h.  */
    4653 _ACEOF
    4654 cat confdefs.h >>conftest.$ac_ext
    4655 cat >>conftest.$ac_ext <<_ACEOF
    4656 /* end confdefs.h.  */
    4657 #include <$ac_header>
    4658 _ACEOF
    4659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4660   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4661   ac_status=$?
    4662   grep -v '^ *+' conftest.er1 >conftest.err
    4663   rm -f conftest.er1
    4664   cat conftest.err >&5
    4665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4666   (exit $ac_status); } >/dev/null; then
    4667   if test -s conftest.err; then
    4668     ac_cpp_err=$ac_c_preproc_warn_flag
    4669     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4670   else
    4671     ac_cpp_err=
    4672   fi
    4673 else
    4674   ac_cpp_err=yes
    4675 fi
    4676 if test -z "$ac_cpp_err"; then
    4677   ac_header_preproc=yes
    4678 else
    4679   echo "$as_me: failed program was:" >&5
    4680 sed 's/^/| /' conftest.$ac_ext >&5
    4681 
    4682   ac_header_preproc=no
    4683 fi
    4684 rm -f conftest.err conftest.$ac_ext
    4685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4686 echo "${ECHO_T}$ac_header_preproc" >&6
    4687 
    4688 # So?  What about this header?
    4689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4690   yes:no: )
    4691     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    4692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4693     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    4694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    4695     ac_header_preproc=yes
    4696     ;;
    4697   no:yes:* )
    4698     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    4699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    4700     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    4701 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    4702     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    4703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    4704     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    4705 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    4706     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    4707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    4708     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    4709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    4710     (
    4711       cat <<\_ASBOX
    4712 ## ------------------------------------------ ##
    4713 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4714 ## ------------------------------------------ ##
    4715 _ASBOX
    4716     ) |
    4717       sed "s/^/$as_me: WARNING:     /" >&2
    4718     ;;
    4719 esac
    4720 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4723   echo $ECHO_N "(cached) $ECHO_C" >&6
    4724 else
    4725   eval "$as_ac_Header=\$ac_header_preproc"
    4726 fi
    4727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4729 
    4730 fi
    4731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    4732   cat >>confdefs.h <<_ACEOF
    4733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    4734 _ACEOF
    4735 
    4736 fi
    4737 
     2117fi
     2118if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2119  echo "$ac_t""yes" 1>&6
     2120    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
     2121  cat >> confdefs.h <<EOF
     2122#define $ac_tr_hdr 1
     2123EOF
     2124 
     2125else
     2126  echo "$ac_t""no" 1>&6
     2127fi
    47382128done
    47392129
     
    47732163  ac_cv_omalloc_ok=yes
    47742164fi
    4775 
    4776 
     2165 
    47772166# Check whether --with-tmpdir or --without-tmpdir was given.
    47782167if test "${with_tmpdir+set}" = set; then
    47792168  withval="$with_tmpdir"
    4780 
    4781 fi;
     2169  :
     2170fi
     2171
    47822172# Check whether --enable-smallgmp or --disable-smallgmp was given.
    47832173if test "${enable_smallgmp+set}" = set; then
    47842174  enableval="$enable_smallgmp"
    4785 
    4786 fi;
     2175  :
     2176fi
     2177
    47872178# Check whether --enable-omalloc or --disable-omalloc was given.
    47882179if test "${enable_omalloc+set}" = set; then
    47892180  enableval="$enable_omalloc"
    4790 
    4791 fi;
     2181  :
     2182fi
     2183
    47922184# Check whether --enable-gmp or --disable-gmp was given.
    47932185if test "${enable_gmp+set}" = set; then
    47942186  enableval="$enable_gmp"
    4795 
    4796 fi;
     2187  :
     2188fi
     2189
    47972190# Check whether --enable-MP or --disable-MP was given.
    47982191if test "${enable_MP+set}" = set; then
    47992192  enableval="$enable_MP"
    4800 
    4801 fi;
     2193  :
     2194fi
     2195
    48022196# Check whether --enable-factory or --disable-factory was given.
    48032197if test "${enable_factory+set}" = set; then
    48042198  enableval="$enable_factory"
    4805 
    4806 fi;
     2199  :
     2200fi
     2201
    48072202# Check whether --enable-libfac or --disable-libfac was given.
    48082203if test "${enable_libfac+set}" = set; then
    48092204  enableval="$enable_libfac"
    4810 
    4811 fi;
     2205  :
     2206fi
     2207
    48122208# Check whether --enable-sgroup or --disable-sgroup was given.
    48132209if test "${enable_sgroup+set}" = set; then
    48142210  enableval="$enable_sgroup"
    4815 
    4816 fi;
     2211  :
     2212fi
     2213
    48172214# Check whether --enable-Singular or --disable-Singular was given.
    48182215if test "${enable_Singular+set}" = set; then
    48192216  enableval="$enable_Singular"
    4820 
    4821 fi;
     2217  :
     2218fi
     2219
    48222220# Check whether --enable-IntegerProgramming or --disable-IntegerProgramming was given.
    48232221if test "${enable_IntegerProgramming+set}" = set; then
    48242222  enableval="$enable_IntegerProgramming"
    4825 
    4826 fi;
     2223  :
     2224fi
     2225
    48272226# Check whether --enable-Plural or --disable-Plural was given.
    48282227if test "${enable_Plural+set}" = set; then
    48292228  enableval="$enable_Plural"
    4830 
    4831 fi;
     2229  :
     2230fi
     2231
    48322232# Check whether --enable-Texinfo or --disable-Texinfo was given.
    48332233if test "${enable_Texinfo+set}" = set; then
    48342234  enableval="$enable_Texinfo"
    4835 
    4836 fi;
     2235  :
     2236fi
     2237
    48372238# Check whether --enable-Texi2html or --disable-Texi2html was given.
    48382239if test "${enable_Texi2html+set}" = set; then
    48392240  enableval="$enable_Texi2html"
    4840 
    4841 fi;
     2241  :
     2242fi
     2243
    48422244# Check whether --enable-doc or --disable-doc was given.
    48432245if test "${enable_doc+set}" = set; then
    48442246  enableval="$enable_doc"
    4845 
    4846 fi;
     2247  :
     2248fi
     2249
    48472250# Check whether --enable-emacs or --disable-emacs was given.
    48482251if test "${enable_emacs+set}" = set; then
    48492252  enableval="$enable_emacs"
    4850 
    4851 fi;
     2253  :
     2254fi
    48522255
    48532256# Check whether --with-MP or --without-MP was given.
    48542257if test "${with_MP+set}" = set; then
    48552258  withval="$with_MP"
    4856 
    4857 fi;
     2259  :
     2260fi
    48582261
    48592262# Check whether --with-factory or --without-factory was given.
    48602263if test "${with_factory+set}" = set; then
    48612264  withval="$with_factory"
    4862 
    4863 fi;
     2265  :
     2266fi
    48642267
    48652268# Check whether --with-libfac or --without-libfac was given.
    48662269if test "${with_libfac+set}" = set; then
    48672270  withval="$with_libfac"
    4868 
    4869 fi;
     2271  :
     2272fi
    48702273
    48712274# Check whether --with-gmp or --without-gmp was given.
    48722275if test "${with_gmp+set}" = set; then
    48732276  withval="$with_gmp"
    4874 
    4875 fi;
    4876 
    4877 echo "$as_me:$LINENO: checking which tmp dir to use" >&5
    4878 echo $ECHO_N "checking which tmp dir to use... $ECHO_C" >&6
     2277  :
     2278fi
     2279
     2280
     2281echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6
     2282echo "configure:2283: checking which tmp dir to use" >&5
    48792283if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then
    48802284  if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1)
     
    48872291  TMP_DIR="${pwd}/tmp"
    48882292fi
    4889 echo "$as_me:$LINENO: result: $TMP_DIR" >&5
    4890 echo "${ECHO_T}$TMP_DIR" >&6
    4891 
    4892 
    4893 echo "$as_me:$LINENO: checking whether to configure and build omalloc" >&5
    4894 echo $ECHO_N "checking whether to configure and build omalloc... $ECHO_C" >&6
     2293echo "$ac_t""$TMP_DIR" 1>&6
     2294
     2295
     2296echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6
     2297echo "configure:2298: checking whether to configure and build omalloc" >&5
    48952298if test "${enable_omalloc+set}" != set; then
    4896    if test "$ac_cv_omalloc_ok" = yes; then
     2299   if test "$ac_cv_omalloc_ok" = yes; then 
    48972300     enable_omalloc=no
    48982301   fi
     
    49012304if test "$enable_omalloc" = no; then
    49022305  if test "$ac_cv_omalloc_ok" != yes; then
    4903     { { echo "$as_me:$LINENO: error: can not build without omalloc" >&5
    4904 echo "$as_me: error: can not build without omalloc" >&2;}
    4905    { (exit 1); exit 1; }; }
    4906   fi
    4907   echo "$as_me:$LINENO: result: no" >&5
    4908 echo "${ECHO_T}no" >&6
     2306    { echo "configure: error: can not build without omalloc" 1>&2; exit 1; }
     2307  fi
     2308  echo "$ac_t""no" 1>&6
    49092309else
    49102310  if test -d omalloc; then
    4911     echo "$as_me:$LINENO: result: yes" >&5
    4912 echo "${ECHO_T}yes" >&6
     2311    echo "$ac_t""yes" 1>&6
    49132312    if test "$enable_omalloc_not_set" = yes; then
    49142313      ac_configure_args="$ac_configure_args --enable-omalloc --with-external-config_h='$pwd/Singular/omSingularConfig.h' --with-track-custom"
     
    49162315    CONFIG_SUBDIRS="$CONFIG_SUBDIRS omalloc"
    49172316    if test "${with_malloc+set}" != set; then
    4918 case "$ac_cv_singuname" in
     2317case "$ac_cv_singuname" in 
    49192318# under windows, it is best to use the provided malloc
    49202319        ix86-Win*)
     
    49292328fi
    49302329  else
    4931     { { echo "$as_me:$LINENO: error: need omalloc subdir" >&5
    4932 echo "$as_me: error: need omalloc subdir" >&2;}
    4933    { (exit 1); exit 1; }; }
    4934   fi
    4935 fi
    4936 
    4937 echo "$as_me:$LINENO: checking whether to configure and build gmp lib" >&5
    4938 echo $ECHO_N "checking whether to configure and build gmp lib... $ECHO_C" >&6
     2330    { echo "configure: error: need omalloc subdir" 1>&2; exit 1; }
     2331  fi
     2332fi
     2333
     2334echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6
     2335echo "configure:2336: checking whether to configure and build gmp lib" >&5
    49392336if test "$enable_gmp" != yes && test "$enable_gmp" != no; then
    49402337  if test "$ac_gmp_ok" != yes && test -d gmp; then
    4941     echo "$as_me:$LINENO: result: yes" >&5
    4942 echo "${ECHO_T}yes" >&6
     2338    echo "$ac_t""yes" 1>&6
    49432339    enable_gmp=yes
    49442340    CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp"
     
    49482344#    OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in"
    49492345  else
    4950     echo "$as_me:$LINENO: result: no" >&5
    4951 echo "${ECHO_T}no" >&6
     2346    echo "$ac_t""no" 1>&6
    49522347    enable_gmp=no
    49532348  fi
    49542349elif test "$enable_gmp" = yes; then
    49552350  if test ! -d gmp; then
    4956     echo "$as_me:$LINENO: result: no" >&5
    4957 echo "${ECHO_T}no" >&6
    4958     { { echo "$as_me:$LINENO: error: Can not find gmp subdir" >&5
    4959 echo "$as_me: error: Can not find gmp subdir" >&2;}
    4960    { (exit 1); exit 1; }; }
    4961   else
    4962     echo "$as_me:$LINENO: result: yes" >&5
    4963 echo "${ECHO_T}yes" >&6
     2351    echo "$ac_t""no" 1>&6
     2352    { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; }
     2353  else
     2354    echo "$ac_t""yes" 1>&6
    49642355    CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp"
    49652356#    This we used to need for our patched version of gmp 2.x
     
    49672358  fi
    49682359else
    4969   echo "$as_me:$LINENO: result: no" >&5
    4970 echo "${ECHO_T}no" >&6
     2360  echo "$ac_t""no" 1>&6
    49712361fi
    49722362
    49732363if test "$enable_gmp" = yes; then
    49742364# for gmp-3.0 to work for all ix86 processors, set generic target
    4975 if test "$target" = NONE; then
    4976 case "$ac_cv_singuname" in
    4977         ix86*)
     2365if test "$target" = NONE; then 
     2366case "$ac_cv_singuname" in 
     2367        ix86*) 
    49782368        gmp_target=`./config.guess | sed 's/^\w*-/i386-/'`
    4979         ac_configure_args="$ac_configure_args --target=$gmp_target"
     2369        ac_configure_args="$ac_configure_args --target=$gmp_target" 
    49802370        ;;
    49812371esac
     
    49882378fi
    49892379
    4990 echo "$as_me:$LINENO: checking whether to configure and build smallgmp lib" >&5
    4991 echo $ECHO_N "checking whether to configure and build smallgmp lib... $ECHO_C" >&6
     2380echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6
     2381echo "configure:2382: checking whether to configure and build smallgmp lib" >&5
    49922382if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then
    49932383  if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
    49942384     test "$enable_gmp" != yes && test -d smallgmp; then
    4995     echo "$as_me:$LINENO: result: yes" >&5
    4996 echo "${ECHO_T}yes" >&6
     2385    echo "$ac_t""yes" 1>&6
    49972386    enable_smallgmp=yes
    49982387    CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp"
     
    50002389    enable_gmp=yes
    50012390  else
    5002     echo "$as_me:$LINENO: result: no" >&5
    5003 echo "${ECHO_T}no" >&6
     2391    echo "$ac_t""no" 1>&6
    50042392    enable_smallgmp=no
    50052393  fi
    50062394elif test "$enable_smallgmp" = yes; then
    50072395  if test ! -d smallgmp; then
    5008     echo "$as_me:$LINENO: result: no" >&5
    5009 echo "${ECHO_T}no" >&6
    5010     { { echo "$as_me:$LINENO: error: Can not find smallgmp subdir" >&5
    5011 echo "$as_me: error: Can not find smallgmp subdir" >&2;}
    5012    { (exit 1); exit 1; }; }
    5013   else
    5014     echo "$as_me:$LINENO: result: yes" >&5
    5015 echo "${ECHO_T}yes" >&6
     2396    echo "$ac_t""no" 1>&6
     2397    { echo "configure: error: Can not find smallgmp subdir" 1>&2; exit 1; }
     2398  else
     2399    echo "$ac_t""yes" 1>&6
    50162400    CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp"
    50172401    if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then
     
    50202404    fi
    50212405  fi
    5022 else
    5023   echo "$as_me:$LINENO: result: ${enable_smallgmp}" >&5
    5024 echo "${ECHO_T}${enable_smallgmp}" >&6
     2406else
     2407  echo "$ac_t""${enable_smallgmp}" 1>&6
    50252408fi
    50262409
     
    50282411if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
    50292412   test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then
    5030   { { echo "$as_me:$LINENO: error: can neither find nor built gmp or smallgmp" >&5
    5031 echo "$as_me: error: can neither find nor built gmp or smallgmp" >&2;}
    5032    { (exit 1); exit 1; }; }
     2413  { echo "configure: error: can neither find nor built gmp or smallgmp" 1>&2; exit 1; }
    50332414fi
    50342415
     
    50382419fi
    50392420
    5040 echo "$as_me:$LINENO: checking whether to configure and build MP lib" >&5
    5041 echo $ECHO_N "checking whether to configure and build MP lib... $ECHO_C" >&6
     2421echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6
     2422echo "configure:2423: checking whether to configure and build MP lib" >&5
    50422423if test "$enable_MP" != yes && test "$enable_MP" != no; then
    50432424  if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \
    50442425     (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then
    5045     echo "$as_me:$LINENO: result: yes" >&5
    5046 echo "${ECHO_T}yes" >&6
     2426    echo "$ac_t""yes" 1>&6
    50472427    enable_MP=yes
    50482428    CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP"
    50492429    ac_configure_args="$ac_configure_args --enable-MP"
    50502430  else
    5051     echo "$as_me:$LINENO: result: no" >&5
    5052 echo "${ECHO_T}no" >&6
     2431    echo "$ac_t""no" 1>&6
    50532432    enable_MP=no
    50542433  fi
    50552434elif test "$enable_MP" = yes; then
    50562435  if test ! -d MP; then
    5057     echo "$as_me:$LINENO: result: no" >&5
    5058 echo "${ECHO_T}no" >&6
    5059     { { echo "$as_me:$LINENO: error: can not build MP without MP directory" >&5
    5060 echo "$as_me: error: can not build MP without MP directory" >&2;}
    5061    { (exit 1); exit 1; }; }
     2436    echo "$ac_t""no" 1>&6
     2437    { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; }
    50622438  fi
    50632439  if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then
    5064     echo "$as_me:$LINENO: result: yes" >&5
    5065 echo "${ECHO_T}yes" >&6
     2440    echo "$ac_t""yes" 1>&6
    50662441    CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP"
    50672442  else
    5068     echo "$as_me:$LINENO: result: no" >&5
    5069 echo "${ECHO_T}no" >&6
    5070     { { echo "$as_me:$LINENO: error: can not build MP without gmp" >&5
    5071 echo "$as_me: error: can not build MP without gmp" >&2;}
    5072    { (exit 1); exit 1; }; }
    5073   fi
    5074 else
    5075   echo "$as_me:$LINENO: result: no" >&5
    5076 echo "${ECHO_T}no" >&6
     2443    echo "$ac_t""no" 1>&6
     2444    { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; }
     2445  fi
     2446else
     2447  echo "$ac_t""no" 1>&6
    50772448fi
    50782449
     
    50822453fi
    50832454
    5084 echo "$as_me:$LINENO: checking whether to configure and build NTL lib" >&5
    5085 echo $ECHO_N "checking whether to configure and build NTL lib... $ECHO_C" >&6
     2455echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6
     2456echo "configure:2457: checking whether to configure and build NTL lib" >&5
    50862457if test "$enable_NTL" != yes && test "$enable_NTL" != no; then
    50872458  if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \
    50882459     test -d ntl; then
    50892460    enable_NTL=yes
    5090     echo "$as_me:$LINENO: result: yes" >&5
    5091 echo "${ECHO_T}yes" >&6
     2461    echo "$ac_t""yes" 1>&6
    50922462    CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl"
    50932463    ac_configure_args="$ac_configure_args --enable-NTL"
    50942464  else
    50952465    enable_NTL=no
    5096     echo "$as_me:$LINENO: result: no" >&5
    5097 echo "${ECHO_T}no" >&6
     2466    echo "$ac_t""no" 1>&6
    50982467  fi
    50992468elif test "$enable_NTL" = yes; then
    51002469  if test -d ntl; then
    5101     echo "$as_me:$LINENO: result: yes" >&5
    5102 echo "${ECHO_T}yes" >&6
     2470    echo "$ac_t""yes" 1>&6
    51032471    CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl"
    51042472  else
    5105     echo "$as_me:$LINENO: result: no" >&5
    5106 echo "${ECHO_T}no" >&6
    5107     { { echo "$as_me:$LINENO: error: can not build NTL without ntl directory" >&5
    5108 echo "$as_me: error: can not build NTL without ntl directory" >&2;}
    5109    { (exit 1); exit 1; }; }
    5110   fi
    5111 else
    5112   echo "$as_me:$LINENO: result: no" >&5
    5113 echo "${ECHO_T}no" >&6
    5114 fi
    5115 
    5116 echo "$as_me:$LINENO: checking whether to configure and build factory lib" >&5
    5117 echo $ECHO_N "checking whether to configure and build factory lib... $ECHO_C" >&6
     2473    echo "$ac_t""no" 1>&6
     2474    { echo "configure: error: can not build NTL without ntl directory" 1>&2; exit 1; }
     2475  fi
     2476else
     2477  echo "$ac_t""no" 1>&6
     2478fi
     2479
     2480echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6
     2481echo "configure:2482: checking whether to configure and build factory lib" >&5
    51182482if test "$enable_factory" != yes && test "$enable_factory" != no; then
    51192483  if test "$with_factory" != no && test "$ac_factory_ok" != yes && \
    51202484     test -d factory; then
    51212485    enable_factory=yes
    5122     echo "$as_me:$LINENO: result: yes" >&5
    5123 echo "${ECHO_T}yes" >&6
     2486    echo "$ac_t""yes" 1>&6
    51242487    CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory"
    51252488    ac_configure_args="$ac_configure_args --enable-factory"
    51262489  else
    51272490    enable_factory=no
    5128     echo "$as_me:$LINENO: result: no" >&5
    5129 echo "${ECHO_T}no" >&6
     2491    echo "$ac_t""no" 1>&6
    51302492  fi
    51312493elif test "$enable_factory" = yes; then
    51322494  if test -d factory; then
    5133     echo "$as_me:$LINENO: result: yes" >&5
    5134 echo "${ECHO_T}yes" >&6
     2495    echo "$ac_t""yes" 1>&6
    51352496    CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory"
    51362497  else
    5137     echo "$as_me:$LINENO: result: no" >&5
    5138 echo "${ECHO_T}no" >&6
    5139     { { echo "$as_me:$LINENO: error: can not build factory without factory directory" >&5
    5140 echo "$as_me: error: can not build factory without factory directory" >&2;}
    5141    { (exit 1); exit 1; }; }
    5142   fi
    5143 else
    5144   echo "$as_me:$LINENO: result: no" >&5
    5145 echo "${ECHO_T}no" >&6
    5146 fi
    5147 
    5148 echo "$as_me:$LINENO: checking whether to configure and build libfac lib" >&5
    5149 echo $ECHO_N "checking whether to configure and build libfac lib... $ECHO_C" >&6
     2498    echo "$ac_t""no" 1>&6
     2499    { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; }
     2500  fi
     2501else
     2502  echo "$ac_t""no" 1>&6
     2503fi
     2504
     2505echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6
     2506echo "configure:2507: checking whether to configure and build libfac lib" >&5
    51502507if test "$enable_libfac" != yes && test "$enable_libfac" != no; then
    51512508  if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \
     
    51532510     (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then
    51542511    enable_libfac=yes
    5155     echo "$as_me:$LINENO: result: yes" >&5
    5156 echo "${ECHO_T}yes" >&6
     2512    echo "$ac_t""yes" 1>&6
    51572513    CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac"
    51582514    ac_configure_args="$ac_configure_args --enable-libfac"
    51592515  else
    51602516    enable_libfac=no
    5161     echo "$as_me:$LINENO: result: no" >&5
    5162 echo "${ECHO_T}no" >&6
     2517    echo "$ac_t""no" 1>&6
    51632518  fi
    51642519elif  test "$enable_libfac" = yes; then
    51652520  if test ! -d libfac; then
    5166     echo "$as_me:$LINENO: result: no" >&5
    5167 echo "${ECHO_T}no" >&6
    5168     { { echo "$as_me:$LINENO: error: can not build libfac without libfac directory" >&5
    5169 echo "$as_me: error: can not build libfac without libfac directory" >&2;}
    5170    { (exit 1); exit 1; }; }
     2521    echo "$ac_t""no" 1>&6
     2522    { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; }
    51712523  fi
    51722524  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
    5173     echo "$as_me:$LINENO: result: yes" >&5
    5174 echo "${ECHO_T}yes" >&6
     2525    echo "$ac_t""yes" 1>&6
    51752526    CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac"
    51762527  else
    5177     echo "$as_me:$LINENO: result: no" >&5
    5178 echo "${ECHO_T}no" >&6
    5179     { { echo "$as_me:$LINENO: error: Can not build libfac without factory" >&5
    5180 echo "$as_me: error: Can not build libfac without factory" >&2;}
    5181    { (exit 1); exit 1; }; }
    5182   fi
    5183 else
    5184   echo "$as_me:$LINENO: result: no" >&5
    5185 echo "${ECHO_T}no" >&6
    5186 fi
    5187 
    5188 echo "$as_me:$LINENO: checking whether to configure and build sgroup lib" >&5
    5189 echo $ECHO_N "checking whether to configure and build sgroup lib... $ECHO_C" >&6
     2528    echo "$ac_t""no" 1>&6
     2529    { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; }
     2530  fi
     2531else
     2532  echo "$ac_t""no" 1>&6
     2533fi
     2534
     2535echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6
     2536echo "configure:2537: checking whether to configure and build sgroup lib" >&5
    51902537if test "$enable_sgroup" = yes; then
    51912538  if test ! -d sgroup; then
    5192     echo "$as_me:$LINENO: result: no" >&5
    5193 echo "${ECHO_T}no" >&6
    5194     { { echo "$as_me:$LINENO: error: can not build sgroup without sgroup directory" >&5
    5195 echo "$as_me: error: can not build sgroup without sgroup directory" >&2;}
    5196    { (exit 1); exit 1; }; }
     2539    echo "$ac_t""no" 1>&6
     2540    { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; }
    51972541  fi
    51982542  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
    5199     echo "$as_me:$LINENO: result: yes" >&5
    5200 echo "${ECHO_T}yes" >&6
     2543    echo "$ac_t""yes" 1>&6
    52012544    CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup"
    52022545  else
    5203     echo "$as_me:$LINENO: result: no" >&5
    5204 echo "${ECHO_T}no" >&6
    5205     { { echo "$as_me:$LINENO: error: Can not build sgroup without MP" >&5
    5206 echo "$as_me: error: Can not build sgroup without MP" >&2;}
    5207    { (exit 1); exit 1; }; }
    5208   fi
    5209 else
    5210   echo "$as_me:$LINENO: result: no" >&5
    5211 echo "${ECHO_T}no" >&6
     2546    echo "$ac_t""no" 1>&6
     2547    { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; }
     2548  fi
     2549else
     2550  echo "$ac_t""no" 1>&6
    52122551fi
    52132552
    52142553BUILD_SUBDIRS="$CONFIG_SUBDIRS"
    52152554
    5216 echo "$as_me:$LINENO: checking whether to configure and build Singular" >&5
    5217 echo $ECHO_N "checking whether to configure and build Singular... $ECHO_C" >&6
     2555echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6
     2556echo "configure:2557: checking whether to configure and build Singular" >&5
    52182557if test "$enable_Singular" != yes && test "$enable_Singular" != no; then
    52192558  if test "$with_Singular" != no && test -d Singular; then
    52202559    enable_Singular=yes
    5221     echo "$as_me:$LINENO: result: yes" >&5
    5222 echo "${ECHO_T}yes" >&6
     2560    echo "$ac_t""yes" 1>&6
    52232561    CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular"
    5224     BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"
     2562    BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"     
    52252563    ac_configure_args="$ac_configure_args --enable-Singular"
    52262564  else
    52272565    enable_Singular=no
    5228     echo "$as_me:$LINENO: result: no" >&5
    5229 echo "${ECHO_T}no" >&6
     2566    echo "$ac_t""no" 1>&6
    52302567  fi
    52312568elif test "$enable_Singular" = yes; then
    52322569  if test -d Singular; then
    5233     echo "$as_me:$LINENO: result: yes" >&5
    5234 echo "${ECHO_T}yes" >&6
     2570    echo "$ac_t""yes" 1>&6
    52352571    CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular"
    5236     BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"
    5237   else
    5238     echo "$as_me:$LINENO: result: no" >&5
    5239 echo "${ECHO_T}no" >&6
    5240     { { echo "$as_me:$LINENO: error: can not build Singular without Singular directory" >&5
    5241 echo "$as_me: error: can not build Singular without Singular directory" >&2;}
    5242    { (exit 1); exit 1; }; }
    5243   fi
    5244 else
    5245   echo "$as_me:$LINENO: result: no" >&5
    5246 echo "${ECHO_T}no" >&6
     2572    BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"     
     2573  else
     2574    echo "$ac_t""no" 1>&6
     2575    { echo "configure: error: can not build Singular without Singular directory" 1>&2; exit 1; }
     2576  fi
     2577else
     2578  echo "$ac_t""no" 1>&6
    52472579fi