#! /bin/sh

# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13 
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.

# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
  --disable-opt           gcc only: set optimisation level to 0
  --enable-opt            gcc: enable some optimisations
  --enable-opt=max        gcc: set maximal optimisation level
                               also switches off debugging support
  --enable-opt=unsafe     gcc: set maximal unsafe optimisation level"
ac_help="$ac_help
  --without-long-long     do not support 64 bit integers even if the compiler
                          handles them well"
ac_help="$ac_help
  --disable-fast-config   do not skip any configure checks that can usually
                          be inferred from others.  E.g. do not assume
                          anything about a system that claims to be
                          conformant to ANSI C."
ac_help="$ac_help
  --enable-release        switches off debug symbols (-g) and sets -DRELEASE"
ac_help="$ac_help
  --enable-ndebug         disables assertions, sets -DNDEBUG (but does not touch -g)"

# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
build=NONE
cache_file=./config.cache
exec_prefix=NONE
host=NONE
no_create=
nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
srcdir=
target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
datadir='${prefix}/share'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'

# Initialize some other variables.
subdirs=
MFLAGS= MAKEFLAGS=
SHELL=${CONFIG_SHELL-/bin/sh}
# Maximum number of lines to put in a shell here document.
ac_max_here_lines=12

ac_prev=
for ac_option
do

  # If the previous option needs an argument, assign it.
  if test -n "$ac_prev"; then
    eval "$ac_prev=\$ac_option"
    ac_prev=
    continue
  fi

  case "$ac_option" in
  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  *) ac_optarg= ;;
  esac

  # Accept the important Cygnus configure options, so we can diagnose typos.

  case "$ac_option" in

  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    ac_prev=bindir ;;
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    bindir="$ac_optarg" ;;

  -build | --build | --buil | --bui | --bu)
    ac_prev=build ;;
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    build="$ac_optarg" ;;

  -cache-file | --cache-file | --cache-fil | --cache-fi \
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    ac_prev=cache_file ;;
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    cache_file="$ac_optarg" ;;

  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    ac_prev=datadir ;;
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  | --da=*)
    datadir="$ac_optarg" ;;

  -disable-* | --disable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    eval "enable_${ac_feature}=no" ;;

  -enable-* | --enable-*)
    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    fi
    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "enable_${ac_feature}='$ac_optarg'" ;;

  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  | --exec | --exe | --ex)
    ac_prev=exec_prefix ;;
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  | --exec=* | --exe=* | --ex=*)
    exec_prefix="$ac_optarg" ;;

  -gas | --gas | --ga | --g)
    # Obsolete; use --with-gas.
    with_gas=yes ;;

  -help | --help | --hel | --he)
    # Omit some internal or obsolete options to make the list less imposing.
    # This message is too long to be a string in the A/UX 3.1 sh.
    cat << EOF
Usage: configure [options] [host]
Options: [defaults in brackets after descriptions]
Configuration:
  --cache-file=FILE       cache test results in FILE
  --help                  print this message
  --no-create             do not create output files
  --quiet, --silent       do not print \`checking...' messages
  --version               print the version of autoconf that created configure
Directory and file names:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [$ac_default_prefix]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [same as prefix]
  --bindir=DIR            user executables in DIR [EPREFIX/bin]
  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
  --datadir=DIR           read-only architecture-independent data in DIR
                          [PREFIX/share]
  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
                          [PREFIX/com]
  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
  --includedir=DIR        C header files in DIR [PREFIX/include]
  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
  --infodir=DIR           info documentation in DIR [PREFIX/info]
  --mandir=DIR            man documentation in DIR [PREFIX/man]
  --srcdir=DIR            find the sources in DIR [configure dir or ..]
  --program-prefix=PREFIX prepend PREFIX to installed program names
  --program-suffix=SUFFIX append SUFFIX to installed program names
  --program-transform-name=PROGRAM
                          run sed PROGRAM on installed program names
EOF
    cat << EOF
Host type:
  --build=BUILD           configure for building on BUILD [BUILD=HOST]
  --host=HOST             configure for HOST [guessed]
  --target=TARGET         configure for TARGET [TARGET=HOST]
Features and packages:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --x-includes=DIR        X include files are in DIR
  --x-libraries=DIR       X library files are in DIR
EOF
    if test -n "$ac_help"; then
      echo "--enable and --with options recognized:$ac_help"
    fi
    exit 0 ;;

  -host | --host | --hos | --ho)
    ac_prev=host ;;
  -host=* | --host=* | --hos=* | --ho=*)
    host="$ac_optarg" ;;

  -includedir | --includedir | --includedi | --included | --include \
  | --includ | --inclu | --incl | --inc)
    ac_prev=includedir ;;
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  | --includ=* | --inclu=* | --incl=* | --inc=*)
    includedir="$ac_optarg" ;;

  -infodir | --infodir | --infodi | --infod | --info | --inf)
    ac_prev=infodir ;;
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    infodir="$ac_optarg" ;;

  -libdir | --libdir | --libdi | --libd)
    ac_prev=libdir ;;
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    libdir="$ac_optarg" ;;

  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  | --libexe | --libex | --libe)
    ac_prev=libexecdir ;;
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  | --libexe=* | --libex=* | --libe=*)
    libexecdir="$ac_optarg" ;;

  -localstatedir | --localstatedir | --localstatedi | --localstated \
  | --localstate | --localstat | --localsta | --localst \
  | --locals | --local | --loca | --loc | --lo)
    ac_prev=localstatedir ;;
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    localstatedir="$ac_optarg" ;;

  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    ac_prev=mandir ;;
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    mandir="$ac_optarg" ;;

  -nfp | --nfp | --nf)
    # Obsolete; use --without-fp.
    with_fp=no ;;

  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c)
    no_create=yes ;;

  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    no_recursion=yes ;;

  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  | --oldin | --oldi | --old | --ol | --o)
    ac_prev=oldincludedir ;;
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    oldincludedir="$ac_optarg" ;;

  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    ac_prev=prefix ;;
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    prefix="$ac_optarg" ;;

  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  | --program-pre | --program-pr | --program-p)
    ac_prev=program_prefix ;;
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    program_prefix="$ac_optarg" ;;

  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  | --program-suf | --program-su | --program-s)
    ac_prev=program_suffix ;;
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    program_suffix="$ac_optarg" ;;

  -program-transform-name | --program-transform-name \
  | --program-transform-nam | --program-transform-na \
  | --program-transform-n | --program-transform- \
  | --program-transform | --program-transfor \
  | --program-transfo | --program-transf \
  | --program-trans | --program-tran \
  | --progr-tra | --program-tr | --program-t)
    ac_prev=program_transform_name ;;
  -program-transform-name=* | --program-transform-name=* \
  | --program-transform-nam=* | --program-transform-na=* \
  | --program-transform-n=* | --program-transform-=* \
  | --program-transform=* | --program-transfor=* \
  | --program-transfo=* | --program-transf=* \
  | --program-trans=* | --program-tran=* \
  | --progr-tra=* | --program-tr=* | --program-t=*)
    program_transform_name="$ac_optarg" ;;

  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  | -silent | --silent | --silen | --sile | --sil)
    silent=yes ;;

  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    ac_prev=sbindir ;;
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  | --sbi=* | --sb=*)
    sbindir="$ac_optarg" ;;

  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  | --sharedst | --shareds | --shared | --share | --shar \
  | --sha | --sh)
    ac_prev=sharedstatedir ;;
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  | --sha=* | --sh=*)
    sharedstatedir="$ac_optarg" ;;

  -site | --site | --sit)
    ac_prev=site ;;
  -site=* | --site=* | --sit=*)
    site="$ac_optarg" ;;

  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    ac_prev=srcdir ;;
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    srcdir="$ac_optarg" ;;

  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  | --syscon | --sysco | --sysc | --sys | --sy)
    ac_prev=sysconfdir ;;
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    sysconfdir="$ac_optarg" ;;

  -target | --target | --targe | --targ | --tar | --ta | --t)
    ac_prev=target ;;
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    target="$ac_optarg" ;;

  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    verbose=yes ;;

  -version | --version | --versio | --versi | --vers)
    echo "configure generated by autoconf version 2.13"
    exit 0 ;;

  -with-* | --with-*)
    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    case "$ac_option" in
      *=*) ;;
      *) ac_optarg=yes ;;
    esac
    eval "with_${ac_package}='$ac_optarg'" ;;

  -without-* | --without-*)
    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
    # Reject names that are not valid shell variable names.
    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    fi
    ac_package=`echo $ac_package| sed 's/-/_/g'`
    eval "with_${ac_package}=no" ;;

  --x)
    # Obsolete; use --with-x.
    with_x=yes ;;

  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  | --x-incl | --x-inc | --x-in | --x-i)
    ac_prev=x_includes ;;
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    x_includes="$ac_optarg" ;;

  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    ac_prev=x_libraries ;;
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    x_libraries="$ac_optarg" ;;

  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
    ;;

  *)
    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
      echo "configure: warning: $ac_option: invalid host type" 1>&2
    fi
    if test "x$nonopt" != xNONE; then
      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    fi
    nonopt="$ac_option"
    ;;

  esac
done

if test -n "$ac_prev"; then
  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
fi

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

# File descriptor usage:
# 0 standard input
# 1 file creation
# 2 errors and warnings
# 3 some systems may open it to /dev/tty
# 4 used on the Kubota Titan
# 6 checking for... messages and results
# 5 compiler messages saved in config.log
if test "$silent" = yes; then
  exec 6>/dev/null
else
  exec 6>&1
fi
exec 5>./config.log

echo "\
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
" 1>&5

# Strip out --no-create and --no-recursion so they do not pile up.
# Also quote any args containing shell metacharacters.
ac_configure_args=
for ac_arg
do
  case "$ac_arg" in
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  | --no-cr | --no-c) ;;
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  esac
done

# NLS nuisances.
# Only set these to C if already set.  These must not be set unconditionally
# because not all systems understand e.g. LANG=C (notably SCO).
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
# Non-C LC_CTYPE values break the ctype check.
if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi

# confdefs.h avoids OS command line length limits that DEFS can exceed.
rm -rf conftest* confdefs.h
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
echo > confdefs.h

# A filename unique to this package, relative to the directory that
# configure is in, which we can look for to find out if srcdir is correct.
ac_unique_file=include/erwin/asm.h

# Find the source files, if location was not specified.
if test -z "$srcdir"; then
  ac_srcdir_defaulted=yes
  # Try the directory containing this script, then its parent.
  ac_prog=$0
  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  srcdir=$ac_confdir
  if test ! -r $srcdir/$ac_unique_file; then
    srcdir=..
  fi
else
  ac_srcdir_defaulted=no
fi
if test ! -r $srcdir/$ac_unique_file; then
  if test "$ac_srcdir_defaulted" = yes; then
    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  else
    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  fi
fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`

# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  fi
fi
for ac_site_file in $CONFIG_SITE; do
  if test -r "$ac_site_file"; then
    echo "loading site script $ac_site_file"
    . "$ac_site_file"
  fi
done

if test -r "$cache_file"; then
  echo "loading cache $cache_file"
  . $cache_file
else
  echo "creating cache $cache_file"
  > $cache_file
fi

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

ac_exeext=
ac_objext=o
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    ac_n= ac_c='
' ac_t='	'
  else
    ac_n=-n ac_c= ac_t=
  fi
else
  ac_n= ac_c='\c' ac_t=
fi




















































































































































# Check whether --enable-opt or --disable-opt was given.
if test "${enable_opt+set}" = set; then
  enableval="$enable_opt"
  :
fi




if test "x$with_cxx" != xno && test "x$with_cxx" != xyes ; then
    with_cxx=yes
fi

if test "x$with_cc" != xno && test "x$with_cc" != xyes ; then
    with_cc=no
fi



echo $ac_n "checking shell vars""... $ac_c" 1>&6
echo "configure:709: checking shell vars" >&5

RM="${RMPROG-rm}"


test -z "${RMF}" && RMF="\${RM} -f"


test -z "${RMRF}" && RMRF="\${RM} -Rf"


AUTOCONF="${AUTOCONFPROG-autoconf}"


AUTOHEADER="${AUTOHEADERPROG-autoheader}"


MV="${MVPROG-mv}"


SYNC="${SYNCPROG-sync}"


CP="${CPPROG-cp}"


GREP="${GREPPROG-grep}"


MKDIR="${MKDIRPROG-mkdir}"


RMDIR="${RMDIRPROG-rmdir}"


CAT="${CATPROG-cat}"


CHMOD="${CHMODPROG-chmod}"


DATE="${DATEPROG-date}"


ECHO="${ECHOPROG-echo}"


ECHODATE="LC_ALL=C LC_TIME='%a %b %e %T %Z %Y' TZ=GMT ${DATE}"


echo "$ac_t""done" 1>&6



# Check whether --with-long-long or --without-long-long was given.
if test "${with_long_long+set}" = set; then
  withval="$with_long_long"
  :
fi


if test "x${with_long_long}" != xno; then
    cat >> confdefs.h <<\EOF
#define CONFIG_WITH_LONG_LONG 1
EOF

fi



WITH_CC=""
WITHOUT_CC="# "



    if test "${GCC+set}" != set; then
        
        # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:789: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="gcc"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:819: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_prog_rejected=no
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
	continue
      fi
      ac_cv_prog_CC="cc"
      break
    fi
  done
  IFS="$ac_save_ifs"
if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $# -gt 0; then
    # We chose a different compiler from the bogus one.
    # However, it has the same basename, so the bogon will be chosen
    # first if we set CC to just the basename; use the full file name.
    shift
    set dummy "$ac_dir/$ac_word" "$@"
    shift
    ac_cv_prog_CC="$@"
  fi
fi
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

  if test -z "$CC"; then
    case "`uname -s`" in
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:870: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CC="cl"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
  echo "$ac_t""$CC" 1>&6
else
  echo "$ac_t""no" 1>&6
fi
 ;;
    esac
  fi
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi

echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:902: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5

ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

cat > conftest.$ac_ext << EOF

#line 913 "configure"
#include "confdefs.h"

main(){return(0);}
EOF
if { (eval echo configure:918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
  else
    ac_cv_prog_cc_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cc_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:944: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross

echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:949: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.c <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
else
  ac_cv_prog_gcc=no
fi
fi

echo "$ac_t""$ac_cv_prog_gcc" 1>&6

if test $ac_cv_prog_gcc = yes; then
  GCC=yes
else
  GCC=
fi

ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:977: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
  ac_cv_prog_cc_g=yes
else
  ac_cv_prog_cc_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
  CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi
else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi
fi

        echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1009: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
fi
if test -z "$CPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
    # This must be in double quotes, not single quotes, because CPP may get
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp.
  cat > conftest.$ac_ext <<EOF
#line 1024 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <<EOF
#line 1041 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <<EOF
#line 1058 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CPP=/lib/cpp
fi
rm -f conftest*
fi
rm -f conftest*
fi
rm -f conftest*
  ac_cv_prog_CPP="$CPP"
fi
  CPP="$ac_cv_prog_CPP"
else
  ac_cv_prog_CPP="$CPP"
fi
echo "$ac_t""$CPP" 1>&6

    fi

    _has_O="`for i in $CFLAGS; do case $i in -O*) echo $i;;esac; done`"
    if test "x$_has_O" = x;  then
        
    
if test "x${GCC}" = xyes; then
   
        # checking flags: [-O2]
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            

    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -O2"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -O2""... $ac_c" 1>&6
echo "configure:1122: checking whether the C compiler accepts -O2" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__O2'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1127 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__O2=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__O2=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__O2" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__O2" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -O2"
fi





        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


    fi
    _has_g="`for i in $CFLAGS; do case $i in -g*) echo $i;;esac; done`"
    if test "x$_has_g" = x;  then
        
    
if test "x${GCC}" = xyes; then
   
        # checking flags: [-g]
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            

    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -g"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -g""... $ac_c" 1>&6
echo "configure:1214: checking whether the C compiler accepts -g" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1219 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__g=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__g=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__g" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__g" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -g"
fi





        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


    fi
    
    
if test "x${GCC}" = xyes; then
   
        # checking flags: [-Wall],[-W],[-Wpointer-arith],[-Wno-cast-align],[-Wmissing-prototypes]
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            

    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wall"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -Wall""... $ac_c" 1>&6
echo "configure:1304: checking whether the C compiler accepts -Wall" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__Wall'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1309 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__Wall=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__Wall=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__Wall" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__Wall" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wall"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -W"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -W""... $ac_c" 1>&6
echo "configure:1367: checking whether the C compiler accepts -W" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__W'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1372 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__W=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__W=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__W" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__W" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -W"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wpointer-arith"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -Wpointer-arith""... $ac_c" 1>&6
echo "configure:1430: checking whether the C compiler accepts -Wpointer-arith" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__Wpointer_arith'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1435 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__Wpointer_arith=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__Wpointer_arith=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__Wpointer_arith" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__Wpointer_arith" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wpointer-arith"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wno-cast-align"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -Wno-cast-align""... $ac_c" 1>&6
echo "configure:1493: checking whether the C compiler accepts -Wno-cast-align" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__Wno_cast_align'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1498 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__Wno_cast_align=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__Wno_cast_align=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__Wno_cast_align" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__Wno_cast_align" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wno-cast-align"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wmissing-prototypes"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -Wmissing-prototypes""... $ac_c" 1>&6
echo "configure:1556: checking whether the C compiler accepts -Wmissing-prototypes" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__Wmissing_prototypes'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1561 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__Wmissing_prototypes=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__Wmissing_prototypes=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__Wmissing_prototypes" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__Wmissing_prototypes" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wmissing-prototypes"
fi





        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi



    if test x"$enable_opt" = xno; then
        CFLAGSAUX="$CFLAGS" CFLAGS=`echo "$CFLAGSAUX" | sed s@-g@@g | sed 's@-O[0-9]*@@g'`
        
    
if test "x${GCC}" = xyes; then
   
        # checking flags: [-O0],[-fno-inline],[-g]
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            

    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -O0"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -O0""... $ac_c" 1>&6
echo "configure:1648: checking whether the C compiler accepts -O0" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__O0'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1653 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__O0=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__O0=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__O0" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__O0" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -O0"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-inline"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -fno-inline""... $ac_c" 1>&6
echo "configure:1711: checking whether the C compiler accepts -fno-inline" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__fno_inline'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1716 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__fno_inline=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__fno_inline=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__fno_inline" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__fno_inline" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fno-inline"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -g"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -g""... $ac_c" 1>&6
echo "configure:1774: checking whether the C compiler accepts -g" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1779 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__g=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__g=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__g" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__g" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -g"
fi





        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


        

    else
        if test x"$enable_opt" = xmax; then
            CFLAGSAUX="$CFLAGS" CFLAGS=`echo "$CFLAGSAUX" | sed s@-g@@g | sed 's@-O[0-9]*@@g'`
            
    
if test "x${GCC}" = xyes; then
   
        # checking flags: [-O9],[-finline-functions],[-fomit-frame-pointer],[-ffast-math]
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            

    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -O9"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -O9""... $ac_c" 1>&6
echo "configure:1868: checking whether the C compiler accepts -O9" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__O9'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1873 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__O9=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__O9=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__O9" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__O9" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -O9"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -finline-functions"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -finline-functions""... $ac_c" 1>&6
echo "configure:1931: checking whether the C compiler accepts -finline-functions" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__finline_functions'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1936 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__finline_functions=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__finline_functions=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__finline_functions" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__finline_functions" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -finline-functions"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fomit-frame-pointer"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -fomit-frame-pointer""... $ac_c" 1>&6
echo "configure:1994: checking whether the C compiler accepts -fomit-frame-pointer" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__fomit_frame_pointer'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 1999 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__fomit_frame_pointer=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__fomit_frame_pointer=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__fomit_frame_pointer" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__fomit_frame_pointer" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fomit-frame-pointer"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -ffast-math"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -ffast-math""... $ac_c" 1>&6
echo "configure:2057: checking whether the C compiler accepts -ffast-math" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__ffast_math'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2062 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__ffast_math=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__ffast_math=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__ffast_math" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__ffast_math" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -ffast-math"
fi





        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


            

        fi
    fi

GNUC_TRUE=' # '
GNUC_FALSE=''
GCC_TRUE=' # '
GCC_FALSE=''

if test "x${GCC}" = xyes; then
   
GNUC_TRUE=''
GNUC_FALSE=' # '
GCC_TRUE=''
GCC_FALSE=' # '


fi








    
if test "x${GCC}" = xyes; then
   
        # checking flags: [-Wundef],[-Wstrict-prototypes],[-Wwrite-strings]
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            

    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wundef"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -Wundef""... $ac_c" 1>&6
echo "configure:2172: checking whether the C compiler accepts -Wundef" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__Wundef'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2177 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__Wundef=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__Wundef=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__Wundef" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__Wundef" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wundef"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wstrict-prototypes"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -Wstrict-prototypes""... $ac_c" 1>&6
echo "configure:2235: checking whether the C compiler accepts -Wstrict-prototypes" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__Wstrict_prototypes'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2240 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__Wstrict_prototypes=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__Wstrict_prototypes=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__Wstrict_prototypes" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__Wstrict_prototypes" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wstrict-prototypes"
fi







    





er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wwrite-strings"
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether the C compiler accepts -Wwrite-strings""... $ac_c" 1>&6
echo "configure:2298: checking whether the C compiler accepts -Wwrite-strings" >&5
if eval "test \"`echo '$''{'er_cv_CFLAGS__Wwrite_strings'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2303 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CFLAGS__Wwrite_strings=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CFLAGS__Wwrite_strings=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CFLAGS__Wwrite_strings" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CFLAGS="$er_old_CFLAGS"
if test "x$er_cv_CFLAGS__Wwrite_strings" = "xyes"; then
   

er_old_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -Wwrite-strings"
fi





        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi



   

WITH_CXX=""
WITHOUT_CXX="# "



if test x${with_cxx} = xno
then
    CXX=":"
    CXXCPP=":"
    CXXFLAGS=""
    WITH_CXX="# "
    WITHOUT_CXX=""
    
    
    
else
    if test "${GXX+set}" != set; then
                                
            
            
            for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2385: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CXX"; then
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CXX="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CXX="$ac_cv_prog_CXX"
if test -n "$CXX"; then
  echo "$ac_t""$CXX" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

test -n "$CXX" && break
done
test -n "$CXX" || CXX="gcc"


echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:2417: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

cat > conftest.$ac_ext << EOF

#line 2428 "configure"
#include "confdefs.h"

int main(){return(0);}
EOF
if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cxx_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cxx_cross=no
  else
    ac_cv_prog_cxx_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cxx_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
if test $ac_cv_prog_cxx_works = no; then
  :
fi
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:2459: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:2464: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.C <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gxx=yes
else
  ac_cv_prog_gxx=no
fi
fi

echo "$ac_t""$ac_cv_prog_gxx" 1>&6

if test $ac_cv_prog_gxx = yes; then
  GXX=yes
else
  GXX=
fi

ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:2492: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.cc
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
  ac_cv_prog_cxx_g=yes
else
  ac_cv_prog_cxx_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
if test "$ac_test_CXXFLAGS" = set; then
  CXXFLAGS="$ac_save_CXXFLAGS"
elif test $ac_cv_prog_cxx_g = yes; then
  if test "$GXX" = yes; then
    CXXFLAGS="-g -O2"
  else
    CXXFLAGS="-g"
  fi
else
  if test "$GXX" = yes; then
    CXXFLAGS="-O2"
  else
    CXXFLAGS=
  fi
fi

            
            if test "x$ac_cv_prog_cxx_works" = xno; then
                
                ac_cv_prog_CXX="$ac_cv_prog_CC"
                CXX="$ac_cv_prog_CC"
                for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2533: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$CXX"; then
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_CXX="$ac_prog"
      break
    fi
  done
  IFS="$ac_save_ifs"
fi
fi
CXX="$ac_cv_prog_CXX"
if test -n "$CXX"; then
  echo "$ac_t""$CXX" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

test -n "$CXX" && break
done
test -n "$CXX" || CXX="gcc"


echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:2565: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5

ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

cat > conftest.$ac_ext << EOF

#line 2576 "configure"
#include "confdefs.h"

int main(){return(0);}
EOF
if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cxx_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cxx_cross=no
  else
    ac_cv_prog_cxx_cross=yes
  fi
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  ac_cv_prog_cxx_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
if test $ac_cv_prog_cxx_works = no; then
  { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:2607: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross

echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
echo "configure:2612: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.C <<EOF
#ifdef __GNUC__
  yes;
#endif
EOF
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:2621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gxx=yes
else
  ac_cv_prog_gxx=no
fi
fi

echo "$ac_t""$ac_cv_prog_gxx" 1>&6

if test $ac_cv_prog_gxx = yes; then
  GXX=yes
else
  GXX=
fi

ac_test_CXXFLAGS="${CXXFLAGS+set}"
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
echo "configure:2640: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  echo 'void f(){}' > conftest.cc
if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
  ac_cv_prog_cxx_g=yes
else
  ac_cv_prog_cxx_g=no
fi
rm -f conftest*

fi

echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
if test "$ac_test_CXXFLAGS" = set; then
  CXXFLAGS="$ac_save_CXXFLAGS"
elif test $ac_cv_prog_cxx_g = yes; then
  if test "$GXX" = yes; then
    CXXFLAGS="-g -O2"
  else
    CXXFLAGS="-g"
  fi
else
  if test "$GXX" = yes; then
    CXXFLAGS="-O2"
  else
    CXXFLAGS=
  fi
fi

            fi
        
        echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
echo "configure:2674: checking how to run the C++ preprocessor" >&5
if test -z "$CXXCPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
      ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
  CXXCPP="${CXX-g++} -E"
  cat > conftest.$ac_ext <<EOF
#line 2687 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  :
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  CXXCPP=/lib/cpp
fi
rm -f conftest*
  ac_cv_prog_CXXCPP="$CXXCPP"
  ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

fi
  CXXCPP="$ac_cv_prog_CXXCPP"
else
  ac_cv_prog_CXXCPP=$CXXCPP
fi
echo "$ac_t""$CXXCPP" 1>&6

    fi

    _has_O="`for i in $CXXFLAGS; do case $i in -O*) echo $i;;esac; done`"
    if test "x$_has_O" = x;  then
        
    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O2"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -O2""... $ac_c" 1>&6
echo "configure:2752: checking whether the C++ compiler accepts -O2" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__O2'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2757 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__O2=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__O2=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__O2" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__O2" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O2"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


    fi
    _has_g="`for i in $CXXFLAGS; do case $i in -g*) echo $i;;esac; done`"
    if test "x$_has_g" = x;  then
        
    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -g"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -g""... $ac_c" 1>&6
echo "configure:2844: checking whether the C++ compiler accepts -g" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2849 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__g=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__g=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__g" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__g" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -g"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


    fi
    
    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wall"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wall""... $ac_c" 1>&6
echo "configure:2934: checking whether the C++ compiler accepts -Wall" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wall'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 2939 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wall=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wall=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wall" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wall" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wall"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -W"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -W""... $ac_c" 1>&6
echo "configure:2998: checking whether the C++ compiler accepts -W" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__W'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3003 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__W=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__W=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__W" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__W" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -W"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wpointer-arith"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wpointer-arith""... $ac_c" 1>&6
echo "configure:3062: checking whether the C++ compiler accepts -Wpointer-arith" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wpointer_arith'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3067 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wpointer_arith=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wpointer_arith=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wpointer_arith" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wpointer_arith" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wpointer-arith"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wno-cast-align"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wno-cast-align""... $ac_c" 1>&6
echo "configure:3126: checking whether the C++ compiler accepts -Wno-cast-align" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wno_cast_align'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3131 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wno_cast_align=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wno_cast_align=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wno_cast_align" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wno_cast_align" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wno-cast-align"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Woverloaded-virtual""... $ac_c" 1>&6
echo "configure:3190: checking whether the C++ compiler accepts -Woverloaded-virtual" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Woverloaded_virtual'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3195 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Woverloaded_virtual=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Woverloaded_virtual=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Woverloaded_virtual" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Woverloaded_virtual" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi



    if test x"$enable_opt" = xno; then
        CXXFLAGSAUX="$CXXFLAGS" CXXFLAGS=`echo "$CXXFLAGSAUX" | sed s@-g@@g | sed 's@-O[0-9]*@@g'`
        
    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O0"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -O0""... $ac_c" 1>&6
echo "configure:3282: checking whether the C++ compiler accepts -O0" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__O0'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3287 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__O0=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__O0=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__O0" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__O0" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O0"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-inline"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -fno-inline""... $ac_c" 1>&6
echo "configure:3346: checking whether the C++ compiler accepts -fno-inline" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__fno_inline'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3351 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__fno_inline=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__fno_inline=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__fno_inline" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__fno_inline" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-inline"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -g"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -g""... $ac_c" 1>&6
echo "configure:3410: checking whether the C++ compiler accepts -g" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3415 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__g=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__g=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__g" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__g" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -g"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


        

    else
        if test x"$enable_opt" = xyes; then
            CXXFLAGSAUX="$CXXFLAGS" CXXFLAGS=`echo "$CXXFLAGSAUX" | sed s@-g@@g | sed 's@-O[0-9]*@@g'`
            
    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O2"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -O2""... $ac_c" 1>&6
echo "configure:3504: checking whether the C++ compiler accepts -O2" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__O2'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3509 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__O2=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__O2=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__O2" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__O2" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O2"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -g"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -g""... $ac_c" 1>&6
echo "configure:3568: checking whether the C++ compiler accepts -g" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3573 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__g=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__g=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__g" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__g" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -g"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


            

        else
            if test x"$enable_opt" = xmax; then
                CXXFLAGSAUX="$CXXFLAGS" CXXFLAGS=`echo "$CXXFLAGSAUX" | sed s@-g@@g | sed 's@-O[0-9]*@@g'`
                
    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O2"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -O2""... $ac_c" 1>&6
echo "configure:3662: checking whether the C++ compiler accepts -O2" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__O2'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3667 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__O2=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__O2=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__O2" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__O2" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O2"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -finline-functions"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -finline-functions""... $ac_c" 1>&6
echo "configure:3726: checking whether the C++ compiler accepts -finline-functions" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__finline_functions'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3731 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__finline_functions=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__finline_functions=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__finline_functions" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__finline_functions" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -finline-functions"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -fomit-frame-pointer""... $ac_c" 1>&6
echo "configure:3790: checking whether the C++ compiler accepts -fomit-frame-pointer" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__fomit_frame_pointer'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3795 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__fomit_frame_pointer=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__fomit_frame_pointer=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__fomit_frame_pointer" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__fomit_frame_pointer" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -ffast-math"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -ffast-math""... $ac_c" 1>&6
echo "configure:3854: checking whether the C++ compiler accepts -ffast-math" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__ffast_math'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3859 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__ffast_math=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__ffast_math=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__ffast_math" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__ffast_math" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -ffast-math"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


                

            else
                if test x"$enable_opt" = xunsafe; then
                    CXXFLAGSAUX="$CXXFLAGS" CXXFLAGS=`echo "$CXXFLAGSAUX" | sed s@-g@@g | sed 's@-O[0-9]*@@g'`
                    
    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O9"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -O9""... $ac_c" 1>&6
echo "configure:3948: checking whether the C++ compiler accepts -O9" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__O9'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 3953 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:3960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__O9=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__O9=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__O9" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__O9" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -O9"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -finline-functions"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -finline-functions""... $ac_c" 1>&6
echo "configure:4012: checking whether the C++ compiler accepts -finline-functions" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__finline_functions'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4017 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__finline_functions=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__finline_functions=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__finline_functions" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__finline_functions" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -finline-functions"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -fomit-frame-pointer""... $ac_c" 1>&6
echo "configure:4076: checking whether the C++ compiler accepts -fomit-frame-pointer" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__fomit_frame_pointer'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4081 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__fomit_frame_pointer=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__fomit_frame_pointer=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__fomit_frame_pointer" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__fomit_frame_pointer" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -ffast-math"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -ffast-math""... $ac_c" 1>&6
echo "configure:4140: checking whether the C++ compiler accepts -ffast-math" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__ffast_math'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4145 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__ffast_math=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__ffast_math=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__ffast_math" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__ffast_math" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -ffast-math"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


                    

                fi
            fi
        fi
    fi
fi

GNUG_TRUE=' # '
GNUG_FALSE=''
GXX_TRUE=' # '
GXX_FALSE=''

if test "x${GXX}" = xyes; then
   
GNUG_TRUE=''
GXX_TRUE=''
GNUG_FALSE=' # '
GXX_FALSE=' # '


fi








    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wundef"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wundef""... $ac_c" 1>&6
echo "configure:4258: checking whether the C++ compiler accepts -Wundef" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wundef'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4263 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wundef=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wundef=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wundef" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wundef" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wundef"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wconversion"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wconversion""... $ac_c" 1>&6
echo "configure:4322: checking whether the C++ compiler accepts -Wconversion" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wconversion'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4327 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wconversion=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wconversion=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wconversion" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wconversion" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wconversion"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wwrite-strings"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wwrite-strings""... $ac_c" 1>&6
echo "configure:4386: checking whether the C++ compiler accepts -Wwrite-strings" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wwrite_strings'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4391 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wwrite_strings=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wwrite_strings=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wwrite_strings" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wwrite_strings" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wwrite-strings"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wenum-clash"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wenum-clash""... $ac_c" 1>&6
echo "configure:4450: checking whether the C++ compiler accepts -Wenum-clash" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wenum_clash'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4455 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wenum_clash=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wenum_clash=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wenum_clash" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wenum_clash" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wenum-clash"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wsign-promo"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -Wsign-promo""... $ac_c" 1>&6
echo "configure:4514: checking whether the C++ compiler accepts -Wsign-promo" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__Wsign_promo'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4519 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__Wsign_promo=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__Wsign_promo=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__Wsign_promo" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__Wsign_promo" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -Wsign-promo"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi




    
if test "x${GXX}" = xyes; then
   
        
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
            
if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-rtti"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -fno-rtti""... $ac_c" 1>&6
echo "configure:4604: checking whether the C++ compiler accepts -fno-rtti" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__fno_rtti'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4609 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__fno_rtti=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__fno_rtti=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__fno_rtti" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__fno_rtti" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-rtti"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -felide-constructors"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -felide-constructors""... $ac_c" 1>&6
echo "configure:4668: checking whether the C++ compiler accepts -felide-constructors" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__felide_constructors'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4673 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__felide_constructors=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__felide_constructors=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__felide_constructors" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__felide_constructors" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -felide-constructors"
fi




fi


if test "x${with_cxx}" != xno; then
    





er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether the C++ compiler accepts -fno-exceptions""... $ac_c" 1>&6
echo "configure:4732: checking whether the C++ compiler accepts -fno-exceptions" >&5
if eval "test \"`echo '$''{'er_cv_CXXFLAGS__fno_exceptions'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4737 "configure"
#include "confdefs.h"

int main() {

; return 0; }
EOF
if { (eval echo configure:4744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_CXXFLAGS__fno_exceptions=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_CXXFLAGS__fno_exceptions=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_CXXFLAGS__fno_exceptions" 1>&6
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross



CXXFLAGS="$er_old_CXXFLAGS"
if test "x$er_cv_CXXFLAGS__fno_exceptions" = "xyes"; then
   

er_old_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -fno-exceptions"
fi




fi

        

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
    

fi


  
# Check whether --enable-fast-config or --disable-fast-config was given.
if test "${enable_fast_config+set}" = set; then
  enableval="$enable_fast_config"
  :
else
  enable_fast_config=yes
fi



# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4806: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_RANLIB="ranlib"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
if test -n "$RANLIB"; then
  echo "$ac_t""$RANLIB" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4836: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
else
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_prog_AR="ar"
      break
    fi
  done
  IFS="$ac_save_ifs"
  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":"
fi
fi
AR="$ac_cv_prog_AR"
if test -n "$AR"; then
  echo "$ac_t""$AR" 1>&6
else
  echo "$ac_t""no" 1>&6
fi



for ac_prog in lorder lorder.sh lorder-sh
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4870: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_LORDER'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  case "$LORDER" in
  /*)
  ac_cv_path_LORDER="$LORDER" # Let the user override the test with a path.
  ;;
  ?:/*)			 
  ac_cv_path_LORDER="$LORDER" # Let the user override the test with a dos path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do 
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_path_LORDER="$ac_dir/$ac_word"
      break
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
fi
LORDER="$ac_cv_path_LORDER"
if test -n "$LORDER"; then
  echo "$ac_t""$LORDER" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

test -n "$LORDER" && break
done
test -n "$LORDER" || LORDER="./lorder-sh"

for ac_prog in tsort
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4911: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_TSORT'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  case "$TSORT" in
  /*)
  ac_cv_path_TSORT="$TSORT" # Let the user override the test with a path.
  ;;
  ?:/*)			 
  ac_cv_path_TSORT="$TSORT" # Let the user override the test with a dos path.
  ;;
  *)
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="$PATH"
  for ac_dir in $ac_dummy; do 
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/$ac_word; then
      ac_cv_path_TSORT="$ac_dir/$ac_word"
      break
    fi
  done
  IFS="$ac_save_ifs"
  ;;
esac
fi
TSORT="$ac_cv_path_TSORT"
if test -n "$TSORT"; then
  echo "$ac_t""$TSORT" 1>&6
else
  echo "$ac_t""no" 1>&6
fi

test -n "$TSORT" && break
done
test -n "$TSORT" || TSORT="no"


if test -x "$LORDER"; then
    :
else
    LORDER=./lorder-sh
fi

if test -x "$TSORT"; then
    :
else
    TSORT=no
fi

if test "x$TSORT" = "xno"; then
    LORDER=echo
    TSORT=cat
        fi

if test "x$TSORT" = "xcat"; then
    echo "******************************************************************************" 1>&2
    echo "Warning: tsort not found.  It is used for linking to determine the object file" 1>&2
    echo "         order.  The pre-computed object order will be correct in almost all" 1>&2
    echo "         cases, so do not worry too much.  If objects are initialised in the" 1>&2
    echo "         wrong order, install tsort."  1>&2
    echo "******************************************************************************" 1>&2
fi



echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:4977: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 4982 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  ac_cv_header_stdc=yes
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*

if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 5007 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  :
else
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 5025 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  :
else
  rm -rf conftest*
  ac_cv_header_stdc=no
fi
rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then
  :
else
  cat > conftest.$ac_ext <<EOF
#line 5046 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }

EOF
if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  :
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_header_stdc=no
fi
rm -fr conftest*
fi

fi
fi

echo "$ac_t""$ac_cv_header_stdc" 1>&6
if test $ac_cv_header_stdc = yes; then
  cat >> confdefs.h <<\EOF
#define STDC_HEADERS 1
EOF

fi

if test "x$ac_cv_header_stdc" = xyes && test "x$enable_fast_config" = xyes; then
        
        ac_cv_func_setvbuf=${ac_cv_func_setvbuf='yes'}
    ac_cv_func_tolower=${ac_cv_func_tolower='yes'}
    ac_cv_func_toupper=${ac_cv_func_toupper='yes'}

            ac_cv_func_fabs=${ac_cv_func_fabs='yes'}
    ac_cv_func_isalpha=${ac_cv_func_isalpha='yes'}
    ac_cv_func_isdigit=${ac_cv_func_isdigit='yes'}
    ac_cv_func_islower=${ac_cv_func_islower='yes'}
    ac_cv_func_isspace=${ac_cv_func_isspace='yes'}
    ac_cv_func_isupper=${ac_cv_func_isupper='yes'}
    ac_cv_func_memcpy=${ac_cv_func_memcpy='yes'}
    ac_cv_func_memmove=${ac_cv_func_memmove='yes'}
    ac_cv_func_rand=${ac_cv_func_rand='yes'}
    ac_cv_func_setjmp=${ac_cv_func_setjmp='yes'}
    ac_cv_func_sqrt=${ac_cv_func_sqrt='yes'}
    ac_cv_func_srand=${ac_cv_func_srand='yes'}
    ac_cv_func_strcmp=${ac_cv_func_strcmp='yes'}
    ac_cv_func_time=${ac_cv_func_time='yes'}

                
    ac_cv_header_assert_h=${ac_cv_header_assert_h='yes'}
    ac_cv_header_ctype_h=${ac_cv_header_ctype_h='yes'}
    ac_cv_header_locale_h=${ac_cv_header_locale_h='yes'}
    ac_cv_header_math_h=${ac_cv_header_math_h='yes'}
    ac_cv_header_setjmp_h=${ac_cv_header_setjmp_h='yes'}
    ac_cv_header_signal_h=${ac_cv_header_signal_h='yes'}
    ac_cv_header_stdarg_h=${ac_cv_header_stdarg_h='yes'}
    ac_cv_header_stddef_h=${ac_cv_header_stddef_h='yes'}
    ac_cv_header_stdio_h=${ac_cv_header_stdio_h='yes'}
    ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h='yes'}
    ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
    ac_cv_header_time_h=${ac_cv_header_time_h='yes'}
    ac_cv_header_limits_h=${ac_cv_header_limits_h='yes'}

        ac_cv_header_errno_h=${ac_cv_header_errno_h='yes'}

                            fi

# Short cut tests for Posix:
if test "x$ac_cv_headers_posix" = "xyes" && test "x$enable_fast_config" = xyes; then
    ac_cv_func_fabs=${ac_cv_func_fabs='yes'}
    ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp='yes'}
    ac_cv_func_setjmp=${ac_cv_func_setjmp='yes'}
    ac_cv_func_sqrt=${ac_cv_func_sqrt='yes'}
    ac_cv_func_strcmp=${ac_cv_func_strcmp='yes'}
    ac_cv_func_time=${ac_cv_func_time='yes'}

        ac_cv_header_errno_h=${ac_cv_header_errno_h='yes'}
    ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h='yes'}
    ac_cv_header_limits_h=${ac_cv_header_limits_h='yes'}

            
        
        fi

# Short cut tests for BSD4.3:
if test "x$ac_cv_headers_bsd43" = "xyes" && test "x$enable_fast_config" = xyes; then
    ac_cv_func_fabs=${ac_cv_func_fabs='yes'}
    ac_cv_func_isalpha=${ac_cv_func_isalpha='yes'}
    ac_cv_func_isdigit=${ac_cv_func_isdigit='yes'}
    ac_cv_func_islower=${ac_cv_func_islower='yes'}
    ac_cv_func_isspace=${ac_cv_func_isspace='yes'}
    ac_cv_func_isupper=${ac_cv_func_isupper='yes'}
    ac_cv_func_isascii=${ac_cv_func_isascii='yes'}
    ac_cv_func_memcpy=${ac_cv_func_memcpy='yes'}
    ac_cv_func_memmove=${ac_cv_func_memmove='yes'}
    ac_cv_func_rand=${ac_cv_func_rand='yes'}
    ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp='yes'}
    ac_cv_func_sqrt=${ac_cv_func_sqrt='yes'}
    ac_cv_func_srand=${ac_cv_func_srand='yes'}
    ac_cv_func_strcmp=${ac_cv_func_strcmp='yes'}
    ac_cv_func_time=${ac_cv_func_time='yes'}
    ac_cv_func_tolower=${ac_cv_func_tolower='yes'}
    ac_cv_func_toupper=${ac_cv_func_toupper='yes'}

    fi


    echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:5161: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5166 "configure"
#include "confdefs.h"

int main() {

/* Ultrix mips cc rejects this.  */
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this.  */
char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this.  */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
   It does not let you subtract one const X* pointer from another in an arm
   of an if-expression whose if-part is not a constant expression */
const char *g = "string";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this.  */
  char *t;
  char const *s = 0 ? (char *) 0 : (char const *) 0;

  *t++ = 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
  int x[] = {25, 17};
  const int *foo = &x[0];
  ++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  typedef const int *iptr;
  iptr p = 0;
  ++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  struct s { int j; const int *ap[3]; };
  struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  const int foo = 10;
}

; return 0; }
EOF
if { (eval echo configure:5215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_c_const=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_c_const=no
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_c_const" 1>&6
if test $ac_cv_c_const = no; then
  cat >> confdefs.h <<\EOF
#define const 
EOF

fi

    echo $ac_n "checking for inline""... $ac_c" 1>&6
echo "configure:5236: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
  cat > conftest.$ac_ext <<EOF
#line 5243 "configure"
#include "confdefs.h"

int main() {
} $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:5250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_c_inline=$ac_kw; break
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
done

fi

echo "$ac_t""$ac_cv_c_inline" 1>&6
case "$ac_cv_c_inline" in
  inline | yes) ;;
  no) cat >> confdefs.h <<\EOF
#define inline 
EOF
 ;;
  *)  cat >> confdefs.h <<EOF
#define inline $ac_cv_c_inline
EOF
 ;;
esac


echo $ac_n "checking whether C++ compiler honours mutable""... $ac_c" 1>&6
echo "configure:5277: checking whether C++ compiler honours mutable" >&5
if eval "test \"`echo '$''{'er_cv_working_mutable'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
if test x${with_cxx} = xno; then
   er_cv_working_mutable=untested
else
   
   ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

   cat > conftest.$ac_ext <<EOF
#line 5294 "configure"
#include "confdefs.h"

#include <stdlib.h>
class A {
    mutable int i;
public:
    A (): i(0) {}
    void assign_test (void) const { i= 0; }
};

static void test (A const *a)
{
    a->assign_test ();
}

int main() {

        A a;
        test (&a);

        exit (EXIT_SUCCESS);

; return 0; }
EOF
if { (eval echo configure:5319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_working_mutable=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_working_mutable=no
fi
rm -f conftest*
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

fi

fi

echo "$ac_t""$er_cv_working_mutable" 1>&6

if test x"$er_cv_working_mutable" = xyes; then
    cat >> confdefs.h <<\EOF
#define HAVE_WORKING_MUTABLE 1
EOF

fi




echo $ac_n "checking whether C++ compiler honours explicit""... $ac_c" 1>&6
echo "configure:5353: checking whether C++ compiler honours explicit" >&5
if eval "test \"`echo '$''{'er_cv_working_explicit'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
if test x${with_cxx} = xno; then
   er_cv_working_explicit=untested
else
   
   ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

      cat > conftest.$ac_ext <<EOF
#line 5370 "configure"
#include "confdefs.h"

#include <stdlib.h>
class A {
    int i;
public:
    A (): i(0) {}
    explicit A (int a): i(a) {}
};

int main() {

        A a(6);
        exit (EXIT_SUCCESS);

; return 0; }
EOF
if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_working_explicit=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_working_explicit=no
fi
rm -f conftest*

      cat > conftest.$ac_ext <<EOF
#line 5400 "configure"
#include "confdefs.h"

#include <stdlib.h>
class A {
    int i;
public:
    A (): i(0) {}
    explicit A (int a): i(a) {}
};

int main() {

        A a;
        a= 6;
        exit (EXIT_SUCCESS);

; return 0; }
EOF
if { (eval echo configure:5419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_working_explicit=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

fi

fi

echo "$ac_t""$er_cv_working_explicit" 1>&6

if test x"$er_cv_working_explicit" = xyes; then
    cat >> confdefs.h <<\EOF
#define HAVE_WORKING_EXPLICIT 1
EOF

fi




echo $ac_n "checking for floor in -lm""... $ac_c" 1>&6
echo "configure:5451: checking for floor in -lm" >&5
ac_lib_var=`echo m'_'floor | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lm  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5459 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char floor();

int main() {
floor()
; return 0; }
EOF
if { (eval echo configure:5470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  cat >> confdefs.h <<\EOF
#define HAVE_FLOOR 1
EOF

   LIBS="$LIBS -lm"
else
  echo "$ac_t""no" 1>&6
fi


for ac_hdr in ctype.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5499: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5504 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in errno.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5539: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5544 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in fcntl.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5579: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5584 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in float.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5619: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5624 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in limits.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5659: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5664 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in malloc.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5699: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5704 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in math.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5739: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5744 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in mem.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5779: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5784 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in memory.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5819: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5824 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in setjmp.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5859: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5864 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in signal.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5899: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5904 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in stdarg.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5939: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5944 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in stdio.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:5979: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 5984 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:5989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in stdlib.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6019: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6024 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in stdint.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6059: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6064 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in stddef.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6099: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6104 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in string.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6139: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6144 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in strings.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6179: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6184 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in inttypes.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6219: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6224 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in wchar.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6259: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6264 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in time.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6299: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6304 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6339: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6344 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in sys/stat.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6379: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6384 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in sys/time.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6419: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6424 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_hdr in sys/types.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:6459: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6464 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:6469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
else
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
  cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:6496: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6501 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
int main() {
struct tm *tp;
; return 0; }
EOF
if { (eval echo configure:6510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_header_time=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_header_time=no
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_header_time" 1>&6
if test $ac_cv_header_time = yes; then
  cat >> confdefs.h <<\EOF
#define TIME_WITH_SYS_TIME 1
EOF

fi


for ac_func in wcrtomb
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6534: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6539 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in sqrt
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6589: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6594 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in setjmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6644: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6649 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in fabs
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6699: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6704 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in getpid
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6754: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6759 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in isalpha
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6809: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6814 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in islower
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6864: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6869 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in isupper
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6919: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6924 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:6947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in isdigit
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:6974: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 6979 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in isspace
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7029: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7034 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in strcmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7084: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7089 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in strcasecmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7139: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7144 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in strncasecmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7194: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7199 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in stricmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7249: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7254 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in strnicmp
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7304: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7309 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in memcpy
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7359: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7364 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in memmove
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7414: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7419 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in rand
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7469: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7474 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in setvbuf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7524: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7529 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in srand
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7579: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7584 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in strchr
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7634: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7639 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in time
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7689: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7694 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in tolower
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7744: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7749 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in toupper
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7799: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7804 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done

for ac_func in popen
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:7854: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7859 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char $ac_func();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif

; return 0; }
EOF
if { (eval echo configure:7882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi

if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
  cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
 
else
  echo "$ac_t""no" 1>&6
fi
done


echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:7908: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7913 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
#ifdef signal
#undef signal
#endif
#ifdef __cplusplus
extern "C" void (*signal (int, void (*)(int)))(int);
#else
void (*signal ()) ();
#endif

int main() {
int i;
; return 0; }
EOF
if { (eval echo configure:7930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_type_signal=void
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_type_signal=int
fi
rm -f conftest*
fi

echo "$ac_t""$ac_cv_type_signal" 1>&6
cat >> confdefs.h <<EOF
#define RETSIGTYPE $ac_cv_type_signal
EOF


echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:7949: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7954 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_type_size_t=yes
else
  rm -rf conftest*
  ac_cv_type_size_t=no
fi
rm -f conftest*

fi
echo "$ac_t""$ac_cv_type_size_t" 1>&6
if test $ac_cv_type_size_t = no; then
  cat >> confdefs.h <<\EOF
#define size_t unsigned
EOF

fi

echo $ac_n "checking for off_t""... $ac_c" 1>&6
echo "configure:7982: checking for off_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftest.$ac_ext <<EOF
#line 7987 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_type_off_t=yes
else
  rm -rf conftest*
  ac_cv_type_off_t=no
fi
rm -f conftest*

fi
echo "$ac_t""$ac_cv_type_off_t" 1>&6
if test $ac_cv_type_off_t = no; then
  cat >> confdefs.h <<\EOF
#define off_t long
EOF

fi



echo $ac_n "checking for sys_siglist in signal.h or unistd.h""... $ac_c" 1>&6
echo "configure:8017: checking for sys_siglist in signal.h or unistd.h" >&5
if eval "test \"`echo '$''{'er_cv_sys_siglist'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
cat > conftest.$ac_ext <<EOF
#line 8023 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <signal.h>
/* NetBSD declares sys_siglist in unistd.h.  */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

int main() {
char const *msg = *(sys_siglist + 1);
; return 0; }
EOF
if { (eval echo configure:8037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_sys_siglist=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_sys_siglist=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_sys_siglist" 1>&6
if test "x${er_cv_sys_siglist}" = xyes; then
    cat >> confdefs.h <<\EOF
#define SYS_SIGLIST_DECLARED 1
EOF

fi

echo $ac_n "checking for _sys_siglist in signal.h or unistd.h""... $ac_c" 1>&6
echo "configure:8058: checking for _sys_siglist in signal.h or unistd.h" >&5
if eval "test \"`echo '$''{'er_cv__sys_siglist'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
cat > conftest.$ac_ext <<EOF
#line 8064 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <signal.h>
/* NetBSD declares _sys_siglist in unistd.h.  */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

int main() {
char const *msg = *(_sys_siglist + 1);
; return 0; }
EOF
if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv__sys_siglist=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv__sys_siglist=no
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv__sys_siglist" 1>&6
if test "x${er_cv_sys__siglist}" = xyes; then
    cat >> confdefs.h <<\EOF
#define _SYS_SIGLIST_DECLARED 1
EOF

fi



   
   echo $ac_n "checking whether GNU attribute((unused)) works for functions""... $ac_c" 1>&6
echo "configure:8102: checking whether GNU attribute((unused)) works for functions" >&5
if eval "test \"`echo '$''{'er_cv_func_attr_unused'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8119 "configure"
#include "confdefs.h"


static int a;
static int b;

extern int test1 (int a);
extern int test1 (int a) { return a; }

 int test_func (int a) __attribute__((__unused__));

 int test_func (int a)
{
    a= b;
    return a;
}



int main() {
  a= 0; b= 0; 
; return 0; }
EOF
if { (eval echo configure:8143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_func_attr_unused=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_func_attr_unused=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_func_attr_unused=no
        

fi

   
fi

echo "$ac_t""$er_cv_func_attr_unused" 1>&6
   if test "x$er_cv_func_attr_unused" = xyes; then
       unused=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_FUNC_ATTRIBUTE_UNUSED 1
EOF

   else
       unused=no
   fi

   
   echo $ac_n "checking whether GNU attribute((unused)) works for variables""... $ac_c" 1>&6
echo "configure:8186: checking whether GNU attribute((unused)) works for variables" >&5
if eval "test \"`echo '$''{'er_cv_var_attr_unused'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8203 "configure"
#include "confdefs.h"

 union _test_type {
    int *a;
    char *b;
} test_var __attribute__((__unused__)) ;


int main() {

; return 0; }
EOF
if { (eval echo configure:8216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_var_attr_unused=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_var_attr_unused=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_var_attr_unused=no
        

fi

   
fi

echo "$ac_t""$er_cv_var_attr_unused" 1>&6
   if test "x$er_cv_var_attr_unused" = xyes; then
       unused=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_VAR_ATTRIBUTE_UNUSED 1
EOF

   else
       unused=no
   fi

   
   echo $ac_n "checking whether GNU attribute((unused)) works for types""... $ac_c" 1>&6
echo "configure:8259: checking whether GNU attribute((unused)) works for types" >&5
if eval "test \"`echo '$''{'er_cv_type_attr_unused'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8276 "configure"
#include "confdefs.h"

typedef union _test_type {
    int *a;
    char *b;
} __attribute__((__unused__)) test_type;


int main() {

; return 0; }
EOF
if { (eval echo configure:8289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_type_attr_unused=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_type_attr_unused=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_type_attr_unused=no
        

fi

   
fi

echo "$ac_t""$er_cv_type_attr_unused" 1>&6
   if test "x$er_cv_type_attr_unused" = xyes; then
       unused=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_TYPE_ATTRIBUTE_UNUSED 1
EOF

   else
       unused=no
   fi

   if test "x$er_cv_type_attr_unused" = xyes && \
      test "x$er_cv_func_attr_unused" = xyes && \
      test "x$er_cv_var_attr_unused" = xyes
   then
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_ATTRIBUTE_UNUSED 1
EOF

   fi


   
   echo $ac_n "checking whether GNU attribute((deprecated)) works for functions""... $ac_c" 1>&6
echo "configure:8343: checking whether GNU attribute((deprecated)) works for functions" >&5
if eval "test \"`echo '$''{'er_cv_func_attr_deprecated'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8360 "configure"
#include "confdefs.h"


static int a;
static int b;

extern int test1 (int a);
extern int test1 (int a) { return a; }

 int test_func (int a) __attribute__((__deprecated__));

 int test_func (int a)
{
    a= b;
    return a;
}



int main() {
  a= 0; b= 0; 
; return 0; }
EOF
if { (eval echo configure:8384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_func_attr_deprecated=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_func_attr_deprecated=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_func_attr_deprecated=no
        

fi

   
fi

echo "$ac_t""$er_cv_func_attr_deprecated" 1>&6
   if test "x$er_cv_func_attr_deprecated" = xyes; then
       deprecated=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_FUNC_ATTRIBUTE_DEPRECATED 1
EOF

   else
       deprecated=no
   fi

   
   echo $ac_n "checking whether GNU attribute((deprecated)) works for variables""... $ac_c" 1>&6
echo "configure:8427: checking whether GNU attribute((deprecated)) works for variables" >&5
if eval "test \"`echo '$''{'er_cv_var_attr_deprecated'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8444 "configure"
#include "confdefs.h"

 union _test_type {
    int *a;
    char *b;
} test_var __attribute__((__deprecated__)) ;


int main() {

; return 0; }
EOF
if { (eval echo configure:8457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_var_attr_deprecated=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_var_attr_deprecated=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_var_attr_deprecated=no
        

fi

   
fi

echo "$ac_t""$er_cv_var_attr_deprecated" 1>&6
   if test "x$er_cv_var_attr_deprecated" = xyes; then
       deprecated=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_VAR_ATTRIBUTE_DEPRECATED 1
EOF

   else
       deprecated=no
   fi

   
   echo $ac_n "checking whether GNU attribute((deprecated)) works for types""... $ac_c" 1>&6
echo "configure:8500: checking whether GNU attribute((deprecated)) works for types" >&5
if eval "test \"`echo '$''{'er_cv_type_attr_deprecated'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8517 "configure"
#include "confdefs.h"

typedef union _test_type {
    int *a;
    char *b;
} __attribute__((__deprecated__)) test_type;


int main() {

; return 0; }
EOF
if { (eval echo configure:8530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_type_attr_deprecated=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_type_attr_deprecated=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_type_attr_deprecated=no
        

fi

   
fi

echo "$ac_t""$er_cv_type_attr_deprecated" 1>&6
   if test "x$er_cv_type_attr_deprecated" = xyes; then
       deprecated=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_TYPE_ATTRIBUTE_DEPRECATED 1
EOF

   else
       deprecated=no
   fi

   if test "x$er_cv_type_attr_deprecated" = xyes && \
      test "x$er_cv_func_attr_deprecated" = xyes && \
      test "x$er_cv_var_attr_deprecated" = xyes
   then
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_ATTRIBUTE_DEPRECATED 1
EOF

   fi


   echo $ac_n "checking whether GNU attribute((noreturn)) works for functions""... $ac_c" 1>&6
echo "configure:8583: checking whether GNU attribute((noreturn)) works for functions" >&5
if eval "test \"`echo '$''{'er_cv_func_attr_noreturn'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8600 "configure"
#include "confdefs.h"


static int a;
static int b;

extern int test1 (int a);
extern int test1 (int a) { return a; }

 int test_func (int a) __attribute__((__noreturn__));

 int test_func (int a)
{
    a= b;
    test_func(0);
}



int main() {
  a= 0; b= 0; 
; return 0; }
EOF
if { (eval echo configure:8624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_func_attr_noreturn=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_func_attr_noreturn=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_func_attr_noreturn=no
        

fi

   
fi

echo "$ac_t""$er_cv_func_attr_noreturn" 1>&6
   if test "x$er_cv_func_attr_noreturn" = xyes; then
       noreturn=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_FUNC_ATTRIBUTE_NORETURN 1
EOF

   else
       noreturn=no
   fi


   echo $ac_n "checking whether GNU attribute((weak)) works for functions""... $ac_c" 1>&6
echo "configure:8667: checking whether GNU attribute((weak)) works for functions" >&5
if eval "test \"`echo '$''{'er_cv_func_attr_weak'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8684 "configure"
#include "confdefs.h"


static int a;
static int b;

extern int test1 (int a);
extern int test1 (int a) { return a; }

 int test_func (int a) __attribute__((__weak__));

 int test_func (int a)
{
    a= b;
    return a;
}



int main() {
  a= 0; b= 0; 
; return 0; }
EOF
if { (eval echo configure:8708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_func_attr_weak=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_func_attr_weak=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_func_attr_weak=no
        

fi

   
fi

echo "$ac_t""$er_cv_func_attr_weak" 1>&6
   if test "x$er_cv_func_attr_weak" = xyes; then
       weak=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_FUNC_ATTRIBUTE_WEAK 1
EOF

   else
       weak=no
   fi


   echo $ac_n "checking whether GNU attribute((const)) works for functions""... $ac_c" 1>&6
echo "configure:8751: checking whether GNU attribute((const)) works for functions" >&5
if eval "test \"`echo '$''{'er_cv_func_attr_const'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8768 "configure"
#include "confdefs.h"


static int a;
static int b;

extern int test1 (int a);
extern int test1 (int a) { return a; }

 int test_func (int a) __attribute__((__const__));

 int test_func (int a)
{
    a= b;
    return a;
}



int main() {
  a= 0; b= 0; 
; return 0; }
EOF
if { (eval echo configure:8792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_func_attr_const=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_func_attr_const=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_func_attr_const=no
        

fi

   
fi

echo "$ac_t""$er_cv_func_attr_const" 1>&6
   if test "x$er_cv_func_attr_const" = xyes; then
       const=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_FUNC_ATTRIBUTE_CONST 1
EOF

   else
       const=no
   fi


   echo $ac_n "checking whether GNU attribute((format(__printf__, 1, 2))) works for functions""... $ac_c" 1>&6
echo "configure:8835: checking whether GNU attribute((format(__printf__, 1, 2))) works for functions" >&5
if eval "test \"`echo '$''{'er_cv_func_attr_format'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8852 "configure"
#include "confdefs.h"


static int a;
static int b;

extern int test1 (char const *x, ...);
extern int test1 (char const *x, ...) { return a; }

 int test_func (char const *x, ...) __attribute__((__format__(__printf__, 1, 2)));

 int test_func (char const *x, ...)
{
    a= b;
    return a;
}



int main() {
  a= 0; b= 0; 
; return 0; }
EOF
if { (eval echo configure:8876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_func_attr_format=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_func_attr_format=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_func_attr_format=no
        

fi

   
fi

echo "$ac_t""$er_cv_func_attr_format" 1>&6
   if test "x$er_cv_func_attr_format" = xyes; then
       format=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_FUNC_ATTRIBUTE_FORMAT 1
EOF

   else
       format=no
   fi


   echo $ac_n "checking whether GNU attribute((no_check_memory_usage)) works for functions""... $ac_c" 1>&6
echo "configure:8919: checking whether GNU attribute((no_check_memory_usage)) works for functions" >&5
if eval "test \"`echo '$''{'er_cv_func_attr_no_check_memory_usage'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
       
if test "x${GCC}" = xyes; then
   
           
            _old2_CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CFLAGS="`for i in $CFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

            _old2_CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w) echo $i;;esac; done`"
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -W*|-w);; *) echo $i;;esac; done` -Werror"

    
               cat > conftest.$ac_ext <<EOF
#line 8936 "configure"
#include "confdefs.h"


static int a;
static int b;

extern int test1 (int a);
extern int test1 (int a) { return a; }

 int test_func (int a) __attribute__((__no_check_memory_usage__));

 int test_func (int a)
{
    a= b;
    return a;
}



int main() {
  a= 0; b= 0; 
; return 0; }
EOF
if { (eval echo configure:8960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
   er_cv_func_attr_no_check_memory_usage=yes 
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
   er_cv_func_attr_no_check_memory_usage=no 
fi
rm -f conftest*
           

    CFLAGS="`for i in $CFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CFLAGS="`echo $_old2_CFLAGS $CFLAGS`"
    
    CXXFLAGS="`for i in $CXXFLAGS; do case $i in -Werror);; *) echo $i;;esac; done`"
    CXXFLAGS="`echo $_old2_CXXFLAGS $CXXFLAGS`"
    
        

else
   
           er_cv_func_attr_no_check_memory_usage=no
        

fi

   
fi

echo "$ac_t""$er_cv_func_attr_no_check_memory_usage" 1>&6
   if test "x$er_cv_func_attr_no_check_memory_usage" = xyes; then
       no_check_memory_usage=yes
       cat >> confdefs.h <<\EOF
#define HAVE_GNU_FUNC_ATTRIBUTE_NO_CHECK_MEMORY_USAGE 1
EOF

   else
       no_check_memory_usage=no
   fi


echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:9003: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  cat > conftestmake <<\EOF
all:
	@echo 'ac_maketemp="${MAKE}"'
EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
if test -n "$ac_maketemp"; then
  eval ac_cv_prog_make_${ac_make}_set=yes
else
  eval ac_cv_prog_make_${ac_make}_set=no
fi
rm -f conftestmake
fi
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  echo "$ac_t""yes" 1>&6
  SET_MAKE=
else
  echo "$ac_t""no" 1>&6
  SET_MAKE="MAKE=${MAKE-make}"
fi




# Check whether --enable-release or --disable-release was given.
if test "${enable_release+set}" = set; then
  enableval="$enable_release"
  :
else
  
    if echo "$CPPFLAGS" | grep -- '-DRELEASE' > /dev/null 2>&1
    then
        enable_release=yes
    fi

fi

if test "x$enable_release" = xyes; then
    CXXFLAGSAUX="$CXXFLAGS" CXXFLAGS=`echo "$CXXFLAGSAUX" | sed s@-g@@g`
    CFLAGSAUX="$CFLAGS" CFLAGS=`echo "$CFLAGSAUX" | sed s@-g@@g`
    RELEASE=1
    CPPFLAGS="$CPPFLAGS -DRELEASE"
    WINCPPFLAGS="$WINCPPFLAGS /DRELEASE"
    WINLDFLAGS="$WINLDFLAGS /RELEASE"
    if test "x$GCC" = xyes; then
        CFLAGS="$CFLAGS -Wno-unused"
            fi
    if test "x$GXX" = xyes; then
        CXXFLAGS="$CXXFLAGS -Wno-unused"
    fi
else
    RELEASE=0
fi



# Check whether --enable-ndebug or --disable-ndebug was given.
if test "${enable_ndebug+set}" = set; then
  enableval="$enable_ndebug"
  :
else
  
    if echo "$CPPFLAGS" | grep -- '-DNDEBUG' > /dev/null 2>&1
    then
        enable_ndebug=yes
    fi

fi

if test "x$enable_ndebug" = xyes; then
    NDEBUG=1
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
    WINCPPFLAGS="$WINCPPFLAGS /DNDEBUG"
else
    NDEBUG=0
fi



if test "x0" = x1 && test "x$with_cxx" != xno; then
    ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross

    echo $ac_n "checking for eprintf in -lerror""... $ac_c" 1>&6
echo "configure:9096: checking for eprintf in -lerror" >&5
ac_lib_var=`echo error'_'eprintf | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_save_LIBS="$LIBS"
LIBS="-lerror  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 9104 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char eprintf();

int main() {
eprintf()
; return 0; }
EOF
if { (eval echo configure:9118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"

fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
  echo "$ac_t""yes" 1>&6
    ac_tr_lib=HAVE_LIB`echo error | sed -e 's/[^a-zA-Z0-9_]/_/g' \
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
  cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF

  LIBS="-lerror $LIBS"

else
  echo "$ac_t""no" 1>&6
fi

    ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross

fi



if test x${ASK_CROSS} = x1; then
   ASK_CROSS="${cross_compiling}"
fi

if test x${ASK_CROSS} = xyes ; then
    echo "**********************************************************************"
    echo "I have some questions about the cross compiler."
    echo

    
   echo -n "Is char unsigned (y/N)? "
   read a
   if test x${a} = x ; then
      ac_cv_c_char_unsigned=no
   else
       if test x${a} = xy ; then
          ac_cv_c_char_unsigned=yes
       else
           if test x${a} = xyes ; then
              ac_cv_c_char_unsigned=yes
           else
              ac_cv_c_char_unsigned=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_c_char_unsigned."

    if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
       cat >> confdefs.h <<\EOF
#define __CHAR_UNSIGNED__ 1
EOF

    fi

    
   echo -n "Is the target a bigendian machine (y/N)? "
   read a
   if test x${a} = x ; then
      ac_cv_c_bigendian=no
   else
       if test x${a} = xy ; then
          ac_cv_c_bigendian=yes
       else
           if test x${a} = xyes ; then
              ac_cv_c_bigendian=yes
           else
              ac_cv_c_bigendian=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_c_bigendian."

    if test $ac_cv_c_bigendian = yes; then
       cat >> confdefs.h <<\EOF
#define WORDS_BIGENDIAN 1
EOF

    fi

    
   echo -n "Please enter sizeof(short) (default: 2): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_short=2
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_short=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_short=yes
           else
              ac_cv_sizeof_short=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_short."

    cat >> confdefs.h <<EOF
#define SIZEOF_SHORT $ac_cv_sizeof_short
EOF


    
   echo -n "Please enter sizeof(int) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_int=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_int=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_int=yes
           else
              ac_cv_sizeof_int=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_int."

    cat >> confdefs.h <<EOF
#define SIZEOF_INT $ac_cv_sizeof_int
EOF


    
   echo -n "Please enter sizeof(long) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_long=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_long=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_long=yes
           else
              ac_cv_sizeof_long=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_long."

    cat >> confdefs.h <<EOF
#define SIZEOF_LONG $ac_cv_sizeof_long
EOF


    
   echo -n "Please enter sizeof(void*) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_voidp=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_voidp=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_voidp=yes
           else
              ac_cv_sizeof_voidp=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_voidp."

    cat >> confdefs.h <<EOF
#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
EOF


    
   echo -n "Please enter sizeof(float) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_float=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_float=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_float=yes
           else
              ac_cv_sizeof_float=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_float."

    cat >> confdefs.h <<EOF
#define SIZEOF_FLOAT $ac_cv_sizeof_float
EOF


    
   echo -n "Please enter sizeof(double) (default: 8): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_double=8
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_double=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_double=yes
           else
              ac_cv_sizeof_double=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_double."

    cat >> confdefs.h <<EOF
#define SIZEOF_DOUBLE $ac_cv_sizeof_double
EOF


    echo "For the following size operands, you may enter 0 if your system does not"
    echo "support that type.  If \`long long' is called differently and you want to"
    echo "use it anyway, you must create your own config.h (there are examples)."

    
   echo -n "Please enter sizeof(long long) (default: 8): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_long_long=8
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_long_long=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_long_long=yes
           else
              ac_cv_sizeof_long_long=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_long_long."

    cat >> confdefs.h <<EOF
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
EOF


    
   echo -n "Please enter sizeof(long double) (default: 10): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_long_double=10
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_long_double=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_long_double=yes
           else
              ac_cv_sizeof_long_double=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_long_double."

    cat >> confdefs.h <<EOF
#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
EOF


    
   echo -n "Please enter sizeof(wchar_t) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_wchar_t=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_wchar_t=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_wchar_t=yes
           else
              ac_cv_sizeof_wchar_t=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_wchar_t."

    cat >> confdefs.h <<EOF
#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
EOF

    cat >> confdefs.h <<EOF
#define SIZEOF__WCHAR_T 0
EOF

    cat >> confdefs.h <<EOF
#define SIZEOF___WCHAR_T 0
EOF


    
   echo -n "Please enter sizeof(wint_t) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_wint_t=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_wint_t=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_wint_t=yes
           else
              ac_cv_sizeof_wint_t=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_wint_t."

    cat >> confdefs.h <<EOF
#define SIZEOF_WINT_T $ac_cv_sizeof_wint_t
EOF

    cat >> confdefs.h <<EOF
#define SIZEOF__WINT_T 0
EOF

    cat >> confdefs.h <<EOF
#define SIZEOF___WINT_T 0
EOF


    
   echo -n "Please enter sizeof(size_t) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_size_t=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_size_t=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_size_t=yes
           else
              ac_cv_sizeof_size_t=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_size_t."

    cat >> confdefs.h <<EOF
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
EOF


    
   echo -n "Please enter sizeof(ptrdiff_t) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_ptrdiff_t=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_ptrdiff_t=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_ptrdiff_t=yes
           else
              ac_cv_sizeof_ptrdiff_t=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_ptrdiff_t."

    cat >> confdefs.h <<EOF
#define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
EOF


    
   echo -n "Please enter sizeof(intmax_t) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_intmax_t=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_intmax_t=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_intmax_t=yes
           else
              ac_cv_sizeof_intmax_t=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_intmax_t."

    cat >> confdefs.h <<EOF
#define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
EOF


    
   echo -n "Please enter sizeof(int64_t) (default: 8): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_intmax_t=8
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_intmax_t=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_intmax_t=yes
           else
              ac_cv_sizeof_intmax_t=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_intmax_t."

    cat >> confdefs.h <<EOF
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
EOF


    
   echo -n "Please enter sizeof(uint64_t) (default: 8): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_intmax_t=8
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_intmax_t=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_intmax_t=yes
           else
              ac_cv_sizeof_intmax_t=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_intmax_t."

    cat >> confdefs.h <<EOF
#define SIZEOF_UINT64_T $ac_cv_sizeof_int64_t
EOF


    
   echo -n "Please enter sizeof(void(*)(void)) (default: 4): "
   read a
   if test x${a} = x ; then
      ac_cv_sizeof_void_p__void_=4
   else
       if test x${a} = xy ; then
          ac_cv_sizeof_void_p__void_=yes
       else
           if test x${a} = xyes ; then
              ac_cv_sizeof_void_p__void_=yes
           else
              ac_cv_sizeof_void_p__void_=no
           fi
       fi
   fi
   echo "    CHECK: You answered $ac_cv_sizeof_void_p__void_."

    cat >> confdefs.h <<EOF
#define SIZEOF_VOID_P__VOID_ $ac_cv_sizeof_void_p__void_
EOF


    echo
    echo "Thanks a lot!"
    echo "**********************************************************************"
else
    echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
echo "configure:9608: checking whether char is unsigned" >&5
if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$GCC" = yes; then
  # GCC predefines this symbol on systems where it applies.
cat > conftest.$ac_ext <<EOF
#line 9615 "configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
  yes
#endif

EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "yes" >/dev/null 2>&1; then
  rm -rf conftest*
  ac_cv_c_char_unsigned=yes
else
  rm -rf conftest*
  ac_cv_c_char_unsigned=no
fi
rm -f conftest*

else
if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
  cat > conftest.$ac_ext <<EOF
#line 9637 "configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs.  */
#if !defined(__STDC__) || __STDC__ != 1
#define volatile
#endif
main() {
  volatile char c = 255; exit(c < 0);
}
EOF
if { (eval echo configure:9647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_c_char_unsigned=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_c_char_unsigned=no
fi
rm -fr conftest*
fi

fi
fi

echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
  cat >> confdefs.h <<\EOF
#define __CHAR_UNSIGNED__ 1
EOF

fi

    echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:9671: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
#line 9678 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
 bogus endian macros
#endif
; return 0; }
EOF
if { (eval echo configure:9689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  # It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
#line 9693 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
int main() {

#if BYTE_ORDER != BIG_ENDIAN
 not big endian
#endif
; return 0; }
EOF
if { (eval echo configure:9704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  ac_cv_c_bigendian=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  ac_cv_c_bigendian=no
fi
rm -f conftest*
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
fi
rm -f conftest*
if test $ac_cv_c_bigendian = unknown; then
if test "$cross_compiling" = yes; then
    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
  cat > conftest.$ac_ext <<EOF
#line 9724 "configure"
#include "confdefs.h"
main () {
  /* Are we little or big endian?  From Harbison&Steele.  */
  union
  {
    long l;
    char c[sizeof (long)];
  } u;
  u.l = 1;
  exit (u.c[sizeof (long) - 1] == 1);
}
EOF
if { (eval echo configure:9737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_c_bigendian=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_c_bigendian=yes
fi
rm -fr conftest*
fi

fi
fi

echo "$ac_t""$ac_cv_c_bigendian" 1>&6
if test $ac_cv_c_bigendian = yes; then
  cat >> confdefs.h <<\EOF
#define WORDS_BIGENDIAN 1
EOF

fi


        echo $ac_n "checking size of short""... $ac_c" 1>&6
echo "configure:9762: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_short=2
else
  cat > conftest.$ac_ext <<EOF
#line 9770 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(short));
  exit(0);
}
EOF
if { (eval echo configure:9781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_short=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_short=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_short" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_SHORT $ac_cv_sizeof_short
EOF


    echo $ac_n "checking size of int""... $ac_c" 1>&6
echo "configure:9801: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_int=4
else
  cat > conftest.$ac_ext <<EOF
#line 9809 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(int));
  exit(0);
}
EOF
if { (eval echo configure:9820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_int=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_int=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_int" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_INT $ac_cv_sizeof_int
EOF


    echo $ac_n "checking size of long""... $ac_c" 1>&6
echo "configure:9840: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_long=4
else
  cat > conftest.$ac_ext <<EOF
#line 9848 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(long));
  exit(0);
}
EOF
if { (eval echo configure:9859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_long=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_long=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_long" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_LONG $ac_cv_sizeof_long
EOF


    echo $ac_n "checking size of void*""... $ac_c" 1>&6
echo "configure:9879: checking size of void*" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_voidp=4
else
  cat > conftest.$ac_ext <<EOF
#line 9887 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(void*));
  exit(0);
}
EOF
if { (eval echo configure:9898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_voidp=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_voidp=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_voidp" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_VOIDP $ac_cv_sizeof_voidp
EOF


    echo $ac_n "checking size of float""... $ac_c" 1>&6
echo "configure:9918: checking size of float" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_float=4
else
  cat > conftest.$ac_ext <<EOF
#line 9926 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(float));
  exit(0);
}
EOF
if { (eval echo configure:9937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_float=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_float=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_float" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_FLOAT $ac_cv_sizeof_float
EOF


    echo $ac_n "checking size of double""... $ac_c" 1>&6
echo "configure:9957: checking size of double" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_double=8
else
  cat > conftest.$ac_ext <<EOF
#line 9965 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(double));
  exit(0);
}
EOF
if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_double=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_double=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_double" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_DOUBLE $ac_cv_sizeof_double
EOF


    echo $ac_n "checking size of long long""... $ac_c" 1>&6
echo "configure:9996: checking size of long long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_long_long=8
else
  cat > conftest.$ac_ext <<EOF
#line 10004 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(long long));
  exit(0);
}
EOF
if { (eval echo configure:10015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_long_long=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_long_long=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
EOF


    echo $ac_n "checking size of long double""... $ac_c" 1>&6
echo "configure:10035: checking size of long double" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_long_double=16
else
  cat > conftest.$ac_ext <<EOF
#line 10043 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(long double));
  exit(0);
}
EOF
if { (eval echo configure:10054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_long_double=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_long_double=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_long_double" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
EOF


    echo $ac_n "checking size of void(*)(void)""... $ac_c" 1>&6
echo "configure:10074: checking size of void(*)(void)" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_void_p__void_'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_void_p__void_=4
else
  cat > conftest.$ac_ext <<EOF
#line 10082 "configure"
#include "confdefs.h"
#include <stdio.h>

main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(void(*)(void)));
  exit(0);
}
EOF
if { (eval echo configure:10094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_void_p__void_=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_void_p__void_=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_void_p__void_" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_VOID_P__VOID_ $ac_cv_sizeof_void_p__void_
EOF


    echo $ac_n "checking size of int64_t in inttypes.h""... $ac_c" 1>&6
echo "configure:10114: checking size of int64_t in inttypes.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int64_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_int64_t=8
else
  cat > conftest.$ac_ext <<EOF
#line 10122 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <inttypes.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(int64_t));
  exit(0);
}
EOF
if { (eval echo configure:10134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_int64_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_int64_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_int64_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
EOF


    echo $ac_n "checking size of uint64_t in inttypes.h""... $ac_c" 1>&6
echo "configure:10154: checking size of uint64_t in inttypes.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_uint64_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_uint64_t=8
else
  cat > conftest.$ac_ext <<EOF
#line 10162 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <inttypes.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(uint64_t));
  exit(0);
}
EOF
if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_uint64_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_uint64_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_uint64_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_UINT64_T $ac_cv_sizeof_uint64_t
EOF


    echo $ac_n "checking size of size_t in stddef.h""... $ac_c" 1>&6
echo "configure:10194: checking size of size_t in stddef.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_size_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_size_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10202 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <stddef.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(size_t));
  exit(0);
}
EOF
if { (eval echo configure:10214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_size_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_size_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_size_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
EOF


    echo $ac_n "checking size of ssize_t in stddef.h""... $ac_c" 1>&6
echo "configure:10234: checking size of ssize_t in stddef.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_ssize_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_ssize_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10242 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <stddef.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(ssize_t));
  exit(0);
}
EOF
if { (eval echo configure:10254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_ssize_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_ssize_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_ssize_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_SSIZE_T $ac_cv_sizeof_ssize_t
EOF


    echo $ac_n "checking size of wchar_t in wchar.h""... $ac_c" 1>&6
echo "configure:10274: checking size of wchar_t in wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_wchar_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10282 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <wchar.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(wchar_t));
  exit(0);
}
EOF
if { (eval echo configure:10294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_wchar_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_wchar_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
EOF


    echo $ac_n "checking size of _wchar_t in wchar.h""... $ac_c" 1>&6
echo "configure:10314: checking size of _wchar_t in wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof__wchar_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof__wchar_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10322 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <wchar.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(_wchar_t));
  exit(0);
}
EOF
if { (eval echo configure:10334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof__wchar_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof__wchar_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof__wchar_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF__WCHAR_T $ac_cv_sizeof__wchar_t
EOF


    echo $ac_n "checking size of __wchar_t in wchar.h""... $ac_c" 1>&6
echo "configure:10354: checking size of __wchar_t in wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof___wchar_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof___wchar_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10362 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <wchar.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(__wchar_t));
  exit(0);
}
EOF
if { (eval echo configure:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof___wchar_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof___wchar_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof___wchar_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF___WCHAR_T $ac_cv_sizeof___wchar_t
EOF


    echo $ac_n "checking size of wint_t in wchar.h""... $ac_c" 1>&6
echo "configure:10394: checking size of wint_t in wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_wint_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_wint_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10402 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <wchar.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(wint_t));
  exit(0);
}
EOF
if { (eval echo configure:10414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_wint_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_wint_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_wint_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_WINT_T $ac_cv_sizeof_wint_t
EOF


    echo $ac_n "checking size of _wint_t in wchar.h""... $ac_c" 1>&6
echo "configure:10434: checking size of _wint_t in wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof__wint_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof__wint_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10442 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <wchar.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(_wint_t));
  exit(0);
}
EOF
if { (eval echo configure:10454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof__wint_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof__wint_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof__wint_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF__WINT_T $ac_cv_sizeof__wint_t
EOF


    echo $ac_n "checking size of __wint_t in wchar.h""... $ac_c" 1>&6
echo "configure:10474: checking size of __wint_t in wchar.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof___wint_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof___wint_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10482 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <wchar.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(__wint_t));
  exit(0);
}
EOF
if { (eval echo configure:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof___wint_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof___wint_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof___wint_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF___WINT_T $ac_cv_sizeof___wint_t
EOF


    echo $ac_n "checking size of ptrdiff_t in malloc.h""... $ac_c" 1>&6
echo "configure:10514: checking size of ptrdiff_t in malloc.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_ptrdiff_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_ptrdiff_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10522 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <malloc.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(ptrdiff_t));
  exit(0);
}
EOF
if { (eval echo configure:10534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_ptrdiff_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_ptrdiff_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_ptrdiff_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_PTRDIFF_T $ac_cv_sizeof_ptrdiff_t
EOF


    echo $ac_n "checking size of intptr_t in inttypes.h""... $ac_c" 1>&6
echo "configure:10554: checking size of intptr_t in inttypes.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_intptr_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_intptr_t=4
else
  cat > conftest.$ac_ext <<EOF
#line 10562 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <inttypes.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(intptr_t));
  exit(0);
}
EOF
if { (eval echo configure:10574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_intptr_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_intptr_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_intptr_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_INTPTR_T $ac_cv_sizeof_intptr_t
EOF


    echo $ac_n "checking size of intmax_t in inttypes.h""... $ac_c" 1>&6
echo "configure:10594: checking size of intmax_t in inttypes.h" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_intmax_t'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  ac_cv_sizeof_intmax_t=8
else
  cat > conftest.$ac_ext <<EOF
#line 10602 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <inttypes.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(intmax_t));
  exit(0);
}
EOF
if { (eval echo configure:10614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
  ac_cv_sizeof_intmax_t=`cat conftestval`
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  ac_cv_sizeof_intmax_t=0
fi
rm -fr conftest*
fi

fi
echo "$ac_t""$ac_cv_sizeof_intmax_t" 1>&6
cat >> confdefs.h <<EOF
#define SIZEOF_INTMAX_T $ac_cv_sizeof_intmax_t
EOF


fi



echo $ac_n "checking whether ctype functions are broken for 8 bit characters""... $ac_c" 1>&6
echo "configure:10638: checking whether ctype functions are broken for 8 bit characters" >&5
if eval "test \"`echo '$''{'er_cv_broken_ctype'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  
   cat > conftest.$ac_ext <<EOF
#line 10644 "configure"
#include "confdefs.h"

#include <stdlib.h>
#include <ctype.h>

int main() {

        int i;

        if (isspace (129)) exit (EXIT_FAILURE);
        if (isspace (255)) exit (EXIT_FAILURE);
        if (toupper ('a') != 'A') exit(EXIT_FAILURE);
        if (toupper ('A') != 'A') exit(EXIT_FAILURE);
        if (tolower ('A') != 'a') exit(EXIT_FAILURE);
        if (tolower ('a') != 'a') exit(EXIT_FAILURE);

        for (i=-128; i < 255; i++) {
            (void)isspace (i);
            (void)isalpha (i);
            (void)isdigit (i);
            (void)tolower (i);
            (void)toupper (i);
        }

        exit (EXIT_SUCCESS);

; return 0; }
EOF
if { (eval echo configure:10673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  er_cv_broken_ctype=no
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  er_cv_broken_ctype=yes
fi
rm -f conftest*
fi

echo "$ac_t""$er_cv_broken_ctype" 1>&6

if test x"$er_cv_broken_type" = xyes; then
    cat >> confdefs.h <<\EOF
#define BROKEN_CTYPE 1
EOF

fi













mkdir lib >/dev/null 2>&1
if test ! -d include/erwin; then
    mkdir  include >/dev/null 2>&1
    mkdir  include/ >/dev/null 2>&1
    mkdir  include/erwin >/dev/null 2>&1
fi



trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
  case `(ac_space=' '; set | grep ac_space) 2>&1` in
  *ac_space=\ *)
    # `set' does not quote correctly, so add quotes (double-quote substitution
    # turns \\\\ into \\, and sed turns \\ into \).
    sed -n \
      -e "s/'/'\\\\''/g" \
      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    ;;
  *)
    # `set' quotes correctly as required by POSIX, so do not add quotes.
    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    ;;
  esac >> confcache
if cmp -s $cache_file confcache; then
  :
else
  if test -w $cache_file; then
    echo "updating cache $cache_file"
    cat confcache > $cache_file
  else
    echo "not updating unwritable cache $cache_file"
  fi
fi
rm -f confcache

trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'

# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
if test "x$srcdir" = x.; then
  ac_vpsub='/^[ 	]*VPATH[ 	]*=[^:]*$/d'
fi

trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15

DEFS=-DHAVE_CONFIG_H

# Without the "./", some shells look in PATH for config.status.
: ${CONFIG_STATUS=./config.status}

echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
do
  case "\$ac_option" in
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    exit 0 ;;
  -help | --help | --hel | --he | --h)
    echo "\$ac_cs_usage"; exit 0 ;;
  *) echo "\$ac_cs_usage"; exit 1 ;;
  esac
done

ac_given_srcdir=$srcdir

trap 'rm -fr `echo "Makefile Makefile.cross include/erwin/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF

# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@SHELL@%$SHELL%g
s%@CFLAGS@%$CFLAGS%g
s%@CPPFLAGS@%$CPPFLAGS%g
s%@CXXFLAGS@%$CXXFLAGS%g
s%@FFLAGS@%$FFLAGS%g
s%@DEFS@%$DEFS%g
s%@LDFLAGS@%$LDFLAGS%g
s%@LIBS@%$LIBS%g
s%@exec_prefix@%$exec_prefix%g
s%@prefix@%$prefix%g
s%@program_transform_name@%$program_transform_name%g
s%@bindir@%$bindir%g
s%@sbindir@%$sbindir%g
s%@libexecdir@%$libexecdir%g
s%@datadir@%$datadir%g
s%@sysconfdir@%$sysconfdir%g
s%@sharedstatedir@%$sharedstatedir%g
s%@localstatedir@%$localstatedir%g
s%@libdir@%$libdir%g
s%@includedir@%$includedir%g
s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
s%@RM@%$RM%g
s%@RMF@%$RMF%g
s%@RMRF@%$RMRF%g
s%@AUTOCONF@%$AUTOCONF%g
s%@AUTOHEADER@%$AUTOHEADER%g
s%@MV@%$MV%g
s%@SYNC@%$SYNC%g
s%@CP@%$CP%g
s%@GREP@%$GREP%g
s%@MKDIR@%$MKDIR%g
s%@RMDIR@%$RMDIR%g
s%@CAT@%$CAT%g
s%@CHMOD@%$CHMOD%g
s%@DATE@%$DATE%g
s%@ECHO@%$ECHO%g
s%@ECHODATE@%$ECHODATE%g
s%@WITH_CC@%$WITH_CC%g
s%@WITHOUT_CC@%$WITHOUT_CC%g
s%@CC@%$CC%g
s%@CPP@%$CPP%g
s%@GNUC_TRUE@%$GNUC_TRUE%g
s%@GNUC_FALSE@%$GNUC_FALSE%g
s%@GCC_TRUE@%$GCC_TRUE%g
s%@GCC_FALSE@%$GCC_FALSE%g
s%@WITH_CXX@%$WITH_CXX%g
s%@WITHOUT_CXX@%$WITHOUT_CXX%g
s%@CXX@%$CXX%g
s%@CXXCPP@%$CXXCPP%g
s%@GNUG_TRUE@%$GNUG_TRUE%g
s%@GNUG_FALSE@%$GNUG_FALSE%g
s%@GXX_TRUE@%$GXX_TRUE%g
s%@GXX_FALSE@%$GXX_FALSE%g
s%@RANLIB@%$RANLIB%g
s%@AR@%$AR%g
s%@LORDER@%$LORDER%g
s%@TSORT@%$TSORT%g
s%@HAVE_WORKING_MUTABLE@%$HAVE_WORKING_MUTABLE%g
s%@HAVE_WORKING_EXPLICIT@%$HAVE_WORKING_EXPLICIT%g
s%@SET_MAKE@%$SET_MAKE%g
s%@RELEASE@%$RELEASE%g
s%@NDEBUG@%$NDEBUG%g
s%@BROKEN_CTYPE@%$BROKEN_CTYPE%g
s%@MORE_CPPFLAGS@%$MORE_CPPFLAGS%g
s%@MORE_CXXFLAGS@%$MORE_CXXFLAGS%g
s%@MORE_CFLAGS@%$MORE_CFLAGS%g
s%@MORE_LDFLAGS@%$MORE_LDFLAGS%g
s%@LESS_CPPFLAGS@%$LESS_CPPFLAGS%g
s%@LESS_CXXFLAGS@%$LESS_CXXFLAGS%g
s%@LESS_CFLAGS@%$LESS_CFLAGS%g
s%@LESS_LDFLAGS@%$LESS_LDFLAGS%g

CEOF
EOF

cat >> $CONFIG_STATUS <<\EOF

# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
  if test $ac_beg -gt 1; then
    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  else
    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  fi
  if test ! -s conftest.s$ac_file; then
    ac_more_lines=false
    rm -f conftest.s$ac_file
  else
    if test -z "$ac_sed_cmds"; then
      ac_sed_cmds="sed -f conftest.s$ac_file"
    else
      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    fi
    ac_file=`expr $ac_file + 1`
    ac_beg=$ac_end
    ac_end=`expr $ac_end + $ac_max_sed_cmds`
  fi
done
if test -z "$ac_sed_cmds"; then
  ac_sed_cmds=cat
fi
EOF

cat >> $CONFIG_STATUS <<EOF

CONFIG_FILES=\${CONFIG_FILES-"Makefile Makefile.cross"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test ! -d "$ac_dir" && mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case "$ac_given_srcdir" in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  *) # Relative path.
    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    top_srcdir="$ac_dots$ac_given_srcdir" ;;
  esac


  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  case "$ac_file" in
  *Makefile*) ac_comsub="1i\\
# $configure_input" ;;
  *) ac_comsub= ;;
  esac

  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='\([ 	][ 	]*\)[^ 	]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_uB='\([ 	]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'

if test "${CONFIG_HEADERS+set}" != set; then
EOF
cat >> $CONFIG_STATUS <<EOF
  CONFIG_HEADERS="include/erwin/config.h"
EOF
cat >> $CONFIG_STATUS <<\EOF
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case "$ac_file" in
  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  *) ac_file_in="${ac_file}.in" ;;
  esac

  echo creating $ac_file

  rm -f conftest.frag conftest.in conftest.out
  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  cat $ac_file_inputs > conftest.in

EOF

# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h.  And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
rm -f conftest.vals
cat > conftest.hdr <<\EOF
s/[\\&%]/\\&/g
s%[\\$`]%\\&%g
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
EOF
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr

# This sed command replaces #undef with comments.  This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
cat >> conftest.vals <<\EOF
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
EOF

# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.

rm -f conftest.tail
while :
do
  ac_lines=`grep -c . conftest.vals`
  # grep -c gives empty output for an empty file on some AIX systems.
  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
  # Write a limited-size here document to conftest.frag.
  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
  echo 'CEOF
  sed -f conftest.frag conftest.in > conftest.out
  rm -f conftest.in
  mv conftest.out conftest.in
' >> $CONFIG_STATUS
  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
  rm -f conftest.vals
  mv conftest.tail conftest.vals
done
rm -f conftest.vals

cat >> $CONFIG_STATUS <<\EOF
  rm -f conftest.frag conftest.h
  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  cat conftest.in >> conftest.h
  rm -f conftest.in
  if cmp -s $ac_file conftest.h 2>/dev/null; then
    echo "$ac_file is unchanged"
    rm -f conftest.h
  else
    # Remove last slash and all that follows it.  Not all systems have dirname.
      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
      # The file is in a subdirectory.
      test ! -d "$ac_dir" && mkdir "$ac_dir"
    fi
    rm -f $ac_file
    mv conftest.h $ac_file
  fi
fi; done

EOF
cat >> $CONFIG_STATUS <<EOF

EOF
cat >> $CONFIG_STATUS <<\EOF

exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1

