Changeset 492b69 in git for configure


Ignore:
Timestamp:
Apr 22, 2005, 5:48:26 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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
    52482580
     
    52502582# test if IntegerProgramming should be built:
    52512583
    5252 echo "$as_me:$LINENO: checking whether to build IntegerProgramming" >&5
    5253 echo $ECHO_N "checking whether to build IntegerProgramming... $ECHO_C" >&6
     2584echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6
     2585echo "configure:2586: checking whether to build IntegerProgramming" >&5
    52542586if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then
    52552587   BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming"
    5256    echo "$as_me:$LINENO: result: yes" >&5
    5257 echo "${ECHO_T}yes" >&6
     2588   echo "$ac_t""yes" 1>&6
    52582589   if test "$enable_IntegerProgramming" != yes; then
    52592590     ac_configure_args="$ac_configure_args --enable-IntegerProgramming"
    52602591   fi
    52612592else
    5262    echo "$as_me:$LINENO: result: no" >&5
    5263 echo "${ECHO_T}no" >&6
    5264 fi
    5265 
    5266 echo "$as_me:$LINENO: checking whether to build Plural" >&5
    5267 echo $ECHO_N "checking whether to build Plural... $ECHO_C" >&6
     2593   echo "$ac_t""no" 1>&6
     2594fi
     2595
     2596echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6
     2597echo "configure:2598: checking whether to build Plural" >&5
    52682598if test "$enable_Plural" != no || test "$with_Plural" != no; then
    5269    echo "$as_me:$LINENO: result: yes" >&5
    5270 echo "${ECHO_T}yes" >&6
     2599   echo "$ac_t""yes" 1>&6
    52712600   if test "$enable_Plural" != yes; then
    52722601     ac_configure_args="$ac_configure_args --enable-Plural"
    52732602   fi
    52742603else
    5275    echo "$as_me:$LINENO: result: no" >&5
    5276 echo "${ECHO_T}no" >&6
    5277 fi
    5278 
    5279 
    5280 echo "$as_me:$LINENO: checking whether to configure and build Texinfo" >&5
    5281 echo $ECHO_N "checking whether to configure and build Texinfo... $ECHO_C" >&6
     2604   echo "$ac_t""no" 1>&6
     2605fi
     2606
     2607
     2608echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6
     2609echo "configure:2610: checking whether to configure and build Texinfo" >&5
    52822610if test "$enable_Texinfo" != no && test -d Texinfo; then
    5283   echo "$as_me:$LINENO: result: yes" >&5
    5284 echo "${ECHO_T}yes" >&6
     2611  echo "$ac_t""yes" 1>&6
    52852612  enable_texinfo=yes
    52862613  CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texinfo"
    5287   BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo"
     2614  BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo"       
    52882615  TEXI2DVI=${bindir}/texi2dvi
    52892616  TEXI2PDF=${bindir}/texi2pdf
    52902617  MAKEINFO="${bindir}/makeinfo"
    52912618  TEXINDEX=${bindir}/texindex
    5292 
    5293 
    5294 
    5295 
     2619 
     2620 
     2621 
     2622 
    52962623  if test "$enable_Texinfo" != yes; then
    52972624    ac_configure_args="$ac_configure_args --enable-Texinfo"
    52982625  fi
    52992626else
    5300   echo "$as_me:$LINENO: result: no" >&5
    5301 echo "${ECHO_T}no" >&6
    5302   { echo "$as_me:$LINENO: WARNING: Building of doc might fail. Need Texinfo" >&5
    5303 echo "$as_me: WARNING: Building of doc might fail. Need Texinfo" >&2;}
     2627  echo "$ac_t""no" 1>&6
     2628  echo "configure: warning: Building of doc might fail. Need Texinfo" 1>&2
    53042629  enable_texinfo=no
    53052630  # Extract the first word of "makeinfo", so it can be a program name with args.
    53062631set dummy makeinfo; ac_word=$2
    5307 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5309 if test "${ac_cv_prog_MAKEINFO+set}" = set; then
    5310   echo $ECHO_N "(cached) $ECHO_C" >&6
     2632echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2633echo "configure:2634: checking for $ac_word" >&5
     2634if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
     2635  echo $ac_n "(cached) $ac_c" 1>&6
    53112636else
    53122637  if test -n "$MAKEINFO"; then
    53132638  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
    53142639else
    5315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5316 for as_dir in $PATH
    5317 do
    5318   IFS=$as_save_IFS
    5319   test -z "$as_dir" && as_dir=.
    5320   for ac_exec_ext in '' $ac_executable_extensions; do
    5321   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5322     ac_cv_prog_MAKEINFO="makeinfo"
    5323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5324     break 2
    5325   fi
    5326 done
    5327 done
    5328 
     2640  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2641  ac_dummy="$PATH"
     2642  for ac_dir in $ac_dummy; do
     2643    test -z "$ac_dir" && ac_dir=.
     2644    if test -f $ac_dir/$ac_word; then
     2645      ac_cv_prog_MAKEINFO="makeinfo"
     2646      break
     2647    fi
     2648  done
     2649  IFS="$ac_save_ifs"
    53292650  test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="${pwd}/warn_not_found.sh makeinfo"
    53302651fi
    53312652fi
    5332 MAKEINFO=$ac_cv_prog_MAKEINFO
     2653MAKEINFO="$ac_cv_prog_MAKEINFO"
    53332654if test -n "$MAKEINFO"; then
    5334   echo "$as_me:$LINENO: result: $MAKEINFO" >&5
    5335 echo "${ECHO_T}$MAKEINFO" >&6
    5336 else
    5337   echo "$as_me:$LINENO: result: no" >&5
    5338 echo "${ECHO_T}no" >&6
     2655  echo "$ac_t""$MAKEINFO" 1>&6
     2656else
     2657  echo "$ac_t""no" 1>&6
    53392658fi
    53402659
    53412660  # Extract the first word of "texi2dvi", so it can be a program name with args.
    53422661set dummy texi2dvi; ac_word=$2
    5343 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5345 if test "${ac_cv_prog_TEXI2DVI+set}" = set; then
    5346   echo $ECHO_N "(cached) $ECHO_C" >&6
     2662echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2663echo "configure:2664: checking for $ac_word" >&5
     2664if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then
     2665  echo $ac_n "(cached) $ac_c" 1>&6
    53472666else
    53482667  if test -n "$TEXI2DVI"; then
    53492668  ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test.
    53502669else
    5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5352 for as_dir in $PATH
    5353 do
    5354   IFS=$as_save_IFS
    5355   test -z "$as_dir" && as_dir=.
    5356   for ac_exec_ext in '' $ac_executable_extensions; do
    5357   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5358     ac_cv_prog_TEXI2DVI="texi2dvi"
    5359     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5360     break 2
    5361   fi
    5362 done
    5363 done
    5364 
     2670  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2671  ac_dummy="$PATH"
     2672  for ac_dir in $ac_dummy; do
     2673    test -z "$ac_dir" && ac_dir=.
     2674    if test -f $ac_dir/$ac_word; then
     2675      ac_cv_prog_TEXI2DVI="texi2dvi"
     2676      break
     2677    fi
     2678  done
     2679  IFS="$ac_save_ifs"
    53652680  test -z "$ac_cv_prog_TEXI2DVI" && ac_cv_prog_TEXI2DVI="${pwd}/warn_not_found.sh texi2dvi"
    53662681fi
    53672682fi
    5368 TEXI2DVI=$ac_cv_prog_TEXI2DVI
     2683TEXI2DVI="$ac_cv_prog_TEXI2DVI"
    53692684if test -n "$TEXI2DVI"; then
    5370   echo "$as_me:$LINENO: result: $TEXI2DVI" >&5
    5371 echo "${ECHO_T}$TEXI2DVI" >&6
    5372 else
    5373   echo "$as_me:$LINENO: result: no" >&5
    5374 echo "${ECHO_T}no" >&6
     2685  echo "$ac_t""$TEXI2DVI" 1>&6
     2686else
     2687  echo "$ac_t""no" 1>&6
    53752688fi
    53762689
    53772690  # Extract the first word of "texindex", so it can be a program name with args.
    53782691set dummy texindex; ac_word=$2
    5379 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5381 if test "${ac_cv_prog_TEXINDEX+set}" = set; then
    5382   echo $ECHO_N "(cached) $ECHO_C" >&6
     2692echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2693echo "configure:2694: checking for $ac_word" >&5
     2694if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then
     2695  echo $ac_n "(cached) $ac_c" 1>&6
    53832696else
    53842697  if test -n "$TEXINDEX"; then
    53852698  ac_cv_prog_TEXINDEX="$TEXINDEX" # Let the user override the test.
    53862699else
    5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5388 for as_dir in $PATH
    5389 do
    5390   IFS=$as_save_IFS
    5391   test -z "$as_dir" && as_dir=.
    5392   for ac_exec_ext in '' $ac_executable_extensions; do
    5393   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5394     ac_cv_prog_TEXINDEX="texindex"
    5395     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5396     break 2
    5397   fi
    5398 done
    5399 done
    5400 
     2700  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2701  ac_dummy="$PATH"
     2702  for ac_dir in $ac_dummy; do
     2703    test -z "$ac_dir" && ac_dir=.
     2704    if test -f $ac_dir/$ac_word; then
     2705      ac_cv_prog_TEXINDEX="texindex"
     2706      break
     2707    fi
     2708  done
     2709  IFS="$ac_save_ifs"
    54012710  test -z "$ac_cv_prog_TEXINDEX" && ac_cv_prog_TEXINDEX="${pwd}/warn_not_found.sh texindex"
    54022711fi
    54032712fi
    5404 TEXINDEX=$ac_cv_prog_TEXINDEX
     2713TEXINDEX="$ac_cv_prog_TEXINDEX"
    54052714if test -n "$TEXINDEX"; then
    5406   echo "$as_me:$LINENO: result: $TEXINDEX" >&5
    5407 echo "${ECHO_T}$TEXINDEX" >&6
    5408 else
    5409   echo "$as_me:$LINENO: result: no" >&5
    5410 echo "${ECHO_T}no" >&6
     2715  echo "$ac_t""$TEXINDEX" 1>&6
     2716else
     2717  echo "$ac_t""no" 1>&6
    54112718fi
    54122719
    54132720  # Extract the first word of "texi2pdf", so it can be a program name with args.
    54142721set dummy texi2pdf; ac_word=$2
    5415 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5417 if test "${ac_cv_prog_TEXI2PDF+set}" = set; then
    5418   echo $ECHO_N "(cached) $ECHO_C" >&6
     2722echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2723echo "configure:2724: checking for $ac_word" >&5
     2724if eval "test \"`echo '$''{'ac_cv_prog_TEXI2PDF'+set}'`\" = set"; then
     2725  echo $ac_n "(cached) $ac_c" 1>&6
    54192726else
    54202727  if test -n "$TEXI2PDF"; then
    54212728  ac_cv_prog_TEXI2PDF="$TEXI2PDF" # Let the user override the test.
    54222729else
    5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5424 for as_dir in $PATH
    5425 do
    5426   IFS=$as_save_IFS
    5427   test -z "$as_dir" && as_dir=.
    5428   for ac_exec_ext in '' $ac_executable_extensions; do
    5429   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5430     ac_cv_prog_TEXI2PDF="texi2pdf"
    5431     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5432     break 2
    5433   fi
    5434 done
    5435 done
    5436 
     2730  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2731  ac_dummy="$PATH"
     2732  for ac_dir in $ac_dummy; do
     2733    test -z "$ac_dir" && ac_dir=.
     2734    if test -f $ac_dir/$ac_word; then
     2735      ac_cv_prog_TEXI2PDF="texi2pdf"
     2736      break
     2737    fi
     2738  done
     2739  IFS="$ac_save_ifs"
    54372740  test -z "$ac_cv_prog_TEXI2PDF" && ac_cv_prog_TEXI2PDF="${pwd}/warn_not_found.sh texi2pdf"
    54382741fi
    54392742fi
    5440 TEXI2PDF=$ac_cv_prog_TEXI2PDF
     2743TEXI2PDF="$ac_cv_prog_TEXI2PDF"
    54412744if test -n "$TEXI2PDF"; then
    5442   echo "$as_me:$LINENO: result: $TEXI2PDF" >&5
    5443 echo "${ECHO_T}$TEXI2PDF" >&6
    5444 else
    5445   echo "$as_me:$LINENO: result: no" >&5
    5446 echo "${ECHO_T}no" >&6
    5447 fi
    5448 
    5449 fi
    5450 
    5451 echo "$as_me:$LINENO: checking whether to configure and build Texi2html" >&5
    5452 echo $ECHO_N "checking whether to configure and build Texi2html... $ECHO_C" >&6
     2745  echo "$ac_t""$TEXI2PDF" 1>&6
     2746else
     2747  echo "$ac_t""no" 1>&6
     2748fi
     2749
     2750fi 
     2751
     2752echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6
     2753echo "configure:2754: checking whether to configure and build Texi2html" >&5
    54532754if test "$enable_Texi2html" != no && test -d Texi2html; then
    5454  echo "$as_me:$LINENO: result: yes" >&5
    5455 echo "${ECHO_T}yes" >&6
     2755 echo "$ac_t""yes" 1>&6
    54562756 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texi2html"
    54572757 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html"
     
    54602760 fi
    54612761 TEXI2HTML=${bindir}/texi2html
    5462 
    5463 else
    5464  echo "$as_me:$LINENO: result: no" >&5
    5465 echo "${ECHO_T}no" >&6
     2762 
     2763else
     2764 echo "$ac_t""no" 1>&6
    54662765 # Extract the first word of "texi2html", so it can be a program name with args.
    54672766set dummy texi2html; ac_word=$2
    5468 echo "$as_me:$LINENO: checking for $ac_word" >&5
    5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    5470 if test "${ac_cv_prog_TEXI2HTML+set}" = set; then
    5471   echo $ECHO_N "(cached) $ECHO_C" >&6
     2767echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     2768echo "configure:2769: checking for $ac_word" >&5
     2769if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then
     2770  echo $ac_n "(cached) $ac_c" 1>&6
    54722771else
    54732772  if test -n "$TEXI2HTML"; then
    54742773  ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test.
    54752774else
    5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5477 for as_dir in $PATH
    5478 do
    5479   IFS=$as_save_IFS
    5480   test -z "$as_dir" && as_dir=.
    5481   for ac_exec_ext in '' $ac_executable_extensions; do
    5482   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5483     ac_cv_prog_TEXI2HTML="texi2html"
    5484     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    5485     break 2
    5486   fi
    5487 done
    5488 done
    5489 
    5490 fi
    5491 fi
    5492 TEXI2HTML=$ac_cv_prog_TEXI2HTML
     2775  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     2776  ac_dummy="$PATH"
     2777  for ac_dir in $ac_dummy; do
     2778    test -z "$ac_dir" && ac_dir=.
     2779    if test -f $ac_dir/$ac_word; then
     2780      ac_cv_prog_TEXI2HTML="texi2html"
     2781      break
     2782    fi
     2783  done
     2784  IFS="$ac_save_ifs"
     2785fi
     2786fi
     2787TEXI2HTML="$ac_cv_prog_TEXI2HTML"
    54932788if test -n "$TEXI2HTML"; then
    5494   echo "$as_me:$LINENO: result: $TEXI2HTML" >&5
    5495 echo "${ECHO_T}$TEXI2HTML" >&6
    5496 else
    5497   echo "$as_me:$LINENO: result: no" >&5
    5498 echo "${ECHO_T}no" >&6
     2789  echo "$ac_t""$TEXI2HTML" 1>&6
     2790else
     2791  echo "$ac_t""no" 1>&6
    54992792fi
    55002793
     
    55022795
    55032796if test "${TEXI2HTML+set}" != set; then
    5504 { echo "$as_me:$LINENO: WARNING: texi2html not found. HTML doc generation will fail" >&5
    5505 echo "$as_me: WARNING: texi2html not found. HTML doc generation will fail" >&2;}
     2797echo "configure: warning: texi2html not found. HTML doc generation will fail" 1>&2
    55062798fi
    55072799if test "$ac_cv_prog_LATEX2HTML" = latex2html; then
     
    55112803
    55122804
    5513 echo "$as_me:$LINENO: checking whether to build doc" >&5
    5514 echo $ECHO_N "checking whether to build doc... $ECHO_C" >&6
     2805echo $ac_n "checking whether to build doc""... $ac_c" 1>&6
     2806echo "configure:2807: checking whether to build doc" >&5
    55152807if test "$enable_doc" != no && test -d doc; then
    5516  echo "$as_me:$LINENO: result: yes" >&5
    5517 echo "${ECHO_T}yes" >&6
     2808 echo "$ac_t""yes" 1>&6
    55182809 BUILD_SUBDIRS="$BUILD_SUBDIRS doc"
    55192810 if test "$enable_doc" != yes; then
     
    55232814else
    55242815 enable_doc=no
    5525  echo "$as_me:$LINENO: result: no" >&5
    5526 echo "${ECHO_T}no" >&6
    5527 fi
    5528 
    5529 echo "$as_me:$LINENO: checking whether to build emacs" >&5
    5530 echo $ECHO_N "checking whether to build emacs... $ECHO_C" >&6
     2816 echo "$ac_t""no" 1>&6
     2817fi
     2818
     2819echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6
     2820echo "configure:2821: checking whether to build emacs" >&5
    55312821if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then
    5532  echo "$as_me:$LINENO: result: yes" >&5
    5533 echo "${ECHO_T}yes" >&6
     2822 echo "$ac_t""yes" 1>&6
    55342823 BUILD_SUBDIRS="$BUILD_SUBDIRS emacs"
    55352824 if test "$enable_emacs" != yes; then
     
    55372826 fi
    55382827else
    5539  echo "$as_me:$LINENO: result: no" >&5
    5540 echo "${ECHO_T}no" >&6
    5541 fi
    5542 
    5543 echo "$as_me:$LINENO: checking which apint package to use" >&5
    5544 echo $ECHO_N "checking which apint package to use... $ECHO_C" >&6
     2828 echo "$ac_t""no" 1>&6
     2829fi
     2830
     2831echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
     2832echo "configure:2833: checking which apint package to use" >&5
    55452833if test "$with_apint" = gmp; then
    55462834  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
    5547     echo "$as_me:$LINENO: result: gmp" >&5
    5548 echo "${ECHO_T}gmp" >&6
    5549   else
    5550     echo "$as_me:$LINENO: result: none" >&5
    5551 echo "${ECHO_T}none" >&6
    5552     { { echo "$as_me:$LINENO: error: can not use with gmp without finding or building it" >&5
    5553 echo "$as_me: error: can not use with gmp without finding or building it" >&2;}
    5554    { (exit 1); exit 1; }; }
     2835    echo "$ac_t""gmp" 1>&6
     2836  else
     2837    echo "$ac_t""none" 1>&6
     2838    { echo "configure: error: can not use with gmp without finding or building it" 1>&2; exit 1; }
    55552839  fi
    55562840elif test "$with_apint" = smallgmp; then
    55572841  if test "$ac_smallgmp_ok" = yes || test "$enable_smallgmp" = yes; then
    5558     echo "$as_me:$LINENO: result: smallgmp" >&5
    5559 echo "${ECHO_T}smallgmp" >&6
    5560   else
    5561     echo "$as_me:$LINENO: result: none" >&5
    5562 echo "${ECHO_T}none" >&6
    5563     { { echo "$as_me:$LINENO: error: can not use with smallgmp without finding or building it" >&5
    5564 echo "$as_me: error: can not use with smallgmp without finding or building it" >&2;}
    5565    { (exit 1); exit 1; }; }
     2842    echo "$ac_t""smallgmp" 1>&6
     2843  else
     2844    echo "$ac_t""none" 1>&6
     2845    { echo "configure: error: can not use with smallgmp without finding or building it" 1>&2; exit 1; }
    55662846  fi
    55672847elif test "$ac_gmp_ok" = yes || test "$enable_gmp"; then
    5568     echo "$as_me:$LINENO: result: gmp" >&5
    5569 echo "${ECHO_T}gmp" >&6
     2848    echo "$ac_t""gmp" 1>&6
    55702849    ac_configure_args="$ac_configure_args --with-apint=gmp"
    5571 else
    5572    echo "$as_me:$LINENO: result: smallgmp" >&5
    5573 echo "${ECHO_T}smallgmp" >&6
     2850else
     2851   echo "$ac_t""smallgmp" 1>&6
    55742852   ac_configure_args="$ac_configure_args --with-apint=smallgmp"
    55752853fi
    55762854
    5577 echo "$as_me:$LINENO: checking whether to use with MP" >&5
    5578 echo $ECHO_N "checking whether to use with MP... $ECHO_C" >&6
     2855echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6
     2856echo "configure:2857: checking whether to use with MP" >&5
    55792857if test "$with_MP" = yes; then
    55802858  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
    5581     echo "$as_me:$LINENO: result: yes" >&5
    5582 echo "${ECHO_T}yes" >&6
    5583   else
    5584     echo "$as_me:$LINENO: result: none" >&5
    5585 echo "${ECHO_T}none" >&6
    5586     { { echo "$as_me:$LINENO: error: can not use with MP without finding or building it" >&5
    5587 echo "$as_me: error: can not use with MP without finding or building it" >&2;}
    5588    { (exit 1); exit 1; }; }
     2859    echo "$ac_t""yes" 1>&6
     2860  else
     2861    echo "$ac_t""none" 1>&6
     2862    { echo "configure: error: can not use with MP without finding or building it" 1>&2; exit 1; }
    55892863  fi
    55902864elif test "$with_MP" = no; then
    5591   echo "$as_me:$LINENO: result: no" >&5
    5592 echo "${ECHO_T}no" >&6
     2865  echo "$ac_t""no" 1>&6
    55932866elif test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
    5594   echo "$as_me:$LINENO: result: yes" >&5
    5595 echo "${ECHO_T}yes" >&6
     2867  echo "$ac_t""yes" 1>&6
    55962868  ac_configure_args="$ac_configure_args --with-MP"
    55972869else
    5598   echo "$as_me:$LINENO: result: no" >&5
    5599 echo "${ECHO_T}no" >&6
     2870  echo "$ac_t""no" 1>&6
    56002871  ac_configure_args="$ac_configure_args --without-MP"
    56012872fi
    56022873
    5603 echo "$as_me:$LINENO: checking whether to use with factory" >&5
    5604 echo $ECHO_N "checking whether to use with factory... $ECHO_C" >&6
     2874echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6
     2875echo "configure:2876: checking whether to use with factory" >&5
    56052876if test "$with_factory" = yes; then
    56062877  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
    5607     echo "$as_me:$LINENO: result: yes" >&5
    5608 echo "${ECHO_T}yes" >&6
    5609   else
    5610     echo "$as_me:$LINENO: result: none" >&5
    5611 echo "${ECHO_T}none" >&6
    5612     { { echo "$as_me:$LINENO: error: can not use with factory without finding or building it" >&5
    5613 echo "$as_me: error: can not use with factory without finding or building it" >&2;}
    5614    { (exit 1); exit 1; }; }
     2878    echo "$ac_t""yes" 1>&6
     2879  else
     2880    echo "$ac_t""none" 1>&6
     2881    { echo "configure: error: can not use with factory without finding or building it" 1>&2; exit 1; }
    56152882  fi
    56162883elif test "$with_factory" = no; then
    5617   echo "$as_me:$LINENO: result: no" >&5
    5618 echo "${ECHO_T}no" >&6
     2884  echo "$ac_t""no" 1>&6
    56192885elif test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
    5620   echo "$as_me:$LINENO: result: yes" >&5
    5621 echo "${ECHO_T}yes" >&6
     2886  echo "$ac_t""yes" 1>&6
    56222887  ac_configure_args="$ac_configure_args --with-factory"
    56232888else
    5624   echo "$as_me:$LINENO: result: no" >&5
    5625 echo "${ECHO_T}no" >&6
     2889  echo "$ac_t""no" 1>&6
    56262890  ac_configure_args="$ac_configure_args --without-factory"
    56272891fi
    5628 
    5629 echo "$as_me:$LINENO: checking whether to use with libfac" >&5
    5630 echo $ECHO_N "checking whether to use with libfac... $ECHO_C" >&6
     2892 
     2893echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6
     2894echo "configure:2895: checking whether to use with libfac" >&5
    56312895if test "$with_libfac" = yes; then
    56322896  if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
    5633     echo "$as_me:$LINENO: result: yes" >&5
    5634 echo "${ECHO_T}yes" >&6
    5635   else
    5636     echo "$as_me:$LINENO: result: none" >&5
    5637 echo "${ECHO_T}none" >&6
    5638     { { echo "$as_me:$LINENO: error: can not use with libfac without finding or building it" >&5
    5639 echo "$as_me: error: can not use with libfac without finding or building it" >&2;}
    5640    { (exit 1); exit 1; }; }
     2897    echo "$ac_t""yes" 1>&6
     2898  else
     2899    echo "$ac_t""none" 1>&6
     2900    { echo "configure: error: can not use with libfac without finding or building it" 1>&2; exit 1; }
    56412901  fi
    56422902elif test "$with_libfac" = no; then
    5643   echo "$as_me:$LINENO: result: no" >&5
    5644 echo "${ECHO_T}no" >&6
     2903  echo "$ac_t""no" 1>&6
    56452904elif test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
    5646   echo "$as_me:$LINENO: result: yes" >&5
    5647 echo "${ECHO_T}yes" >&6
     2905  echo "$ac_t""yes" 1>&6
    56482906  ac_configure_args="$ac_configure_args --with-libfac"
    56492907else
    5650   echo "$as_me:$LINENO: result: no" >&5
    5651 echo "${ECHO_T}no" >&6
     2908  echo "$ac_t""no" 1>&6
    56522909  ac_configure_args="$ac_configure_args --without-libfac"
    56532910fi
     
    56552912
    56562913
    5657 echo "$as_me:$LINENO: checking whether to use with Singular" >&5
    5658 echo $ECHO_N "checking whether to use with Singular... $ECHO_C" >&6
     2914echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6
     2915echo "configure:2916: checking whether to use with Singular" >&5
    56592916if test "$with_Singular" != no && test "$with_Singular" != yes; then
    56602917  if test "$enable_Singular" = yes; then
     
    56672924
    56682925if test "$with_Singular" != no; then
    5669   echo "$as_me:$LINENO: result: yes" >&5
    5670 echo "${ECHO_T}yes" >&6
    5671 else
    5672   echo "$as_me:$LINENO: result: no" >&5
    5673 echo "${ECHO_T}no" >&6
     2926  echo "$ac_t""yes" 1>&6
     2927else
     2928  echo "$ac_t""no" 1>&6
    56742929fi
    56752930
     
    57182973  SUBDIRS="$SUBDIRS modules"
    57192974fi
    5720 
    5721 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    5722 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    5723 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    5724 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    5725   echo $ECHO_N "(cached) $ECHO_C" >&6
    5726 else
    5727   cat >conftest.make <<\_ACEOF
     2975 
     2976echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
     2977echo "configure:2978: checking whether ${MAKE-make} sets \${MAKE}" >&5
     2978set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
     2979if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     2980  echo $ac_n "(cached) $ac_c" 1>&6
     2981else
     2982  cat > conftestmake <<\EOF
    57282983all:
    5729         @echo 'ac_maketemp="$(MAKE)"'
    5730 _ACEOF
     2984        @echo 'ac_maketemp="${MAKE}"'
     2985EOF
    57312986# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    5732 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
     2987eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
    57332988if test -n "$ac_maketemp"; then
    57342989  eval ac_cv_prog_make_${ac_make}_set=yes
     
    57362991  eval ac_cv_prog_make_${ac_make}_set=no
    57372992fi
    5738 rm -f conftest.make
     2993rm -f conftestmake
    57392994fi
    57402995if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    5741   echo "$as_me:$LINENO: result: yes" >&5
    5742 echo "${ECHO_T}yes" >&6
     2996  echo "$ac_t""yes" 1>&6
    57432997  SET_MAKE=
    57442998else
    5745   echo "$as_me:$LINENO: result: no" >&5
    5746 echo "${ECHO_T}no" >&6
     2999  echo "$ac_t""no" 1>&6
    57473000  SET_MAKE="MAKE=${MAKE-make}"
    57483001fi
     
    57513004
    57523005
    5753 
    5754 
    5755 subdirs="$subdirs $CONFIG_SUBDIRS"
    5756 
    5757 
    5758           ac_config_files="$ac_config_files ${OUTPUT_MAKEFILES}"
    5759 cat >confcache <<\_ACEOF
     3006subdirs="$CONFIG_SUBDIRS"
     3007 
     3008
     3009trap '' 1 2 15
     3010cat > confcache <<\EOF
    57603011# This file is a shell script that caches the results of configure
    57613012# tests run on this system so they can be shared between configure
    5762 # scripts and configure runs, see configure's option --config-cache.
    5763 # It is not useful on other systems.  If it contains results you don't
    5764 # want to keep, you may remove or edit it.
     3013# scripts and configure runs.  It is not useful on other systems.
     3014# If it contains results you don't want to keep, you may remove or edit it.
    57653015#
    5766 # config.status only pays attention to the cache file if you give it
    5767 # the --recheck option to rerun configure.
     3016# By default, configure uses ./config.cache as the cache file,
     3017# creating it if it does not exist already.  You can give configure
     3018# the --cache-file=FILE option to use a different cache file; that is
     3019# what configure does when it calls configure scripts in
     3020# subdirectories, so they share the cache.
     3021# Giving --cache-file=/dev/null disables caching, for debugging configure.
     3022# config.status only pays attention to the cache file if you give it the
     3023# --recheck option to rerun configure.
    57683024#
    5769 # `ac_cv_env_foo' variables (set or unset) will be overridden when
    5770 # loading this file, other *unset* `ac_cv_foo' will be assigned the
    5771 # following values.
    5772 
    5773 _ACEOF
    5774 
     3025EOF
    57753026# The following way of writing the cache mishandles newlines in values,
    57763027# but we know of no workaround that is simple, portable, and efficient.
     
    57783029# Ultrix sh set writes to stderr and can't be redirected directly,
    57793030# and sets the high bit in the cache file unless we assign to the vars.
    5780 {
    5781   (set) 2>&1 |
    5782     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    5783     *ac_space=\ *)
    5784       # `set' does not quote correctly, so add quotes (double-quote
    5785       # substitution turns \\\\ into \\, and sed turns \\ into \).
    5786       sed -n \
    5787         "s/'/'\\\\''/g;
    5788           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    5789       ;;
    5790     *)
    5791       # `set' quotes correctly as required by POSIX, so do not add quotes.
    5792       sed -n \
    5793         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    5794       ;;
    5795     esac;
    5796 } |
    5797   sed '
    5798      t clear
    5799      : clear
    5800      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    5801      t end
    5802      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    5803      : end' >>confcache
    5804 if diff $cache_file confcache >/dev/null 2>&1; then :; else
     3031(set) 2>&1 |
     3032  case `(ac_space=' '; set | grep ac_space) 2>&1` in
     3033  *ac_space=\ *)
     3034    # `set' does not quote correctly, so add quotes (double-quote substitution
     3035    # turns \\\\ into \\, and sed turns \\ into \).
     3036    sed -n \
     3037      -e "s/'/'\\\\''/g" \
     3038      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     3039    ;;
     3040  *)
     3041    # `set' quotes correctly as required by POSIX, so do not add quotes.
     3042    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     3043    ;;
     3044  esac >> confcache
     3045if cmp -s $cache_file confcache; then
     3046  :
     3047else
    58053048  if test -w $cache_file; then
    5806     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
    5807     cat confcache >$cache_file
     3049    echo "updating cache $cache_file"
     3050    cat confcache > $cache_file
    58083051  else
    58093052    echo "not updating unwritable cache $cache_file"
     
    58113054fi
    58123055rm -f confcache
     3056
     3057trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    58133058
    58143059test "x$prefix" = xNONE && prefix=$ac_default_prefix
     
    58163061test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    58173062
    5818 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    5819 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    5820 # trailing colons and then remove the whole line if VPATH becomes empty
    5821 # (actually we leave an empty line to preserve line numbers).
     3063# Any assignment to VPATH causes Sun make to only execute
     3064# the first set of double-colon rules, so remove it if not needed.
     3065# If there is a colon in the path, we need to keep it.
    58223066if test "x$srcdir" = x.; then
    5823   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    5824 s/:*\$(srcdir):*/:/;
    5825 s/:*\${srcdir}:*/:/;
    5826 s/:*@srcdir@:*/:/;
    5827 s/^\([^=]*=[     ]*\):*/\1/;
    5828 s/:*$//;
    5829 s/^[^=]*=[       ]*$//;
    5830 }'
    5831 fi
     3067  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
     3068fi
     3069
     3070trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
    58323071
    58333072# Transform confdefs.h into DEFS.
    58343073# Protect against shell expansion while executing Makefile rules.
    58353074# Protect against Makefile macro expansion.
     3075cat > conftest.defs <<\EOF
     3076s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
     3077s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
     3078s%\[%\\&%g
     3079s%\]%\\&%g
     3080s%\$%$$%g
     3081EOF
     3082DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
     3083rm -f conftest.defs
     3084
     3085
     3086# Without the "./", some shells look in PATH for config.status.
     3087: ${CONFIG_STATUS=./config.status}
     3088
     3089echo creating $CONFIG_STATUS
     3090rm -f $CONFIG_STATUS
     3091cat > $CONFIG_STATUS <<EOF
     3092#! /bin/sh
     3093# Generated automatically by configure.
     3094# Run this file to recreate the current configuration.
     3095# This directory was configured as follows,
     3096# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    58363097#
    5837 # If the first sed substitution is executed (which looks for macros that
    5838 # take arguments), then we branch to the quote section.  Otherwise,
    5839 # look for a macro that doesn't take arguments.
    5840 cat >confdef2opt.sed <<\_ACEOF
    5841 t clear
    5842 : clear
    5843 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
    5844 t quote
    5845 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
    5846 t quote
    5847 d
    5848 : quote
    5849 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
    5850 s,\[,\\&,g
    5851 s,\],\\&,g
    5852 s,\$,$$,g
    5853 p
    5854 _ACEOF
    5855 # We use echo to avoid assuming a particular line-breaking character.
    5856 # The extra dot is to prevent the shell from consuming trailing
    5857 # line-breaks from the sub-command output.  A line-break within
    5858 # single-quotes doesn't work because, if this script is created in a
    5859 # platform that uses two characters for line-breaks (e.g., DOS), tr
    5860 # would break.
    5861 ac_LF_and_DOT=`echo; echo .`
    5862 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
    5863 rm -f confdef2opt.sed
    5864 
    5865 
    5866 ac_libobjs=
    5867 ac_ltlibobjs=
    5868 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    5869   # 1. Remove the extension, and $U if already installed.
    5870   ac_i=`echo "$ac_i" |
    5871          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    5872   # 2. Add them.
    5873   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    5874   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    5875 done
    5876 LIBOBJS=$ac_libobjs
    5877 
    5878 LTLIBOBJS=$ac_ltlibobjs
    5879 
    5880 
    5881 
    5882 : ${CONFIG_STATUS=./config.status}
    5883 ac_clean_files_save=$ac_clean_files
    5884 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    5885 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    5886 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    5887 cat >$CONFIG_STATUS <<_ACEOF
    5888 #! $SHELL
    5889 # Generated by $as_me.
    5890 # Run this file to recreate the current configuration.
     3098# $0 $ac_configure_args
     3099#
    58913100# Compiler output produced by configure, useful for debugging
    5892 # configure, is in config.log if it exists.
    5893 
    5894 debug=false
    5895 ac_cs_recheck=false
    5896 ac_cs_silent=false
    5897 SHELL=\${CONFIG_SHELL-$SHELL}
    5898 _ACEOF
    5899 
    5900 cat >>$CONFIG_STATUS <<\_ACEOF
    5901 ## --------------------- ##
    5902 ## M4sh Initialization.  ##
    5903 ## --------------------- ##
    5904 
    5905 # Be Bourne compatible
    5906 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    5907   emulate sh
    5908   NULLCMD=:
    5909   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    5910   # is contrary to our usage.  Disable this feature.
    5911   alias -g '${1+"$@"}'='"$@"'
    5912 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    5913   set -o posix
    5914 fi
    5915 DUALCASE=1; export DUALCASE # for MKS sh
    5916 
    5917 # Support unset when possible.
    5918 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    5919   as_unset=unset
    5920 else
    5921   as_unset=false
    5922 fi
    5923 
    5924 
    5925 # Work around bugs in pre-3.0 UWIN ksh.
    5926 $as_unset ENV MAIL MAILPATH
    5927 PS1='$ '
    5928 PS2='> '
    5929 PS4='+ '
    5930 
    5931 # NLS nuisances.
    5932 for as_var in \
    5933   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    5934   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    5935   LC_TELEPHONE LC_TIME
     3101# configure, is in ./config.log if it exists.
     3102
     3103ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
     3104for ac_option
    59363105do
    5937   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    5938     eval $as_var=C; export $as_var
    5939   else
    5940     $as_unset $as_var
    5941   fi
    5942 done
    5943 
    5944 # Required to use basename.
    5945 if expr a : '\(a\)' >/dev/null 2>&1; then
    5946   as_expr=expr
    5947 else
    5948   as_expr=false
    5949 fi
    5950 
    5951 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    5952   as_basename=basename
    5953 else
    5954   as_basename=false
    5955 fi
    5956 
    5957 
    5958 # Name of the executable.
    5959 as_me=`$as_basename "$0" ||
    5960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    5961          X"$0" : 'X\(//\)$' \| \
    5962          X"$0" : 'X\(/\)$' \| \
    5963          .     : '\(.\)' 2>/dev/null ||
    5964 echo X/"$0" |
    5965     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    5966           /^X\/\(\/\/\)$/{ s//\1/; q; }
    5967           /^X\/\(\/\).*/{ s//\1/; q; }
    5968           s/.*/./; q'`
    5969 
    5970 
    5971 # PATH needs CR, and LINENO needs CR and PATH.
    5972 # Avoid depending upon Character Ranges.
    5973 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    5974 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    5975 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    5976 as_cr_digits='0123456789'
    5977 as_cr_alnum=$as_cr_Letters$as_cr_digits
    5978 
    5979 # The user is always right.
    5980 if test "${PATH_SEPARATOR+set}" != set; then
    5981   echo "#! /bin/sh" >conf$$.sh
    5982   echo  "exit 0"   >>conf$$.sh
    5983   chmod +x conf$$.sh
    5984   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    5985     PATH_SEPARATOR=';'
    5986   else
    5987     PATH_SEPARATOR=:
    5988   fi
    5989   rm -f conf$$.sh
    5990 fi
    5991 
    5992 
    5993   as_lineno_1=$LINENO
    5994   as_lineno_2=$LINENO
    5995   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    5996   test "x$as_lineno_1" != "x$as_lineno_2" &&
    5997   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    5998   # Find who we are.  Look in the path if we contain no path at all
    5999   # relative or not.
    6000   case $0 in
    6001     *[\\/]* ) as_myself=$0 ;;
    6002     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6003 for as_dir in $PATH
    6004 do
    6005   IFS=$as_save_IFS
    6006   test -z "$as_dir" && as_dir=.
    6007   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    6008 done
    6009 
    6010        ;;
    6011   esac
    6012   # We did not find ourselves, most probably we were run as `sh COMMAND'
    6013   # in which case we are not to be found in the path.
    6014   if test "x$as_myself" = x; then
    6015     as_myself=$0
    6016   fi
    6017   if test ! -f "$as_myself"; then
    6018     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    6019 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    6020    { (exit 1); exit 1; }; }
    6021   fi
    6022   case $CONFIG_SHELL in
    6023   '')
    6024     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6025 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    6026 do
    6027   IFS=$as_save_IFS
    6028   test -z "$as_dir" && as_dir=.
    6029   for as_base in sh bash ksh sh5; do
    6030          case $as_dir in
    6031          /*)
    6032            if ("$as_dir/$as_base" -c '
    6033   as_lineno_1=$LINENO
    6034   as_lineno_2=$LINENO
    6035   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    6036   test "x$as_lineno_1" != "x$as_lineno_2" &&
    6037   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    6038              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    6039              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    6040              CONFIG_SHELL=$as_dir/$as_base
    6041              export CONFIG_SHELL
    6042              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    6043            fi;;
    6044          esac
    6045        done
    6046 done
    6047 ;;
    6048   esac
    6049 
    6050   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    6051   # uniformly replaced by the line number.  The first 'sed' inserts a
    6052   # line-number line before each line; the second 'sed' does the real
    6053   # work.  The second script uses 'N' to pair each line-number line
    6054   # with the numbered line, and appends trailing '-' during
    6055   # substitution so that $LINENO is not a special case at line end.
    6056   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    6057   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    6058   sed '=' <$as_myself |
    6059     sed '
    6060       N
    6061       s,$,-,
    6062       : loop
    6063       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    6064       t loop
    6065       s,-$,,
    6066       s,^['$as_cr_digits']*\n,,
    6067     ' >$as_me.lineno &&
    6068   chmod +x $as_me.lineno ||
    6069     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    6070 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    6071    { (exit 1); exit 1; }; }
    6072 
    6073   # Don't try to exec as it changes $[0], causing all sort of problems
    6074   # (the dirname of $[0] is not the place where we might find the
    6075   # original and so on.  Autoconf is especially sensible to this).
    6076   . ./$as_me.lineno
    6077   # Exit status is that of the last command.
    6078   exit
    6079 }
    6080 
    6081 
    6082 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    6083   *c*,-n*) ECHO_N= ECHO_C='
    6084 ' ECHO_T='      ' ;;
    6085   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    6086   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    6087 esac
    6088 
    6089 if expr a : '\(a\)' >/dev/null 2>&1; then
    6090   as_expr=expr
    6091 else
    6092   as_expr=false
    6093 fi
    6094 
    6095 rm -f conf$$ conf$$.exe conf$$.file
    6096 echo >conf$$.file
    6097 if ln -s conf$$.file conf$$ 2>/dev/null; then
    6098   # We could just check for DJGPP; but this test a) works b) is more generic
    6099   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    6100   if test -f conf$$.exe; then
    6101     # Don't use ln at all; we don't have any links
    6102     as_ln_s='cp -p'
    6103   else
    6104     as_ln_s='ln -s'
    6105   fi
    6106 elif ln conf$$.file conf$$ 2>/dev/null; then
    6107   as_ln_s=ln
    6108 else
    6109   as_ln_s='cp -p'
    6110 fi
    6111 rm -f conf$$ conf$$.exe conf$$.file
    6112 
    6113 if mkdir -p . 2>/dev/null; then
    6114   as_mkdir_p=:
    6115 else
    6116   test -d ./-p && rmdir ./-p
    6117   as_mkdir_p=false
    6118 fi
    6119 
    6120 as_executable_p="test -f"
    6121 
    6122 # Sed expression to map a string onto a valid CPP name.
    6123 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    6124 
    6125 # Sed expression to map a string onto a valid variable name.
    6126 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    6127 
    6128 
    6129 # IFS
    6130 # We need space, tab and new line, in precisely that order.
    6131 as_nl='
    6132 '
    6133 IFS="   $as_nl"
    6134 
    6135 # CDPATH.
    6136 $as_unset CDPATH
    6137 
    6138 exec 6>&1
    6139 
    6140 # Open the log real soon, to keep \$[0] and so on meaningful, and to
    6141 # report actual input values of CONFIG_FILES etc. instead of their
    6142 # values after options handling.  Logging --version etc. is OK.
    6143 exec 5>>config.log
    6144 {
    6145   echo
    6146   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    6147 ## Running $as_me. ##
    6148 _ASBOX
    6149 } >&5
    6150 cat >&5 <<_CSEOF
    6151 
    6152 This file was extended by $as_me, which was
    6153 generated by GNU Autoconf 2.59.  Invocation command line was
    6154 
    6155   CONFIG_FILES    = $CONFIG_FILES
    6156   CONFIG_HEADERS  = $CONFIG_HEADERS
    6157   CONFIG_LINKS    = $CONFIG_LINKS
    6158   CONFIG_COMMANDS = $CONFIG_COMMANDS
    6159   $ $0 $@
    6160 
    6161 _CSEOF
    6162 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    6163 echo >&5
    6164 _ACEOF
    6165 
    6166 # Files that config.status was made for.
    6167 if test -n "$ac_config_files"; then
    6168   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    6169 fi
    6170 
    6171 if test -n "$ac_config_headers"; then
    6172   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    6173 fi
    6174 
    6175 if test -n "$ac_config_links"; then
    6176   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    6177 fi
    6178 
    6179 if test -n "$ac_config_commands"; then
    6180   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    6181 fi
    6182 
    6183 cat >>$CONFIG_STATUS <<\_ACEOF
    6184 
    6185 ac_cs_usage="\
    6186 \`$as_me' instantiates files from templates according to the
    6187 current configuration.
    6188 
    6189 Usage: $0 [OPTIONS] [FILE]...
    6190 
    6191   -h, --help       print this help, then exit
    6192   -V, --version    print version number, then exit
    6193   -q, --quiet      do not print progress messages
    6194   -d, --debug      don't remove temporary files
    6195       --recheck    update $as_me by reconfiguring in the same conditions
    6196   --file=FILE[:TEMPLATE]
    6197                    instantiate the configuration file FILE
    6198 
    6199 Configuration files:
    6200 $config_files
    6201 
    6202 Report bugs to <bug-autoconf@gnu.org>."
    6203 _ACEOF
    6204 
    6205 cat >>$CONFIG_STATUS <<_ACEOF
    6206 ac_cs_version="\\
    6207 config.status
    6208 configured by $0, generated by GNU Autoconf 2.59,
    6209   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    6210 
    6211 Copyright (C) 2003 Free Software Foundation, Inc.
    6212 This config.status script is free software; the Free Software Foundation
    6213 gives unlimited permission to copy, distribute and modify it."
    6214 srcdir=$srcdir
    6215 INSTALL="$INSTALL"
    6216 _ACEOF
    6217 
    6218 cat >>$CONFIG_STATUS <<\_ACEOF
    6219 # If no file are specified by the user, then we need to provide default
    6220 # value.  By we need to know if files were specified by the user.
    6221 ac_need_defaults=:
    6222 while test $# != 0
    6223 do
    6224   case $1 in
    6225   --*=*)
    6226     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    6227     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    6228     ac_shift=:
    6229     ;;
    6230   -*)
    6231     ac_option=$1
    6232     ac_optarg=$2
    6233     ac_shift=shift
    6234     ;;
    6235   *) # This is not an option, so the user has probably given explicit
    6236      # arguments.
    6237      ac_option=$1
    6238      ac_need_defaults=false;;
    6239   esac
    6240 
    6241   case $ac_option in
    6242   # Handling of the options.
    6243 _ACEOF
    6244 cat >>$CONFIG_STATUS <<\_ACEOF
     3106  case "\$ac_option" in
    62453107  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    6246     ac_cs_recheck=: ;;
    6247   --version | --vers* | -V )
    6248     echo "$ac_cs_version"; exit 0 ;;
    6249   --he | --h)
    6250     # Conflict between --help and --header
    6251     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    6252 Try \`$0 --help' for more information." >&5
    6253 echo "$as_me: error: ambiguous option: $1
    6254 Try \`$0 --help' for more information." >&2;}
    6255    { (exit 1); exit 1; }; };;
    6256   --help | --hel | -h )
    6257     echo "$ac_cs_usage"; exit 0 ;;
    6258   --debug | --d* | -d )
    6259     debug=: ;;
    6260   --file | --fil | --fi | --f )
    6261     $ac_shift
    6262     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    6263     ac_need_defaults=false;;
    6264   --header | --heade | --head | --hea )
    6265     $ac_shift
    6266     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    6267     ac_need_defaults=false;;
    6268   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    6269   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    6270     ac_cs_silent=: ;;
    6271 
    6272   # This is an error.
    6273   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    6274 Try \`$0 --help' for more information." >&5
    6275 echo "$as_me: error: unrecognized option: $1
    6276 Try \`$0 --help' for more information." >&2;}
    6277    { (exit 1); exit 1; }; } ;;
    6278 
    6279   *) ac_config_targets="$ac_config_targets $1" ;;
    6280 
    6281   esac
    6282   shift
    6283 done
    6284 
    6285 ac_configure_extra_args=
    6286 
    6287 if $ac_cs_silent; then
    6288   exec 6>/dev/null
    6289   ac_configure_extra_args="$ac_configure_extra_args --silent"
    6290 fi
    6291 
    6292 _ACEOF
    6293 cat >>$CONFIG_STATUS <<_ACEOF
    6294 if \$ac_cs_recheck; then
    6295   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    6296   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    6297 fi
    6298 
    6299 _ACEOF
    6300 
    6301 
    6302 
    6303 
    6304 
    6305 cat >>$CONFIG_STATUS <<\_ACEOF
    6306 for ac_config_target in $ac_config_targets
    6307 do
    6308   case "$ac_config_target" in
    6309   # Handling of arguments.
    6310   "${OUTPUT_MAKEFILES}" ) CONFIG_FILES="$CONFIG_FILES ${OUTPUT_MAKEFILES}" ;;
    6311   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    6312 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    6313    { (exit 1); exit 1; }; };;
     3108    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
     3109    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
     3110  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
     3111    echo "$CONFIG_STATUS generated by autoconf version 2.13"
     3112    exit 0 ;;
     3113  -help | --help | --hel | --he | --h)
     3114    echo "\$ac_cs_usage"; exit 0 ;;
     3115  *) echo "\$ac_cs_usage"; exit 1 ;;
    63143116  esac
    63153117done
    63163118
    6317 # If the user did not use the arguments to specify the items to instantiate,
    6318 # then the envvar interface is used.  Set only those that are not.
    6319 # We use the long form for the default assignment because of an extremely
    6320 # bizarre bug on SunOS 4.1.3.
    6321 if $ac_need_defaults; then
    6322   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    6323 fi
    6324 
    6325 # Have a temporary directory for convenience.  Make it in the build tree
    6326 # simply because there is no reason to put it here, and in addition,
    6327 # creating and moving files from /tmp can sometimes cause problems.
    6328 # Create a temporary directory, and hook for its removal unless debugging.
    6329 $debug ||
    6330 {
    6331   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    6332   trap '{ (exit 1); exit 1; }' 1 2 13 15
    6333 }
    6334 
    6335 # Create a (secure) tmp directory for tmp files.
    6336 
    6337 {
    6338   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    6339   test -n "$tmp" && test -d "$tmp"
    6340 }  ||
    6341 {
    6342   tmp=./confstat$$-$RANDOM
    6343   (umask 077 && mkdir $tmp)
    6344 } ||
    6345 {
    6346    echo "$me: cannot create a temporary directory in ." >&2
    6347    { (exit 1); exit 1; }
    6348 }
    6349 
    6350 _ACEOF
    6351 
    6352 cat >>$CONFIG_STATUS <<_ACEOF
    6353 
    6354 #
    6355 # CONFIG_FILES section.
    6356 #
    6357 
    6358 # No need to generate the scripts if there are no CONFIG_FILES.
    6359 # This happens for instance when ./config.status config.h
    6360 if test -n "\$CONFIG_FILES"; then
    6361   # Protect against being on the right side of a sed subst in config.status.
    6362   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    6363    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    6364 s,@SHELL@,$SHELL,;t t
    6365 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    6366 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    6367 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    6368 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    6369 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    6370 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    6371 s,@exec_prefix@,$exec_prefix,;t t
    6372 s,@prefix@,$prefix,;t t
    6373 s,@program_transform_name@,$program_transform_name,;t t
    6374 s,@bindir@,$bindir,;t t
    6375 s,@sbindir@,$sbindir,;t t
    6376 s,@libexecdir@,$libexecdir,;t t
    6377 s,@datadir@,$datadir,;t t
    6378 s,@sysconfdir@,$sysconfdir,;t t
    6379 s,@sharedstatedir@,$sharedstatedir,;t t
    6380 s,@localstatedir@,$localstatedir,;t t
    6381 s,@libdir@,$libdir,;t t
    6382 s,@includedir@,$includedir,;t t
    6383 s,@oldincludedir@,$oldincludedir,;t t
    6384 s,@infodir@,$infodir,;t t
    6385 s,@mandir@,$mandir,;t t
    6386 s,@build_alias@,$build_alias,;t t
    6387 s,@host_alias@,$host_alias,;t t
    6388 s,@target_alias@,$target_alias,;t t
    6389 s,@DEFS@,$DEFS,;t t
    6390 s,@ECHO_C@,$ECHO_C,;t t
    6391 s,@ECHO_N@,$ECHO_N,;t t
    6392 s,@ECHO_T@,$ECHO_T,;t t
    6393 s,@LIBS@,$LIBS,;t t
    6394 s,@SINGULAR_VERSION@,$SINGULAR_VERSION,;t t
    6395 s,@VERSION_DATE@,$VERSION_DATE,;t t
    6396 s,@SINGULAR_SHORT_VERSION@,$SINGULAR_SHORT_VERSION,;t t
    6397 s,@SINGULAR_RPM_VERSION@,$SINGULAR_RPM_VERSION,;t t
    6398 s,@SINGULAR_ROOT_DIR@,$SINGULAR_ROOT_DIR,;t t
    6399 s,@SINGUNAME@,$SINGUNAME,;t t
    6400 s,@SING_UNAME@,$SING_UNAME,;t t
    6401 s,@CC@,$CC,;t t
    6402 s,@CFLAGS@,$CFLAGS,;t t
    6403 s,@LDFLAGS@,$LDFLAGS,;t t
    6404 s,@CPPFLAGS@,$CPPFLAGS,;t t
    6405 s,@ac_ct_CC@,$ac_ct_CC,;t t
    6406 s,@EXEEXT@,$EXEEXT,;t t
    6407 s,@OBJEXT@,$OBJEXT,;t t
    6408 s,@CPP@,$CPP,;t t
    6409 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    6410 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    6411 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    6412 s,@EGREP@,$EGREP,;t t
    6413 s,@CXX@,$CXX,;t t
    6414 s,@CXXFLAGS@,$CXXFLAGS,;t t
    6415 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    6416 s,@PIPE@,$PIPE,;t t
    6417 s,@PERL@,$PERL,;t t
    6418 s,@UUDECODE@,$UUDECODE,;t t
    6419 s,@GUNZIP@,$GUNZIP,;t t
    6420 s,@MYGZIP@,$MYGZIP,;t t
    6421 s,@LATEX2HTML@,$LATEX2HTML,;t t
    6422 s,@LN_S@,$LN_S,;t t
    6423 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
    6424 s,@SINGULAR@,$SINGULAR,;t t
    6425 s,@TMP_DIR@,$TMP_DIR,;t t
    6426 s,@TEXI2DVI@,$TEXI2DVI,;t t
    6427 s,@TEXI2PDF@,$TEXI2PDF,;t t
    6428 s,@MAKEINFO@,$MAKEINFO,;t t
    6429 s,@TEXINDEX@,$TEXINDEX,;t t
    6430 s,@TEXI2HTML@,$TEXI2HTML,;t t
    6431 s,@TEXI2HTML_OPTS@,$TEXI2HTML_OPTS,;t t
    6432 s,@SET_MAKE@,$SET_MAKE,;t t
    6433 s,@SUBDIRS@,$SUBDIRS,;t t
    6434 s,@BUILD_SUBDIRS@,$BUILD_SUBDIRS,;t t
    6435 s,@CONFIG_SUBDIRS@,$CONFIG_SUBDIRS,;t t
    6436 s,@subdirs@,$subdirs,;t t
    6437 s,@LIBOBJS@,$LIBOBJS,;t t
    6438 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     3119ac_given_srcdir=$srcdir
     3120ac_given_INSTALL="$INSTALL"
     3121
     3122trap 'rm -fr `echo "${OUTPUT_MAKEFILES}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
     3123EOF
     3124cat >> $CONFIG_STATUS <<EOF
     3125
     3126# Protect against being on the right side of a sed subst in config.status.
     3127sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
     3128 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
     3129$ac_vpsub
     3130$extrasub
     3131s%@SHELL@%$SHELL%g
     3132s%@CFLAGS@%$CFLAGS%g
     3133s%@CPPFLAGS@%$CPPFLAGS%g
     3134s%@CXXFLAGS@%$CXXFLAGS%g
     3135s%@FFLAGS@%$FFLAGS%g
     3136s%@DEFS@%$DEFS%g
     3137s%@LDFLAGS@%$LDFLAGS%g
     3138s%@LIBS@%$LIBS%g
     3139s%@exec_prefix@%$exec_prefix%g
     3140s%@prefix@%$prefix%g
     3141s%@program_transform_name@%$program_transform_name%g
     3142s%@bindir@%$bindir%g
     3143s%@sbindir@%$sbindir%g
     3144s%@libexecdir@%$libexecdir%g
     3145s%@datadir@%$datadir%g
     3146s%@sysconfdir@%$sysconfdir%g
     3147s%@sharedstatedir@%$sharedstatedir%g
     3148s%@localstatedir@%$localstatedir%g
     3149s%@libdir@%$libdir%g
     3150s%@includedir@%$includedir%g
     3151s%@oldincludedir@%$oldincludedir%g
     3152s%@infodir@%$infodir%g
     3153s%@mandir@%$mandir%g
     3154s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g
     3155s%@VERSION_DATE@%$VERSION_DATE%g
     3156s%@SINGULAR_SHORT_VERSION@%$SINGULAR_SHORT_VERSION%g
     3157s%@SINGULAR_RPM_VERSION@%$SINGULAR_RPM_VERSION%g
     3158s%@SINGULAR_ROOT_DIR@%$SINGULAR_ROOT_DIR%g
     3159s%@SINGUNAME@%$SINGUNAME%g
     3160s%@SING_UNAME@%$SING_UNAME%g
     3161s%@CC@%$CC%g
     3162s%@CPP@%$CPP%g
     3163s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
     3164s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
     3165s%@INSTALL_DATA@%$INSTALL_DATA%g
     3166s%@CXX@%$CXX%g
     3167s%@PIPE@%$PIPE%g
     3168s%@PERL@%$PERL%g
     3169s%@UUDECODE@%$UUDECODE%g
     3170s%@GUNZIP@%$GUNZIP%g
     3171s%@MYGZIP@%$MYGZIP%g
     3172s%@LATEX2HTML@%$LATEX2HTML%g
     3173s%@LN_S@%$LN_S%g
     3174s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
     3175s%@SINGULAR@%$SINGULAR%g
     3176s%@TMP_DIR@%$TMP_DIR%g
     3177s%@TEXI2DVI@%$TEXI2DVI%g
     3178s%@TEXI2PDF@%$TEXI2PDF%g
     3179s%@MAKEINFO@%$MAKEINFO%g
     3180s%@TEXINDEX@%$TEXINDEX%g
     3181s%@TEXI2HTML@%$TEXI2HTML%g
     3182s%@TEXI2HTML_OPTS@%$TEXI2HTML_OPTS%g
     3183s%@SET_MAKE@%$SET_MAKE%g
     3184s%@SUBDIRS@%$SUBDIRS%g
     3185s%@BUILD_SUBDIRS@%$BUILD_SUBDIRS%g
     3186s%@CONFIG_SUBDIRS@%$CONFIG_SUBDIRS%g
     3187s%@subdirs@%$subdirs%g
     3188
    64393189CEOF
    6440 
    6441 _ACEOF
    6442 
    6443   cat >>$CONFIG_STATUS <<\_ACEOF
    6444   # Split the substitutions into bite-sized pieces for seds with
    6445   # small command number limits, like on Digital OSF/1 and HP-UX.
    6446   ac_max_sed_lines=48
    6447   ac_sed_frag=1 # Number of current file.
    6448   ac_beg=1 # First line for current file.
    6449   ac_end=$ac_max_sed_lines # Line after last line for current file.
    6450   ac_more_lines=:
    6451   ac_sed_cmds=
    6452   while $ac_more_lines; do
    6453     if test $ac_beg -gt 1; then
    6454       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     3190EOF
     3191
     3192cat >> $CONFIG_STATUS <<\EOF
     3193
     3194# Split the substitutions into bite-sized pieces for seds with
     3195# small command number limits, like on Digital OSF/1 and HP-UX.
     3196ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     3197ac_file=1 # Number of current file.
     3198ac_beg=1 # First line for current file.
     3199ac_end=$ac_max_sed_cmds # Line after last line for current file.
     3200ac_more_lines=:
     3201ac_sed_cmds=""
     3202while $ac_more_lines; do
     3203  if test $ac_beg -gt 1; then
     3204    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     3205  else
     3206    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
     3207  fi
     3208  if test ! -s conftest.s$ac_file; then
     3209    ac_more_lines=false
     3210    rm -f conftest.s$ac_file
     3211  else
     3212    if test -z "$ac_sed_cmds"; then
     3213      ac_sed_cmds="sed -f conftest.s$ac_file"
    64553214    else
    6456       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     3215      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    64573216    fi
    6458     if test ! -s $tmp/subs.frag; then
    6459       ac_more_lines=false
    6460     else
    6461       # The purpose of the label and of the branching condition is to
    6462       # speed up the sed processing (if there are no `@' at all, there
    6463       # is no need to browse any of the substitutions).
    6464       # These are the two extra sed commands mentioned above.
    6465       (echo ':t
    6466   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    6467       if test -z "$ac_sed_cmds"; then
    6468         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    6469       else
    6470         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    6471       fi
    6472       ac_sed_frag=`expr $ac_sed_frag + 1`
    6473       ac_beg=$ac_end
    6474       ac_end=`expr $ac_end + $ac_max_sed_lines`
    6475     fi
    6476   done
    6477   if test -z "$ac_sed_cmds"; then
    6478     ac_sed_cmds=cat
    6479   fi
    6480 fi # test -n "$CONFIG_FILES"
    6481 
    6482 _ACEOF
    6483 cat >>$CONFIG_STATUS <<\_ACEOF
    6484 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     3217    ac_file=`expr $ac_file + 1`
     3218    ac_beg=$ac_end
     3219    ac_end=`expr $ac_end + $ac_max_sed_cmds`
     3220  fi
     3221done
     3222if test -z "$ac_sed_cmds"; then
     3223  ac_sed_cmds=cat
     3224fi
     3225EOF
     3226
     3227cat >> $CONFIG_STATUS <<EOF
     3228
     3229CONFIG_FILES=\${CONFIG_FILES-"${OUTPUT_MAKEFILES}"}
     3230EOF
     3231cat >> $CONFIG_STATUS <<\EOF
     3232for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    64853233  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    6486   case $ac_file in
    6487   - | *:- | *:-:* ) # input from stdin
    6488         cat >$tmp/stdin
    6489         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    6490         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    6491   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    6492         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    6493   * )   ac_file_in=$ac_file.in ;;
     3234  case "$ac_file" in
     3235  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
     3236       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
     3237  *) ac_file_in="${ac_file}.in" ;;
    64943238  esac
    64953239
    6496   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    6497   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    6498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6499          X"$ac_file" : 'X\(//\)[^/]' \| \
    6500          X"$ac_file" : 'X\(//\)$' \| \
    6501          X"$ac_file" : 'X\(/\)' \| \
    6502          .     : '\(.\)' 2>/dev/null ||
    6503 echo X"$ac_file" |
    6504     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    6505           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    6506           /^X\(\/\/\)$/{ s//\1/; q; }
    6507           /^X\(\/\).*/{ s//\1/; q; }
    6508           s/.*/./; q'`
    6509   { if $as_mkdir_p; then
    6510     mkdir -p "$ac_dir"
    6511   else
    6512     as_dir="$ac_dir"
    6513     as_dirs=
    6514     while test ! -d "$as_dir"; do
    6515       as_dirs="$as_dir $as_dirs"
    6516       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    6517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6518          X"$as_dir" : 'X\(//\)[^/]' \| \
    6519          X"$as_dir" : 'X\(//\)$' \| \
    6520          X"$as_dir" : 'X\(/\)' \| \
    6521          .     : '\(.\)' 2>/dev/null ||
    6522 echo X"$as_dir" |
    6523     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    6524           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    6525           /^X\(\/\/\)$/{ s//\1/; q; }
    6526           /^X\(\/\).*/{ s//\1/; q; }
    6527           s/.*/./; q'`
    6528     done
    6529     test ! -n "$as_dirs" || mkdir $as_dirs
    6530   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    6531 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    6532    { (exit 1); exit 1; }; }; }
    6533 
    6534   ac_builddir=.
    6535 
    6536 if test "$ac_dir" != .; then
    6537   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    6538   # A "../" for each directory in $ac_dir_suffix.
    6539   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    6540 else
    6541   ac_dir_suffix= ac_top_builddir=
    6542 fi
    6543 
    6544 case $srcdir in
    6545   .)  # No --srcdir option.  We are building in place.
    6546     ac_srcdir=.
    6547     if test -z "$ac_top_builddir"; then
    6548        ac_top_srcdir=.
    6549     else
    6550        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    6551     fi ;;
    6552   [\\/]* | ?:[\\/]* )  # Absolute path.
    6553     ac_srcdir=$srcdir$ac_dir_suffix;
    6554     ac_top_srcdir=$srcdir ;;
     3240  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
     3241
     3242  # Remove last slash and all that follows it.  Not all systems have dirname.
     3243  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     3244  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     3245    # The file is in a subdirectory.
     3246    test ! -d "$ac_dir" && mkdir "$ac_dir"
     3247    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
     3248    # A "../" for each directory in $ac_dir_suffix.
     3249    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
     3250  else
     3251    ac_dir_suffix= ac_dots=
     3252  fi
     3253
     3254  case "$ac_given_srcdir" in
     3255  .)  srcdir=.
     3256      if test -z "$ac_dots"; then top_srcdir=.
     3257      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
     3258  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    65553259  *) # Relative path.
    6556     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    6557     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    6558 esac
    6559 
    6560 # Do not use `cd foo && pwd` to compute absolute paths, because
    6561 # the directories may not exist.
    6562 case `pwd` in
    6563 .) ac_abs_builddir="$ac_dir";;
    6564 *)
    6565   case "$ac_dir" in
    6566   .) ac_abs_builddir=`pwd`;;
    6567   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    6568   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    6569   esac;;
    6570 esac
    6571 case $ac_abs_builddir in
    6572 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    6573 *)
    6574   case ${ac_top_builddir}. in
    6575   .) ac_abs_top_builddir=$ac_abs_builddir;;
    6576   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    6577   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    6578   esac;;
    6579 esac
    6580 case $ac_abs_builddir in
    6581 .) ac_abs_srcdir=$ac_srcdir;;
    6582 *)
    6583   case $ac_srcdir in
    6584   .) ac_abs_srcdir=$ac_abs_builddir;;
    6585   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    6586   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    6587   esac;;
    6588 esac
    6589 case $ac_abs_builddir in
    6590 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    6591 *)
    6592   case $ac_top_srcdir in
    6593   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    6594   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    6595   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    6596   esac;;
    6597 esac
    6598 
    6599 
    6600   case $INSTALL in
    6601   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    6602   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     3260    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
     3261    top_srcdir="$ac_dots$ac_given_srcdir" ;;
    66033262  esac
    66043263
    6605   if test x"$ac_file" != x-; then
    6606     { echo "$as_me:$LINENO: creating $ac_file" >&5
    6607 echo "$as_me: creating $ac_file" >&6;}
    6608     rm -f "$ac_file"
    6609   fi
    6610   # Let's still pretend it is `configure' which instantiates (i.e., don't
    6611   # use $as_me), people would be surprised to read:
    6612   #    /* config.h.  Generated by config.status.  */
    6613   if test x"$ac_file" = x-; then
    6614     configure_input=
    6615   else
    6616     configure_input="$ac_file.  "
    6617   fi
    6618   configure_input=$configure_input"Generated from `echo $ac_file_in |
    6619                                      sed 's,.*/,,'` by configure."
    6620 
    6621   # First look for the input files in the build tree, otherwise in the
    6622   # src tree.
    6623   ac_file_inputs=`IFS=:
    6624     for f in $ac_file_in; do
    6625       case $f in
    6626       -) echo $tmp/stdin ;;
    6627       [\\/$]*)
    6628          # Absolute (can't be DOS-style, as IFS=:)
    6629          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    6630 echo "$as_me: error: cannot find input file: $f" >&2;}
    6631    { (exit 1); exit 1; }; }
    6632          echo "$f";;
    6633       *) # Relative
    6634          if test -f "$f"; then
    6635            # Build tree
    6636            echo "$f"
    6637          elif test -f "$srcdir/$f"; then
    6638            # Source tree
    6639            echo "$srcdir/$f"
    6640          else
    6641            # /dev/null tree
    6642            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    6643 echo "$as_me: error: cannot find input file: $f" >&2;}
    6644    { (exit 1); exit 1; }; }
    6645          fi;;
    6646       esac
    6647     done` || { (exit 1); exit 1; }
    6648 _ACEOF
    6649 cat >>$CONFIG_STATUS <<_ACEOF
    6650   sed "$ac_vpsub
    6651 $extrasub
    6652 _ACEOF
    6653 cat >>$CONFIG_STATUS <<\_ACEOF
    6654 :t
    6655 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    6656 s,@configure_input@,$configure_input,;t t
    6657 s,@srcdir@,$ac_srcdir,;t t
    6658 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    6659 s,@top_srcdir@,$ac_top_srcdir,;t t
    6660 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    6661 s,@builddir@,$ac_builddir,;t t
    6662 s,@abs_builddir@,$ac_abs_builddir,;t t
    6663 s,@top_builddir@,$ac_top_builddir,;t t
    6664 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    6665 s,@INSTALL@,$ac_INSTALL,;t t
    6666 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    6667   rm -f $tmp/stdin
    6668   if test x"$ac_file" != x-; then
    6669     mv $tmp/out $ac_file
    6670   else
    6671     cat $tmp/out
    6672     rm -f $tmp/out
    6673   fi
    6674 
    6675 done
    6676 _ACEOF
    6677 
    6678 cat >>$CONFIG_STATUS <<\_ACEOF
    6679 
    6680 { (exit 0); exit 0; }
    6681 _ACEOF
     3264  case "$ac_given_INSTALL" in
     3265  [/$]*) INSTALL="$ac_given_INSTALL" ;;
     3266  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
     3267  esac
     3268
     3269  echo creating "$ac_file"
     3270  rm -f "$ac_file"
     3271  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
     3272  case "$ac_file" in
     3273  *Makefile*) ac_comsub="1i\\
     3274# $configure_input" ;;
     3275  *) ac_comsub= ;;
     3276  esac
     3277
     3278  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     3279  sed -e "$ac_comsub
     3280s%@configure_input@%$configure_input%g
     3281s%@srcdir@%$srcdir%g
     3282s%@top_srcdir@%$top_srcdir%g
     3283s%@INSTALL@%$INSTALL%g
     3284" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
     3285fi; done
     3286rm -f conftest.s*
     3287
     3288EOF
     3289cat >> $CONFIG_STATUS <<EOF
     3290
     3291EOF
     3292cat >> $CONFIG_STATUS <<\EOF
     3293
     3294exit 0
     3295EOF
    66823296chmod +x $CONFIG_STATUS
    6683 ac_clean_files=$ac_clean_files_save
    6684 
    6685 
    6686 # configure is writing to config.log, and then calls config.status.
    6687 # config.status does its own redirection, appending to config.log.
    6688 # Unfortunately, on DOS this fails, as config.log is still kept open
    6689 # by configure, so config.status won't be able to write to it; its
    6690 # output is simply discarded.  So we exec the FD to /dev/null,
    6691 # effectively closing config.log, so it can be properly (re)opened and
    6692 # appended to by config.status.  When coming back to configure, we
    6693 # need to make the FD available again.
    6694 if test "$no_create" != yes; then
    6695   ac_cs_success=:
    6696   ac_config_status_args=
    6697   test "$silent" = yes &&
    6698     ac_config_status_args="$ac_config_status_args --quiet"
    6699   exec 5>/dev/null
    6700   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
    6701   exec 5>>config.log
    6702   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    6703   # would make configure fail if this is the last instruction.
    6704   $ac_cs_success || { (exit 1); exit 1; }
    6705 fi
    6706 
    6707 #
    6708 # CONFIG_SUBDIRS section.
    6709 #
     3297rm -fr confdefs* $ac_clean_files
     3298test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
     3299
    67103300if test "$no_recursion" != yes; then
    67113301
     
    67183308      continue
    67193309    fi
    6720     case $ac_arg in
     3310    case "$ac_arg" in
    67213311    -cache-file | --cache-file | --cache-fil | --cache-fi \
    67223312    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    67233313      ac_prev=cache_file ;;
    67243314    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    6725     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
    6726     | --c=*)
    6727       ;;
    6728     --config-cache | -C)
     3315    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    67293316      ;;
    67303317    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
     
    67323319    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    67333320      ;;
    6734     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    6735       ac_prev=prefix ;;
    6736     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    6737       ;;
    67383321    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    67393322    esac
    67403323  done
    67413324
    6742   # Always prepend --prefix to ensure using the same prefix
    6743   # in subdir configurations.
    6744   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
    6745 
    6746   ac_popdir=`pwd`
    6747   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
     3325  for ac_config_dir in $CONFIG_SUBDIRS; do
    67483326
    67493327    # Do not complain, so a configure script can configure whichever
    67503328    # parts of a large source tree are present.
    6751     test -d $srcdir/$ac_dir || continue
    6752 
    6753     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    6754 echo "$as_me: configuring in $ac_dir" >&6;}
    6755     { if $as_mkdir_p; then
    6756     mkdir -p "$ac_dir"
    6757   else
    6758     as_dir="$ac_dir"
    6759     as_dirs=
    6760     while test ! -d "$as_dir"; do
    6761       as_dirs="$as_dir $as_dirs"
    6762       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    6763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    6764          X"$as_dir" : 'X\(//\)[^/]' \| \
    6765          X"$as_dir" : 'X\(//\)$' \| \
    6766          X"$as_dir" : 'X\(/\)' \| \
    6767          .     : '\(.\)' 2>/dev/null ||
    6768 echo X"$as_dir" |
    6769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    6770           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    6771           /^X\(\/\/\)$/{ s//\1/; q; }
    6772           /^X\(\/\).*/{ s//\1/; q; }
    6773           s/.*/./; q'`
    6774     done
    6775     test ! -n "$as_dirs" || mkdir $as_dirs
    6776   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    6777 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    6778    { (exit 1); exit 1; }; }; }
    6779 
    6780     ac_builddir=.
    6781 
    6782 if test "$ac_dir" != .; then
    6783   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    6784   # A "../" for each directory in $ac_dir_suffix.
    6785   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    6786 else
    6787   ac_dir_suffix= ac_top_builddir=
    6788 fi
    6789 
    6790 case $srcdir in
    6791   .)  # No --srcdir option.  We are building in place.
    6792     ac_srcdir=.
    6793     if test -z "$ac_top_builddir"; then
    6794        ac_top_srcdir=.
    6795     else
    6796        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    6797     fi ;;
    6798   [\\/]* | ?:[\\/]* )  # Absolute path.
    6799     ac_srcdir=$srcdir$ac_dir_suffix;
    6800     ac_top_srcdir=$srcdir ;;
    6801   *) # Relative path.
    6802     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    6803     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    6804 esac
    6805 
    6806 # Do not use `cd foo && pwd` to compute absolute paths, because
    6807 # the directories may not exist.
    6808 case `pwd` in
    6809 .) ac_abs_builddir="$ac_dir";;
    6810 *)
    6811   case "$ac_dir" in
    6812   .) ac_abs_builddir=`pwd`;;
    6813   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    6814   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    6815   esac;;
    6816 esac
    6817 case $ac_abs_builddir in
    6818 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    6819 *)
    6820   case ${ac_top_builddir}. in
    6821   .) ac_abs_top_builddir=$ac_abs_builddir;;
    6822   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    6823   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    6824   esac;;
    6825 esac
    6826 case $ac_abs_builddir in
    6827 .) ac_abs_srcdir=$ac_srcdir;;
    6828 *)
    6829   case $ac_srcdir in
    6830   .) ac_abs_srcdir=$ac_abs_builddir;;
    6831   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    6832   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    6833   esac;;
    6834 esac
    6835 case $ac_abs_builddir in
    6836 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    6837 *)
    6838   case $ac_top_srcdir in
    6839   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    6840   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    6841   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    6842   esac;;
    6843 esac
    6844 
    6845 
    6846     cd $ac_dir
     3329    if test ! -d $srcdir/$ac_config_dir; then
     3330      continue
     3331    fi
     3332
     3333    echo configuring in $ac_config_dir
     3334
     3335    case "$srcdir" in
     3336    .) ;;
     3337    *)
     3338      if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
     3339      else
     3340        { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
     3341      fi
     3342      ;;
     3343    esac
     3344
     3345    ac_popdir=`pwd`
     3346    cd $ac_config_dir
     3347
     3348      # A "../" for each directory in /$ac_config_dir.
     3349      ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
     3350
     3351    case "$srcdir" in
     3352    .) # No --srcdir option.  We are building in place.
     3353      ac_sub_srcdir=$srcdir ;;
     3354    /*) # Absolute path.
     3355      ac_sub_srcdir=$srcdir/$ac_config_dir ;;
     3356    *) # Relative path.
     3357      ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
     3358    esac
    68473359
    68483360    # Check for guested configure; otherwise get Cygnus style configure.
    6849     if test -f $ac_srcdir/configure.gnu; then
    6850       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    6851     elif test -f $ac_srcdir/configure; then
    6852       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    6853     elif test -f $ac_srcdir/configure.in; then
     3361    if test -f $ac_sub_srcdir/configure; then
     3362      ac_sub_configure=$ac_sub_srcdir/configure
     3363    elif test -f $ac_sub_srcdir/configure.in; then
    68543364      ac_sub_configure=$ac_configure
    68553365    else
    6856       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    6857 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     3366      echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
    68583367      ac_sub_configure=
    68593368    fi
     
    68613370    # The recursion is here.
    68623371    if test -n "$ac_sub_configure"; then
     3372
    68633373      # Make the cache file name correct relative to the subdirectory.
    6864       case $cache_file in
    6865       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
     3374      case "$cache_file" in
     3375      /*) ac_sub_cache_file=$cache_file ;;
    68663376      *) # Relative path.
    6867         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     3377        ac_sub_cache_file="$ac_dots$cache_file" ;;
    68683378      esac
    6869 
    6870       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    6871 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     3379  case "$ac_given_INSTALL" in
     3380        [/$]*) INSTALL="$ac_given_INSTALL" ;;
     3381        *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
     3382        esac
     3383
     3384      echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
    68723385      # The eval makes quoting arguments work.
    6873       eval $ac_sub_configure $ac_sub_configure_args \
    6874            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    6875         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    6876 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    6877    { (exit 1); exit 1; }; }
     3386      if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
     3387      then :
     3388      else
     3389        { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
     3390      fi
    68783391    fi
    68793392
Note: See TracChangeset for help on using the changeset viewer.