Changeset 690e864 in git


Ignore:
Timestamp:
Apr 22, 2005, 2:54:37 PM (19 years ago)
Author:
Kai Krüger <krueger@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
327eae8647341721b63d044f1e7f5c499ac1fcb3
Parents:
511c38c15926b98d83960bcfb7caea8f43aad986
Message:
 added missing directory kernel


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

Legend:

Unmodified
Added
Removed
  • configure

    r511c38 r690e864  
    11#! /bin/sh
    2 
    32# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.13
    5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
     3# Generated by GNU Autoconf 2.59.
    64#
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
    9 
    10 # Defaults:
    11 ac_help=
     8## --------------------- ##
     9## M4sh Initialization.  ##
     10## --------------------- ##
     11
     12# Be Bourne compatible
     13if 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+"$@"}'='"$@"'
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  set -o posix
     21fi
     22DUALCASE=1; export DUALCASE # for MKS sh
     23
     24# Support unset when possible.
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  as_unset=unset
     27else
     28  as_unset=false
     29fi
     30
     31
     32# Work around bugs in pre-3.0 UWIN ksh.
     33$as_unset ENV MAIL MAILPATH
     34PS1='$ '
     35PS2='> '
     36PS4='+ '
     37
     38# NLS nuisances.
     39for 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
     43do
     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
     49done
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
     53  as_expr=expr
     54else
     55  as_expr=false
     56fi
     57
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59  as_basename=basename
     60else
     61  as_basename=false
     62fi
     63
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68         X"$0" : 'X\(//\)$' \| \
     69         X"$0" : 'X\(/\)$' \| \
     70         .     : '\(.\)' 2>/dev/null ||
     71echo 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.
     80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     83as_cr_digits='0123456789'
     84as_cr_alnum=$as_cr_Letters$as_cr_digits
     85
     86# The user is always right.
     87if 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
     97fi
     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
     110for as_dir in $PATH
     111do
     112  IFS=$as_save_IFS
     113  test -z "$as_dir" && as_dir=.
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     115done
     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
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     132do
     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
     152done
     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
     187case `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= ;;
     192esac
     193
     194if expr a : '\(a\)' >/dev/null 2>&1; then
     195  as_expr=expr
     196else
     197  as_expr=false
     198fi
     199
     200rm -f conf$$ conf$$.exe conf$$.file
     201echo >conf$$.file
     202if 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
     211elif ln conf$$.file conf$$ 2>/dev/null; then
     212  as_ln_s=ln
     213else
     214  as_ln_s='cp -p'
     215fi
     216rm -f conf$$ conf$$.exe conf$$.file
     217
     218if mkdir -p . 2>/dev/null; then
     219  as_mkdir_p=:
     220else
     221  test -d ./-p && rmdir ./-p
     222  as_mkdir_p=false
     223fi
     224
     225as_executable_p="test -f"
     226
     227# Sed expression to map a string onto a valid CPP name.
     228as_tr_cpp="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.
     231as_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.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
     243
     244# Name of the host.
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     246# so uname gets run too.
     247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     248
     249exec 6>&1
     250
     251#
     252# Initializations.
     253#
    12254ac_default_prefix=/usr/local
    13 # Any additions from configure.in:
     255ac_config_libobj_dir=.
     256cross_compiling=no
     257subdirs=
     258MFLAGS=
     259MAKEFLAGS=
     260SHELL=${CONFIG_SHELL-/bin/sh}
     261
     262# Maximum number of lines to put in a shell here document.
     263# This variable seems obsolete.  It should probably be removed, and
     264# only ac_max_sed_lines should be used.
     265: ${ac_max_here_lines=38}
     266
     267# Identity of this package.
     268PACKAGE_NAME=
     269PACKAGE_TARNAME=
     270PACKAGE_VERSION=
     271PACKAGE_STRING=
     272PACKAGE_BUGREPORT=
     273
     274ac_unique_file="kernel/matpol.h"
    14275ac_default_prefix=`pwd`
    15 ac_help="$ac_help
    16 \
    17   --with-tmpdir=DIR       use DIR as temporary directory"
    18 ac_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"
    24 ac_help="$ac_help
    25 \
    26      omalloc              omalloc memory managment"
    27 ac_help="$ac_help
    28 \
    29      gmp                  Gnu Multiple Precision package"
    30 ac_help="$ac_help
    31 \
    32      MP                   Multi Protocol library"
    33 ac_help="$ac_help
    34 \
    35      factory              polynomial factorization library"
    36 ac_help="$ac_help
    37 \
    38      libfac               char set and modp poly factorization library"
    39 ac_help="$ac_help
    40 \
    41      sgroup               numerical semigroup computations"
    42 ac_help="$ac_help
    43 \
    44      Singular             CAS for Polynomial Computations"
    45 ac_help="$ac_help
    46 \
    47      IntegerProgramming   IntegerProgramming"
    48 ac_help="$ac_help
    49 \
    50      Plural               Plural"
    51 ac_help="$ac_help
    52 \
    53      Texinfo              Texinfo for info, texi2dvi, makeinfo"
    54 ac_help="$ac_help
    55 \
    56      Texi2html            Texinfo to HTML converter"
    57 ac_help="$ac_help
    58 \
    59      doc                  Singular documentation"
    60 ac_help="$ac_help
    61 \
    62      emacs                emacs completion files"
    63 ac_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"
    69 ac_help="$ac_help
    70 \
    71      factory              polynomial factorization library"
    72 ac_help="$ac_help
    73 \
    74      libfac               char set and modp poly factorization library"
    75 ac_help="$ac_help
    76 \
    77   --with-apint=PACKAGE    use PACKAGE for arbitary integer arithmetic
    78                           where PACKAGE can be gmp or smallgmp
    79 All additional --enable and --with options are passed to subsequent calls
    80 to configure of the packages to be built. See also configure --help in
    81 these packages (resp. subdirs). "
     276# Factoring default headers for most tests.
     277ac_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
     313ac_subdirs_all="$ac_subdirs_all $CONFIG_SUBDIRS"
     314ac_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'
     315ac_subst_files=''
    82316
    83317# Initialize some variables set by options.
     318ac_init_help=
     319ac_init_version=false
    84320# The variables have the same names as the options, with
    85321# dashes changed to underlines.
    86 build=NONE
    87 cache_file=./config.cache
     322cache_file=/dev/null
    88323exec_prefix=NONE
    89 host=NONE
    90324no_create=
    91 nonopt=NONE
    92325no_recursion=
    93326prefix=NONE
     
    98331site=
    99332srcdir=
    100 target=NONE
    101333verbose=
    102334x_includes=NONE
    103335x_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.
    104342bindir='${exec_prefix}/bin'
    105343sbindir='${exec_prefix}/sbin'
     
    115353mandir='${prefix}/man'
    116354
    117 # Initialize some other variables.
    118 subdirs=
    119 MFLAGS= MAKEFLAGS=
    120 SHELL=${CONFIG_SHELL-/bin/sh}
    121 # Maximum number of lines to put in a shell here document.
    122 ac_max_here_lines=12
    123 
    124355ac_prev=
    125356for ac_option
    126357do
    127 
    128358  # If the previous option needs an argument, assign it.
    129359  if test -n "$ac_prev"; then
     
    133363  fi
    134364
    135   case "$ac_option" in
    136   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    137   *) ac_optarg= ;;
    138   esac
     365  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    139366
    140367  # Accept the important Cygnus configure options, so we can diagnose typos.
    141368
    142   case "$ac_option" in
     369  case $ac_option in
    143370
    144371  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    145372    ac_prev=bindir ;;
    146373  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    147     bindir="$ac_optarg" ;;
     374    bindir=$ac_optarg ;;
    148375
    149376  -build | --build | --buil | --bui | --bu)
    150     ac_prev=build ;;
     377    ac_prev=build_alias ;;
    151378  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    152     build="$ac_optarg" ;;
     379    build_alias=$ac_optarg ;;
    153380
    154381  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    157384  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    158385  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    159     cache_file="$ac_optarg" ;;
     386    cache_file=$ac_optarg ;;
     387
     388  --config-cache | -C)
     389    cache_file=config.cache ;;
    160390
    161391  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    163393  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    164394  | --da=*)
    165     datadir="$ac_optarg" ;;
     395    datadir=$ac_optarg ;;
    166396
    167397  -disable-* | --disable-*)
    168     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
     398    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    169399    # Reject names that are not valid shell variable names.
    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" ;;
     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" ;;
    175405
    176406  -enable-* | --enable-*)
    177     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
     407    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    178408    # Reject names that are not valid shell variable names.
    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       *=*) ;;
     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"`;;
    185415      *) ac_optarg=yes ;;
    186416    esac
    187     eval "enable_${ac_feature}='$ac_optarg'" ;;
     417    eval "enable_$ac_feature='$ac_optarg'" ;;
    188418
    189419  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    194424  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    195425  | --exec=* | --exe=* | --ex=*)
    196     exec_prefix="$ac_optarg" ;;
     426    exec_prefix=$ac_optarg ;;
    197427
    198428  -gas | --gas | --ga | --g)
     
    200430    with_gas=yes ;;
    201431
    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
    206 Usage: configure [options] [host]
    207 Options: [defaults in brackets after descriptions]
    208 Configuration:
    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
    214 Directory 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
    238 EOF
    239     cat << EOF
    240 Host 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]
    244 Features 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
    251 EOF
    252     if test -n "$ac_help"; then
    253       echo "--enable and --with options recognized:$ac_help"
    254     fi
    255     exit 0 ;;
     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 ;;
    256438
    257439  -host | --host | --hos | --ho)
    258     ac_prev=host ;;
     440    ac_prev=host_alias ;;
    259441  -host=* | --host=* | --hos=* | --ho=*)
    260     host="$ac_optarg" ;;
     442    host_alias=$ac_optarg ;;
    261443
    262444  -includedir | --includedir | --includedi | --included | --include \
     
    265447  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    266448  | --includ=* | --inclu=* | --incl=* | --inc=*)
    267     includedir="$ac_optarg" ;;
     449    includedir=$ac_optarg ;;
    268450
    269451  -infodir | --infodir | --infodi | --infod | --info | --inf)
    270452    ac_prev=infodir ;;
    271453  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    272     infodir="$ac_optarg" ;;
     454    infodir=$ac_optarg ;;
    273455
    274456  -libdir | --libdir | --libdi | --libd)
    275457    ac_prev=libdir ;;
    276458  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    277     libdir="$ac_optarg" ;;
     459    libdir=$ac_optarg ;;
    278460
    279461  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    282464  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    283465  | --libexe=* | --libex=* | --libe=*)
    284     libexecdir="$ac_optarg" ;;
     466    libexecdir=$ac_optarg ;;
    285467
    286468  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    291473  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    292474  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    293     localstatedir="$ac_optarg" ;;
     475    localstatedir=$ac_optarg ;;
    294476
    295477  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    296478    ac_prev=mandir ;;
    297479  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    298     mandir="$ac_optarg" ;;
     480    mandir=$ac_optarg ;;
    299481
    300482  -nfp | --nfp | --nf)
     
    303485
    304486  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    305   | --no-cr | --no-c)
     487  | --no-cr | --no-c | -n)
    306488    no_create=yes ;;
    307489
     
    317499  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    318500  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    319     oldincludedir="$ac_optarg" ;;
     501    oldincludedir=$ac_optarg ;;
    320502
    321503  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    322504    ac_prev=prefix ;;
    323505  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    324     prefix="$ac_optarg" ;;
     506    prefix=$ac_optarg ;;
    325507
    326508  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    329511  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    330512  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    331     program_prefix="$ac_optarg" ;;
     513    program_prefix=$ac_optarg ;;
    332514
    333515  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    336518  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    337519  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    338     program_suffix="$ac_optarg" ;;
     520    program_suffix=$ac_optarg ;;
    339521
    340522  -program-transform-name | --program-transform-name \
     
    353535  | --program-trans=* | --program-tran=* \
    354536  | --progr-tra=* | --program-tr=* | --program-t=*)
    355     program_transform_name="$ac_optarg" ;;
     537    program_transform_name=$ac_optarg ;;
    356538
    357539  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    363545  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    364546  | --sbi=* | --sb=*)
    365     sbindir="$ac_optarg" ;;
     547    sbindir=$ac_optarg ;;
    366548
    367549  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    374556  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    375557  | --sha=* | --sh=*)
    376     sharedstatedir="$ac_optarg" ;;
     558    sharedstatedir=$ac_optarg ;;
    377559
    378560  -site | --site | --sit)
    379561    ac_prev=site ;;
    380562  -site=* | --site=* | --sit=*)
    381     site="$ac_optarg" ;;
     563    site=$ac_optarg ;;
    382564
    383565  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    384566    ac_prev=srcdir ;;
    385567  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    386     srcdir="$ac_optarg" ;;
     568    srcdir=$ac_optarg ;;
    387569
    388570  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    391573  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    392574  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    393     sysconfdir="$ac_optarg" ;;
     575    sysconfdir=$ac_optarg ;;
    394576
    395577  -target | --target | --targe | --targ | --tar | --ta | --t)
    396     ac_prev=target ;;
     578    ac_prev=target_alias ;;
    397579  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    398     target="$ac_optarg" ;;
     580    target_alias=$ac_optarg ;;
    399581
    400582  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    401583    verbose=yes ;;
    402584
    403   -version | --version | --versio | --versi | --vers)
    404     echo "configure generated by autoconf version 2.13"
    405     exit 0 ;;
     585  -version | --version | --versio | --versi | --vers | -V)
     586    ac_init_version=: ;;
    406587
    407588  -with-* | --with-*)
    408     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
     589    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    409590    # Reject names that are not valid shell variable names.
    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
     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; }; }
    413594    ac_package=`echo $ac_package| sed 's/-/_/g'`
    414     case "$ac_option" in
    415       *=*) ;;
     595    case $ac_option in
     596      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    416597      *) ac_optarg=yes ;;
    417598    esac
    418     eval "with_${ac_package}='$ac_optarg'" ;;
     599    eval "with_$ac_package='$ac_optarg'" ;;
    419600
    420601  -without-* | --without-*)
    421     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
     602    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    422603    # Reject names that are not valid shell variable names.
    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" ;;
     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" ;;
    428609
    429610  --x)
     
    436617  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    437618  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    438     x_includes="$ac_optarg" ;;
     619    x_includes=$ac_optarg ;;
    439620
    440621  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    443624  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    444625  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    445     x_libraries="$ac_optarg" ;;
    446 
    447   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
     626    x_libraries=$ac_optarg ;;
     627
     628  -*) { echo "$as_me: error: unrecognized option: $ac_option
     629Try \`$0 --help' for more information." >&2
     630   { (exit 1); exit 1; }; }
    448631    ;;
    449632
     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
    450643  *)
    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"
     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}
    458649    ;;
    459650
     
    462653
    463654if test -n "$ac_prev"; then
    464   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
    465 fi
    466 
    467 trap '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
    477 if test "$silent" = yes; then
    478   exec 6>/dev/null
    479 else
    480   exec 6>&1
    481 fi
    482 exec 5>./config.log
    483 
    484 echo "\
    485 This file contains any messages produced by compilers while
    486 running 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.
    491 ac_configure_args=
    492 for ac_arg
     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; }; }
     658fi
     659
     660# Be sure to have absolute paths.
     661for ac_var in exec_prefix prefix
    493662do
    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" ;;
     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; }; };;
    502668  esac
    503669done
    504670
    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.
    510 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    511 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    512 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
    513 if 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.
    516 rm -rf conftest* confdefs.h
    517 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    518 echo > 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.
    522 ac_unique_file=kernel/matpol.h
     671# Be sure to have absolute paths.
     672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     673              localstatedir libdir includedir oldincludedir infodir mandir
     674do
     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
     681done
     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.
     686build=$build_alias
     687host=$host_alias
     688target=$target_alias
     689
     690# FIXME: To remove some day.
     691if 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
     699fi
     700
     701ac_tool_prefix=
     702test -n "$host_alias" && ac_tool_prefix=$host_alias-
     703
     704test "$silent" = yes && exec 6>/dev/null
     705
    523706
    524707# Find the source files, if location was not specified.
     
    526709  ac_srcdir_defaulted=yes
    527710  # Try the directory containing this script, then its parent.
    528   ac_prog=$0
    529   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    530   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
     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 ||
     717echo 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'`
    531723  srcdir=$ac_confdir
    532724  if test ! -r $srcdir/$ac_unique_file; then
     
    538730if test ! -r $srcdir/$ac_unique_file; then
    539731  if test "$ac_srcdir_defaulted" = yes; then
    540     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
     732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     733   { (exit 1); exit 1; }; }
    541734  else
    542     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
    543   fi
    544 fi
    545 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
    546 
     735    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     736   { (exit 1); exit 1; }; }
     737  fi
     738fi
     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; }; }
     742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     743ac_env_build_alias_set=${build_alias+set}
     744ac_env_build_alias_value=$build_alias
     745ac_cv_env_build_alias_set=${build_alias+set}
     746ac_cv_env_build_alias_value=$build_alias
     747ac_env_host_alias_set=${host_alias+set}
     748ac_env_host_alias_value=$host_alias
     749ac_cv_env_host_alias_set=${host_alias+set}
     750ac_cv_env_host_alias_value=$host_alias
     751ac_env_target_alias_set=${target_alias+set}
     752ac_env_target_alias_value=$target_alias
     753ac_cv_env_target_alias_set=${target_alias+set}
     754ac_cv_env_target_alias_value=$target_alias
     755ac_env_CC_set=${CC+set}
     756ac_env_CC_value=$CC
     757ac_cv_env_CC_set=${CC+set}
     758ac_cv_env_CC_value=$CC
     759ac_env_CFLAGS_set=${CFLAGS+set}
     760ac_env_CFLAGS_value=$CFLAGS
     761ac_cv_env_CFLAGS_set=${CFLAGS+set}
     762ac_cv_env_CFLAGS_value=$CFLAGS
     763ac_env_LDFLAGS_set=${LDFLAGS+set}
     764ac_env_LDFLAGS_value=$LDFLAGS
     765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
     766ac_cv_env_LDFLAGS_value=$LDFLAGS
     767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     768ac_env_CPPFLAGS_value=$CPPFLAGS
     769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     771ac_env_CPP_set=${CPP+set}
     772ac_env_CPP_value=$CPP
     773ac_cv_env_CPP_set=${CPP+set}
     774ac_cv_env_CPP_value=$CPP
     775ac_env_CXX_set=${CXX+set}
     776ac_env_CXX_value=$CXX
     777ac_cv_env_CXX_set=${CXX+set}
     778ac_cv_env_CXX_value=$CXX
     779ac_env_CXXFLAGS_set=${CXXFLAGS+set}
     780ac_env_CXXFLAGS_value=$CXXFLAGS
     781ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
     782ac_cv_env_CXXFLAGS_value=$CXXFLAGS
     783
     784#
     785# Report the --help message.
     786#
     787if 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
     793Usage: $0 [OPTION]... [VAR=VALUE]...
     794
     795To assign environment variables (e.g., CC, CFLAGS...), specify them as
     796VAR=VALUE.  See below for descriptions of some of the useful variables.
     797
     798Defaults for the options are specified in brackets.
     799
     800Configuration:
     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
     814Installation 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
     820By default, \`make install' will install all the files in
     821\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     822an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     823for instance \`--prefix=\$HOME'.
     824
     825For better control, use the options below.
     826
     827Fine 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
     844fi
     845
     846if test -n "$ac_init_help"; then
     847
     848  cat <<\_ACEOF
     849
     850Optional 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
     885Optional 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
     902All additional --enable and --with options are passed to subsequent calls
     903to configure of the packages to be built. See also configure --help in
     904these packages (resp. subdirs).
     905
     906Some 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
     917Use these variables to override the choices made by `configure' or to help
     918it to find libraries and programs with nonstandard names/locations.
     919
     920_ACEOF
     921fi
     922
     923if 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
     930if 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'`
     934else
     935  ac_dir_suffix= ac_top_builddir=
     936fi
     937
     938case $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 ;;
     952esac
     953
     954# Do not use `cd foo && pwd` to compute absolute paths, because
     955# the directories may not exist.
     956case `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;;
     964esac
     965case $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;;
     973esac
     974case $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;;
     982esac
     983case $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;;
     991esac
     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
     1010fi
     1011
     1012test -n "$ac_init_help" && exit 0
     1013if $ac_init_version; then
     1014  cat <<\_ACEOF
     1015
     1016Copyright (C) 2003 Free Software Foundation, Inc.
     1017This configure script is free software; the Free Software Foundation
     1018gives unlimited permission to copy, distribute and modify it.
     1019_ACEOF
     1020  exit 0
     1021fi
     1022exec 5>config.log
     1023cat >&5 <<_ACEOF
     1024This file contains any messages produced by compilers while
     1025running configure, to aid debugging if configure makes a mistake.
     1026
     1027It was created by $as_me, which was
     1028generated by GNU Autoconf 2.59.  Invocation command line was
     1029
     1030  $ $0 $@
     1031
     1032_ACEOF
     1033{
     1034cat <<_ASUNAME
     1035## --------- ##
     1036## Platform. ##
     1037## --------- ##
     1038
     1039hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     1040uname -m = `(uname -m) 2>/dev/null || echo unknown`
     1041uname -r = `(uname -r) 2>/dev/null || echo unknown`
     1042uname -s = `(uname -s) 2>/dev/null || echo unknown`
     1043uname -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`
     1051hostinfo               = `(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
     1058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1059for as_dir in $PATH
     1060do
     1061  IFS=$as_save_IFS
     1062  test -z "$as_dir" && as_dir=.
     1063  echo "PATH: $as_dir"
     1064done
     1065
     1066} >&5
     1067
     1068cat >&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.
     1083ac_configure_args=
     1084ac_configure_args0=
     1085ac_configure_args1=
     1086ac_sep=
     1087ac_must_keep_next=false
     1088for ac_pass in 1 2
     1089do
     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
     1125done
     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.
     1134trap '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
     1208for ac_signal in 1 2 13 15; do
     1209  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1210done
     1211ac_signal=0
     1212
     1213# confdefs.h avoids OS command line length limits that DEFS can exceed.
     1214rm -rf conftest* confdefs.h
     1215# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1216echo >confdefs.h
     1217
     1218# Predefined preprocessor variables.
     1219
     1220cat >>confdefs.h <<_ACEOF
     1221#define PACKAGE_NAME "$PACKAGE_NAME"
     1222_ACEOF
     1223
     1224
     1225cat >>confdefs.h <<_ACEOF
     1226#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1227_ACEOF
     1228
     1229
     1230cat >>confdefs.h <<_ACEOF
     1231#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1232_ACEOF
     1233
     1234
     1235cat >>confdefs.h <<_ACEOF
     1236#define PACKAGE_STRING "$PACKAGE_STRING"
     1237_ACEOF
     1238
     1239
     1240cat >>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.
    5471246# Prefer explicitly selected file to automatically selected ones.
    5481247if test -z "$CONFIG_SITE"; then
     
    5551254for ac_site_file in $CONFIG_SITE; do
    5561255  if test -r "$ac_site_file"; then
    557     echo "loading site script $ac_site_file"
     1256    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1257echo "$as_me: loading site script $ac_site_file" >&6;}
     1258    sed 's/^/| /' "$ac_site_file" >&5
    5581259    . "$ac_site_file"
    5591260  fi
     
    5611262
    5621263if test -r "$cache_file"; then
    563   echo "loading cache $cache_file"
    564   . $cache_file
    565 else
    566   echo "creating cache $cache_file"
    567   > $cache_file
     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
     1268echo "$as_me: loading cache $cache_file" >&6;}
     1269    case $cache_file in
     1270      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1271      *)                      . ./$cache_file;;
     1272    esac
     1273  fi
     1274else
     1275  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1276echo "$as_me: creating cache $cache_file" >&6;}
     1277  >$cache_file
     1278fi
     1279
     1280# Check that the precious variables saved in the cache have kept the same
     1281# value.
     1282ac_cache_corrupted=false
     1283for 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
     1292echo "$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
     1296echo "$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
     1302echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1303        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1304echo "$as_me:   former value:  $ac_old_val" >&2;}
     1305        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1306echo "$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
     1322done
     1323if $ac_cache_corrupted; then
     1324  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1325echo "$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
     1327echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1328   { (exit 1); exit 1; }; }
    5681329fi
    5691330
    5701331ac_ext=c
    571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    5721332ac_cpp='$CPP $CPPFLAGS'
    573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    575 cross_compiling=$ac_cv_prog_cc_cross
    576 
    577 ac_exeext=
    578 ac_objext=o
    579 if (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
    587 else
    588   ac_n= ac_c='\c' ac_t=
    589 fi
     1333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1335ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1336
     1337
     1338
     1339
     1340
     1341
     1342
     1343
     1344
     1345
     1346
     1347
     1348
     1349
     1350
     1351
     1352
    5901353
    5911354
     
    5931356pwd=`pwd`
    5941357
    595 # make them to env variables 
     1358# make them to env variables
    5961359# pass them indirectly to subsequent configures
    5971360SINGULAR_MAJOR_VERSION=2
     
    6421405
    6431406
    644 echo $ac_n "checking uname for singular""... $ac_c" 1>&6
    645 echo "configure:646: checking uname for singular" >&5
    646 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
    647   echo $ac_n "(cached) $ac_c" 1>&6
     1407echo "$as_me:$LINENO: checking uname for singular" >&5
     1408echo $ECHO_N "checking uname for singular... $ECHO_C" >&6
     1409if test "${ac_cv_singuname+set}" = set; then
     1410  echo $ECHO_N "(cached) $ECHO_C" >&6
    6481411else
    6491412  ac_cv_singuname="unknown"
     
    6561419fi
    6571420
    658 echo "$ac_t""$ac_cv_singuname" 1>&6
     1421echo "$as_me:$LINENO: result: $ac_cv_singuname" >&5
     1422echo "${ECHO_T}$ac_cv_singuname" >&6
    6591423if test "$ac_cv_singuname" = unknown; then
    660   { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; }
     1424  { { echo "$as_me:$LINENO: error: Unknown architecture: Check singuname.sh" >&5
     1425echo "$as_me: error: Unknown architecture: Check singuname.sh" >&2;}
     1426   { (exit 1); exit 1; }; }
    6611427else
    6621428  SINGUNAME=$ac_cv_singuname
    663  
     1429
    6641430fi
    6651431
     
    6681434
    6691435
    670 # Extract the first word of "gcc", so it can be a program name with args.
    671 set dummy gcc; ac_word=$2
    672 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    673 echo "configure:674: checking for $ac_word" >&5
    674 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    675   echo $ac_n "(cached) $ac_c" 1>&6
     1436ac_ext=c
     1437ac_cpp='$CPP $CPPFLAGS'
     1438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1440ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1441if 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.
     1443set dummy ${ac_tool_prefix}gcc; ac_word=$2
     1444echo "$as_me:$LINENO: checking for $ac_word" >&5
     1445echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1446if test "${ac_cv_prog_CC+set}" = set; then
     1447  echo $ECHO_N "(cached) $ECHO_C" >&6
    6761448else
    6771449  if test -n "$CC"; then
    6781450  ac_cv_prog_CC="$CC" # Let the user override the test.
    6791451else
    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"
    690 fi
    691 fi
    692 CC="$ac_cv_prog_CC"
     1452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1453for as_dir in $PATH
     1454do
     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
     1463done
     1464done
     1465
     1466fi
     1467fi
     1468CC=$ac_cv_prog_CC
    6931469if test -n "$CC"; then
    694   echo "$ac_t""$CC" 1>&6
    695 else
    696   echo "$ac_t""no" 1>&6
    697 fi
    698 
     1470  echo "$as_me:$LINENO: result: $CC" >&5
     1471echo "${ECHO_T}$CC" >&6
     1472else
     1473  echo "$as_me:$LINENO: result: no" >&5
     1474echo "${ECHO_T}no" >&6
     1475fi
     1476
     1477fi
     1478if 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.
     1481set dummy gcc; ac_word=$2
     1482echo "$as_me:$LINENO: checking for $ac_word" >&5
     1483echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1484if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1485  echo $ECHO_N "(cached) $ECHO_C" >&6
     1486else
     1487  if test -n "$ac_ct_CC"; then
     1488  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1489else
     1490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1491for as_dir in $PATH
     1492do
     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
     1501done
     1502done
     1503
     1504fi
     1505fi
     1506ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1507if test -n "$ac_ct_CC"; then
     1508  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1509echo "${ECHO_T}$ac_ct_CC" >&6
     1510else
     1511  echo "$as_me:$LINENO: result: no" >&5
     1512echo "${ECHO_T}no" >&6
     1513fi
     1514
     1515  CC=$ac_ct_CC
     1516else
     1517  CC="$ac_cv_prog_CC"
     1518fi
     1519
     1520if 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.
     1523set dummy ${ac_tool_prefix}cc; ac_word=$2
     1524echo "$as_me:$LINENO: checking for $ac_word" >&5
     1525echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1526if test "${ac_cv_prog_CC+set}" = set; then
     1527  echo $ECHO_N "(cached) $ECHO_C" >&6
     1528else
     1529  if test -n "$CC"; then
     1530  ac_cv_prog_CC="$CC" # Let the user override the test.
     1531else
     1532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1533for as_dir in $PATH
     1534do
     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
     1543done
     1544done
     1545
     1546fi
     1547fi
     1548CC=$ac_cv_prog_CC
     1549if test -n "$CC"; then
     1550  echo "$as_me:$LINENO: result: $CC" >&5
     1551echo "${ECHO_T}$CC" >&6
     1552else
     1553  echo "$as_me:$LINENO: result: no" >&5
     1554echo "${ECHO_T}no" >&6
     1555fi
     1556
     1557fi
     1558if 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.
     1561set dummy cc; ac_word=$2
     1562echo "$as_me:$LINENO: checking for $ac_word" >&5
     1563echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1564if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1565  echo $ECHO_N "(cached) $ECHO_C" >&6
     1566else
     1567  if test -n "$ac_ct_CC"; then
     1568  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1569else
     1570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1571for as_dir in $PATH
     1572do
     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
     1581done
     1582done
     1583
     1584fi
     1585fi
     1586ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1587if test -n "$ac_ct_CC"; then
     1588  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1589echo "${ECHO_T}$ac_ct_CC" >&6
     1590else
     1591  echo "$as_me:$LINENO: result: no" >&5
     1592echo "${ECHO_T}no" >&6
     1593fi
     1594
     1595  CC=$ac_ct_CC
     1596else
     1597  CC="$ac_cv_prog_CC"
     1598fi
     1599
     1600fi
    6991601if test -z "$CC"; then
    7001602  # Extract the first word of "cc", so it can be a program name with args.
    7011603set dummy cc; ac_word=$2
    702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    703 echo "configure:704: checking for $ac_word" >&5
    704 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    705   echo $ac_n "(cached) $ac_c" 1>&6
     1604echo "$as_me:$LINENO: checking for $ac_word" >&5
     1605echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1606if test "${ac_cv_prog_CC+set}" = set; then
     1607  echo $ECHO_N "(cached) $ECHO_C" >&6
    7061608else
    7071609  if test -n "$CC"; then
    7081610  ac_cv_prog_CC="$CC" # Let the user override the test.
    7091611else
    710   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    7111612  ac_prog_rejected=no
    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"
     1613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1614for as_dir in $PATH
     1615do
     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
     1628done
     1629done
     1630
    7251631if test $ac_prog_rejected = yes; then
    7261632  # We found a bogon in the path, so make sure we never use it.
    7271633  set dummy $ac_cv_prog_CC
    7281634  shift
    729   if test $# -gt 0; then
     1635  if test $# != 0; then
    7301636    # We chose a different compiler from the bogus one.
    7311637    # However, it has the same basename, so the bogon will be chosen
    7321638    # first if we set CC to just the basename; use the full file name.
    7331639    shift
    734     set dummy "$ac_dir/$ac_word" "$@"
    735     shift
    736     ac_cv_prog_CC="$@"
    737   fi
    738 fi
    739 fi
    740 fi
    741 CC="$ac_cv_prog_CC"
     1640    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     1641  fi
     1642fi
     1643fi
     1644fi
     1645CC=$ac_cv_prog_CC
    7421646if test -n "$CC"; then
    743   echo "$ac_t""$CC" 1>&6
    744 else
    745   echo "$ac_t""no" 1>&6
    746 fi
    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.
    752 set dummy cl; ac_word=$2
    753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    754 echo "configure:755: checking for $ac_word" >&5
    755 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    756   echo $ac_n "(cached) $ac_c" 1>&6
     1647  echo "$as_me:$LINENO: result: $CC" >&5
     1648echo "${ECHO_T}$CC" >&6
     1649else
     1650  echo "$as_me:$LINENO: result: no" >&5
     1651echo "${ECHO_T}no" >&6
     1652fi
     1653
     1654fi
     1655if 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.
     1660set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     1661echo "$as_me:$LINENO: checking for $ac_word" >&5
     1662echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1663if test "${ac_cv_prog_CC+set}" = set; then
     1664  echo $ECHO_N "(cached) $ECHO_C" >&6
    7571665else
    7581666  if test -n "$CC"; then
    7591667  ac_cv_prog_CC="$CC" # Let the user override the test.
    7601668else
    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
     1669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1670for as_dir in $PATH
     1671do
     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
     1680done
     1681done
     1682
     1683fi
     1684fi
     1685CC=$ac_cv_prog_CC
     1686if test -n "$CC"; then
     1687  echo "$as_me:$LINENO: result: $CC" >&5
     1688echo "${ECHO_T}$CC" >&6
     1689else
     1690  echo "$as_me:$LINENO: result: no" >&5
     1691echo "${ECHO_T}no" >&6
     1692fi
     1693
     1694    test -n "$CC" && break
     1695  done
     1696fi
     1697if test -z "$CC"; then
     1698  ac_ct_CC=$CC
     1699  for ac_prog in cl
     1700do
     1701  # Extract the first word of "$ac_prog", so it can be a program name with args.
     1702set dummy $ac_prog; ac_word=$2
     1703echo "$as_me:$LINENO: checking for $ac_word" >&5
     1704echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1705if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     1706  echo $ECHO_N "(cached) $ECHO_C" >&6
     1707else
     1708  if test -n "$ac_ct_CC"; then
     1709  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     1710else
     1711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1712for as_dir in $PATH
     1713do
     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
     1722done
     1723done
     1724
     1725fi
     1726fi
     1727ac_ct_CC=$ac_cv_prog_ac_ct_CC
     1728if test -n "$ac_ct_CC"; then
     1729  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1730echo "${ECHO_T}$ac_ct_CC" >&6
     1731else
     1732  echo "$as_me:$LINENO: result: no" >&5
     1733echo "${ECHO_T}no" >&6
     1734fi
     1735
     1736  test -n "$ac_ct_CC" && break
     1737done
     1738
     1739  CC=$ac_ct_CC
     1740fi
     1741
     1742fi
     1743
     1744
     1745test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     1746See \`config.log' for more details." >&5
     1747echo "$as_me: error: no acceptable C compiler found in \$PATH
     1748See \`config.log' for more details." >&2;}
     1749   { (exit 1); exit 1; }; }
     1750
     1751# Provide some information about the compiler.
     1752echo "$as_me:$LINENO:" \
     1753     "checking for C compiler version" >&5
     1754ac_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
     1771cat >conftest.$ac_ext <<_ACEOF
     1772/* confdefs.h.  */
     1773_ACEOF
     1774cat confdefs.h >>conftest.$ac_ext
     1775cat >>conftest.$ac_ext <<_ACEOF
     1776/* end confdefs.h.  */
     1777
     1778int
     1779main ()
     1780{
     1781
     1782  ;
     1783  return 0;
     1784}
     1785_ACEOF
     1786ac_clean_files_save=$ac_clean_files
     1787ac_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.
     1791echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1792echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
     1793ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     1794if { (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.
     1805ac_cv_exeext=
     1806# b.out is created by i960 compilers.
     1807for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     1808do
     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
     1830done
     1831else
     1832  echo "$as_me: failed program was:" >&5
     1833sed 's/^/| /' conftest.$ac_ext >&5
     1834
     1835{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
     1836See \`config.log' for more details." >&5
     1837echo "$as_me: error: C compiler cannot create executables
     1838See \`config.log' for more details." >&2;}
     1839   { (exit 77); exit 77; }; }
     1840fi
     1841
     1842ac_exeext=$ac_cv_exeext
     1843echo "$as_me:$LINENO: result: $ac_file" >&5
     1844echo "${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.
     1848echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     1849echo $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.
     1852if 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.
     1865If you meant to cross compile, use \`--host'.
     1866See \`config.log' for more details." >&5
     1867echo "$as_me: error: cannot run C compiled programs.
     1868If you meant to cross compile, use \`--host'.
     1869See \`config.log' for more details." >&2;}
     1870   { (exit 1); exit 1; }; }
    7681871    fi
    769   done
    770   IFS="$ac_save_ifs"
    771 fi
    772 fi
    773 CC="$ac_cv_prog_CC"
    774 if test -n "$CC"; then
    775   echo "$ac_t""$CC" 1>&6
    776 else
    777   echo "$ac_t""no" 1>&6
    778 fi
    779  ;;
    780     esac
    781   fi
    782   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
    783 fi
    784 
    785 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    786 echo "configure:787: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    787 
    788 ac_ext=c
    789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    790 ac_cpp='$CPP $CPPFLAGS'
    791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    793 cross_compiling=$ac_cv_prog_cc_cross
    794 
    795 cat > conftest.$ac_ext << EOF
    796 
    797 #line 798 "configure"
    798 #include "confdefs.h"
    799 
    800 main(){return(0);}
    801 EOF
    802 if { (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
    810 else
    811   echo "configure: failed program was:" >&5
    812   cat conftest.$ac_ext >&5
    813   ac_cv_prog_cc_works=no
    814 fi
    815 rm -fr conftest*
    816 ac_ext=c
    817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    818 ac_cpp='$CPP $CPPFLAGS'
    819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    821 cross_compiling=$ac_cv_prog_cc_cross
    822 
    823 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
    824 if 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; }
    826 fi
    827 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    828 echo "configure:829: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    829 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    830 cross_compiling=$ac_cv_prog_cc_cross
    831 
    832 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    833 echo "configure:834: checking whether we are using GNU C" >&5
    834 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    835   echo $ac_n "(cached) $ac_c" 1>&6
    836 else
    837   cat > conftest.c <<EOF
    838 #ifdef __GNUC__
    839   yes;
     1872  fi
     1873fi
     1874echo "$as_me:$LINENO: result: yes" >&5
     1875echo "${ECHO_T}yes" >&6
     1876
     1877rm -f a.out a.exe conftest$ac_cv_exeext b.out
     1878ac_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.
     1881echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     1882echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
     1883echo "$as_me:$LINENO: result: $cross_compiling" >&5
     1884echo "${ECHO_T}$cross_compiling" >&6
     1885
     1886echo "$as_me:$LINENO: checking for suffix of executables" >&5
     1887echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
     1888if { (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'.
     1897for 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
     1906done
     1907else
     1908  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     1909See \`config.log' for more details." >&5
     1910echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     1911See \`config.log' for more details." >&2;}
     1912   { (exit 1); exit 1; }; }
     1913fi
     1914
     1915rm -f conftest$ac_cv_exeext
     1916echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     1917echo "${ECHO_T}$ac_cv_exeext" >&6
     1918
     1919rm -f conftest.$ac_ext
     1920EXEEXT=$ac_cv_exeext
     1921ac_exeext=$EXEEXT
     1922echo "$as_me:$LINENO: checking for suffix of object files" >&5
     1923echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     1924if test "${ac_cv_objext+set}" = set; then
     1925  echo $ECHO_N "(cached) $ECHO_C" >&6
     1926else
     1927  cat >conftest.$ac_ext <<_ACEOF
     1928/* confdefs.h.  */
     1929_ACEOF
     1930cat confdefs.h >>conftest.$ac_ext
     1931cat >>conftest.$ac_ext <<_ACEOF
     1932/* end confdefs.h.  */
     1933
     1934int
     1935main ()
     1936{
     1937
     1938  ;
     1939  return 0;
     1940}
     1941_ACEOF
     1942rm -f conftest.o conftest.obj
     1943if { (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
     1954done
     1955else
     1956  echo "$as_me: failed program was:" >&5
     1957sed 's/^/| /' conftest.$ac_ext >&5
     1958
     1959{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     1960See \`config.log' for more details." >&5
     1961echo "$as_me: error: cannot compute suffix of object files: cannot compile
     1962See \`config.log' for more details." >&2;}
     1963   { (exit 1); exit 1; }; }
     1964fi
     1965
     1966rm -f conftest.$ac_cv_objext conftest.$ac_ext
     1967fi
     1968echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     1969echo "${ECHO_T}$ac_cv_objext" >&6
     1970OBJEXT=$ac_cv_objext
     1971ac_objext=$OBJEXT
     1972echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     1973echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
     1974if test "${ac_cv_c_compiler_gnu+set}" = set; then
     1975  echo $ECHO_N "(cached) $ECHO_C" >&6
     1976else
     1977  cat >conftest.$ac_ext <<_ACEOF
     1978/* confdefs.h.  */
     1979_ACEOF
     1980cat confdefs.h >>conftest.$ac_ext
     1981cat >>conftest.$ac_ext <<_ACEOF
     1982/* end confdefs.h.  */
     1983
     1984int
     1985main ()
     1986{
     1987#ifndef __GNUC__
     1988       choke me
    8401989#endif
    841 EOF
    842 if { 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
    844 else
    845   ac_cv_prog_gcc=no
    846 fi
    847 fi
    848 
    849 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
    850 
    851 if test $ac_cv_prog_gcc = yes; then
    852   GCC=yes
    853 else
    854   GCC=
    855 fi
    856 
    857 ac_test_CFLAGS="${CFLAGS+set}"
    858 ac_save_CFLAGS="$CFLAGS"
    859 CFLAGS=
    860 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    861 echo "configure:862: checking whether ${CC-cc} accepts -g" >&5
    862 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    863   echo $ac_n "(cached) $ac_c" 1>&6
    864 else
    865   echo 'void f(){}' > conftest.c
    866 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
     1990
     1991  ;
     1992  return 0;
     1993}
     1994_ACEOF
     1995rm -f conftest.$ac_objext
     1996if { (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
     2018else
     2019  echo "$as_me: failed program was:" >&5
     2020sed 's/^/| /' conftest.$ac_ext >&5
     2021
     2022ac_compiler_gnu=no
     2023fi
     2024rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2025ac_cv_c_compiler_gnu=$ac_compiler_gnu
     2026
     2027fi
     2028echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2029echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2030GCC=`test $ac_compiler_gnu = yes && echo yes`
     2031ac_test_CFLAGS=${CFLAGS+set}
     2032ac_save_CFLAGS=$CFLAGS
     2033CFLAGS="-g"
     2034echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2035echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
     2036if test "${ac_cv_prog_cc_g+set}" = set; then
     2037  echo $ECHO_N "(cached) $ECHO_C" >&6
     2038else
     2039  cat >conftest.$ac_ext <<_ACEOF
     2040/* confdefs.h.  */
     2041_ACEOF
     2042cat confdefs.h >>conftest.$ac_ext
     2043cat >>conftest.$ac_ext <<_ACEOF
     2044/* end confdefs.h.  */
     2045
     2046int
     2047main ()
     2048{
     2049
     2050  ;
     2051  return 0;
     2052}
     2053_ACEOF
     2054rm -f conftest.$ac_objext
     2055if { (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
    8672076  ac_cv_prog_cc_g=yes
    8682077else
    869   ac_cv_prog_cc_g=no
    870 fi
    871 rm -f conftest*
    872 
    873 fi
    874 
    875 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
     2078  echo "$as_me: failed program was:" >&5
     2079sed 's/^/| /' conftest.$ac_ext >&5
     2080
     2081ac_cv_prog_cc_g=no
     2082fi
     2083rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2084fi
     2085echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2086echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
    8762087if test "$ac_test_CFLAGS" = set; then
    877   CFLAGS="$ac_save_CFLAGS"
     2088  CFLAGS=$ac_save_CFLAGS
    8782089elif test $ac_cv_prog_cc_g = yes; then
    8792090  if test "$GCC" = yes; then
     
    8892100  fi
    8902101fi
    891 
    892 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    893 echo "configure:894: checking how to run the C preprocessor" >&5
     2102echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
     2103echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
     2104if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2105  echo $ECHO_N "(cached) $ECHO_C" >&6
     2106else
     2107  ac_cv_prog_cc_stdc=no
     2108ac_save_CC=$CC
     2109cat >conftest.$ac_ext <<_ACEOF
     2110/* confdefs.h.  */
     2111_ACEOF
     2112cat confdefs.h >>conftest.$ac_ext
     2113cat >>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.  */
     2120struct buf { int x; };
     2121FILE * (*rcsopen) (struct buf *, struct stat *, int);
     2122static char *e (p, i)
     2123     char **p;
     2124     int i;
     2125{
     2126  return p[i];
     2127}
     2128static 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.  */
     2145int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2146
     2147int test (int i, double x);
     2148struct s1 {int (*f) (int a);};
     2149struct s2 {int (*f) (double a);};
     2150int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     2151int argc;
     2152char **argv;
     2153int
     2154main ()
     2155{
     2156return 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__
     2168for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     2169do
     2170  CC="$ac_save_CC $ac_arg"
     2171  rm -f conftest.$ac_objext
     2172if { (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
     2194break
     2195else
     2196  echo "$as_me: failed program was:" >&5
     2197sed 's/^/| /' conftest.$ac_ext >&5
     2198
     2199fi
     2200rm -f conftest.err conftest.$ac_objext
     2201done
     2202rm -f conftest.$ac_ext conftest.$ac_objext
     2203CC=$ac_save_CC
     2204
     2205fi
     2206
     2207case "x$ac_cv_prog_cc_stdc" in
     2208  x|xno)
     2209    echo "$as_me:$LINENO: result: none needed" >&5
     2210echo "${ECHO_T}none needed" >&6 ;;
     2211  *)
     2212    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
     2213echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     2214    CC="$CC $ac_cv_prog_cc_stdc" ;;
     2215esac
     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.
     2221cat >conftest.$ac_ext <<_ACEOF
     2222#ifndef __cplusplus
     2223  choke me
     2224#endif
     2225_ACEOF
     2226rm -f conftest.$ac_objext
     2227if { (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);'
     2255do
     2256  cat >conftest.$ac_ext <<_ACEOF
     2257/* confdefs.h.  */
     2258_ACEOF
     2259cat confdefs.h >>conftest.$ac_ext
     2260cat >>conftest.$ac_ext <<_ACEOF
     2261/* end confdefs.h.  */
     2262$ac_declaration
     2263#include <stdlib.h>
     2264int
     2265main ()
     2266{
     2267exit (42);
     2268  ;
     2269  return 0;
     2270}
     2271_ACEOF
     2272rm -f conftest.$ac_objext
     2273if { (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  :
     2295else
     2296  echo "$as_me: failed program was:" >&5
     2297sed 's/^/| /' conftest.$ac_ext >&5
     2298
     2299continue
     2300fi
     2301rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2302  cat >conftest.$ac_ext <<_ACEOF
     2303/* confdefs.h.  */
     2304_ACEOF
     2305cat confdefs.h >>conftest.$ac_ext
     2306cat >>conftest.$ac_ext <<_ACEOF
     2307/* end confdefs.h.  */
     2308$ac_declaration
     2309int
     2310main ()
     2311{
     2312exit (42);
     2313  ;
     2314  return 0;
     2315}
     2316_ACEOF
     2317rm -f conftest.$ac_objext
     2318if { (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
     2340else
     2341  echo "$as_me: failed program was:" >&5
     2342sed 's/^/| /' conftest.$ac_ext >&5
     2343
     2344fi
     2345rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2346done
     2347rm -f conftest*
     2348if test -n "$ac_declaration"; then
     2349  echo '#ifdef __cplusplus' >>confdefs.h
     2350  echo $ac_declaration      >>confdefs.h
     2351  echo '#endif'             >>confdefs.h
     2352fi
     2353
     2354else
     2355  echo "$as_me: failed program was:" >&5
     2356sed 's/^/| /' conftest.$ac_ext >&5
     2357
     2358fi
     2359rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2360ac_ext=c
     2361ac_cpp='$CPP $CPPFLAGS'
     2362ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2363ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2364ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2365
     2366ac_ext=c
     2367ac_cpp='$CPP $CPPFLAGS'
     2368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2370ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2371echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     2372echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    8942373# On Suns, sometimes $CPP names a directory.
    8952374if test -n "$CPP" && test -d "$CPP"; then
     
    8972376fi
    8982377if test -z "$CPP"; then
    899 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
    900   echo $ac_n "(cached) $ac_c" 1>&6
    901 else
    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"
     2378  if test "${ac_cv_prog_CPP+set}" = set; then
     2379  echo $ECHO_N "(cached) $ECHO_C" >&6
     2380else
     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
     2385for ac_c_preproc_warn_flag in '' yes
     2386do
     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.
    9052391  # On the NeXT, cc -E runs the code through the compiler's parser,
    906   # not just through cpp.
    907   cat > conftest.$ac_ext <<EOF
    908 #line 909 "configure"
    909 #include "confdefs.h"
    910 #include <assert.h>
    911 Syntax Error
    912 EOF
    913 ac_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; }
    915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    916 if test -z "$ac_err"; then
     2392  # not just through cpp. "Syntax error" is here to catch this case.
     2393  cat >conftest.$ac_ext <<_ACEOF
     2394/* confdefs.h.  */
     2395_ACEOF
     2396cat confdefs.h >>conftest.$ac_ext
     2397cat >>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
     2406if { (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
     2420else
     2421  ac_cpp_err=yes
     2422fi
     2423if test -z "$ac_cpp_err"; then
    9172424  :
    9182425else
    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>
    928 Syntax Error
    929 EOF
    930 ac_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; }
    932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    933 if test -z "$ac_err"; then
     2426  echo "$as_me: failed program was:" >&5
     2427sed 's/^/| /' conftest.$ac_ext >&5
     2428
     2429  # Broken: fails on valid input.
     2430continue
     2431fi
     2432rm -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
     2439cat confdefs.h >>conftest.$ac_ext
     2440cat >>conftest.$ac_ext <<_ACEOF
     2441/* end confdefs.h.  */
     2442#include <ac_nonexistent.h>
     2443_ACEOF
     2444if { (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
     2458else
     2459  ac_cpp_err=yes
     2460fi
     2461if test -z "$ac_cpp_err"; then
     2462  # Broken: success on invalid input.
     2463continue
     2464else
     2465  echo "$as_me: failed program was:" >&5
     2466sed 's/^/| /' conftest.$ac_ext >&5
     2467
     2468  # Passes both tests.
     2469ac_preproc_ok=:
     2470break
     2471fi
     2472rm -f conftest.err conftest.$ac_ext
     2473
     2474done
     2475# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     2476rm -f conftest.err conftest.$ac_ext
     2477if $ac_preproc_ok; then
     2478  break
     2479fi
     2480
     2481    done
     2482    ac_cv_prog_CPP=$CPP
     2483
     2484fi
     2485  CPP=$ac_cv_prog_CPP
     2486else
     2487  ac_cv_prog_CPP=$CPP
     2488fi
     2489echo "$as_me:$LINENO: result: $CPP" >&5
     2490echo "${ECHO_T}$CPP" >&6
     2491ac_preproc_ok=false
     2492for ac_c_preproc_warn_flag in '' yes
     2493do
     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
     2503cat confdefs.h >>conftest.$ac_ext
     2504cat >>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
     2513if { (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
     2527else
     2528  ac_cpp_err=yes
     2529fi
     2530if test -z "$ac_cpp_err"; then
    9342531  :
    9352532else
    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>
    945 Syntax Error
    946 EOF
    947 ac_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; }
    949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    950 if test -z "$ac_err"; then
     2533  echo "$as_me: failed program was:" >&5
     2534sed 's/^/| /' conftest.$ac_ext >&5
     2535
     2536  # Broken: fails on valid input.
     2537continue
     2538fi
     2539rm -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
     2546cat confdefs.h >>conftest.$ac_ext
     2547cat >>conftest.$ac_ext <<_ACEOF
     2548/* end confdefs.h.  */
     2549#include <ac_nonexistent.h>
     2550_ACEOF
     2551if { (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
     2565else
     2566  ac_cpp_err=yes
     2567fi
     2568if test -z "$ac_cpp_err"; then
     2569  # Broken: success on invalid input.
     2570continue
     2571else
     2572  echo "$as_me: failed program was:" >&5
     2573sed 's/^/| /' conftest.$ac_ext >&5
     2574
     2575  # Passes both tests.
     2576ac_preproc_ok=:
     2577break
     2578fi
     2579rm -f conftest.err conftest.$ac_ext
     2580
     2581done
     2582# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     2583rm -f conftest.err conftest.$ac_ext
     2584if $ac_preproc_ok; then
    9512585  :
    9522586else
    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
    958 fi
    959 rm -f conftest*
    960 fi
    961 rm -f conftest*
    962 fi
    963 rm -f conftest*
    964   ac_cv_prog_CPP="$CPP"
    965 fi
    966   CPP="$ac_cv_prog_CPP"
    967 else
    968   ac_cv_prog_CPP="$CPP"
    969 fi
    970 echo "$ac_t""$CPP" 1>&6
     2587  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     2588See \`config.log' for more details." >&5
     2589echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     2590See \`config.log' for more details." >&2;}
     2591   { (exit 1); exit 1; }; }
     2592fi
     2593
     2594ac_ext=c
     2595ac_cpp='$CPP $CPPFLAGS'
     2596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2598ac_compiler_gnu=$ac_cv_c_compiler_gnu
    9712599
    9722600ac_aux_dir=
     
    9802608    ac_install_sh="$ac_aux_dir/install.sh -c"
    9812609    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
    9822614  fi
    9832615done
    9842616if test -z "$ac_aux_dir"; then
    985   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
    986 fi
    987 ac_config_guess=$ac_aux_dir/config.guess
    988 ac_config_sub=$ac_aux_dir/config.sub
    989 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     2617  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
     2618echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
     2619   { (exit 1); exit 1; }; }
     2620fi
     2621ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     2622ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     2623ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    9902624
    9912625# Find a good install program.  We prefer a C program (faster),
     
    9962630# IRIX /sbin/install
    9972631# AIX /bin/install
     2632# AmigaOS /C/install, which installs bootblocks on floppy discs
    9982633# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    9992634# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    10002635# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2636# OS/2's system install, which has a completely different semantic
    10012637# ./install, which can be erroneously created by make from ./install.sh.
    1002 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1003 echo "configure:1004: checking for a BSD compatible install" >&5
     2638echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     2639echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    10042640if test -z "$INSTALL"; then
    1005 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    1006   echo $ac_n "(cached) $ac_c" 1>&6
    1007 else
    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
     2641if test "${ac_cv_path_install+set}" = set; then
     2642  echo $ECHO_N "(cached) $ECHO_C" >&6
     2643else
     2644  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2645for as_dir in $PATH
     2646do
     2647  IFS=$as_save_IFS
     2648  test -z "$as_dir" && as_dir=.
     2649  # Account for people who put trailing slashes in PATH elements.
     2650case $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
    10192662          if test $ac_prog = install &&
    1020             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     2663            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    10212664            # AIX install.  It has an incompatible calling convention.
    10222665            :
     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            :
    10232670          else
    1024             ac_cv_path_install="$ac_dir/$ac_prog -c"
    1025             break 2
     2671            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2672            break 3
    10262673          fi
    10272674        fi
    10282675      done
    1029       ;;
    1030     esac
    1031   done
    1032   IFS="$ac_save_IFS"
     2676    done
     2677    ;;
     2678esac
     2679done
     2680
    10332681
    10342682fi
    10352683  if test "${ac_cv_path_install+set}" = set; then
    1036     INSTALL="$ac_cv_path_install"
     2684    INSTALL=$ac_cv_path_install
    10372685  else
    10382686    # As a last resort, use the slow shell script.  We don't cache a
     
    10402688    # break other packages using the cache if that directory is
    10412689    # removed, or if the path is relative.
    1042     INSTALL="$ac_install_sh"
    1043   fi
    1044 fi
    1045 echo "$ac_t""$INSTALL" 1>&6
     2690    INSTALL=$ac_install_sh
     2691  fi
     2692fi
     2693echo "$as_me:$LINENO: result: $INSTALL" >&5
     2694echo "${ECHO_T}$INSTALL" >&6
    10462695
    10472696# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    10492698test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    10502699
    1051 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     2700test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    10522701
    10532702test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    10542703
    1055 echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1056 echo "configure:1057: checking for AIX" >&5
    1057 cat > conftest.$ac_ext <<EOF
    1058 #line 1059 "configure"
    1059 #include "confdefs.h"
     2704
     2705
     2706echo "$as_me:$LINENO: checking for egrep" >&5
     2707echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     2708if test "${ac_cv_prog_egrep+set}" = set; then
     2709  echo $ECHO_N "(cached) $ECHO_C" >&6
     2710else
     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
     2715fi
     2716echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     2717echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     2718 EGREP=$ac_cv_prog_egrep
     2719
     2720
     2721
     2722echo "$as_me:$LINENO: checking for AIX" >&5
     2723echo $ECHO_N "checking for AIX... $ECHO_C" >&6
     2724cat >conftest.$ac_ext <<_ACEOF
     2725/* confdefs.h.  */
     2726_ACEOF
     2727cat confdefs.h >>conftest.$ac_ext
     2728cat >>conftest.$ac_ext <<_ACEOF
     2729/* end confdefs.h.  */
    10602730#ifdef _AIX
    10612731  yes
    10622732#endif
    10632733
    1064 EOF
     2734_ACEOF
    10652735if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    1066   egrep "yes" >/dev/null 2>&1; then
    1067   rm -rf conftest*
    1068   echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
     2736  $EGREP "yes" >/dev/null 2>&1; then
     2737  echo "$as_me:$LINENO: result: yes" >&5
     2738echo "${ECHO_T}yes" >&6
     2739cat >>confdefs.h <<\_ACEOF
    10692740#define _ALL_SOURCE 1
    1070 EOF
    1071 
    1072 else
    1073   rm -rf conftest*
    1074   echo "$ac_t""no" 1>&6
     2741_ACEOF
     2742
     2743else
     2744  echo "$as_me:$LINENO: result: no" >&5
     2745echo "${ECHO_T}no" >&6
    10752746fi
    10762747rm -f conftest*
    10772748
    10782749
    1079 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    1080 do
    1081 # Extract the first word of "$ac_prog", so it can be a program name with args.
    1082 set dummy $ac_prog; ac_word=$2
    1083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1084 echo "configure:1085: checking for $ac_word" >&5
    1085 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    1086   echo $ac_n "(cached) $ac_c" 1>&6
     2750ac_ext=cc
     2751ac_cpp='$CXXCPP $CPPFLAGS'
     2752ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2753ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2754ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2755if 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.
     2759set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     2760echo "$as_me:$LINENO: checking for $ac_word" >&5
     2761echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2762if test "${ac_cv_prog_CXX+set}" = set; then
     2763  echo $ECHO_N "(cached) $ECHO_C" >&6
    10872764else
    10882765  if test -n "$CXX"; then
    10892766  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    10902767else
    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
     2768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2769for as_dir in $PATH
     2770do
     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
     2779done
     2780done
     2781
     2782fi
     2783fi
     2784CXX=$ac_cv_prog_CXX
     2785if test -n "$CXX"; then
     2786  echo "$as_me:$LINENO: result: $CXX" >&5
     2787echo "${ECHO_T}$CXX" >&6
     2788else
     2789  echo "$as_me:$LINENO: result: no" >&5
     2790echo "${ECHO_T}no" >&6
     2791fi
     2792
     2793    test -n "$CXX" && break
    10992794  done
    1100   IFS="$ac_save_ifs"
    1101 fi
    1102 fi
    1103 CXX="$ac_cv_prog_CXX"
    1104 if test -n "$CXX"; then
    1105   echo "$ac_t""$CXX" 1>&6
    1106 else
    1107   echo "$ac_t""no" 1>&6
    1108 fi
    1109 
    1110 test -n "$CXX" && break
    1111 done
    1112 test -n "$CXX" || CXX="gcc"
    1113 
    1114 
    1115 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1116 echo "configure:1117: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    1117 
    1118 ac_ext=C
    1119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    1120 ac_cpp='$CXXCPP $CPPFLAGS'
    1121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    1123 cross_compiling=$ac_cv_prog_cxx_cross
    1124 
    1125 cat > conftest.$ac_ext << EOF
    1126 
    1127 #line 1128 "configure"
    1128 #include "confdefs.h"
    1129 
    1130 int main(){return(0);}
    1131 EOF
    1132 if { (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
    1140 else
    1141   echo "configure: failed program was:" >&5
    1142   cat conftest.$ac_ext >&5
    1143   ac_cv_prog_cxx_works=no
    1144 fi
    1145 rm -fr conftest*
    1146 ac_ext=c
    1147 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    1148 ac_cpp='$CPP $CPPFLAGS'
    1149 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    1150 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    1151 cross_compiling=$ac_cv_prog_cc_cross
    1152 
    1153 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
    1154 if 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; }
    1156 fi
    1157 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1158 echo "configure:1159: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    1159 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    1160 cross_compiling=$ac_cv_prog_cxx_cross
    1161 
    1162 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1163 echo "configure:1164: checking whether we are using GNU C++" >&5
    1164 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    1165   echo $ac_n "(cached) $ac_c" 1>&6
    1166 else
    1167   cat > conftest.C <<EOF
    1168 #ifdef __GNUC__
    1169   yes;
     2795fi
     2796if 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
     2799do
     2800  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2801set dummy $ac_prog; ac_word=$2
     2802echo "$as_me:$LINENO: checking for $ac_word" >&5
     2803echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2804if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     2805  echo $ECHO_N "(cached) $ECHO_C" >&6
     2806else
     2807  if test -n "$ac_ct_CXX"; then
     2808  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     2809else
     2810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2811for as_dir in $PATH
     2812do
     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
     2821done
     2822done
     2823
     2824fi
     2825fi
     2826ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     2827if test -n "$ac_ct_CXX"; then
     2828  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     2829echo "${ECHO_T}$ac_ct_CXX" >&6
     2830else
     2831  echo "$as_me:$LINENO: result: no" >&5
     2832echo "${ECHO_T}no" >&6
     2833fi
     2834
     2835  test -n "$ac_ct_CXX" && break
     2836done
     2837test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     2838
     2839  CXX=$ac_ct_CXX
     2840fi
     2841
     2842
     2843# Provide some information about the compiler.
     2844echo "$as_me:$LINENO:" \
     2845     "checking for C++ compiler version" >&5
     2846ac_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
     2863echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     2864echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
     2865if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     2866  echo $ECHO_N "(cached) $ECHO_C" >&6
     2867else
     2868  cat >conftest.$ac_ext <<_ACEOF
     2869/* confdefs.h.  */
     2870_ACEOF
     2871cat confdefs.h >>conftest.$ac_ext
     2872cat >>conftest.$ac_ext <<_ACEOF
     2873/* end confdefs.h.  */
     2874
     2875int
     2876main ()
     2877{
     2878#ifndef __GNUC__
     2879       choke me
    11702880#endif
    1171 EOF
    1172 if { 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
    1174 else
    1175   ac_cv_prog_gxx=no
    1176 fi
    1177 fi
    1178 
    1179 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
    1180 
    1181 if test $ac_cv_prog_gxx = yes; then
    1182   GXX=yes
    1183 else
    1184   GXX=
    1185 fi
    1186 
    1187 ac_test_CXXFLAGS="${CXXFLAGS+set}"
    1188 ac_save_CXXFLAGS="$CXXFLAGS"
    1189 CXXFLAGS=
    1190 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1191 echo "configure:1192: checking whether ${CXX-g++} accepts -g" >&5
    1192 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    1193   echo $ac_n "(cached) $ac_c" 1>&6
    1194 else
    1195   echo 'void f(){}' > conftest.cc
    1196 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
     2881
     2882  ;
     2883  return 0;
     2884}
     2885_ACEOF
     2886rm -f conftest.$ac_objext
     2887if { (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
     2909else
     2910  echo "$as_me: failed program was:" >&5
     2911sed 's/^/| /' conftest.$ac_ext >&5
     2912
     2913ac_compiler_gnu=no
     2914fi
     2915rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2916ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     2917
     2918fi
     2919echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     2920echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
     2921GXX=`test $ac_compiler_gnu = yes && echo yes`
     2922ac_test_CXXFLAGS=${CXXFLAGS+set}
     2923ac_save_CXXFLAGS=$CXXFLAGS
     2924CXXFLAGS="-g"
     2925echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     2926echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
     2927if test "${ac_cv_prog_cxx_g+set}" = set; then
     2928  echo $ECHO_N "(cached) $ECHO_C" >&6
     2929else
     2930  cat >conftest.$ac_ext <<_ACEOF
     2931/* confdefs.h.  */
     2932_ACEOF
     2933cat confdefs.h >>conftest.$ac_ext
     2934cat >>conftest.$ac_ext <<_ACEOF
     2935/* end confdefs.h.  */
     2936
     2937int
     2938main ()
     2939{
     2940
     2941  ;
     2942  return 0;
     2943}
     2944_ACEOF
     2945rm -f conftest.$ac_objext
     2946if { (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
    11972967  ac_cv_prog_cxx_g=yes
    11982968else
    1199   ac_cv_prog_cxx_g=no
    1200 fi
    1201 rm -f conftest*
    1202 
    1203 fi
    1204 
    1205 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
     2969  echo "$as_me: failed program was:" >&5
     2970sed 's/^/| /' conftest.$ac_ext >&5
     2971
     2972ac_cv_prog_cxx_g=no
     2973fi
     2974rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2975fi
     2976echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     2977echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
    12062978if test "$ac_test_CXXFLAGS" = set; then
    1207   CXXFLAGS="$ac_save_CXXFLAGS"
     2979  CXXFLAGS=$ac_save_CXXFLAGS
    12082980elif test $ac_cv_prog_cxx_g = yes; then
    12092981  if test "$GXX" = yes; then
     
    12192991  fi
    12202992fi
     2993for 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);'
     3000do
     3001  cat >conftest.$ac_ext <<_ACEOF
     3002/* confdefs.h.  */
     3003_ACEOF
     3004cat confdefs.h >>conftest.$ac_ext
     3005cat >>conftest.$ac_ext <<_ACEOF
     3006/* end confdefs.h.  */
     3007$ac_declaration
     3008#include <stdlib.h>
     3009int
     3010main ()
     3011{
     3012exit (42);
     3013  ;
     3014  return 0;
     3015}
     3016_ACEOF
     3017rm -f conftest.$ac_objext
     3018if { (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  :
     3040else
     3041  echo "$as_me: failed program was:" >&5
     3042sed 's/^/| /' conftest.$ac_ext >&5
     3043
     3044continue
     3045fi
     3046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3047  cat >conftest.$ac_ext <<_ACEOF
     3048/* confdefs.h.  */
     3049_ACEOF
     3050cat confdefs.h >>conftest.$ac_ext
     3051cat >>conftest.$ac_ext <<_ACEOF
     3052/* end confdefs.h.  */
     3053$ac_declaration
     3054int
     3055main ()
     3056{
     3057exit (42);
     3058  ;
     3059  return 0;
     3060}
     3061_ACEOF
     3062rm -f conftest.$ac_objext
     3063if { (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
     3085else
     3086  echo "$as_me: failed program was:" >&5
     3087sed 's/^/| /' conftest.$ac_ext >&5
     3088
     3089fi
     3090rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3091done
     3092rm -f conftest*
     3093if test -n "$ac_declaration"; then
     3094  echo '#ifdef __cplusplus' >>confdefs.h
     3095  echo $ac_declaration      >>confdefs.h
     3096  echo '#endif'             >>confdefs.h
     3097fi
     3098
     3099ac_ext=c
     3100ac_cpp='$CPP $CPPFLAGS'
     3101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3103ac_compiler_gnu=$ac_cv_c_compiler_gnu
    12213104
    12223105
     
    12253108
    12263109# check whether the compiler accepts -pipe
    1227 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1228 echo "configure:1229: checking whether compiler accepts -pipe" >&5
     3110echo "$as_me:$LINENO: checking whether compiler accepts -pipe" >&5
     3111echo $ECHO_N "checking whether compiler accepts -pipe... $ECHO_C" >&6
    12293112temp_cflags=${CFLAGS}
    12303113CFLAGS="${CFLAGS} -pipe"
    1231 if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then
    1232   echo $ac_n "(cached) $ac_c" 1>&6
    1233 else
    1234   cat > conftest.$ac_ext <<EOF
    1235 #line 1236 "configure"
    1236 #include "confdefs.h"
    1237 
    1238 int main() {
    1239 
    1240 ; return 0; }
    1241 EOF
    1242 if { (eval echo configure:1243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1243   rm -rf conftest*
     3114if test "${ac_cv_cxx_have_pipe+set}" = set; then
     3115  echo $ECHO_N "(cached) $ECHO_C" >&6
     3116else
     3117  cat >conftest.$ac_ext <<_ACEOF
     3118/* confdefs.h.  */
     3119_ACEOF
     3120cat confdefs.h >>conftest.$ac_ext
     3121cat >>conftest.$ac_ext <<_ACEOF
     3122/* end confdefs.h.  */
     3123
     3124int
     3125main ()
     3126{
     3127
     3128  ;
     3129  return 0;
     3130}
     3131_ACEOF
     3132rm -f conftest.$ac_objext
     3133if { (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
    12443154  ac_cv_cxx_have_pipe=yes
    12453155else
    1246   echo "configure: failed program was:" >&5
    1247   cat conftest.$ac_ext >&5
    1248   rm -rf conftest*
    1249   ac_cv_cxx_have_pipe=no
    1250 fi
    1251 rm -f conftest*
    1252 
    1253 fi
    1254 
    1255 echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6
     3156  echo "$as_me: failed program was:" >&5
     3157sed 's/^/| /' conftest.$ac_ext >&5
     3158
     3159ac_cv_cxx_have_pipe=no
     3160fi
     3161rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3162
     3163fi
     3164
     3165echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_pipe}" >&5
     3166echo "${ECHO_T}${ac_cv_cxx_have_pipe}" >&6
    12563167CFLAGS=${temp_cflags}
    12573168if test "${ac_cv_cxx_have_pipe}" != yes; then
     
    12643175for ac_prog in perl5 perl
    12653176do
    1266 # Extract the first word of "$ac_prog", so it can be a program name with args.
     3177  # Extract the first word of "$ac_prog", so it can be a program name with args.
    12673178set dummy $ac_prog; ac_word=$2
    1268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1269 echo "configure:1270: checking for $ac_word" >&5
    1270 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    1271   echo $ac_n "(cached) $ac_c" 1>&6
     3179echo "$as_me:$LINENO: checking for $ac_word" >&5
     3180echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3181if test "${ac_cv_prog_PERL+set}" = set; then
     3182  echo $ECHO_N "(cached) $ECHO_C" >&6
    12723183else
    12733184  if test -n "$PERL"; then
    12743185  ac_cv_prog_PERL="$PERL" # Let the user override the test.
    12753186else
    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"
    1286 fi
    1287 fi
    1288 PERL="$ac_cv_prog_PERL"
     3187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3188for as_dir in $PATH
     3189do
     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
     3198done
     3199done
     3200
     3201fi
     3202fi
     3203PERL=$ac_cv_prog_PERL
    12893204if test -n "$PERL"; then
    1290   echo "$ac_t""$PERL" 1>&6
    1291 else
    1292   echo "$ac_t""no" 1>&6
    1293 fi
    1294 
    1295 test -n "$PERL" && break
     3205  echo "$as_me:$LINENO: result: $PERL" >&5
     3206echo "${ECHO_T}$PERL" >&6
     3207else
     3208  echo "$as_me:$LINENO: result: no" >&5
     3209echo "${ECHO_T}no" >&6
     3210fi
     3211
     3212  test -n "$PERL" && break
    12963213done
    12973214
    12983215for ac_prog in uudecode "uudeview -i"
    12993216do
    1300 # Extract the first word of "$ac_prog", so it can be a program name with args.
     3217  # Extract the first word of "$ac_prog", so it can be a program name with args.
    13013218set dummy $ac_prog; ac_word=$2
    1302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1303 echo "configure:1304: checking for $ac_word" >&5
    1304 if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then
    1305   echo $ac_n "(cached) $ac_c" 1>&6
     3219echo "$as_me:$LINENO: checking for $ac_word" >&5
     3220echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3221if test "${ac_cv_prog_UUDECODE+set}" = set; then
     3222  echo $ECHO_N "(cached) $ECHO_C" >&6
    13063223else
    13073224  if test -n "$UUDECODE"; then
    13083225  ac_cv_prog_UUDECODE="$UUDECODE" # Let the user override the test.
    13093226else
    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"
    1320 fi
    1321 fi
    1322 UUDECODE="$ac_cv_prog_UUDECODE"
     3227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3228for as_dir in $PATH
     3229do
     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
     3238done
     3239done
     3240
     3241fi
     3242fi
     3243UUDECODE=$ac_cv_prog_UUDECODE
    13233244if test -n "$UUDECODE"; then
    1324   echo "$ac_t""$UUDECODE" 1>&6
    1325 else
    1326   echo "$ac_t""no" 1>&6
    1327 fi
    1328 
    1329 test -n "$UUDECODE" && break
     3245  echo "$as_me:$LINENO: result: $UUDECODE" >&5
     3246echo "${ECHO_T}$UUDECODE" >&6
     3247else
     3248  echo "$as_me:$LINENO: result: no" >&5
     3249echo "${ECHO_T}no" >&6
     3250fi
     3251
     3252  test -n "$UUDECODE" && break
    13303253done
    13313254
    13323255for ac_prog in gunzip
    13333256do
    1334 # Extract the first word of "$ac_prog", so it can be a program name with args.
     3257  # Extract the first word of "$ac_prog", so it can be a program name with args.
    13353258set dummy $ac_prog; ac_word=$2
    1336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1337 echo "configure:1338: checking for $ac_word" >&5
    1338 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then
    1339   echo $ac_n "(cached) $ac_c" 1>&6
     3259echo "$as_me:$LINENO: checking for $ac_word" >&5
     3260echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3261if test "${ac_cv_prog_GUNZIP+set}" = set; then
     3262  echo $ECHO_N "(cached) $ECHO_C" >&6
    13403263else
    13413264  if test -n "$GUNZIP"; then
    13423265  ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test.
    13433266else
    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"
    1354 fi
    1355 fi
    1356 GUNZIP="$ac_cv_prog_GUNZIP"
     3267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3268for as_dir in $PATH
     3269do
     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
     3278done
     3279done
     3280
     3281fi
     3282fi
     3283GUNZIP=$ac_cv_prog_GUNZIP
    13573284if test -n "$GUNZIP"; then
    1358   echo "$ac_t""$GUNZIP" 1>&6
    1359 else
    1360   echo "$ac_t""no" 1>&6
    1361 fi
    1362 
    1363 test -n "$GUNZIP" && break
     3285  echo "$as_me:$LINENO: result: $GUNZIP" >&5
     3286echo "${ECHO_T}$GUNZIP" >&6
     3287else
     3288  echo "$as_me:$LINENO: result: no" >&5
     3289echo "${ECHO_T}no" >&6
     3290fi
     3291
     3292  test -n "$GUNZIP" && break
    13643293done
    13653294test -n "$GUNZIP" || GUNZIP="${pwd}/warn_not_found.sh gunzip"
     
    13683297for ac_prog in gzip
    13693298do
    1370 # Extract the first word of "$ac_prog", so it can be a program name with args.
     3299  # Extract the first word of "$ac_prog", so it can be a program name with args.
    13713300set dummy $ac_prog; ac_word=$2
    1372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1373 echo "configure:1374: checking for $ac_word" >&5
    1374 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then
    1375   echo $ac_n "(cached) $ac_c" 1>&6
     3301echo "$as_me:$LINENO: checking for $ac_word" >&5
     3302echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3303if test "${ac_cv_prog_MYGZIP+set}" = set; then
     3304  echo $ECHO_N "(cached) $ECHO_C" >&6
    13763305else
    13773306  if test -n "$MYGZIP"; then
    13783307  ac_cv_prog_MYGZIP="$MYGZIP" # Let the user override the test.
    13793308else
    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"
    1390 fi
    1391 fi
    1392 MYGZIP="$ac_cv_prog_MYGZIP"
     3309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3310for as_dir in $PATH
     3311do
     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
     3320done
     3321done
     3322
     3323fi
     3324fi
     3325MYGZIP=$ac_cv_prog_MYGZIP
    13933326if test -n "$MYGZIP"; then
    1394   echo "$ac_t""$MYGZIP" 1>&6
    1395 else
    1396   echo "$ac_t""no" 1>&6
    1397 fi
    1398 
    1399 test -n "$MYGZIP" && break
     3327  echo "$as_me:$LINENO: result: $MYGZIP" >&5
     3328echo "${ECHO_T}$MYGZIP" >&6
     3329else
     3330  echo "$as_me:$LINENO: result: no" >&5
     3331echo "${ECHO_T}no" >&6
     3332fi
     3333
     3334  test -n "$MYGZIP" && break
    14003335done
    14013336test -n "$MYGZIP" || MYGZIP="${pwd}/warn_not_found.sh gzip"
     
    14033338# Extract the first word of "latex2html", so it can be a program name with args.
    14043339set dummy latex2html; ac_word=$2
    1405 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1406 echo "configure:1407: checking for $ac_word" >&5
    1407 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then
    1408   echo $ac_n "(cached) $ac_c" 1>&6
     3340echo "$as_me:$LINENO: checking for $ac_word" >&5
     3341echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     3342if test "${ac_cv_prog_LATEX2HTML+set}" = set; then
     3343  echo $ECHO_N "(cached) $ECHO_C" >&6
    14093344else
    14103345  if test -n "$LATEX2HTML"; then
    14113346  ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test.
    14123347else
    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"
    1423 fi
    1424 fi
    1425 LATEX2HTML="$ac_cv_prog_LATEX2HTML"
     3348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3349for as_dir in $PATH
     3350do
     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
     3359done
     3360done
     3361
     3362fi
     3363fi
     3364LATEX2HTML=$ac_cv_prog_LATEX2HTML
    14263365if test -n "$LATEX2HTML"; then
    1427   echo "$ac_t""$LATEX2HTML" 1>&6
    1428 else
    1429   echo "$ac_t""no" 1>&6
    1430 fi
    1431 
    1432 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1433 echo "configure:1434: checking whether ln -s works" >&5
    1434 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    1435   echo $ac_n "(cached) $ac_c" 1>&6
    1436 else
    1437   rm -f conftestdata
    1438 if ln -s X conftestdata 2>/dev/null
    1439 then
    1440   rm -f conftestdata
    1441   ac_cv_prog_LN_S="ln -s"
    1442 else
    1443   ac_cv_prog_LN_S=ln
    1444 fi
    1445 fi
    1446 LN_S="$ac_cv_prog_LN_S"
    1447 if test "$ac_cv_prog_LN_S" = "ln -s"; then
    1448   echo "$ac_t""yes" 1>&6
    1449 else
    1450   echo "$ac_t""no" 1>&6
     3366  echo "$as_me:$LINENO: result: $LATEX2HTML" >&5
     3367echo "${ECHO_T}$LATEX2HTML" >&6
     3368else
     3369  echo "$as_me:$LINENO: result: no" >&5
     3370echo "${ECHO_T}no" >&6
     3371fi
     3372
     3373echo "$as_me:$LINENO: checking whether ln -s works" >&5
     3374echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3375LN_S=$as_ln_s
     3376if test "$LN_S" = "ln -s"; then
     3377  echo "$as_me:$LINENO: result: yes" >&5
     3378echo "${ECHO_T}yes" >&6
     3379else
     3380  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     3381echo "${ECHO_T}no, using $LN_S" >&6
    14513382fi
    14523383
     
    14543385if test -r "${pwd}/mkinstalldirs"; then
    14553386  MKINSTALLDIRS=${pwd}/mkinstalldirs
    1456  
    1457 else
    1458   { echo "configure: error: mkinstalldirs not foind in ${pwd}" 1>&2; exit 1; }
     3387
     3388else
     3389  { { echo "$as_me:$LINENO: error: mkinstalldirs not foind in ${pwd}" >&5
     3390echo "$as_me: error: mkinstalldirs not foind in ${pwd}" >&2;}
     3391   { (exit 1); exit 1; }; }
    14593392fi
    14603393
     
    15003433
    15013434# check for AIX
    1502 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1503 echo "configure:1504: checking whether _AIX is defined" >&5
    1504 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    1505   echo $ac_n "(cached) $ac_c" 1>&6
    1506 else
    1507   cat > conftest.$ac_ext <<EOF
    1508 #line 1509 "configure"
    1509 #include "confdefs.h"
     3435echo "$as_me:$LINENO: checking whether _AIX is defined" >&5
     3436echo $ECHO_N "checking whether _AIX is defined... $ECHO_C" >&6
     3437if test "${ac_cv_is_aix+set}" = set; then
     3438  echo $ECHO_N "(cached) $ECHO_C" >&6
     3439else
     3440  cat >conftest.$ac_ext <<_ACEOF
     3441/* confdefs.h.  */
     3442_ACEOF
     3443cat confdefs.h >>conftest.$ac_ext
     3444cat >>conftest.$ac_ext <<_ACEOF
     3445/* end confdefs.h.  */
    15103446#ifdef _AIX
    15113447    yes
    15123448#endif
    15133449
    1514 EOF
     3450_ACEOF
    15153451if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    1516   egrep "yes" >/dev/null 2>&1; then
    1517   rm -rf conftest*
     3452  $EGREP "yes" >/dev/null 2>&1; then
    15183453  ac_cv_is_aix=yes
    15193454else
    1520   rm -rf conftest*
    15213455  ac_cv_is_aix=no
    15223456fi
     
    15263460
    15273461if test "$ac_cv_is_aix" = yes; then
    1528   echo "$ac_t""yes" 1>&6
    1529 else
    1530   echo "$ac_t""no" 1>&6
    1531 fi
    1532 
    1533 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1534 echo "configure:1535: checking for atof in -lm" >&5
    1535 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    1536 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1537   echo $ac_n "(cached) $ac_c" 1>&6
    1538 else
    1539   ac_save_LIBS="$LIBS"
     3462  echo "$as_me:$LINENO: result: yes" >&5
     3463echo "${ECHO_T}yes" >&6
     3464else
     3465  echo "$as_me:$LINENO: result: no" >&5
     3466echo "${ECHO_T}no" >&6
     3467fi
     3468
     3469
     3470echo "$as_me:$LINENO: checking for atof in -lm" >&5
     3471echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6
     3472if test "${ac_cv_lib_m_atof+set}" = set; then
     3473  echo $ECHO_N "(cached) $ECHO_C" >&6
     3474else
     3475  ac_check_lib_save_LIBS=$LIBS
    15403476LIBS="-lm  $LIBS"
    1541 cat > conftest.$ac_ext <<EOF
    1542 #line 1543 "configure"
    1543 #include "confdefs.h"
     3477cat >conftest.$ac_ext <<_ACEOF
     3478/* confdefs.h.  */
     3479_ACEOF
     3480cat confdefs.h >>conftest.$ac_ext
     3481cat >>conftest.$ac_ext <<_ACEOF
     3482/* end confdefs.h.  */
     3483
    15443484/* Override any gcc2 internal prototype to avoid an error.  */
     3485#ifdef __cplusplus
     3486extern "C"
     3487#endif
    15453488/* We use char because int might match the return type of a gcc2
    1546     builtin and then its argument prototype would still apply.  */
    1547 char atof();
    1548 
    1549 int main() {
    1550 atof()
    1551 ; return 0; }
    1552 EOF
    1553 if { (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"
    1556 else
    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"
     3489   builtin and then its argument prototype would still apply.  */
     3490char atof ();
     3491int
     3492main ()
     3493{
     3494atof ();
     3495  ;
     3496  return 0;
     3497}
     3498_ACEOF
     3499rm -f conftest.$ac_objext conftest$ac_exeext
     3500if { (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
     3522else
     3523  echo "$as_me: failed program was:" >&5
     3524sed 's/^/| /' conftest.$ac_ext >&5
     3525
     3526ac_cv_lib_m_atof=no
     3527fi
     3528rm -f conftest.err conftest.$ac_objext \
     3529      conftest$ac_exeext conftest.$ac_ext
     3530LIBS=$ac_check_lib_save_LIBS
     3531fi
     3532echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5
     3533echo "${ECHO_T}$ac_cv_lib_m_atof" >&6
     3534if test $ac_cv_lib_m_atof = yes; then
     3535  cat >>confdefs.h <<_ACEOF
     3536#define HAVE_LIBM 1
     3537_ACEOF
     3538
     3539  LIBS="-lm $LIBS"
     3540
     3541fi
     3542
     3543
     3544echo "$as_me:$LINENO: checking for socket in -lbsd" >&5
     3545echo $ECHO_N "checking for socket in -lbsd... $ECHO_C" >&6
     3546if test "${ac_cv_lib_bsd_socket+set}" = set; then
     3547  echo $ECHO_N "(cached) $ECHO_C" >&6
     3548else
     3549  ac_check_lib_save_LIBS=$LIBS
     3550LIBS="-lbsd  $LIBS"
     3551cat >conftest.$ac_ext <<_ACEOF
     3552/* confdefs.h.  */
     3553_ACEOF
     3554cat confdefs.h >>conftest.$ac_ext
     3555cat >>conftest.$ac_ext <<_ACEOF
     3556/* end confdefs.h.  */
     3557
     3558/* Override any gcc2 internal prototype to avoid an error.  */
     3559#ifdef __cplusplus
     3560extern "C"
     3561#endif
     3562/* We use char because int might match the return type of a gcc2
     3563   builtin and then its argument prototype would still apply.  */
     3564char socket ();
     3565int
     3566main ()
     3567{
     3568socket ();
     3569  ;
     3570  return 0;
     3571}
     3572_ACEOF
     3573rm -f conftest.$ac_objext conftest$ac_exeext
     3574if { (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
     3596else
     3597  echo "$as_me: failed program was:" >&5
     3598sed 's/^/| /' conftest.$ac_ext >&5
     3599
     3600ac_cv_lib_bsd_socket=no
     3601fi
     3602rm -f conftest.err conftest.$ac_objext \
     3603      conftest$ac_exeext conftest.$ac_ext
     3604LIBS=$ac_check_lib_save_LIBS
     3605fi
     3606echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_socket" >&5
     3607echo "${ECHO_T}$ac_cv_lib_bsd_socket" >&6
     3608if test $ac_cv_lib_bsd_socket = yes; then
     3609  cat >>confdefs.h <<_ACEOF
     3610#define HAVE_LIBBSD 1
     3611_ACEOF
     3612
     3613  LIBS="-lbsd $LIBS"
     3614
     3615fi
     3616
     3617
     3618echo "$as_me:$LINENO: checking for listen in -lsocket" >&5
     3619echo $ECHO_N "checking for listen in -lsocket... $ECHO_C" >&6
     3620if test "${ac_cv_lib_socket_listen+set}" = set; then
     3621  echo $ECHO_N "(cached) $ECHO_C" >&6
     3622else
     3623  ac_check_lib_save_LIBS=$LIBS
     3624LIBS="-lsocket  $LIBS"
     3625cat >conftest.$ac_ext <<_ACEOF
     3626/* confdefs.h.  */
     3627_ACEOF
     3628cat confdefs.h >>conftest.$ac_ext
     3629cat >>conftest.$ac_ext <<_ACEOF
     3630/* end confdefs.h.  */
     3631
     3632/* Override any gcc2 internal prototype to avoid an error.  */
     3633#ifdef __cplusplus
     3634extern "C"
     3635#endif
     3636/* We use char because int might match the return type of a gcc2
     3637   builtin and then its argument prototype would still apply.  */
     3638char listen ();
     3639int
     3640main ()
     3641{
     3642listen ();
     3643  ;
     3644  return 0;
     3645}
     3646_ACEOF
     3647rm -f conftest.$ac_objext conftest$ac_exeext
     3648if { (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
     3670else
     3671  echo "$as_me: failed program was:" >&5
     3672sed 's/^/| /' conftest.$ac_ext >&5
     3673
     3674ac_cv_lib_socket_listen=no
     3675fi
     3676rm -f conftest.err conftest.$ac_objext \
     3677      conftest$ac_exeext conftest.$ac_ext
     3678LIBS=$ac_check_lib_save_LIBS
     3679fi
     3680echo "$as_me:$LINENO: result: $ac_cv_lib_socket_listen" >&5
     3681echo "${ECHO_T}$ac_cv_lib_socket_listen" >&6
     3682if test $ac_cv_lib_socket_listen = yes; then
     3683  cat >>confdefs.h <<_ACEOF
     3684#define HAVE_LIBSOCKET 1
     3685_ACEOF
     3686
     3687  LIBS="-lsocket $LIBS"
     3688
     3689fi
     3690
     3691
     3692echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
     3693echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
     3694if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
     3695  echo $ECHO_N "(cached) $ECHO_C" >&6
     3696else
     3697  ac_check_lib_save_LIBS=$LIBS
     3698LIBS="-lnsl  $LIBS"
     3699cat >conftest.$ac_ext <<_ACEOF
     3700/* confdefs.h.  */
     3701_ACEOF
     3702cat confdefs.h >>conftest.$ac_ext
     3703cat >>conftest.$ac_ext <<_ACEOF
     3704/* end confdefs.h.  */
     3705
     3706/* Override any gcc2 internal prototype to avoid an error.  */
     3707#ifdef __cplusplus
     3708extern "C"
     3709#endif
     3710/* We use char because int might match the return type of a gcc2
     3711   builtin and then its argument prototype would still apply.  */
     3712char gethostbyname ();
     3713int
     3714main ()
     3715{
     3716gethostbyname ();
     3717  ;
     3718  return 0;
     3719}
     3720_ACEOF
     3721rm -f conftest.$ac_objext conftest$ac_exeext
     3722if { (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
     3744else
     3745  echo "$as_me: failed program was:" >&5
     3746sed 's/^/| /' conftest.$ac_ext >&5
     3747
     3748ac_cv_lib_nsl_gethostbyname=no
     3749fi
     3750rm -f conftest.err conftest.$ac_objext \
     3751      conftest$ac_exeext conftest.$ac_ext
     3752LIBS=$ac_check_lib_save_LIBS
     3753fi
     3754echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
     3755echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
     3756if test $ac_cv_lib_nsl_gethostbyname = yes; then
     3757  cat >>confdefs.h <<_ACEOF
     3758#define HAVE_LIBNSL 1
     3759_ACEOF
     3760
     3761  LIBS="-lnsl $LIBS"
     3762
     3763fi
     3764
     3765
     3766echo "$as_me:$LINENO: checking for main in -lgmp" >&5
     3767echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
     3768if test "${ac_cv_lib_gmp_main+set}" = set; then
     3769  echo $ECHO_N "(cached) $ECHO_C" >&6
     3770else
     3771  ac_check_lib_save_LIBS=$LIBS
     3772LIBS="-lgmp  $LIBS"
     3773cat >conftest.$ac_ext <<_ACEOF
     3774/* confdefs.h.  */
     3775_ACEOF
     3776cat confdefs.h >>conftest.$ac_ext
     3777cat >>conftest.$ac_ext <<_ACEOF
     3778/* end confdefs.h.  */
     3779
     3780
     3781int
     3782main ()
     3783{
     3784main ();
     3785  ;
     3786  return 0;
     3787}
     3788_ACEOF
     3789rm -f conftest.$ac_objext conftest$ac_exeext
     3790if { (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
     3812else
     3813  echo "$as_me: failed program was:" >&5
     3814sed 's/^/| /' conftest.$ac_ext >&5
     3815
     3816ac_cv_lib_gmp_main=no
     3817fi
     3818rm -f conftest.err conftest.$ac_objext \
     3819      conftest$ac_exeext conftest.$ac_ext
     3820LIBS=$ac_check_lib_save_LIBS
     3821fi
     3822echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
     3823echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
     3824if test $ac_cv_lib_gmp_main = yes; then
     3825  cat >>confdefs.h <<_ACEOF
     3826#define HAVE_LIBGMP 1
     3827_ACEOF
     3828
     3829  LIBS="-lgmp $LIBS"
     3830
     3831fi
     3832
     3833
     3834echo "$as_me:$LINENO: checking for mpz_init in -lsmallgmp" >&5
     3835echo $ECHO_N "checking for mpz_init in -lsmallgmp... $ECHO_C" >&6
     3836if test "${ac_cv_lib_smallgmp_mpz_init+set}" = set; then
     3837  echo $ECHO_N "(cached) $ECHO_C" >&6
     3838else
     3839  ac_check_lib_save_LIBS=$LIBS
     3840LIBS="-lsmallgmp  $LIBS"
     3841cat >conftest.$ac_ext <<_ACEOF
     3842/* confdefs.h.  */
     3843_ACEOF
     3844cat confdefs.h >>conftest.$ac_ext
     3845cat >>conftest.$ac_ext <<_ACEOF
     3846/* end confdefs.h.  */
     3847
     3848/* Override any gcc2 internal prototype to avoid an error.  */
     3849#ifdef __cplusplus
     3850extern "C"
     3851#endif
     3852/* We use char because int might match the return type of a gcc2
     3853   builtin and then its argument prototype would still apply.  */
     3854char mpz_init ();
     3855int
     3856main ()
     3857{
     3858mpz_init ();
     3859  ;
     3860  return 0;
     3861}
     3862_ACEOF
     3863rm -f conftest.$ac_objext conftest$ac_exeext
     3864if { (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
     3886else
     3887  echo "$as_me: failed program was:" >&5
     3888sed 's/^/| /' conftest.$ac_ext >&5
     3889
     3890ac_cv_lib_smallgmp_mpz_init=no
     3891fi
     3892rm -f conftest.err conftest.$ac_objext \
     3893      conftest$ac_exeext conftest.$ac_ext
     3894LIBS=$ac_check_lib_save_LIBS
     3895fi
     3896echo "$as_me:$LINENO: result: $ac_cv_lib_smallgmp_mpz_init" >&5
     3897echo "${ECHO_T}$ac_cv_lib_smallgmp_mpz_init" >&6
     3898if test $ac_cv_lib_smallgmp_mpz_init = yes; then
     3899  cat >>confdefs.h <<_ACEOF
     3900#define HAVE_LIBSMALLGMP 1
     3901_ACEOF
     3902
     3903  LIBS="-lsmallgmp $LIBS"
     3904
     3905fi
     3906
     3907
     3908echo "$as_me:$LINENO: checking for IMP_PutGmpInt in -lMP" >&5
     3909echo $ECHO_N "checking for IMP_PutGmpInt in -lMP... $ECHO_C" >&6
     3910if test "${ac_cv_lib_MP_IMP_PutGmpInt+set}" = set; then
     3911  echo $ECHO_N "(cached) $ECHO_C" >&6
     3912else
     3913  ac_check_lib_save_LIBS=$LIBS
     3914LIBS="-lMP  $LIBS"
     3915cat >conftest.$ac_ext <<_ACEOF
     3916/* confdefs.h.  */
     3917_ACEOF
     3918cat confdefs.h >>conftest.$ac_ext
     3919cat >>conftest.$ac_ext <<_ACEOF
     3920/* end confdefs.h.  */
     3921
     3922/* Override any gcc2 internal prototype to avoid an error.  */
     3923#ifdef __cplusplus
     3924extern "C"
     3925#endif
     3926/* We use char because int might match the return type of a gcc2
     3927   builtin and then its argument prototype would still apply.  */
     3928char IMP_PutGmpInt ();
     3929int
     3930main ()
     3931{
     3932IMP_PutGmpInt ();
     3933  ;
     3934  return 0;
     3935}
     3936_ACEOF
     3937rm -f conftest.$ac_objext conftest$ac_exeext
     3938if { (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
     3960else
     3961  echo "$as_me: failed program was:" >&5
     3962sed 's/^/| /' conftest.$ac_ext >&5
     3963
     3964ac_cv_lib_MP_IMP_PutGmpInt=no
     3965fi
     3966rm -f conftest.err conftest.$ac_objext \
     3967      conftest$ac_exeext conftest.$ac_ext
     3968LIBS=$ac_check_lib_save_LIBS
     3969fi
     3970echo "$as_me:$LINENO: result: $ac_cv_lib_MP_IMP_PutGmpInt" >&5
     3971echo "${ECHO_T}$ac_cv_lib_MP_IMP_PutGmpInt" >&6
     3972if test $ac_cv_lib_MP_IMP_PutGmpInt = yes; then
     3973  cat >>confdefs.h <<_ACEOF
     3974#define HAVE_LIBMP 1
     3975_ACEOF
     3976
     3977  LIBS="-lMP $LIBS"
     3978
     3979fi
     3980
     3981
     3982echo "$as_me:$LINENO: checking for MPT_GetTree in -lMPT" >&5
     3983echo $ECHO_N "checking for MPT_GetTree in -lMPT... $ECHO_C" >&6
     3984if test "${ac_cv_lib_MPT_MPT_GetTree+set}" = set; then
     3985  echo $ECHO_N "(cached) $ECHO_C" >&6
     3986else
     3987  ac_check_lib_save_LIBS=$LIBS
     3988LIBS="-lMPT  $LIBS"
     3989cat >conftest.$ac_ext <<_ACEOF
     3990/* confdefs.h.  */
     3991_ACEOF
     3992cat confdefs.h >>conftest.$ac_ext
     3993cat >>conftest.$ac_ext <<_ACEOF
     3994/* end confdefs.h.  */
     3995
     3996/* Override any gcc2 internal prototype to avoid an error.  */
     3997#ifdef __cplusplus
     3998extern "C"
     3999#endif
     4000/* We use char because int might match the return type of a gcc2
     4001   builtin and then its argument prototype would still apply.  */
     4002char MPT_GetTree ();
     4003int
     4004main ()
     4005{
     4006MPT_GetTree ();
     4007  ;
     4008  return 0;
     4009}
     4010_ACEOF
     4011rm -f conftest.$ac_objext conftest$ac_exeext
     4012if { (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
     4034else
     4035  echo "$as_me: failed program was:" >&5
     4036sed 's/^/| /' conftest.$ac_ext >&5
     4037
     4038ac_cv_lib_MPT_MPT_GetTree=no
     4039fi
     4040rm -f conftest.err conftest.$ac_objext \
     4041      conftest$ac_exeext conftest.$ac_ext
     4042LIBS=$ac_check_lib_save_LIBS
     4043fi
     4044echo "$as_me:$LINENO: result: $ac_cv_lib_MPT_MPT_GetTree" >&5
     4045echo "${ECHO_T}$ac_cv_lib_MPT_MPT_GetTree" >&6
     4046if test $ac_cv_lib_MPT_MPT_GetTree = yes; then
     4047  cat >>confdefs.h <<_ACEOF
     4048#define HAVE_LIBMPT 1
     4049_ACEOF
     4050
     4051  LIBS="-lMPT $LIBS"
     4052
     4053fi
     4054
     4055
     4056echo "$as_me:$LINENO: checking for atof in -lsingcf" >&5
     4057echo $ECHO_N "checking for atof in -lsingcf... $ECHO_C" >&6
     4058if test "${ac_cv_lib_singcf_atof+set}" = set; then
     4059  echo $ECHO_N "(cached) $ECHO_C" >&6
     4060else
     4061  ac_check_lib_save_LIBS=$LIBS
     4062LIBS="-lsingcf  $LIBS"
     4063cat >conftest.$ac_ext <<_ACEOF
     4064/* confdefs.h.  */
     4065_ACEOF
     4066cat confdefs.h >>conftest.$ac_ext
     4067cat >>conftest.$ac_ext <<_ACEOF
     4068/* end confdefs.h.  */
     4069
     4070/* Override any gcc2 internal prototype to avoid an error.  */
     4071#ifdef __cplusplus
     4072extern "C"
     4073#endif
     4074/* We use char because int might match the return type of a gcc2
     4075   builtin and then its argument prototype would still apply.  */
     4076char atof ();
     4077int
     4078main ()
     4079{
     4080atof ();
     4081  ;
     4082  return 0;
     4083}
     4084_ACEOF
     4085rm -f conftest.$ac_objext conftest$ac_exeext
     4086if { (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
     4108else
     4109  echo "$as_me: failed program was:" >&5
     4110sed 's/^/| /' conftest.$ac_ext >&5
     4111
     4112ac_cv_lib_singcf_atof=no
     4113fi
     4114rm -f conftest.err conftest.$ac_objext \
     4115      conftest$ac_exeext conftest.$ac_ext
     4116LIBS=$ac_check_lib_save_LIBS
     4117fi
     4118echo "$as_me:$LINENO: result: $ac_cv_lib_singcf_atof" >&5
     4119echo "${ECHO_T}$ac_cv_lib_singcf_atof" >&6
     4120if test $ac_cv_lib_singcf_atof = yes; then
     4121  cat >>confdefs.h <<_ACEOF
     4122#define HAVE_LIBSINGCF 1
     4123_ACEOF
     4124
     4125  LIBS="-lsingcf $LIBS"
     4126
     4127fi
     4128
     4129
     4130echo "$as_me:$LINENO: checking for atof in -lsingfac" >&5
     4131echo $ECHO_N "checking for atof in -lsingfac... $ECHO_C" >&6
     4132if test "${ac_cv_lib_singfac_atof+set}" = set; then
     4133  echo $ECHO_N "(cached) $ECHO_C" >&6
     4134else
     4135  ac_check_lib_save_LIBS=$LIBS
     4136LIBS="-lsingfac  $LIBS"
     4137cat >conftest.$ac_ext <<_ACEOF
     4138/* confdefs.h.  */
     4139_ACEOF
     4140cat confdefs.h >>conftest.$ac_ext
     4141cat >>conftest.$ac_ext <<_ACEOF
     4142/* end confdefs.h.  */
     4143
     4144/* Override any gcc2 internal prototype to avoid an error.  */
     4145#ifdef __cplusplus
     4146extern "C"
     4147#endif
     4148/* We use char because int might match the return type of a gcc2
     4149   builtin and then its argument prototype would still apply.  */
     4150char atof ();
     4151int
     4152main ()
     4153{
     4154atof ();
     4155  ;
     4156  return 0;
     4157}
     4158_ACEOF
     4159rm -f conftest.$ac_objext conftest$ac_exeext
     4160if { (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
     4182else
     4183  echo "$as_me: failed program was:" >&5
     4184sed 's/^/| /' conftest.$ac_ext >&5
     4185
     4186ac_cv_lib_singfac_atof=no
     4187fi
     4188rm -f conftest.err conftest.$ac_objext \
     4189      conftest$ac_exeext conftest.$ac_ext
     4190LIBS=$ac_check_lib_save_LIBS
     4191fi
     4192echo "$as_me:$LINENO: result: $ac_cv_lib_singfac_atof" >&5
     4193echo "${ECHO_T}$ac_cv_lib_singfac_atof" >&6
     4194if test $ac_cv_lib_singfac_atof = yes; then
     4195  cat >>confdefs.h <<_ACEOF
     4196#define HAVE_LIBSINGFAC 1
     4197_ACEOF
     4198
     4199  LIBS="-lsingfac $LIBS"
     4200
     4201fi
     4202
     4203
     4204echo "$as_me:$LINENO: checking for omTestAddr in -lomalloc" >&5
     4205echo $ECHO_N "checking for omTestAddr in -lomalloc... $ECHO_C" >&6
     4206if test "${ac_cv_lib_omalloc_omTestAddr+set}" = set; then
     4207  echo $ECHO_N "(cached) $ECHO_C" >&6
     4208else
     4209  ac_check_lib_save_LIBS=$LIBS
     4210LIBS="-lomalloc  $LIBS"
     4211cat >conftest.$ac_ext <<_ACEOF
     4212/* confdefs.h.  */
     4213_ACEOF
     4214cat confdefs.h >>conftest.$ac_ext
     4215cat >>conftest.$ac_ext <<_ACEOF
     4216/* end confdefs.h.  */
     4217
     4218/* Override any gcc2 internal prototype to avoid an error.  */
     4219#ifdef __cplusplus
     4220extern "C"
     4221#endif
     4222/* We use char because int might match the return type of a gcc2
     4223   builtin and then its argument prototype would still apply.  */
     4224char omTestAddr ();
     4225int
     4226main ()
     4227{
     4228omTestAddr ();
     4229  ;
     4230  return 0;
     4231}
     4232_ACEOF
     4233rm -f conftest.$ac_objext conftest$ac_exeext
     4234if { (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
     4256else
     4257  echo "$as_me: failed program was:" >&5
     4258sed 's/^/| /' conftest.$ac_ext >&5
     4259
     4260ac_cv_lib_omalloc_omTestAddr=no
     4261fi
     4262rm -f conftest.err conftest.$ac_objext \
     4263      conftest$ac_exeext conftest.$ac_ext
     4264LIBS=$ac_check_lib_save_LIBS
     4265fi
     4266echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_omTestAddr" >&5
     4267echo "${ECHO_T}$ac_cv_lib_omalloc_omTestAddr" >&6
     4268if test $ac_cv_lib_omalloc_omTestAddr = yes; then
     4269  cat >>confdefs.h <<_ACEOF
     4270#define HAVE_LIBOMALLOC 1
     4271_ACEOF
     4272
     4273  LIBS="-lomalloc $LIBS"
     4274
     4275fi
     4276
     4277
     4278echo "$as_me:$LINENO: checking for main in -lomalloc_ndebug" >&5
     4279echo $ECHO_N "checking for main in -lomalloc_ndebug... $ECHO_C" >&6
     4280if test "${ac_cv_lib_omalloc_ndebug_main+set}" = set; then
     4281  echo $ECHO_N "(cached) $ECHO_C" >&6
     4282else
     4283  ac_check_lib_save_LIBS=$LIBS
     4284LIBS="-lomalloc_ndebug  $LIBS"
     4285cat >conftest.$ac_ext <<_ACEOF
     4286/* confdefs.h.  */
     4287_ACEOF
     4288cat confdefs.h >>conftest.$ac_ext
     4289cat >>conftest.$ac_ext <<_ACEOF
     4290/* end confdefs.h.  */
     4291
     4292
     4293int
     4294main ()
     4295{
     4296main ();
     4297  ;
     4298  return 0;
     4299}
     4300_ACEOF
     4301rm -f conftest.$ac_objext conftest$ac_exeext
     4302if { (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
     4324else
     4325  echo "$as_me: failed program was:" >&5
     4326sed 's/^/| /' conftest.$ac_ext >&5
     4327
     4328ac_cv_lib_omalloc_ndebug_main=no
     4329fi
     4330rm -f conftest.err conftest.$ac_objext \
     4331      conftest$ac_exeext conftest.$ac_ext
     4332LIBS=$ac_check_lib_save_LIBS
     4333fi
     4334echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_ndebug_main" >&5
     4335echo "${ECHO_T}$ac_cv_lib_omalloc_ndebug_main" >&6
     4336if test $ac_cv_lib_omalloc_ndebug_main = yes; then
     4337  cat >>confdefs.h <<_ACEOF
     4338#define HAVE_LIBOMALLOC_NDEBUG 1
     4339_ACEOF
     4340
     4341  LIBS="-lomalloc_ndebug $LIBS"
     4342
     4343fi
     4344
     4345
     4346echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     4347echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     4348if test "${ac_cv_header_stdc+set}" = set; then
     4349  echo $ECHO_N "(cached) $ECHO_C" >&6
     4350else
     4351  cat >conftest.$ac_ext <<_ACEOF
     4352/* confdefs.h.  */
     4353_ACEOF
     4354cat confdefs.h >>conftest.$ac_ext
     4355cat >>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
     4362int
     4363main ()
     4364{
     4365
     4366  ;
     4367  return 0;
     4368}
     4369_ACEOF
     4370rm -f conftest.$ac_objext
     4371if { (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
     4393else
     4394  echo "$as_me: failed program was:" >&5
     4395sed 's/^/| /' conftest.$ac_ext >&5
     4396
     4397ac_cv_header_stdc=no
     4398fi
     4399rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4400
     4401if 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
     4406cat confdefs.h >>conftest.$ac_ext
     4407cat >>conftest.$ac_ext <<_ACEOF
     4408/* end confdefs.h.  */
     4409#include <string.h>
     4410
     4411_ACEOF
     4412if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4413  $EGREP "memchr" >/dev/null 2>&1; then
     4414  :
     4415else
     4416  ac_cv_header_stdc=no
    15614417fi
    15624418rm -f conftest*
    1563 LIBS="$ac_save_LIBS"
    1564 
    1565 fi
    1566 if 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
    1572 EOF
    1573 
    1574   LIBS="-lm $LIBS"
    1575 
    1576 else
    1577   echo "$ac_t""no" 1>&6
    1578 fi
    1579 
    1580 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1581 echo "configure:1582: checking for socket in -lbsd" >&5
    1582 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    1583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1584   echo $ac_n "(cached) $ac_c" 1>&6
    1585 else
    1586   ac_save_LIBS="$LIBS"
    1587 LIBS="-lbsd  $LIBS"
    1588 cat > conftest.$ac_ext <<EOF
    1589 #line 1590 "configure"
    1590 #include "confdefs.h"
    1591 /* Override any gcc2 internal prototype to avoid an error.  */
    1592 /* We use char because int might match the return type of a gcc2
    1593     builtin and then its argument prototype would still apply.  */
    1594 char socket();
    1595 
    1596 int main() {
    1597 socket()
    1598 ; return 0; }
    1599 EOF
    1600 if { (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"
    1603 else
    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"
     4419
     4420fi
     4421
     4422if 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
     4427cat confdefs.h >>conftest.$ac_ext
     4428cat >>conftest.$ac_ext <<_ACEOF
     4429/* end confdefs.h.  */
     4430#include <stdlib.h>
     4431
     4432_ACEOF
     4433if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4434  $EGREP "free" >/dev/null 2>&1; then
     4435  :
     4436else
     4437  ac_cv_header_stdc=no
    16084438fi
    16094439rm -f conftest*
    1610 LIBS="$ac_save_LIBS"
    1611 
    1612 fi
    1613 if 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
    1619 EOF
    1620 
    1621   LIBS="-lbsd $LIBS"
    1622 
    1623 else
    1624   echo "$ac_t""no" 1>&6
    1625 fi
    1626 
    1627 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1628 echo "configure:1629: checking for listen in -lsocket" >&5
    1629 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    1630 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1631   echo $ac_n "(cached) $ac_c" 1>&6
    1632 else
    1633   ac_save_LIBS="$LIBS"
    1634 LIBS="-lsocket  $LIBS"
    1635 cat > conftest.$ac_ext <<EOF
    1636 #line 1637 "configure"
    1637 #include "confdefs.h"
    1638 /* Override any gcc2 internal prototype to avoid an error.  */
    1639 /* We use char because int might match the return type of a gcc2
    1640     builtin and then its argument prototype would still apply.  */
    1641 char listen();
    1642 
    1643 int main() {
    1644 listen()
    1645 ; return 0; }
    1646 EOF
    1647 if { (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"
    1650 else
    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"
    1655 fi
    1656 rm -f conftest*
    1657 LIBS="$ac_save_LIBS"
    1658 
    1659 fi
    1660 if 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
    1666 EOF
    1667 
    1668   LIBS="-lsocket $LIBS"
    1669 
    1670 else
    1671   echo "$ac_t""no" 1>&6
    1672 fi
    1673 
    1674 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1675 echo "configure:1676: checking for gethostbyname in -lnsl" >&5
    1676 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    1677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1678   echo $ac_n "(cached) $ac_c" 1>&6
    1679 else
    1680   ac_save_LIBS="$LIBS"
    1681 LIBS="-lnsl  $LIBS"
    1682 cat > conftest.$ac_ext <<EOF
    1683 #line 1684 "configure"
    1684 #include "confdefs.h"
    1685 /* Override any gcc2 internal prototype to avoid an error.  */
    1686 /* We use char because int might match the return type of a gcc2
    1687     builtin and then its argument prototype would still apply.  */
    1688 char gethostbyname();
    1689 
    1690 int main() {
    1691 gethostbyname()
    1692 ; return 0; }
    1693 EOF
    1694 if { (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"
    1697 else
    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"
    1702 fi
    1703 rm -f conftest*
    1704 LIBS="$ac_save_LIBS"
    1705 
    1706 fi
    1707 if 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
    1713 EOF
    1714 
    1715   LIBS="-lnsl $LIBS"
    1716 
    1717 else
    1718   echo "$ac_t""no" 1>&6
    1719 fi
    1720 
    1721 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    1722 echo "configure:1723: checking for main in -lgmp" >&5
    1723 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    1724 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1725   echo $ac_n "(cached) $ac_c" 1>&6
    1726 else
    1727   ac_save_LIBS="$LIBS"
    1728 LIBS="-lgmp  $LIBS"
    1729 cat > conftest.$ac_ext <<EOF
    1730 #line 1731 "configure"
    1731 #include "confdefs.h"
    1732 
    1733 int main() {
    1734 main()
    1735 ; return 0; }
    1736 EOF
    1737 if { (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"
    1740 else
    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"
    1745 fi
    1746 rm -f conftest*
    1747 LIBS="$ac_save_LIBS"
    1748 
    1749 fi
    1750 if 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
    1756 EOF
    1757 
    1758   LIBS="-lgmp $LIBS"
    1759 
    1760 else
    1761   echo "$ac_t""no" 1>&6
    1762 fi
    1763 
    1764 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
    1765 echo "configure:1766: checking for mpz_init in -lsmallgmp" >&5
    1766 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
    1767 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1768   echo $ac_n "(cached) $ac_c" 1>&6
    1769 else
    1770   ac_save_LIBS="$LIBS"
    1771 LIBS="-lsmallgmp  $LIBS"
    1772 cat > conftest.$ac_ext <<EOF
    1773 #line 1774 "configure"
    1774 #include "confdefs.h"
    1775 /* Override any gcc2 internal prototype to avoid an error.  */
    1776 /* We use char because int might match the return type of a gcc2
    1777     builtin and then its argument prototype would still apply.  */
    1778 char mpz_init();
    1779 
    1780 int main() {
    1781 mpz_init()
    1782 ; return 0; }
    1783 EOF
    1784 if { (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"
    1787 else
    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"
    1792 fi
    1793 rm -f conftest*
    1794 LIBS="$ac_save_LIBS"
    1795 
    1796 fi
    1797 if 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
    1803 EOF
    1804 
    1805   LIBS="-lsmallgmp $LIBS"
    1806 
    1807 else
    1808   echo "$ac_t""no" 1>&6
    1809 fi
    1810 
    1811 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    1812 echo "configure:1813: checking for IMP_PutGmpInt in -lMP" >&5
    1813 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    1814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1815   echo $ac_n "(cached) $ac_c" 1>&6
    1816 else
    1817   ac_save_LIBS="$LIBS"
    1818 LIBS="-lMP  $LIBS"
    1819 cat > conftest.$ac_ext <<EOF
    1820 #line 1821 "configure"
    1821 #include "confdefs.h"
    1822 /* Override any gcc2 internal prototype to avoid an error.  */
    1823 /* We use char because int might match the return type of a gcc2
    1824     builtin and then its argument prototype would still apply.  */
    1825 char IMP_PutGmpInt();
    1826 
    1827 int main() {
    1828 IMP_PutGmpInt()
    1829 ; return 0; }
    1830 EOF
    1831 if { (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"
    1834 else
    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"
    1839 fi
    1840 rm -f conftest*
    1841 LIBS="$ac_save_LIBS"
    1842 
    1843 fi
    1844 if 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
    1850 EOF
    1851 
    1852   LIBS="-lMP $LIBS"
    1853 
    1854 else
    1855   echo "$ac_t""no" 1>&6
    1856 fi
    1857 
    1858 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    1859 echo "configure:1860: checking for MPT_GetTree in -lMPT" >&5
    1860 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    1861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1862   echo $ac_n "(cached) $ac_c" 1>&6
    1863 else
    1864   ac_save_LIBS="$LIBS"
    1865 LIBS="-lMPT  $LIBS"
    1866 cat > conftest.$ac_ext <<EOF
    1867 #line 1868 "configure"
    1868 #include "confdefs.h"
    1869 /* Override any gcc2 internal prototype to avoid an error.  */
    1870 /* We use char because int might match the return type of a gcc2
    1871     builtin and then its argument prototype would still apply.  */
    1872 char MPT_GetTree();
    1873 
    1874 int main() {
    1875 MPT_GetTree()
    1876 ; return 0; }
    1877 EOF
    1878 if { (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"
    1881 else
    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"
    1886 fi
    1887 rm -f conftest*
    1888 LIBS="$ac_save_LIBS"
    1889 
    1890 fi
    1891 if 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
    1897 EOF
    1898 
    1899   LIBS="-lMPT $LIBS"
    1900 
    1901 else
    1902   echo "$ac_t""no" 1>&6
    1903 fi
    1904 
    1905 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    1906 echo "configure:1907: checking for atof in -lsingcf" >&5
    1907 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    1908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1909   echo $ac_n "(cached) $ac_c" 1>&6
    1910 else
    1911   ac_save_LIBS="$LIBS"
    1912 LIBS="-lsingcf  $LIBS"
    1913 cat > conftest.$ac_ext <<EOF
    1914 #line 1915 "configure"
    1915 #include "confdefs.h"
    1916 /* Override any gcc2 internal prototype to avoid an error.  */
    1917 /* We use char because int might match the return type of a gcc2
    1918     builtin and then its argument prototype would still apply.  */
    1919 char atof();
    1920 
    1921 int main() {
    1922 atof()
    1923 ; return 0; }
    1924 EOF
    1925 if { (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"
    1928 else
    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"
    1933 fi
    1934 rm -f conftest*
    1935 LIBS="$ac_save_LIBS"
    1936 
    1937 fi
    1938 if 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
    1944 EOF
    1945 
    1946   LIBS="-lsingcf $LIBS"
    1947 
    1948 else
    1949   echo "$ac_t""no" 1>&6
    1950 fi
    1951 
    1952 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    1953 echo "configure:1954: checking for atof in -lsingfac" >&5
    1954 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    1955 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    1956   echo $ac_n "(cached) $ac_c" 1>&6
    1957 else
    1958   ac_save_LIBS="$LIBS"
    1959 LIBS="-lsingfac  $LIBS"
    1960 cat > conftest.$ac_ext <<EOF
    1961 #line 1962 "configure"
    1962 #include "confdefs.h"
    1963 /* Override any gcc2 internal prototype to avoid an error.  */
    1964 /* We use char because int might match the return type of a gcc2
    1965     builtin and then its argument prototype would still apply.  */
    1966 char atof();
    1967 
    1968 int main() {
    1969 atof()
    1970 ; return 0; }
    1971 EOF
    1972 if { (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"
    1975 else
    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"
    1980 fi
    1981 rm -f conftest*
    1982 LIBS="$ac_save_LIBS"
    1983 
    1984 fi
    1985 if 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
    1991 EOF
    1992 
    1993   LIBS="-lsingfac $LIBS"
    1994 
    1995 else
    1996   echo "$ac_t""no" 1>&6
    1997 fi
    1998 
    1999 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    2000 echo "configure:2001: checking for omTestAddr in -lomalloc" >&5
    2001 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    2002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    2003   echo $ac_n "(cached) $ac_c" 1>&6
    2004 else
    2005   ac_save_LIBS="$LIBS"
    2006 LIBS="-lomalloc  $LIBS"
    2007 cat > conftest.$ac_ext <<EOF
    2008 #line 2009 "configure"
    2009 #include "confdefs.h"
    2010 /* Override any gcc2 internal prototype to avoid an error.  */
    2011 /* We use char because int might match the return type of a gcc2
    2012     builtin and then its argument prototype would still apply.  */
    2013 char omTestAddr();
    2014 
    2015 int main() {
    2016 omTestAddr()
    2017 ; return 0; }
    2018 EOF
    2019 if { (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"
    2022 else
    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"
    2027 fi
    2028 rm -f conftest*
    2029 LIBS="$ac_save_LIBS"
    2030 
    2031 fi
    2032 if 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
    2038 EOF
    2039 
    2040   LIBS="-lomalloc $LIBS"
    2041 
    2042 else
    2043   echo "$ac_t""no" 1>&6
    2044 fi
    2045 
    2046 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    2047 echo "configure:2048: checking for main in -lomalloc_ndebug" >&5
    2048 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    2049 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    2050   echo $ac_n "(cached) $ac_c" 1>&6
    2051 else
    2052   ac_save_LIBS="$LIBS"
    2053 LIBS="-lomalloc_ndebug  $LIBS"
    2054 cat > conftest.$ac_ext <<EOF
    2055 #line 2056 "configure"
    2056 #include "confdefs.h"
    2057 
    2058 int main() {
    2059 main()
    2060 ; return 0; }
    2061 EOF
    2062 if { (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"
    2065 else
    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"
    2070 fi
    2071 rm -f conftest*
    2072 LIBS="$ac_save_LIBS"
    2073 
    2074 fi
    2075 if 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
    2081 EOF
    2082 
    2083   LIBS="-lomalloc_ndebug $LIBS"
    2084 
    2085 else
    2086   echo "$ac_t""no" 1>&6
    2087 fi
    2088 
    2089 
    2090 for ac_hdr in gmp.h smallgmp.h MP.h  MPT.h factory.h factor.h omalloc.h
     4440
     4441fi
     4442
     4443if 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  :
     4447else
     4448  cat >conftest.$ac_ext <<_ACEOF
     4449/* confdefs.h.  */
     4450_ACEOF
     4451cat confdefs.h >>conftest.$ac_ext
     4452cat >>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)))
     4467int
     4468main ()
     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
     4478rm -f conftest$ac_exeext
     4479if { (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  :
     4490else
     4491  echo "$as_me: program exited with status $ac_status" >&5
     4492echo "$as_me: failed program was:" >&5
     4493sed 's/^/| /' conftest.$ac_ext >&5
     4494
     4495( exit $ac_status )
     4496ac_cv_header_stdc=no
     4497fi
     4498rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4499fi
     4500fi
     4501fi
     4502echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4503echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4504if test $ac_cv_header_stdc = yes; then
     4505
     4506cat >>confdefs.h <<\_ACEOF
     4507#define STDC_HEADERS 1
     4508_ACEOF
     4509
     4510fi
     4511
     4512# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     4513
     4514
     4515
     4516
     4517
     4518
     4519
     4520
     4521
     4522for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     4523                  inttypes.h stdint.h unistd.h
    20914524do
    2092 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    2093 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2094 echo "configure:2095: checking for $ac_hdr" >&5
    2095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2096   echo $ac_n "(cached) $ac_c" 1>&6
    2097 else
    2098   cat > conftest.$ac_ext <<EOF
    2099 #line 2100 "configure"
    2100 #include "confdefs.h"
    2101 #include <$ac_hdr>
    2102 EOF
    2103 ac_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; }
    2105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2106 if test -z "$ac_err"; then
    2107   rm -rf conftest*
    2108   eval "ac_cv_header_$ac_safe=yes"
    2109 else
    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"
    2115 fi
    2116 rm -f conftest*
    2117 fi
    2118 if 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
    2123 EOF
    2124  
    2125 else
    2126   echo "$ac_t""no" 1>&6
    2127 fi
     4525as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4526echo "$as_me:$LINENO: checking for $ac_header" >&5
     4527echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4528if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4529  echo $ECHO_N "(cached) $ECHO_C" >&6
     4530else
     4531  cat >conftest.$ac_ext <<_ACEOF
     4532/* confdefs.h.  */
     4533_ACEOF
     4534cat confdefs.h >>conftest.$ac_ext
     4535cat >>conftest.$ac_ext <<_ACEOF
     4536/* end confdefs.h.  */
     4537$ac_includes_default
     4538
     4539#include <$ac_header>
     4540_ACEOF
     4541rm -f conftest.$ac_objext
     4542if { (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"
     4564else
     4565  echo "$as_me: failed program was:" >&5
     4566sed 's/^/| /' conftest.$ac_ext >&5
     4567
     4568eval "$as_ac_Header=no"
     4569fi
     4570rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4571fi
     4572echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4573echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4574if 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
     4579fi
     4580
     4581done
     4582
     4583
     4584
     4585
     4586
     4587
     4588
     4589
     4590
     4591for ac_header in gmp.h smallgmp.h MP.h  MPT.h factory.h factor.h omalloc.h
     4592do
     4593as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4594if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4595  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4596echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4597if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4598  echo $ECHO_N "(cached) $ECHO_C" >&6
     4599fi
     4600echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4601echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4602else
     4603  # Is the header compilable?
     4604echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4605echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4606cat >conftest.$ac_ext <<_ACEOF
     4607/* confdefs.h.  */
     4608_ACEOF
     4609cat confdefs.h >>conftest.$ac_ext
     4610cat >>conftest.$ac_ext <<_ACEOF
     4611/* end confdefs.h.  */
     4612$ac_includes_default
     4613#include <$ac_header>
     4614_ACEOF
     4615rm -f conftest.$ac_objext
     4616if { (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
     4638else
     4639  echo "$as_me: failed program was:" >&5
     4640sed 's/^/| /' conftest.$ac_ext >&5
     4641
     4642ac_header_compiler=no
     4643fi
     4644rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4645echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4646echo "${ECHO_T}$ac_header_compiler" >&6
     4647
     4648# Is the header present?
     4649echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4650echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4651cat >conftest.$ac_ext <<_ACEOF
     4652/* confdefs.h.  */
     4653_ACEOF
     4654cat confdefs.h >>conftest.$ac_ext
     4655cat >>conftest.$ac_ext <<_ACEOF
     4656/* end confdefs.h.  */
     4657#include <$ac_header>
     4658_ACEOF
     4659if { (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
     4673else
     4674  ac_cpp_err=yes
     4675fi
     4676if test -z "$ac_cpp_err"; then
     4677  ac_header_preproc=yes
     4678else
     4679  echo "$as_me: failed program was:" >&5
     4680sed 's/^/| /' conftest.$ac_ext >&5
     4681
     4682  ac_header_preproc=no
     4683fi
     4684rm -f conftest.err conftest.$ac_ext
     4685echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4686echo "${ECHO_T}$ac_header_preproc" >&6
     4687
     4688# So?  What about this header?
     4689case $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
     4692echo "$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
     4694echo "$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
     4699echo "$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
     4701echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4702    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4703echo "$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
     4705echo "$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
     4707echo "$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
     4709echo "$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    ;;
     4719esac
     4720echo "$as_me:$LINENO: checking for $ac_header" >&5
     4721echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4722if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4723  echo $ECHO_N "(cached) $ECHO_C" >&6
     4724else
     4725  eval "$as_ac_Header=\$ac_header_preproc"
     4726fi
     4727echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4728echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4729
     4730fi
     4731if 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
     4736fi
     4737
    21284738done
    21294739
     
    21634773  ac_cv_omalloc_ok=yes
    21644774fi
    2165  
     4775
     4776
    21664777# Check whether --with-tmpdir or --without-tmpdir was given.
    21674778if test "${with_tmpdir+set}" = set; then
    21684779  withval="$with_tmpdir"
    2169   :
    2170 fi
    2171 
     4780
     4781fi;
    21724782# Check whether --enable-smallgmp or --disable-smallgmp was given.
    21734783if test "${enable_smallgmp+set}" = set; then
    21744784  enableval="$enable_smallgmp"
    2175   :
    2176 fi
    2177 
     4785
     4786fi;
    21784787# Check whether --enable-omalloc or --disable-omalloc was given.
    21794788if test "${enable_omalloc+set}" = set; then
    21804789  enableval="$enable_omalloc"
    2181   :
    2182 fi
    2183 
     4790
     4791fi;
    21844792# Check whether --enable-gmp or --disable-gmp was given.
    21854793if test "${enable_gmp+set}" = set; then
    21864794  enableval="$enable_gmp"
    2187   :
    2188 fi
    2189 
     4795
     4796fi;
    21904797# Check whether --enable-MP or --disable-MP was given.
    21914798if test "${enable_MP+set}" = set; then
    21924799  enableval="$enable_MP"
    2193   :
    2194 fi
    2195 
     4800
     4801fi;
    21964802# Check whether --enable-factory or --disable-factory was given.
    21974803if test "${enable_factory+set}" = set; then
    21984804  enableval="$enable_factory"
    2199   :
    2200 fi
    2201 
     4805
     4806fi;
    22024807# Check whether --enable-libfac or --disable-libfac was given.
    22034808if test "${enable_libfac+set}" = set; then
    22044809  enableval="$enable_libfac"
    2205   :
    2206 fi
    2207 
     4810
     4811fi;
    22084812# Check whether --enable-sgroup or --disable-sgroup was given.
    22094813if test "${enable_sgroup+set}" = set; then
    22104814  enableval="$enable_sgroup"
    2211   :
    2212 fi
    2213 
     4815
     4816fi;
    22144817# Check whether --enable-Singular or --disable-Singular was given.
    22154818if test "${enable_Singular+set}" = set; then
    22164819  enableval="$enable_Singular"
    2217   :
    2218 fi
    2219 
     4820
     4821fi;
    22204822# Check whether --enable-IntegerProgramming or --disable-IntegerProgramming was given.
    22214823if test "${enable_IntegerProgramming+set}" = set; then
    22224824  enableval="$enable_IntegerProgramming"
    2223   :
    2224 fi
    2225 
     4825
     4826fi;
    22264827# Check whether --enable-Plural or --disable-Plural was given.
    22274828if test "${enable_Plural+set}" = set; then
    22284829  enableval="$enable_Plural"
    2229   :
    2230 fi
    2231 
     4830
     4831fi;
    22324832# Check whether --enable-Texinfo or --disable-Texinfo was given.
    22334833if test "${enable_Texinfo+set}" = set; then
    22344834  enableval="$enable_Texinfo"
    2235   :
    2236 fi
    2237 
     4835
     4836fi;
    22384837# Check whether --enable-Texi2html or --disable-Texi2html was given.
    22394838if test "${enable_Texi2html+set}" = set; then
    22404839  enableval="$enable_Texi2html"
    2241   :
    2242 fi
    2243 
     4840
     4841fi;
    22444842# Check whether --enable-doc or --disable-doc was given.
    22454843if test "${enable_doc+set}" = set; then
    22464844  enableval="$enable_doc"
    2247   :
    2248 fi
    2249 
     4845
     4846fi;
    22504847# Check whether --enable-emacs or --disable-emacs was given.
    22514848if test "${enable_emacs+set}" = set; then
    22524849  enableval="$enable_emacs"
    2253   :
    2254 fi
     4850
     4851fi;
    22554852
    22564853# Check whether --with-MP or --without-MP was given.
    22574854if test "${with_MP+set}" = set; then
    22584855  withval="$with_MP"
    2259   :
    2260 fi
     4856
     4857fi;
    22614858
    22624859# Check whether --with-factory or --without-factory was given.
    22634860if test "${with_factory+set}" = set; then
    22644861  withval="$with_factory"
    2265   :
    2266 fi
     4862
     4863fi;
    22674864
    22684865# Check whether --with-libfac or --without-libfac was given.
    22694866if test "${with_libfac+set}" = set; then
    22704867  withval="$with_libfac"
    2271   :
    2272 fi
     4868
     4869fi;
    22734870
    22744871# Check whether --with-gmp or --without-gmp was given.
    22754872if test "${with_gmp+set}" = set; then
    22764873  withval="$with_gmp"
    2277   :
    2278 fi
    2279 
    2280 
    2281 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6
    2282 echo "configure:2283: checking which tmp dir to use" >&5
     4874
     4875fi;
     4876
     4877echo "$as_me:$LINENO: checking which tmp dir to use" >&5
     4878echo $ECHO_N "checking which tmp dir to use... $ECHO_C" >&6
    22834879if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then
    22844880  if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1)
     
    22914887  TMP_DIR="${pwd}/tmp"
    22924888fi
    2293 echo "$ac_t""$TMP_DIR" 1>&6
    2294 
    2295 
    2296 echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6
    2297 echo "configure:2298: checking whether to configure and build omalloc" >&5
     4889echo "$as_me:$LINENO: result: $TMP_DIR" >&5
     4890echo "${ECHO_T}$TMP_DIR" >&6
     4891
     4892
     4893echo "$as_me:$LINENO: checking whether to configure and build omalloc" >&5
     4894echo $ECHO_N "checking whether to configure and build omalloc... $ECHO_C" >&6
    22984895if test "${enable_omalloc+set}" != set; then
    2299    if test "$ac_cv_omalloc_ok" = yes; then 
     4896   if test "$ac_cv_omalloc_ok" = yes; then
    23004897     enable_omalloc=no
    23014898   fi
     
    23044901if test "$enable_omalloc" = no; then
    23054902  if test "$ac_cv_omalloc_ok" != yes; then
    2306     { echo "configure: error: can not build without omalloc" 1>&2; exit 1; }
    2307   fi
    2308   echo "$ac_t""no" 1>&6
     4903    { { echo "$as_me:$LINENO: error: can not build without omalloc" >&5
     4904echo "$as_me: error: can not build without omalloc" >&2;}
     4905   { (exit 1); exit 1; }; }
     4906  fi
     4907  echo "$as_me:$LINENO: result: no" >&5
     4908echo "${ECHO_T}no" >&6
    23094909else
    23104910  if test -d omalloc; then
    2311     echo "$ac_t""yes" 1>&6
     4911    echo "$as_me:$LINENO: result: yes" >&5
     4912echo "${ECHO_T}yes" >&6
    23124913    if test "$enable_omalloc_not_set" = yes; then
    23134914      ac_configure_args="$ac_configure_args --enable-omalloc --with-external-config_h='$pwd/Singular/omSingularConfig.h' --with-track-custom"
     
    23154916    CONFIG_SUBDIRS="$CONFIG_SUBDIRS omalloc"
    23164917    if test "${with_malloc+set}" != set; then
    2317 case "$ac_cv_singuname" in 
     4918case "$ac_cv_singuname" in
    23184919# under windows, it is best to use the provided malloc
    23194920        ix86-Win*)
     
    23284929fi
    23294930  else
    2330     { echo "configure: error: need omalloc subdir" 1>&2; exit 1; }
    2331   fi
    2332 fi
    2333 
    2334 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6
    2335 echo "configure:2336: checking whether to configure and build gmp lib" >&5
     4931    { { echo "$as_me:$LINENO: error: need omalloc subdir" >&5
     4932echo "$as_me: error: need omalloc subdir" >&2;}
     4933   { (exit 1); exit 1; }; }
     4934  fi
     4935fi
     4936
     4937echo "$as_me:$LINENO: checking whether to configure and build gmp lib" >&5
     4938echo $ECHO_N "checking whether to configure and build gmp lib... $ECHO_C" >&6
    23364939if test "$enable_gmp" != yes && test "$enable_gmp" != no; then
    23374940  if test "$ac_gmp_ok" != yes && test -d gmp; then
    2338     echo "$ac_t""yes" 1>&6
     4941    echo "$as_me:$LINENO: result: yes" >&5
     4942echo "${ECHO_T}yes" >&6
    23394943    enable_gmp=yes
    23404944    CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp"
     
    23444948#    OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in"
    23454949  else
    2346     echo "$ac_t""no" 1>&6
     4950    echo "$as_me:$LINENO: result: no" >&5
     4951echo "${ECHO_T}no" >&6
    23474952    enable_gmp=no
    23484953  fi
    23494954elif test "$enable_gmp" = yes; then
    23504955  if test ! -d gmp; then
    2351     echo "$ac_t""no" 1>&6
    2352     { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; }
     4956    echo "$as_me:$LINENO: result: no" >&5
     4957echo "${ECHO_T}no" >&6
     4958    { { echo "$as_me:$LINENO: error: Can not find gmp subdir" >&5
     4959echo "$as_me: error: Can not find gmp subdir" >&2;}
     4960   { (exit 1); exit 1; }; }
    23534961  else
    2354     echo "$ac_t""yes" 1>&6
     4962    echo "$as_me:$LINENO: result: yes" >&5
     4963echo "${ECHO_T}yes" >&6
    23554964    CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp"
    23564965#    This we used to need for our patched version of gmp 2.x
     
    23584967  fi
    23594968else
    2360   echo "$ac_t""no" 1>&6
     4969  echo "$as_me:$LINENO: result: no" >&5
     4970echo "${ECHO_T}no" >&6
    23614971fi
    23624972
    23634973if test "$enable_gmp" = yes; then
    23644974# for gmp-3.0 to work for all ix86 processors, set generic target
    2365 if test "$target" = NONE; then 
    2366 case "$ac_cv_singuname" in 
    2367         ix86*) 
     4975if test "$target" = NONE; then
     4976case "$ac_cv_singuname" in
     4977        ix86*)
    23684978        gmp_target=`./config.guess | sed 's/^\w*-/i386-/'`
    2369         ac_configure_args="$ac_configure_args --target=$gmp_target" 
     4979        ac_configure_args="$ac_configure_args --target=$gmp_target"
    23704980        ;;
    23714981esac
     
    23784988fi
    23794989
    2380 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6
    2381 echo "configure:2382: checking whether to configure and build smallgmp lib" >&5
     4990echo "$as_me:$LINENO: checking whether to configure and build smallgmp lib" >&5
     4991echo $ECHO_N "checking whether to configure and build smallgmp lib... $ECHO_C" >&6
    23824992if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then
    23834993  if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
    23844994     test "$enable_gmp" != yes && test -d smallgmp; then
    2385     echo "$ac_t""yes" 1>&6
     4995    echo "$as_me:$LINENO: result: yes" >&5
     4996echo "${ECHO_T}yes" >&6
    23864997    enable_smallgmp=yes
    23874998    CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp"
     
    23895000    enable_gmp=yes
    23905001  else
    2391     echo "$ac_t""no" 1>&6
     5002    echo "$as_me:$LINENO: result: no" >&5
     5003echo "${ECHO_T}no" >&6
    23925004    enable_smallgmp=no
    23935005  fi
    23945006elif test "$enable_smallgmp" = yes; then
    23955007  if test ! -d smallgmp; then
    2396     echo "$ac_t""no" 1>&6
    2397     { echo "configure: error: Can not find smallgmp subdir" 1>&2; exit 1; }
     5008    echo "$as_me:$LINENO: result: no" >&5
     5009echo "${ECHO_T}no" >&6
     5010    { { echo "$as_me:$LINENO: error: Can not find smallgmp subdir" >&5
     5011echo "$as_me: error: Can not find smallgmp subdir" >&2;}
     5012   { (exit 1); exit 1; }; }
    23985013  else
    2399     echo "$ac_t""yes" 1>&6
     5014    echo "$as_me:$LINENO: result: yes" >&5
     5015echo "${ECHO_T}yes" >&6
    24005016    CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp"
    24015017    if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then
     
    24045020    fi
    24055021  fi
    2406 else
    2407   echo "$ac_t""${enable_smallgmp}" 1>&6
     5022else
     5023  echo "$as_me:$LINENO: result: ${enable_smallgmp}" >&5
     5024echo "${ECHO_T}${enable_smallgmp}" >&6
    24085025fi
    24095026
     
    24115028if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \
    24125029   test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then
    2413   { echo "configure: error: can neither find nor built gmp or smallgmp" 1>&2; exit 1; }
     5030  { { echo "$as_me:$LINENO: error: can neither find nor built gmp or smallgmp" >&5
     5031echo "$as_me: error: can neither find nor built gmp or smallgmp" >&2;}
     5032   { (exit 1); exit 1; }; }
    24145033fi
    24155034
     
    24195038fi
    24205039
    2421 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6
    2422 echo "configure:2423: checking whether to configure and build MP lib" >&5
     5040echo "$as_me:$LINENO: checking whether to configure and build MP lib" >&5
     5041echo $ECHO_N "checking whether to configure and build MP lib... $ECHO_C" >&6
    24235042if test "$enable_MP" != yes && test "$enable_MP" != no; then
    24245043  if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \
    24255044     (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then
    2426     echo "$ac_t""yes" 1>&6
     5045    echo "$as_me:$LINENO: result: yes" >&5
     5046echo "${ECHO_T}yes" >&6
    24275047    enable_MP=yes
    24285048    CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP"
    24295049    ac_configure_args="$ac_configure_args --enable-MP"
    24305050  else
    2431     echo "$ac_t""no" 1>&6
     5051    echo "$as_me:$LINENO: result: no" >&5
     5052echo "${ECHO_T}no" >&6
    24325053    enable_MP=no
    24335054  fi
    24345055elif test "$enable_MP" = yes; then
    24355056  if test ! -d MP; then
    2436     echo "$ac_t""no" 1>&6
    2437     { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; }
     5057    echo "$as_me:$LINENO: result: no" >&5
     5058echo "${ECHO_T}no" >&6
     5059    { { echo "$as_me:$LINENO: error: can not build MP without MP directory" >&5
     5060echo "$as_me: error: can not build MP without MP directory" >&2;}
     5061   { (exit 1); exit 1; }; }
    24385062  fi
    24395063  if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then
    2440     echo "$ac_t""yes" 1>&6
     5064    echo "$as_me:$LINENO: result: yes" >&5
     5065echo "${ECHO_T}yes" >&6
    24415066    CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP"
    24425067  else
    2443     echo "$ac_t""no" 1>&6
    2444     { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; }
    2445   fi
    2446 else
    2447   echo "$ac_t""no" 1>&6
     5068    echo "$as_me:$LINENO: result: no" >&5
     5069echo "${ECHO_T}no" >&6
     5070    { { echo "$as_me:$LINENO: error: can not build MP without gmp" >&5
     5071echo "$as_me: error: can not build MP without gmp" >&2;}
     5072   { (exit 1); exit 1; }; }
     5073  fi
     5074else
     5075  echo "$as_me:$LINENO: result: no" >&5
     5076echo "${ECHO_T}no" >&6
    24485077fi
    24495078
     
    24535082fi
    24545083
    2455 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6
    2456 echo "configure:2457: checking whether to configure and build NTL lib" >&5
     5084echo "$as_me:$LINENO: checking whether to configure and build NTL lib" >&5
     5085echo $ECHO_N "checking whether to configure and build NTL lib... $ECHO_C" >&6
    24575086if test "$enable_NTL" != yes && test "$enable_NTL" != no; then
    24585087  if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \
    24595088     test -d ntl; then
    24605089    enable_NTL=yes
    2461     echo "$ac_t""yes" 1>&6
     5090    echo "$as_me:$LINENO: result: yes" >&5
     5091echo "${ECHO_T}yes" >&6
    24625092    CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl"
    24635093    ac_configure_args="$ac_configure_args --enable-NTL"
    24645094  else
    24655095    enable_NTL=no
    2466     echo "$ac_t""no" 1>&6
     5096    echo "$as_me:$LINENO: result: no" >&5
     5097echo "${ECHO_T}no" >&6
    24675098  fi
    24685099elif test "$enable_NTL" = yes; then
    24695100  if test -d ntl; then
    2470     echo "$ac_t""yes" 1>&6
     5101    echo "$as_me:$LINENO: result: yes" >&5
     5102echo "${ECHO_T}yes" >&6
    24715103    CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl"
    24725104  else
    2473     echo "$ac_t""no" 1>&6
    2474     { echo "configure: error: can not build NTL without ntl directory" 1>&2; exit 1; }
    2475   fi
    2476 else
    2477   echo "$ac_t""no" 1>&6
    2478 fi
    2479 
    2480 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6
    2481 echo "configure:2482: checking whether to configure and build factory lib" >&5
     5105    echo "$as_me:$LINENO: result: no" >&5
     5106echo "${ECHO_T}no" >&6
     5107    { { echo "$as_me:$LINENO: error: can not build NTL without ntl directory" >&5
     5108echo "$as_me: error: can not build NTL without ntl directory" >&2;}
     5109   { (exit 1); exit 1; }; }
     5110  fi
     5111else
     5112  echo "$as_me:$LINENO: result: no" >&5
     5113echo "${ECHO_T}no" >&6
     5114fi
     5115
     5116echo "$as_me:$LINENO: checking whether to configure and build factory lib" >&5
     5117echo $ECHO_N "checking whether to configure and build factory lib... $ECHO_C" >&6
    24825118if test "$enable_factory" != yes && test "$enable_factory" != no; then
    24835119  if test "$with_factory" != no && test "$ac_factory_ok" != yes && \
    24845120     test -d factory; then
    24855121    enable_factory=yes
    2486     echo "$ac_t""yes" 1>&6
     5122    echo "$as_me:$LINENO: result: yes" >&5
     5123echo "${ECHO_T}yes" >&6
    24875124    CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory"
    24885125    ac_configure_args="$ac_configure_args --enable-factory"
    24895126  else
    24905127    enable_factory=no
    2491     echo "$ac_t""no" 1>&6
     5128    echo "$as_me:$LINENO: result: no" >&5
     5129echo "${ECHO_T}no" >&6
    24925130  fi
    24935131elif test "$enable_factory" = yes; then
    24945132  if test -d factory; then
    2495     echo "$ac_t""yes" 1>&6
     5133    echo "$as_me:$LINENO: result: yes" >&5
     5134echo "${ECHO_T}yes" >&6
    24965135    CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory"
    24975136  else
    2498     echo "$ac_t""no" 1>&6
    2499     { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; }
    2500   fi
    2501 else
    2502   echo "$ac_t""no" 1>&6
    2503 fi
    2504 
    2505 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6
    2506 echo "configure:2507: checking whether to configure and build libfac lib" >&5
     5137    echo "$as_me:$LINENO: result: no" >&5
     5138echo "${ECHO_T}no" >&6
     5139    { { echo "$as_me:$LINENO: error: can not build factory without factory directory" >&5
     5140echo "$as_me: error: can not build factory without factory directory" >&2;}
     5141   { (exit 1); exit 1; }; }
     5142  fi
     5143else
     5144  echo "$as_me:$LINENO: result: no" >&5
     5145echo "${ECHO_T}no" >&6
     5146fi
     5147
     5148echo "$as_me:$LINENO: checking whether to configure and build libfac lib" >&5
     5149echo $ECHO_N "checking whether to configure and build libfac lib... $ECHO_C" >&6
    25075150if test "$enable_libfac" != yes && test "$enable_libfac" != no; then
    25085151  if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \
     
    25105153     (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then
    25115154    enable_libfac=yes
    2512     echo "$ac_t""yes" 1>&6
     5155    echo "$as_me:$LINENO: result: yes" >&5
     5156echo "${ECHO_T}yes" >&6
    25135157    CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac"
    25145158    ac_configure_args="$ac_configure_args --enable-libfac"
    25155159  else
    25165160    enable_libfac=no
    2517     echo "$ac_t""no" 1>&6
     5161    echo "$as_me:$LINENO: result: no" >&5
     5162echo "${ECHO_T}no" >&6
    25185163  fi
    25195164elif  test "$enable_libfac" = yes; then
    25205165  if test ! -d libfac; then
    2521     echo "$ac_t""no" 1>&6
    2522     { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; }
     5166    echo "$as_me:$LINENO: result: no" >&5
     5167echo "${ECHO_T}no" >&6
     5168    { { echo "$as_me:$LINENO: error: can not build libfac without libfac directory" >&5
     5169echo "$as_me: error: can not build libfac without libfac directory" >&2;}
     5170   { (exit 1); exit 1; }; }
    25235171  fi
    25245172  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
    2525     echo "$ac_t""yes" 1>&6
     5173    echo "$as_me:$LINENO: result: yes" >&5
     5174echo "${ECHO_T}yes" >&6
    25265175    CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac"
    25275176  else
    2528     echo "$ac_t""no" 1>&6
    2529     { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; }
    2530   fi
    2531 else
    2532   echo "$ac_t""no" 1>&6
    2533 fi
    2534 
    2535 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6
    2536 echo "configure:2537: checking whether to configure and build sgroup lib" >&5
     5177    echo "$as_me:$LINENO: result: no" >&5
     5178echo "${ECHO_T}no" >&6
     5179    { { echo "$as_me:$LINENO: error: Can not build libfac without factory" >&5
     5180echo "$as_me: error: Can not build libfac without factory" >&2;}
     5181   { (exit 1); exit 1; }; }
     5182  fi
     5183else
     5184  echo "$as_me:$LINENO: result: no" >&5
     5185echo "${ECHO_T}no" >&6
     5186fi
     5187
     5188echo "$as_me:$LINENO: checking whether to configure and build sgroup lib" >&5
     5189echo $ECHO_N "checking whether to configure and build sgroup lib... $ECHO_C" >&6
    25375190if test "$enable_sgroup" = yes; then
    25385191  if test ! -d sgroup; then
    2539     echo "$ac_t""no" 1>&6
    2540     { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; }
     5192    echo "$as_me:$LINENO: result: no" >&5
     5193echo "${ECHO_T}no" >&6
     5194    { { echo "$as_me:$LINENO: error: can not build sgroup without sgroup directory" >&5
     5195echo "$as_me: error: can not build sgroup without sgroup directory" >&2;}
     5196   { (exit 1); exit 1; }; }
    25415197  fi
    25425198  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
    2543     echo "$ac_t""yes" 1>&6
     5199    echo "$as_me:$LINENO: result: yes" >&5
     5200echo "${ECHO_T}yes" >&6
    25445201    CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup"
    25455202  else
    2546     echo "$ac_t""no" 1>&6
    2547     { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; }
    2548   fi
    2549 else
    2550   echo "$ac_t""no" 1>&6
     5203    echo "$as_me:$LINENO: result: no" >&5
     5204echo "${ECHO_T}no" >&6
     5205    { { echo "$as_me:$LINENO: error: Can not build sgroup without MP" >&5
     5206echo "$as_me: error: Can not build sgroup without MP" >&2;}
     5207   { (exit 1); exit 1; }; }
     5208  fi
     5209else
     5210  echo "$as_me:$LINENO: result: no" >&5
     5211echo "${ECHO_T}no" >&6
    25515212fi
    25525213
    25535214BUILD_SUBDIRS="$CONFIG_SUBDIRS"
    25545215
    2555 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6
    2556 echo "configure:2557: checking whether to configure and build Singular" >&5
     5216echo "$as_me:$LINENO: checking whether to configure and build Singular" >&5
     5217echo $ECHO_N "checking whether to configure and build Singular... $ECHO_C" >&6
    25575218if test "$enable_Singular" != yes && test "$enable_Singular" != no; then
    25585219  if test "$with_Singular" != no && test -d Singular; then
    25595220    enable_Singular=yes
    2560     echo "$ac_t""yes" 1>&6
     5221    echo "$as_me:$LINENO: result: yes" >&5
     5222echo "${ECHO_T}yes" >&6
    25615223    CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular"
    2562     BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"     
     5224    BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"
    25635225    ac_configure_args="$ac_configure_args --enable-Singular"
    25645226  else
    25655227    enable_Singular=no
    2566     echo "$ac_t""no" 1>&6
     5228    echo "$as_me:$LINENO: result: no" >&5
     5229echo "${ECHO_T}no" >&6
    25675230  fi
    25685231elif test "$enable_Singular" = yes; then
    25695232  if test -d Singular; then
    2570     echo "$ac_t""yes" 1>&6
     5233    echo "$as_me:$LINENO: result: yes" >&5
     5234echo "${ECHO_T}yes" >&6
    25715235    CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular"
    2572     BUILD_SUBDIRS="$BUILD_SUBDIRS Singular"     
     5236    BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"
    25735237  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
    2577 else
    2578   echo "$ac_t""no" 1>&6
     5238    echo "$as_me:$LINENO: result: no" >&5
     5239echo "${ECHO_T}no" >&6
     5240    { { echo "$as_me:$LINENO: error: can not build Singular without Singular directory" >&5
     5241echo "$as_me: error: can not build Singular without Singular directory" >&2;}
     5242   { (exit 1); exit 1; }; }
     5243  fi
     5244else
     5245  echo "$as_me:$LINENO: result: no" >&5
     5246echo "${ECHO_T}no" >&6
    25795247fi
    25805248
     
    25825250# test if IntegerProgramming should be built:
    25835251
    2584 echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6
    2585 echo "configure:2586: checking whether to build IntegerProgramming" >&5
     5252echo "$as_me:$LINENO: checking whether to build IntegerProgramming" >&5
     5253echo $ECHO_N "checking whether to build IntegerProgramming... $ECHO_C" >&6
    25865254if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then
    25875255   BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming"
    2588    echo "$ac_t""yes" 1>&6
     5256   echo "$as_me:$LINENO: result: yes" >&5
     5257echo "${ECHO_T}yes" >&6
    25895258   if test "$enable_IntegerProgramming" != yes; then
    25905259     ac_configure_args="$ac_configure_args --enable-IntegerProgramming"
    25915260   fi
    25925261else
    2593    echo "$ac_t""no" 1>&6
    2594 fi
    2595 
    2596 echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6
    2597 echo "configure:2598: checking whether to build Plural" >&5
     5262   echo "$as_me:$LINENO: result: no" >&5
     5263echo "${ECHO_T}no" >&6
     5264fi
     5265
     5266echo "$as_me:$LINENO: checking whether to build Plural" >&5
     5267echo $ECHO_N "checking whether to build Plural... $ECHO_C" >&6
    25985268if test "$enable_Plural" != no || test "$with_Plural" != no; then
    2599    echo "$ac_t""yes" 1>&6
     5269   echo "$as_me:$LINENO: result: yes" >&5
     5270echo "${ECHO_T}yes" >&6
    26005271   if test "$enable_Plural" != yes; then
    26015272     ac_configure_args="$ac_configure_args --enable-Plural"
    26025273   fi
    26035274else
    2604    echo "$ac_t""no" 1>&6
    2605 fi
    2606 
    2607 
    2608 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6
    2609 echo "configure:2610: checking whether to configure and build Texinfo" >&5
     5275   echo "$as_me:$LINENO: result: no" >&5
     5276echo "${ECHO_T}no" >&6
     5277fi
     5278
     5279
     5280echo "$as_me:$LINENO: checking whether to configure and build Texinfo" >&5
     5281echo $ECHO_N "checking whether to configure and build Texinfo... $ECHO_C" >&6
    26105282if test "$enable_Texinfo" != no && test -d Texinfo; then
    2611   echo "$ac_t""yes" 1>&6
     5283  echo "$as_me:$LINENO: result: yes" >&5
     5284echo "${ECHO_T}yes" >&6
    26125285  enable_texinfo=yes
    26135286  CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texinfo"
    2614   BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo"       
     5287  BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo"
    26155288  TEXI2DVI=${bindir}/texi2dvi
    26165289  TEXI2PDF=${bindir}/texi2pdf
    26175290  MAKEINFO="${bindir}/makeinfo"
    26185291  TEXINDEX=${bindir}/texindex
    2619  
    2620  
    2621  
    2622  
     5292
     5293
     5294
     5295
    26235296  if test "$enable_Texinfo" != yes; then
    26245297    ac_configure_args="$ac_configure_args --enable-Texinfo"
    26255298  fi
    26265299else
    2627   echo "$ac_t""no" 1>&6
    2628   echo "configure: warning: Building of doc might fail. Need Texinfo" 1>&2
     5300  echo "$as_me:$LINENO: result: no" >&5
     5301echo "${ECHO_T}no" >&6
     5302  { echo "$as_me:$LINENO: WARNING: Building of doc might fail. Need Texinfo" >&5
     5303echo "$as_me: WARNING: Building of doc might fail. Need Texinfo" >&2;}
    26295304  enable_texinfo=no
    26305305  # Extract the first word of "makeinfo", so it can be a program name with args.
    26315306set dummy makeinfo; ac_word=$2
    2632 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2633 echo "configure:2634: checking for $ac_word" >&5
    2634 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
    2635   echo $ac_n "(cached) $ac_c" 1>&6
     5307echo "$as_me:$LINENO: checking for $ac_word" >&5
     5308echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5309if test "${ac_cv_prog_MAKEINFO+set}" = set; then
     5310  echo $ECHO_N "(cached) $ECHO_C" >&6
    26365311else
    26375312  if test -n "$MAKEINFO"; then
    26385313  ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
    26395314else
    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"
     5315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5316for as_dir in $PATH
     5317do
     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
     5326done
     5327done
     5328
    26505329  test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="${pwd}/warn_not_found.sh makeinfo"
    26515330fi
    26525331fi
    2653 MAKEINFO="$ac_cv_prog_MAKEINFO"
     5332MAKEINFO=$ac_cv_prog_MAKEINFO
    26545333if test -n "$MAKEINFO"; then
    2655   echo "$ac_t""$MAKEINFO" 1>&6
    2656 else
    2657   echo "$ac_t""no" 1>&6
     5334  echo "$as_me:$LINENO: result: $MAKEINFO" >&5
     5335echo "${ECHO_T}$MAKEINFO" >&6
     5336else
     5337  echo "$as_me:$LINENO: result: no" >&5
     5338echo "${ECHO_T}no" >&6
    26585339fi
    26595340
    26605341  # Extract the first word of "texi2dvi", so it can be a program name with args.
    26615342set dummy texi2dvi; ac_word=$2
    2662 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2663 echo "configure:2664: checking for $ac_word" >&5
    2664 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then
    2665   echo $ac_n "(cached) $ac_c" 1>&6
     5343echo "$as_me:$LINENO: checking for $ac_word" >&5
     5344echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5345if test "${ac_cv_prog_TEXI2DVI+set}" = set; then
     5346  echo $ECHO_N "(cached) $ECHO_C" >&6
    26665347else
    26675348  if test -n "$TEXI2DVI"; then
    26685349  ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test.
    26695350else
    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"
     5351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5352for as_dir in $PATH
     5353do
     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
     5362done
     5363done
     5364
    26805365  test -z "$ac_cv_prog_TEXI2DVI" && ac_cv_prog_TEXI2DVI="${pwd}/warn_not_found.sh texi2dvi"
    26815366fi
    26825367fi
    2683 TEXI2DVI="$ac_cv_prog_TEXI2DVI"
     5368TEXI2DVI=$ac_cv_prog_TEXI2DVI
    26845369if test -n "$TEXI2DVI"; then
    2685   echo "$ac_t""$TEXI2DVI" 1>&6
    2686 else
    2687   echo "$ac_t""no" 1>&6
     5370  echo "$as_me:$LINENO: result: $TEXI2DVI" >&5
     5371echo "${ECHO_T}$TEXI2DVI" >&6
     5372else
     5373  echo "$as_me:$LINENO: result: no" >&5
     5374echo "${ECHO_T}no" >&6
    26885375fi
    26895376
    26905377  # Extract the first word of "texindex", so it can be a program name with args.
    26915378set dummy texindex; ac_word=$2
    2692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2693 echo "configure:2694: checking for $ac_word" >&5
    2694 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then
    2695   echo $ac_n "(cached) $ac_c" 1>&6
     5379echo "$as_me:$LINENO: checking for $ac_word" >&5
     5380echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5381if test "${ac_cv_prog_TEXINDEX+set}" = set; then
     5382  echo $ECHO_N "(cached) $ECHO_C" >&6
    26965383else
    26975384  if test -n "$TEXINDEX"; then
    26985385  ac_cv_prog_TEXINDEX="$TEXINDEX" # Let the user override the test.
    26995386else
    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"
     5387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5388for as_dir in $PATH
     5389do
     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
     5398done
     5399done
     5400
    27105401  test -z "$ac_cv_prog_TEXINDEX" && ac_cv_prog_TEXINDEX="${pwd}/warn_not_found.sh texindex"
    27115402fi
    27125403fi
    2713 TEXINDEX="$ac_cv_prog_TEXINDEX"
     5404TEXINDEX=$ac_cv_prog_TEXINDEX
    27145405if test -n "$TEXINDEX"; then
    2715   echo "$ac_t""$TEXINDEX" 1>&6
    2716 else
    2717   echo "$ac_t""no" 1>&6
     5406  echo "$as_me:$LINENO: result: $TEXINDEX" >&5
     5407echo "${ECHO_T}$TEXINDEX" >&6
     5408else
     5409  echo "$as_me:$LINENO: result: no" >&5
     5410echo "${ECHO_T}no" >&6
    27185411fi
    27195412
    27205413  # Extract the first word of "texi2pdf", so it can be a program name with args.
    27215414set dummy texi2pdf; ac_word=$2
    2722 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2723 echo "configure:2724: checking for $ac_word" >&5
    2724 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2PDF'+set}'`\" = set"; then
    2725   echo $ac_n "(cached) $ac_c" 1>&6
     5415echo "$as_me:$LINENO: checking for $ac_word" >&5
     5416echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5417if test "${ac_cv_prog_TEXI2PDF+set}" = set; then
     5418  echo $ECHO_N "(cached) $ECHO_C" >&6
    27265419else
    27275420  if test -n "$TEXI2PDF"; then
    27285421  ac_cv_prog_TEXI2PDF="$TEXI2PDF" # Let the user override the test.
    27295422else
    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"
     5423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5424for as_dir in $PATH
     5425do
     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
     5434done
     5435done
     5436
    27405437  test -z "$ac_cv_prog_TEXI2PDF" && ac_cv_prog_TEXI2PDF="${pwd}/warn_not_found.sh texi2pdf"
    27415438fi
    27425439fi
    2743 TEXI2PDF="$ac_cv_prog_TEXI2PDF"
     5440TEXI2PDF=$ac_cv_prog_TEXI2PDF
    27445441if test -n "$TEXI2PDF"; then
    2745   echo "$ac_t""$TEXI2PDF" 1>&6
    2746 else
    2747   echo "$ac_t""no" 1>&6
    2748 fi
    2749 
    2750 fi 
    2751 
    2752 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6
    2753 echo "configure:2754: checking whether to configure and build Texi2html" >&5
     5442  echo "$as_me:$LINENO: result: $TEXI2PDF" >&5
     5443echo "${ECHO_T}$TEXI2PDF" >&6
     5444else
     5445  echo "$as_me:$LINENO: result: no" >&5
     5446echo "${ECHO_T}no" >&6
     5447fi
     5448
     5449fi
     5450
     5451echo "$as_me:$LINENO: checking whether to configure and build Texi2html" >&5
     5452echo $ECHO_N "checking whether to configure and build Texi2html... $ECHO_C" >&6
    27545453if test "$enable_Texi2html" != no && test -d Texi2html; then
    2755  echo "$ac_t""yes" 1>&6
     5454 echo "$as_me:$LINENO: result: yes" >&5
     5455echo "${ECHO_T}yes" >&6
    27565456 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texi2html"
    27575457 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html"
     
    27605460 fi
    27615461 TEXI2HTML=${bindir}/texi2html
    2762  
    2763 else
    2764  echo "$ac_t""no" 1>&6
     5462
     5463else
     5464 echo "$as_me:$LINENO: result: no" >&5
     5465echo "${ECHO_T}no" >&6
    27655466 # Extract the first word of "texi2html", so it can be a program name with args.
    27665467set dummy texi2html; ac_word=$2
    2767 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2768 echo "configure:2769: checking for $ac_word" >&5
    2769 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then
    2770   echo $ac_n "(cached) $ac_c" 1>&6
     5468echo "$as_me:$LINENO: checking for $ac_word" >&5
     5469echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     5470if test "${ac_cv_prog_TEXI2HTML+set}" = set; then
     5471  echo $ECHO_N "(cached) $ECHO_C" >&6
    27715472else
    27725473  if test -n "$TEXI2HTML"; then
    27735474  ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test.
    27745475else
    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"
    2785 fi
    2786 fi
    2787 TEXI2HTML="$ac_cv_prog_TEXI2HTML"
     5476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5477for as_dir in $PATH
     5478do
     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
     5487done
     5488done
     5489
     5490fi
     5491fi
     5492TEXI2HTML=$ac_cv_prog_TEXI2HTML
    27885493if test -n "$TEXI2HTML"; then
    2789   echo "$ac_t""$TEXI2HTML" 1>&6
    2790 else
    2791   echo "$ac_t""no" 1>&6
     5494  echo "$as_me:$LINENO: result: $TEXI2HTML" >&5
     5495echo "${ECHO_T}$TEXI2HTML" >&6
     5496else
     5497  echo "$as_me:$LINENO: result: no" >&5
     5498echo "${ECHO_T}no" >&6
    27925499fi
    27935500
     
    27955502
    27965503if test "${TEXI2HTML+set}" != set; then
    2797 echo "configure: warning: texi2html not found. HTML doc generation will fail" 1>&2
     5504{ echo "$as_me:$LINENO: WARNING: texi2html not found. HTML doc generation will fail" >&5
     5505echo "$as_me: WARNING: texi2html not found. HTML doc generation will fail" >&2;}
    27985506fi
    27995507if test "$ac_cv_prog_LATEX2HTML" = latex2html; then
     
    28035511
    28045512
    2805 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6
    2806 echo "configure:2807: checking whether to build doc" >&5
     5513echo "$as_me:$LINENO: checking whether to build doc" >&5
     5514echo $ECHO_N "checking whether to build doc... $ECHO_C" >&6
    28075515if test "$enable_doc" != no && test -d doc; then
    2808  echo "$ac_t""yes" 1>&6
     5516 echo "$as_me:$LINENO: result: yes" >&5
     5517echo "${ECHO_T}yes" >&6
    28095518 BUILD_SUBDIRS="$BUILD_SUBDIRS doc"
    28105519 if test "$enable_doc" != yes; then
     
    28145523else
    28155524 enable_doc=no
    2816  echo "$ac_t""no" 1>&6
    2817 fi
    2818 
    2819 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6
    2820 echo "configure:2821: checking whether to build emacs" >&5
     5525 echo "$as_me:$LINENO: result: no" >&5
     5526echo "${ECHO_T}no" >&6
     5527fi
     5528
     5529echo "$as_me:$LINENO: checking whether to build emacs" >&5
     5530echo $ECHO_N "checking whether to build emacs... $ECHO_C" >&6
    28215531if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then
    2822  echo "$ac_t""yes" 1>&6
     5532 echo "$as_me:$LINENO: result: yes" >&5
     5533echo "${ECHO_T}yes" >&6
    28235534 BUILD_SUBDIRS="$BUILD_SUBDIRS emacs"
    28245535 if test "$enable_emacs" != yes; then
     
    28265537 fi
    28275538else
    2828  echo "$ac_t""no" 1>&6
    2829 fi
    2830 
    2831 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    2832 echo "configure:2833: checking which apint package to use" >&5
     5539 echo "$as_me:$LINENO: result: no" >&5
     5540echo "${ECHO_T}no" >&6
     5541fi
     5542
     5543echo "$as_me:$LINENO: checking which apint package to use" >&5
     5544echo $ECHO_N "checking which apint package to use... $ECHO_C" >&6
    28335545if test "$with_apint" = gmp; then
    28345546  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
    2835     echo "$ac_t""gmp" 1>&6
     5547    echo "$as_me:$LINENO: result: gmp" >&5
     5548echo "${ECHO_T}gmp" >&6
    28365549  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; }
     5550    echo "$as_me:$LINENO: result: none" >&5
     5551echo "${ECHO_T}none" >&6
     5552    { { echo "$as_me:$LINENO: error: can not use with gmp without finding or building it" >&5
     5553echo "$as_me: error: can not use with gmp without finding or building it" >&2;}
     5554   { (exit 1); exit 1; }; }
    28395555  fi
    28405556elif test "$with_apint" = smallgmp; then
    28415557  if test "$ac_smallgmp_ok" = yes || test "$enable_smallgmp" = yes; then
    2842     echo "$ac_t""smallgmp" 1>&6
     5558    echo "$as_me:$LINENO: result: smallgmp" >&5
     5559echo "${ECHO_T}smallgmp" >&6
    28435560  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; }
     5561    echo "$as_me:$LINENO: result: none" >&5
     5562echo "${ECHO_T}none" >&6
     5563    { { echo "$as_me:$LINENO: error: can not use with smallgmp without finding or building it" >&5
     5564echo "$as_me: error: can not use with smallgmp without finding or building it" >&2;}
     5565   { (exit 1); exit 1; }; }
    28465566  fi
    28475567elif test "$ac_gmp_ok" = yes || test "$enable_gmp"; then
    2848     echo "$ac_t""gmp" 1>&6
     5568    echo "$as_me:$LINENO: result: gmp" >&5
     5569echo "${ECHO_T}gmp" >&6
    28495570    ac_configure_args="$ac_configure_args --with-apint=gmp"
    2850 else
    2851    echo "$ac_t""smallgmp" 1>&6
     5571else
     5572   echo "$as_me:$LINENO: result: smallgmp" >&5
     5573echo "${ECHO_T}smallgmp" >&6
    28525574   ac_configure_args="$ac_configure_args --with-apint=smallgmp"
    28535575fi
    28545576
    2855 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6
    2856 echo "configure:2857: checking whether to use with MP" >&5
     5577echo "$as_me:$LINENO: checking whether to use with MP" >&5
     5578echo $ECHO_N "checking whether to use with MP... $ECHO_C" >&6
    28575579if test "$with_MP" = yes; then
    28585580  if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
    2859     echo "$ac_t""yes" 1>&6
     5581    echo "$as_me:$LINENO: result: yes" >&5
     5582echo "${ECHO_T}yes" >&6
    28605583  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; }
     5584    echo "$as_me:$LINENO: result: none" >&5
     5585echo "${ECHO_T}none" >&6
     5586    { { echo "$as_me:$LINENO: error: can not use with MP without finding or building it" >&5
     5587echo "$as_me: error: can not use with MP without finding or building it" >&2;}
     5588   { (exit 1); exit 1; }; }
    28635589  fi
    28645590elif test "$with_MP" = no; then
    2865   echo "$ac_t""no" 1>&6
     5591  echo "$as_me:$LINENO: result: no" >&5
     5592echo "${ECHO_T}no" >&6
    28665593elif test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then
    2867   echo "$ac_t""yes" 1>&6
     5594  echo "$as_me:$LINENO: result: yes" >&5
     5595echo "${ECHO_T}yes" >&6
    28685596  ac_configure_args="$ac_configure_args --with-MP"
    28695597else
    2870   echo "$ac_t""no" 1>&6
     5598  echo "$as_me:$LINENO: result: no" >&5
     5599echo "${ECHO_T}no" >&6
    28715600  ac_configure_args="$ac_configure_args --without-MP"
    28725601fi
    28735602
    2874 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6
    2875 echo "configure:2876: checking whether to use with factory" >&5
     5603echo "$as_me:$LINENO: checking whether to use with factory" >&5
     5604echo $ECHO_N "checking whether to use with factory... $ECHO_C" >&6
    28765605if test "$with_factory" = yes; then
    28775606  if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
    2878     echo "$ac_t""yes" 1>&6
     5607    echo "$as_me:$LINENO: result: yes" >&5
     5608echo "${ECHO_T}yes" >&6
    28795609  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; }
     5610    echo "$as_me:$LINENO: result: none" >&5
     5611echo "${ECHO_T}none" >&6
     5612    { { echo "$as_me:$LINENO: error: can not use with factory without finding or building it" >&5
     5613echo "$as_me: error: can not use with factory without finding or building it" >&2;}
     5614   { (exit 1); exit 1; }; }
    28825615  fi
    28835616elif test "$with_factory" = no; then
    2884   echo "$ac_t""no" 1>&6
     5617  echo "$as_me:$LINENO: result: no" >&5
     5618echo "${ECHO_T}no" >&6
    28855619elif test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then
    2886   echo "$ac_t""yes" 1>&6
     5620  echo "$as_me:$LINENO: result: yes" >&5
     5621echo "${ECHO_T}yes" >&6
    28875622  ac_configure_args="$ac_configure_args --with-factory"
    28885623else
    2889   echo "$ac_t""no" 1>&6
     5624  echo "$as_me:$LINENO: result: no" >&5
     5625echo "${ECHO_T}no" >&6
    28905626  ac_configure_args="$ac_configure_args --without-factory"
    28915627fi
    2892  
    2893 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6
    2894 echo "configure:2895: checking whether to use with libfac" >&5
     5628
     5629echo "$as_me:$LINENO: checking whether to use with libfac" >&5
     5630echo $ECHO_N "checking whether to use with libfac... $ECHO_C" >&6
    28955631if test "$with_libfac" = yes; then
    28965632  if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
    2897     echo "$ac_t""yes" 1>&6
     5633    echo "$as_me:$LINENO: result: yes" >&5
     5634echo "${ECHO_T}yes" >&6
    28985635  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; }
     5636    echo "$as_me:$LINENO: result: none" >&5
     5637echo "${ECHO_T}none" >&6
     5638    { { echo "$as_me:$LINENO: error: can not use with libfac without finding or building it" >&5
     5639echo "$as_me: error: can not use with libfac without finding or building it" >&2;}
     5640   { (exit 1); exit 1; }; }
    29015641  fi
    29025642elif test "$with_libfac" = no; then
    2903   echo "$ac_t""no" 1>&6
     5643  echo "$as_me:$LINENO: result: no" >&5
     5644echo "${ECHO_T}no" >&6
    29045645elif test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then
    2905   echo "$ac_t""yes" 1>&6
     5646  echo "$as_me:$LINENO: result: yes" >&5
     5647echo "${ECHO_T}yes" >&6
    29065648  ac_configure_args="$ac_configure_args --with-libfac"
    29075649else
    2908   echo "$ac_t""no" 1>&6
     5650  echo "$as_me:$LINENO: result: no" >&5
     5651echo "${ECHO_T}no" >&6
    29095652  ac_configure_args="$ac_configure_args --without-libfac"
    29105653fi
     
    29125655
    29135656
    2914 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6
    2915 echo "configure:2916: checking whether to use with Singular" >&5
     5657echo "$as_me:$LINENO: checking whether to use with Singular" >&5
     5658echo $ECHO_N "checking whether to use with Singular... $ECHO_C" >&6
    29165659if test "$with_Singular" != no && test "$with_Singular" != yes; then
    29175660  if test "$enable_Singular" = yes; then
     
    29245667
    29255668if test "$with_Singular" != no; then
    2926   echo "$ac_t""yes" 1>&6
    2927 else
    2928   echo "$ac_t""no" 1>&6
     5669  echo "$as_me:$LINENO: result: yes" >&5
     5670echo "${ECHO_T}yes" >&6
     5671else
     5672  echo "$as_me:$LINENO: result: no" >&5
     5673echo "${ECHO_T}no" >&6
    29295674fi
    29305675
     
    29735718  SUBDIRS="$SUBDIRS modules"
    29745719fi
    2975  
    2976 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    2977 echo "configure:2978: checking whether ${MAKE-make} sets \${MAKE}" >&5
    2978 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    2979 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    2980   echo $ac_n "(cached) $ac_c" 1>&6
    2981 else
    2982   cat > conftestmake <<\EOF
     5720
     5721echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     5722echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     5723set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     5724if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     5725  echo $ECHO_N "(cached) $ECHO_C" >&6
     5726else
     5727  cat >conftest.make <<\_ACEOF
    29835728all:
    2984         @echo 'ac_maketemp="${MAKE}"'
    2985 EOF
     5729        @echo 'ac_maketemp="$(MAKE)"'
     5730_ACEOF
    29865731# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    2987 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
     5732eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    29885733if test -n "$ac_maketemp"; then
    29895734  eval ac_cv_prog_make_${ac_make}_set=yes
     
    29915736  eval ac_cv_prog_make_${ac_make}_set=no
    29925737fi
    2993 rm -f conftestmake
     5738rm -f conftest.make
    29945739fi
    29955740if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    2996   echo "$ac_t""yes" 1>&6
     5741  echo "$as_me:$LINENO: result: yes" >&5
     5742echo "${ECHO_T}yes" >&6
    29975743  SET_MAKE=
    29985744else
    2999   echo "$ac_t""no" 1>&6
     5745  echo "$as_me:$LINENO: result: no" >&5
     5746echo "${ECHO_T}no" >&6
    30005747  SET_MAKE="MAKE=${MAKE-make}"
    30015748fi
     
    30045751
    30055752
    3006 subdirs="$CONFIG_SUBDIRS"
    3007  
    3008 
    3009 trap '' 1 2 15
    3010 cat > confcache <<\EOF
     5753
     5754
     5755subdirs="$subdirs $CONFIG_SUBDIRS"
     5756
     5757
     5758          ac_config_files="$ac_config_files ${OUTPUT_MAKEFILES}"
     5759cat >confcache <<\_ACEOF
    30115760# This file is a shell script that caches the results of configure
    30125761# tests run on this system so they can be shared between configure
    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.
     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.
    30155765#
    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.
     5766# config.status only pays attention to the cache file if you give it
     5767# the --recheck option to rerun configure.
    30245768#
    3025 EOF
     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
    30265775# The following way of writing the cache mishandles newlines in values,
    30275776# but we know of no workaround that is simple, portable, and efficient.
     
    30295778# Ultrix sh set writes to stderr and can't be redirected directly,
    30305779# and sets the high bit in the cache file unless we assign to the vars.
    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
    3045 if cmp -s $cache_file confcache; then
    3046   :
    3047 else
     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
     5804if diff $cache_file confcache >/dev/null 2>&1; then :; else
    30485805  if test -w $cache_file; then
    3049     echo "updating cache $cache_file"
    3050     cat confcache > $cache_file
     5806    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     5807    cat confcache >$cache_file
    30515808  else
    30525809    echo "not updating unwritable cache $cache_file"
     
    30545811fi
    30555812rm -f confcache
    3056 
    3057 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    30585813
    30595814test "x$prefix" = xNONE && prefix=$ac_default_prefix
     
    30615816test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    30625817
    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.
     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).
    30665822if test "x$srcdir" = x.; then
    3067   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
    3068 fi
    3069 
    3070 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
     5823  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     5824s/:*\$(srcdir):*/:/;
     5825s/:*\${srcdir}:*/:/;
     5826s/:*@srcdir@:*/:/;
     5827s/^\([^=]*=[     ]*\):*/\1/;
     5828s/:*$//;
     5829s/^[^=]*=[       ]*$//;
     5830}'
     5831fi
    30715832
    30725833# Transform confdefs.h into DEFS.
    30735834# Protect against shell expansion while executing Makefile rules.
    30745835# Protect against Makefile macro expansion.
    3075 cat > conftest.defs <<\EOF
    3076 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
    3077 s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
    3078 s%\[%\\&%g
    3079 s%\]%\\&%g
    3080 s%\$%$$%g
    3081 EOF
    3082 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
    3083 rm -f conftest.defs
    3084 
    3085 
    3086 # Without the "./", some shells look in PATH for config.status.
     5836#
     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.
     5840cat >confdef2opt.sed <<\_ACEOF
     5841t clear
     5842: clear
     5843s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     5844t quote
     5845s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
     5846t quote
     5847d
     5848: quote
     5849s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
     5850s,\[,\\&,g
     5851s,\],\\&,g
     5852s,\$,$$,g
     5853p
     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.
     5861ac_LF_and_DOT=`echo; echo .`
     5862DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
     5863rm -f confdef2opt.sed
     5864
     5865
     5866ac_libobjs=
     5867ac_ltlibobjs=
     5868for 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'
     5875done
     5876LIBOBJS=$ac_libobjs
     5877
     5878LTLIBOBJS=$ac_ltlibobjs
     5879
     5880
     5881
    30875882: ${CONFIG_STATUS=./config.status}
    3088 
    3089 echo creating $CONFIG_STATUS
    3090 rm -f $CONFIG_STATUS
    3091 cat > $CONFIG_STATUS <<EOF
    3092 #! /bin/sh
    3093 # Generated automatically by configure.
     5883ac_clean_files_save=$ac_clean_files
     5884ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     5885{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     5886echo "$as_me: creating $CONFIG_STATUS" >&6;}
     5887cat >$CONFIG_STATUS <<_ACEOF
     5888#! $SHELL
     5889# Generated by $as_me.
    30945890# 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`:
     5891# Compiler output produced by configure, useful for debugging
     5892# configure, is in config.log if it exists.
     5893
     5894debug=false
     5895ac_cs_recheck=false
     5896ac_cs_silent=false
     5897SHELL=\${CONFIG_SHELL-$SHELL}
     5898_ACEOF
     5899
     5900cat >>$CONFIG_STATUS <<\_ACEOF
     5901## --------------------- ##
     5902## M4sh Initialization.  ##
     5903## --------------------- ##
     5904
     5905# Be Bourne compatible
     5906if 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+"$@"}'='"$@"'
     5912elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     5913  set -o posix
     5914fi
     5915DUALCASE=1; export DUALCASE # for MKS sh
     5916
     5917# Support unset when possible.
     5918if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     5919  as_unset=unset
     5920else
     5921  as_unset=false
     5922fi
     5923
     5924
     5925# Work around bugs in pre-3.0 UWIN ksh.
     5926$as_unset ENV MAIL MAILPATH
     5927PS1='$ '
     5928PS2='> '
     5929PS4='+ '
     5930
     5931# NLS nuisances.
     5932for 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
     5936do
     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
     5942done
     5943
     5944# Required to use basename.
     5945if expr a : '\(a\)' >/dev/null 2>&1; then
     5946  as_expr=expr
     5947else
     5948  as_expr=false
     5949fi
     5950
     5951if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     5952  as_basename=basename
     5953else
     5954  as_basename=false
     5955fi
     5956
     5957
     5958# Name of the executable.
     5959as_me=`$as_basename "$0" ||
     5960$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     5961         X"$0" : 'X\(//\)$' \| \
     5962         X"$0" : 'X\(/\)$' \| \
     5963         .     : '\(.\)' 2>/dev/null ||
     5964echo 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.
     5973as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     5974as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     5975as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     5976as_cr_digits='0123456789'
     5977as_cr_alnum=$as_cr_Letters$as_cr_digits
     5978
     5979# The user is always right.
     5980if 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
     5990fi
     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
     6003for as_dir in $PATH
     6004do
     6005  IFS=$as_save_IFS
     6006  test -z "$as_dir" && as_dir=.
     6007  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     6008done
     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
     6019echo "$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
     6025for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     6026do
     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
     6046done
     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
     6070echo "$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
     6082case `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= ;;
     6087esac
     6088
     6089if expr a : '\(a\)' >/dev/null 2>&1; then
     6090  as_expr=expr
     6091else
     6092  as_expr=false
     6093fi
     6094
     6095rm -f conf$$ conf$$.exe conf$$.file
     6096echo >conf$$.file
     6097if 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
     6106elif ln conf$$.file conf$$ 2>/dev/null; then
     6107  as_ln_s=ln
     6108else
     6109  as_ln_s='cp -p'
     6110fi
     6111rm -f conf$$ conf$$.exe conf$$.file
     6112
     6113if mkdir -p . 2>/dev/null; then
     6114  as_mkdir_p=:
     6115else
     6116  test -d ./-p && rmdir ./-p
     6117  as_mkdir_p=false
     6118fi
     6119
     6120as_executable_p="test -f"
     6121
     6122# Sed expression to map a string onto a valid CPP name.
     6123as_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.
     6126as_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.
     6131as_nl='
     6132'
     6133IFS="   $as_nl"
     6134
     6135# CDPATH.
     6136$as_unset CDPATH
     6137
     6138exec 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.
     6143exec 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
     6150cat >&5 <<_CSEOF
     6151
     6152This file was extended by $as_me, which was
     6153generated 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
     6162echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     6163echo >&5
     6164_ACEOF
     6165
     6166# Files that config.status was made for.
     6167if test -n "$ac_config_files"; then
     6168  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     6169fi
     6170
     6171if test -n "$ac_config_headers"; then
     6172  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     6173fi
     6174
     6175if test -n "$ac_config_links"; then
     6176  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     6177fi
     6178
     6179if test -n "$ac_config_commands"; then
     6180  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     6181fi
     6182
     6183cat >>$CONFIG_STATUS <<\_ACEOF
     6184
     6185ac_cs_usage="\
     6186\`$as_me' instantiates files from templates according to the
     6187current configuration.
     6188
     6189Usage: $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
     6199Configuration files:
     6200$config_files
     6201
     6202Report bugs to <bug-autoconf@gnu.org>."
     6203_ACEOF
     6204
     6205cat >>$CONFIG_STATUS <<_ACEOF
     6206ac_cs_version="\\
     6207config.status
     6208configured by $0, generated by GNU Autoconf 2.59,
     6209  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     6210
     6211Copyright (C) 2003 Free Software Foundation, Inc.
     6212This config.status script is free software; the Free Software Foundation
     6213gives unlimited permission to copy, distribute and modify it."
     6214srcdir=$srcdir
     6215INSTALL="$INSTALL"
     6216_ACEOF
     6217
     6218cat >>$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.
     6221ac_need_defaults=:
     6222while test $# != 0
     6223do
     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
     6244cat >>$CONFIG_STATUS <<\_ACEOF
     6245  -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
     6252Try \`$0 --help' for more information." >&5
     6253echo "$as_me: error: ambiguous option: $1
     6254Try \`$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
     6274Try \`$0 --help' for more information." >&5
     6275echo "$as_me: error: unrecognized option: $1
     6276Try \`$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
     6283done
     6284
     6285ac_configure_extra_args=
     6286
     6287if $ac_cs_silent; then
     6288  exec 6>/dev/null
     6289  ac_configure_extra_args="$ac_configure_extra_args --silent"
     6290fi
     6291
     6292_ACEOF
     6293cat >>$CONFIG_STATUS <<_ACEOF
     6294if \$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
     6297fi
     6298
     6299_ACEOF
     6300
     6301
     6302
     6303
     6304
     6305cat >>$CONFIG_STATUS <<\_ACEOF
     6306for ac_config_target in $ac_config_targets
     6307do
     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
     6312echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     6313   { (exit 1); exit 1; }; };;
     6314  esac
     6315done
     6316
     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.
     6321if $ac_need_defaults; then
     6322  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     6323fi
     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
     6352cat >>$CONFIG_STATUS <<_ACEOF
     6353
    30976354#
    3098 # $0 $ac_configure_args
     6355# CONFIG_FILES section.
    30996356#
    3100 # Compiler output produced by configure, useful for debugging
    3101 # configure, is in ./config.log if it exists.
    3102 
    3103 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
    3104 for ac_option
    3105 do
    3106   case "\$ac_option" in
    3107   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    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 ;;
     6357
     6358# No need to generate the scripts if there are no CONFIG_FILES.
     6359# This happens for instance when ./config.status config.h
     6360if 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
     6364s,@SHELL@,$SHELL,;t t
     6365s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     6366s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     6367s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     6368s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     6369s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     6370s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     6371s,@exec_prefix@,$exec_prefix,;t t
     6372s,@prefix@,$prefix,;t t
     6373s,@program_transform_name@,$program_transform_name,;t t
     6374s,@bindir@,$bindir,;t t
     6375s,@sbindir@,$sbindir,;t t
     6376s,@libexecdir@,$libexecdir,;t t
     6377s,@datadir@,$datadir,;t t
     6378s,@sysconfdir@,$sysconfdir,;t t
     6379s,@sharedstatedir@,$sharedstatedir,;t t
     6380s,@localstatedir@,$localstatedir,;t t
     6381s,@libdir@,$libdir,;t t
     6382s,@includedir@,$includedir,;t t
     6383s,@oldincludedir@,$oldincludedir,;t t
     6384s,@infodir@,$infodir,;t t
     6385s,@mandir@,$mandir,;t t
     6386s,@build_alias@,$build_alias,;t t
     6387s,@host_alias@,$host_alias,;t t
     6388s,@target_alias@,$target_alias,;t t
     6389s,@DEFS@,$DEFS,;t t
     6390s,@ECHO_C@,$ECHO_C,;t t
     6391s,@ECHO_N@,$ECHO_N,;t t
     6392s,@ECHO_T@,$ECHO_T,;t t
     6393s,@LIBS@,$LIBS,;t t
     6394s,@SINGULAR_VERSION@,$SINGULAR_VERSION,;t t
     6395s,@VERSION_DATE@,$VERSION_DATE,;t t
     6396s,@SINGULAR_SHORT_VERSION@,$SINGULAR_SHORT_VERSION,;t t
     6397s,@SINGULAR_RPM_VERSION@,$SINGULAR_RPM_VERSION,;t t
     6398s,@SINGULAR_ROOT_DIR@,$SINGULAR_ROOT_DIR,;t t
     6399s,@SINGUNAME@,$SINGUNAME,;t t
     6400s,@SING_UNAME@,$SING_UNAME,;t t
     6401s,@CC@,$CC,;t t
     6402s,@CFLAGS@,$CFLAGS,;t t
     6403s,@LDFLAGS@,$LDFLAGS,;t t
     6404s,@CPPFLAGS@,$CPPFLAGS,;t t
     6405s,@ac_ct_CC@,$ac_ct_CC,;t t
     6406s,@EXEEXT@,$EXEEXT,;t t
     6407s,@OBJEXT@,$OBJEXT,;t t
     6408s,@CPP@,$CPP,;t t
     6409s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     6410s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     6411s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     6412s,@EGREP@,$EGREP,;t t
     6413s,@CXX@,$CXX,;t t
     6414s,@CXXFLAGS@,$CXXFLAGS,;t t
     6415s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     6416s,@PIPE@,$PIPE,;t t
     6417s,@PERL@,$PERL,;t t
     6418s,@UUDECODE@,$UUDECODE,;t t
     6419s,@GUNZIP@,$GUNZIP,;t t
     6420s,@MYGZIP@,$MYGZIP,;t t
     6421s,@LATEX2HTML@,$LATEX2HTML,;t t
     6422s,@LN_S@,$LN_S,;t t
     6423s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
     6424s,@SINGULAR@,$SINGULAR,;t t
     6425s,@TMP_DIR@,$TMP_DIR,;t t
     6426s,@TEXI2DVI@,$TEXI2DVI,;t t
     6427s,@TEXI2PDF@,$TEXI2PDF,;t t
     6428s,@MAKEINFO@,$MAKEINFO,;t t
     6429s,@TEXINDEX@,$TEXINDEX,;t t
     6430s,@TEXI2HTML@,$TEXI2HTML,;t t
     6431s,@TEXI2HTML_OPTS@,$TEXI2HTML_OPTS,;t t
     6432s,@SET_MAKE@,$SET_MAKE,;t t
     6433s,@SUBDIRS@,$SUBDIRS,;t t
     6434s,@BUILD_SUBDIRS@,$BUILD_SUBDIRS,;t t
     6435s,@CONFIG_SUBDIRS@,$CONFIG_SUBDIRS,;t t
     6436s,@subdirs@,$subdirs,;t t
     6437s,@LIBOBJS@,$LIBOBJS,;t t
     6438s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     6439CEOF
     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
     6455    else
     6456      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     6457    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
     6480fi # test -n "$CONFIG_FILES"
     6481
     6482_ACEOF
     6483cat >>$CONFIG_STATUS <<\_ACEOF
     6484for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     6485  # 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 ;;
    31166494  esac
    3117 done
    3118 
    3119 ac_given_srcdir=$srcdir
    3120 ac_given_INSTALL="$INSTALL"
    3121 
    3122 trap 'rm -fr `echo "${OUTPUT_MAKEFILES}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    3123 EOF
    3124 cat >> $CONFIG_STATUS <<EOF
    3125 
    3126 # Protect against being on the right side of a sed subst in config.status.
    3127 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
    3128  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
    3129 $ac_vpsub
     6495
     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 ||
     6503echo 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 ||
     6522echo 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
     6531echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     6532   { (exit 1); exit 1; }; }; }
     6533
     6534  ac_builddir=.
     6535
     6536if 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'`
     6540else
     6541  ac_dir_suffix= ac_top_builddir=
     6542fi
     6543
     6544case $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 ;;
     6555  *) # Relative path.
     6556    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     6557    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     6558esac
     6559
     6560# Do not use `cd foo && pwd` to compute absolute paths, because
     6561# the directories may not exist.
     6562case `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;;
     6570esac
     6571case $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;;
     6579esac
     6580case $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;;
     6588esac
     6589case $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;;
     6597esac
     6598
     6599
     6600  case $INSTALL in
     6601  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     6602  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     6603  esac
     6604
     6605  if test x"$ac_file" != x-; then
     6606    { echo "$as_me:$LINENO: creating $ac_file" >&5
     6607echo "$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
     6630echo "$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
     6643echo "$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
     6649cat >>$CONFIG_STATUS <<_ACEOF
     6650  sed "$ac_vpsub
    31306651$extrasub
    3131 s%@SHELL@%$SHELL%g
    3132 s%@CFLAGS@%$CFLAGS%g
    3133 s%@CPPFLAGS@%$CPPFLAGS%g
    3134 s%@CXXFLAGS@%$CXXFLAGS%g
    3135 s%@FFLAGS@%$FFLAGS%g
    3136 s%@DEFS@%$DEFS%g
    3137 s%@LDFLAGS@%$LDFLAGS%g
    3138 s%@LIBS@%$LIBS%g
    3139 s%@exec_prefix@%$exec_prefix%g
    3140 s%@prefix@%$prefix%g
    3141 s%@program_transform_name@%$program_transform_name%g
    3142 s%@bindir@%$bindir%g
    3143 s%@sbindir@%$sbindir%g
    3144 s%@libexecdir@%$libexecdir%g
    3145 s%@datadir@%$datadir%g
    3146 s%@sysconfdir@%$sysconfdir%g
    3147 s%@sharedstatedir@%$sharedstatedir%g
    3148 s%@localstatedir@%$localstatedir%g
    3149 s%@libdir@%$libdir%g
    3150 s%@includedir@%$includedir%g
    3151 s%@oldincludedir@%$oldincludedir%g
    3152 s%@infodir@%$infodir%g
    3153 s%@mandir@%$mandir%g
    3154 s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g
    3155 s%@VERSION_DATE@%$VERSION_DATE%g
    3156 s%@SINGULAR_SHORT_VERSION@%$SINGULAR_SHORT_VERSION%g
    3157 s%@SINGULAR_RPM_VERSION@%$SINGULAR_RPM_VERSION%g
    3158 s%@SINGULAR_ROOT_DIR@%$SINGULAR_ROOT_DIR%g
    3159 s%@SINGUNAME@%$SINGUNAME%g
    3160 s%@SING_UNAME@%$SING_UNAME%g
    3161 s%@CC@%$CC%g
    3162 s%@CPP@%$CPP%g
    3163 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    3164 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    3165 s%@INSTALL_DATA@%$INSTALL_DATA%g
    3166 s%@CXX@%$CXX%g
    3167 s%@PIPE@%$PIPE%g
    3168 s%@PERL@%$PERL%g
    3169 s%@UUDECODE@%$UUDECODE%g
    3170 s%@GUNZIP@%$GUNZIP%g
    3171 s%@MYGZIP@%$MYGZIP%g
    3172 s%@LATEX2HTML@%$LATEX2HTML%g
    3173 s%@LN_S@%$LN_S%g
    3174 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
    3175 s%@SINGULAR@%$SINGULAR%g
    3176 s%@TMP_DIR@%$TMP_DIR%g
    3177 s%@TEXI2DVI@%$TEXI2DVI%g
    3178 s%@TEXI2PDF@%$TEXI2PDF%g
    3179 s%@MAKEINFO@%$MAKEINFO%g
    3180 s%@TEXINDEX@%$TEXINDEX%g
    3181 s%@TEXI2HTML@%$TEXI2HTML%g
    3182 s%@TEXI2HTML_OPTS@%$TEXI2HTML_OPTS%g
    3183 s%@SET_MAKE@%$SET_MAKE%g
    3184 s%@SUBDIRS@%$SUBDIRS%g
    3185 s%@BUILD_SUBDIRS@%$BUILD_SUBDIRS%g
    3186 s%@CONFIG_SUBDIRS@%$CONFIG_SUBDIRS%g
    3187 s%@subdirs@%$subdirs%g
    3188 
    3189 CEOF
    3190 EOF
    3191 
    3192 cat >> $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.
    3196 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
    3197 ac_file=1 # Number of current file.
    3198 ac_beg=1 # First line for current file.
    3199 ac_end=$ac_max_sed_cmds # Line after last line for current file.
    3200 ac_more_lines=:
    3201 ac_sed_cmds=""
    3202 while $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
     6652_ACEOF
     6653cat >>$CONFIG_STATUS <<\_ACEOF
     6654:t
     6655/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     6656s,@configure_input@,$configure_input,;t t
     6657s,@srcdir@,$ac_srcdir,;t t
     6658s,@abs_srcdir@,$ac_abs_srcdir,;t t
     6659s,@top_srcdir@,$ac_top_srcdir,;t t
     6660s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     6661s,@builddir@,$ac_builddir,;t t
     6662s,@abs_builddir@,$ac_abs_builddir,;t t
     6663s,@top_builddir@,$ac_top_builddir,;t t
     6664s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     6665s,@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
    32056670  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"
    3214     else
    3215       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    3216     fi
    3217     ac_file=`expr $ac_file + 1`
    3218     ac_beg=$ac_end
    3219     ac_end=`expr $ac_end + $ac_max_sed_cmds`
    3220   fi
    3221 done
    3222 if test -z "$ac_sed_cmds"; then
    3223   ac_sed_cmds=cat
    3224 fi
    3225 EOF
    3226 
    3227 cat >> $CONFIG_STATUS <<EOF
    3228 
    3229 CONFIG_FILES=\${CONFIG_FILES-"${OUTPUT_MAKEFILES}"}
    3230 EOF
    3231 cat >> $CONFIG_STATUS <<\EOF
    3232 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    3233   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.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" ;;
    3238   esac
    3239 
    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" ;;
    3259   *) # Relative path.
    3260     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    3261     top_srcdir="$ac_dots$ac_given_srcdir" ;;
    3262   esac
    3263 
    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
    3280 s%@configure_input@%$configure_input%g
    3281 s%@srcdir@%$srcdir%g
    3282 s%@top_srcdir@%$top_srcdir%g
    3283 s%@INSTALL@%$INSTALL%g
    3284 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    3285 fi; done
    3286 rm -f conftest.s*
    3287 
    3288 EOF
    3289 cat >> $CONFIG_STATUS <<EOF
    3290 
    3291 EOF
    3292 cat >> $CONFIG_STATUS <<\EOF
    3293 
    3294 exit 0
    3295 EOF
     6671    cat $tmp/out
     6672    rm -f $tmp/out
     6673  fi
     6674
     6675done
     6676_ACEOF
     6677
     6678cat >>$CONFIG_STATUS <<\_ACEOF
     6679
     6680{ (exit 0); exit 0; }
     6681_ACEOF
    32966682chmod +x $CONFIG_STATUS
    3297 rm -fr confdefs* $ac_clean_files
    3298 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    3299 
     6683ac_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.
     6694if 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; }
     6705fi
     6706
     6707#
     6708# CONFIG_SUBDIRS section.
     6709#
    33006710if test "$no_recursion" != yes; then
    33016711
     
    33086718      continue
    33096719    fi
    3310     case "$ac_arg" in
     6720    case $ac_arg in
    33116721    -cache-file | --cache-file | --cache-fil | --cache-fi \
    33126722    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    33136723      ac_prev=cache_file ;;
    33146724    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    3315     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
     6725    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
     6726    | --c=*)
     6727      ;;
     6728    --config-cache | -C)
    33166729      ;;
    33176730    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
     
    33196732    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    33206733      ;;
     6734    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
     6735      ac_prev=prefix ;;
     6736    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
     6737      ;;
    33216738    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
    33226739    esac
    33236740  done
    33246741
    3325   for ac_config_dir in $CONFIG_SUBDIRS; do
     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
    33266748
    33276749    # Do not complain, so a configure script can configure whichever
    33286750    # parts of a large source tree are present.
    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
     6751    test -d $srcdir/$ac_dir || continue
     6752
     6753    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
     6754echo "$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 ||
     6768echo 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
     6777echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     6778   { (exit 1); exit 1; }; }; }
     6779
     6780    ac_builddir=.
     6781
     6782if 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'`
     6786else
     6787  ac_dir_suffix= ac_top_builddir=
     6788fi
     6789
     6790case $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 ;;
     6804esac
     6805
     6806# Do not use `cd foo && pwd` to compute absolute paths, because
     6807# the directories may not exist.
     6808case `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;;
     6816esac
     6817case $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;;
     6825esac
     6826case $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;;
     6834esac
     6835case $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;;
     6843esac
     6844
     6845
     6846    cd $ac_dir
    33596847
    33606848    # Check for guested configure; otherwise get Cygnus style configure.
    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
     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
    33646854      ac_sub_configure=$ac_configure
    33656855    else
    3366       echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
     6856      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
     6857echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    33676858      ac_sub_configure=
    33686859    fi
     
    33706861    # The recursion is here.
    33716862    if test -n "$ac_sub_configure"; then
    3372 
    33736863      # Make the cache file name correct relative to the subdirectory.
    3374       case "$cache_file" in
    3375       /*) ac_sub_cache_file=$cache_file ;;
     6864      case $cache_file in
     6865      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    33766866      *) # Relative path.
    3377         ac_sub_cache_file="$ac_dots$cache_file" ;;
     6867        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
    33786868      esac
    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"
     6869
     6870      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     6871echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    33856872      # The eval makes quoting arguments work.
    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
     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
     6876echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
     6877   { (exit 1); exit 1; }; }
    33916878    fi
    33926879
  • configure.in

    r511c38 r690e864  
    607607    AC_MSG_RESULT(yes)
    608608    CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular"
    609     BUILD_SUBDIRS="$BUILD_SUBDIRS Singular"     
     609    BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular"     
    610610  else
    611611    AC_MSG_RESULT(no)
Note: See TracChangeset for help on using the changeset viewer.