home *** CD-ROM | disk | FTP | other *** search
Text File | 2001-03-03 | 158.9 KB | 5,843 lines |
- #! /bin/sh
- # Guess values for system-dependent variables and create Makefiles.
- # Generated by Autoconf 2.49c.
- #
- # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
- # Free Software Foundation, Inc.
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
-
- # Be Bourne compatible
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
- set -o posix
- fi
-
- if expr a : '\(a\)' >/dev/null 2>&1; then
- as_expr=expr
- else
- as_expr=false
- fi
- # Support unset when possible.
- if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
- as_unset=unset
- else
- as_unset=false
- fi
-
- # NLS nuisances.
- $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
- $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
- $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
- $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
- $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
- $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
- $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
- $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
-
- # IFS
- # We need space, tab and new line, in precisely that order.
- ac_nl='
- '
- IFS=" $ac_nl"
-
- # CDPATH.
- $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
-
- # Name of the host.
- # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
- # so uname gets run too.
- ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
- # Name of the executable.
- as_me=`echo "$0" | sed 's,.*/,,'`
-
- cat >config.log << EOF
- This file contains any messages produced by compilers while
- running configure, to aid debugging if configure makes a mistake.
-
- It was created by $as_me 2.49c, executed with
- > $0 $@
-
- ## ---------- ##
- ## Platform. ##
- ## ---------- ##
-
- hostname = $ac_hostname
- uname -m = `(uname -m) 2>/dev/null || echo unknown`
- uname -r = `(uname -r) 2>/dev/null || echo unknown`
- uname -s = `(uname -s) 2>/dev/null || echo unknown`
- uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
- /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
- /bin/uname -X = `(/bin/uname -X) 2>/dev/null`
-
- /bin/arch = `(/bin/arch) 2>/dev/null`
- /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
- /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
- hostinfo = `(hostinfo) 2>/dev/null`
- /bin/machine = `(/bin/machine) 2>/dev/null`
- /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
- /bin/universe = `(/bin/universe) 2>/dev/null`
-
- PATH = $PATH
-
- ## ------------ ##
- ## Core tests. ##
- ## ------------ ##
-
- EOF
-
- # 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
-
- #
- # Initializations.
- #
- ac_default_prefix=/usr/local
- cross_compiling=no
- subdirs=
- MFLAGS= MAKEFLAGS=
- SHELL=${CONFIG_SHELL-/bin/sh}
-
- # Maximum number of lines to put in a shell here document.
- # This variable seems obsolete. It should probably be removed, and
- # only ac_max_sed_lines should be used.
- : ${ac_max_here_lines=38}
-
- # Avoid depending upon Character Ranges.
- ac_cr_az='abcdefghijklmnopqrstuvwxyz'
- ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- ac_cr_09='0123456789'
- ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
-
- # Sed expression to map a string onto a valid sh and CPP variable names.
- ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
- ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
-
- # By default always use an empty string as the executable extension.
- # Only change it if the script calls AC_EXEEXT.
- ac_exeext=
- # By default assume that objects files use an extension of .o. Only
- # change it if the script calls AC_OBJEXT.
- ac_objext=o
- # Factoring default headers for most tests.
- ac_includes_default="\
- #include <stdio.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #if STDC_HEADERS
- # include <stdlib.h>
- # include <stddef.h>
- #else
- # if HAVE_STDLIB_H
- # include <stdlib.h>
- # endif
- #endif
- #if HAVE_STRING_H
- # if !STDC_HEADERS && HAVE_MEMORY_H
- # include <memory.h>
- # endif
- # include <string.h>
- #else
- # if HAVE_STRINGS_H
- # include <strings.h>
- # endif
- #endif
- #if HAVE_INTTYPES_H
- # include <inttypes.h>
- #endif
- #if HAVE_UNISTD_H
- # include <unistd.h>
- #endif"
- ac_unique_file="ChangeLog"
-
- # Initialize some variables set by options.
- ac_init_help=
- ac_init_version=false
- # The variables have the same names as the options, with
- # dashes changed to underlines.
- cache_file=/dev/null
- exec_prefix=NONE
- no_create=
- no_recursion=
- prefix=NONE
- program_prefix=NONE
- program_suffix=NONE
- program_transform_name=s,x,x,
- silent=
- site=
- srcdir=
- 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'
-
- 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
-
- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
-
- # 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_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$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 ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
- | --da=*)
- datadir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
- { { echo "$as_me:247: error: invalid feature name: $ac_feature" >&5
- echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
- { (exit 1); exit; }; }
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- eval "enable_$ac_feature=no" ;;
-
- -enable-* | --enable-*)
- ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
- { { echo "$as_me:257: error: invalid feature name: $ac_feature" >&5
- echo "$as_me: error: invalid feature name: $ac_feature" >&2;}
- { (exit 1); exit; }; }
- ac_feature=`echo $ac_feature | sed 's/-/_/g'`
- case $ac_option in
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) 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 | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$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_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
- { { echo "$as_me:440: error: invalid package name: $ac_package" >&5
- echo "$as_me: error: invalid package name: $ac_package" >&2;}
- { (exit 1); exit; }; }
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- case $ac_option in
- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
- *) ac_optarg=yes ;;
- esac
- eval "with_$ac_package='$ac_optarg'" ;;
-
- -without-* | --without-*)
- ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
- { { echo "$as_me:454: error: invalid package name: $ac_package" >&5
- echo "$as_me: error: invalid package name: $ac_package" >&2;}
- { (exit 1); exit; }; }
- 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 "$as_me:478: error: unrecognized option: $ac_option
- Try \`$0 --help' for more information." >&5
- echo "$as_me: error: unrecognized option: $ac_option
- Try \`$0 --help' for more information." >&2;}
- { (exit 1); exit; }; }
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
- { { echo "$as_me:489: error: invalid variable name: $ac_envvar" >&5
- echo "$as_me: error: invalid variable name: $ac_envvar" >&2;}
- { (exit 1); exit; }; }
- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
- eval "$ac_envvar='$ac_optarg'"
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- { echo "$as_me:498: WARNING: you should use --build, --host, --target" >&5
- echo "$as_me: WARNING: you should use --build, --host, --target" >&2;}
- expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
- { echo "$as_me:501: WARNING: invalid host type: $ac_option" >&5
- echo "$as_me: WARNING: invalid host type: $ac_option" >&2;}
- : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
- ;;
-
- esac
- done
-
- if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- { { echo "$as_me:511: error: missing argument to $ac_option" >&5
- echo "$as_me: error: missing argument to $ac_option" >&2;}
- { (exit 1); exit; }; }
- fi
-
- # Be sure to have absolute paths.
- for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
- localstatedir libdir includedir oldincludedir infodir mandir \
- exec_prefix prefix
- do
- eval ac_val=$`echo $ac_var`
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) ;;
- NONE ) ;;
- *) { { echo "$as_me:525: error: expected an absolute path for --$ac_var: $ac_val" >&5
- echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2;}
- { (exit 1); exit; }; };;
- esac
- done
-
- # There might be people who depend on the old broken behavior: `$host'
- # used to hold the argument of --host etc.
- build=$build_alias
- host=$host_alias
- target=$target_alias
-
- # FIXME: should be removed in autoconf 3.0.
- if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- { echo "$as_me:541: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&5
- echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used." >&2;}
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
- fi
-
- ac_tool_prefix=
- test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
- # 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 "$as_me:569: error: cannot find sources in $ac_confdir or .." >&5
- echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2;}
- { (exit 1); exit; }; }
- else
- { { echo "$as_me:573: error: cannot find sources in $srcdir" >&5
- echo "$as_me: error: cannot find sources in $srcdir" >&2;}
- { (exit 1); exit; }; }
- fi
- fi
- srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`
- ac_env_build_alias_set=${build_alias+set}
- ac_env_build_alias_value=$build_alias
- ac_cv_env_build_alias_set=${build_alias+set}
- ac_cv_env_build_alias_value=$build_alias
- ac_env_host_alias_set=${host_alias+set}
- ac_env_host_alias_value=$host_alias
- ac_cv_env_host_alias_set=${host_alias+set}
- ac_cv_env_host_alias_value=$host_alias
- ac_env_target_alias_set=${target_alias+set}
- ac_env_target_alias_value=$target_alias
- ac_cv_env_target_alias_set=${target_alias+set}
- ac_cv_env_target_alias_value=$target_alias
- ac_env_CXX_set=${CXX+set}
- ac_env_CXX_value=$CXX
- ac_cv_env_CXX_set=${CXX+set}
- ac_cv_env_CXX_value=$CXX
- ac_env_CXXFLAGS_set=${CXXFLAGS+set}
- ac_env_CXXFLAGS_value=$CXXFLAGS
- ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
- ac_cv_env_CXXFLAGS_value=$CXXFLAGS
- ac_env_CPPFLAGS_set=${CPPFLAGS+set}
- ac_env_CPPFLAGS_value=$CPPFLAGS
- ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
- ac_cv_env_CPPFLAGS_value=$CPPFLAGS
- ac_env_LDFLAGS_set=${LDFLAGS+set}
- ac_env_LDFLAGS_value=$LDFLAGS
- ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
- ac_cv_env_LDFLAGS_value=$LDFLAGS
-
- #
- # Report the --help message.
- #
- if test "$ac_init_help" = "long"; then
- # 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
- \`configure' configures this package to adapt to many kinds of systems.
-
- Usage: $0 [OPTION]... [VAR=VALUE]...
-
- To assign environment variables (e.g., CC, CFLAGS...), specify them as
- VAR=VALUE. See below for descriptions of some of the useful variables.
-
- Defaults for the options are specified in brackets.
-
- Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
- EOF
-
- cat <<EOF
- Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
- By default, \`make install' will install all the files in
- \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
- an installation prefix other than \`$ac_default_prefix' using \`--prefix',
- for instance \`--prefix=\$HOME'.
-
- For better control, use the options below.
-
- Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --datadir=DIR read-only architecture-independent data [PREFIX/share]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --infodir=DIR info documentation [PREFIX/info]
- --mandir=DIR man documentation [PREFIX/man]
- EOF
-
- cat <<\EOF
-
- Program names:
- --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
-
- System types:
- --build=BUILD configure for building on BUILD [guessed]
- --host=HOST build programs to run on HOST [BUILD]
- EOF
- fi
-
- if test -n "$ac_init_help"; then
-
- cat <<\EOF
-
- Optional Features:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --disable-dependency-tracking Speeds up one-time builds
- --enable-dependency-tracking Do not reject slow dependency extractors
- --enable-maintainer-mode enable make rules and dependencies not useful
- (and sometimes confusing) to the casual installer
- --enable-fp-emulation Use floating point emulation instead of native floating point operations (disabled)
-
- Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-jikespg=PROG location of jikes parser generator (optional)
-
- Some influential environment variables:
- CXX C++ compiler command
- CXXFLAGS C++ compiler flags
- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
- headers in a nonstandard directory <include dir>
- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
- nonstandard directory <lib dir>
-
- Use these variables to override the choices made by `configure' or to help
- it to find libraries and programs with nonstandard names/locations.
-
- EOF
- fi
-
- if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- ac_popdir=`pwd`
- for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
- cd $ac_subdir
- # A "../" for each directory in /$ac_subdir.
- ac_dots=`echo $ac_subdir |
- sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
-
- case $srcdir in
- .) # No --srcdir option. We are building in place.
- ac_sub_srcdir=$srcdir ;;
- [\\/]* | ?:[\\/]* ) # Absolute path.
- ac_sub_srcdir=$srcdir/$ac_subdir ;;
- *) # Relative path.
- ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
- esac
-
- # Check for guested configure; otherwise get Cygnus style configure.
- if test -f $ac_sub_srcdir/configure.gnu; then
- echo
- $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
- elif test -f $ac_sub_srcdir/configure; then
- echo
- $SHELL $ac_sub_srcdir/configure --help=recursive
- elif test -f $ac_sub_srcdir/configure.in; then
- echo
- $ac_configure --help
- else
- { echo "$as_me:740: WARNING: no configuration information is in $ac_subdir" >&5
- echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2;}
- fi
- cd $ac_popdir
- done
- fi
-
- test -n "$ac_init_help" && exit 0
- if $ac_init_version; then
- cat <<\EOF
-
- Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000
- Free Software Foundation, Inc.
- This configure script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it.
- EOF
- exit 0
- fi
-
- # Keep a trace of the command line.
- # Strip out --no-create and --no-recursion so they do not pile up.
- # Also quote any args containing shell meta-characters.
- ac_configure_args=
- ac_sep=
- 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_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
- ac_sep=" " ;;
- *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
- ac_sep=" " ;;
- esac
- # Get rid of the leading space.
- done
-
- # When interrupted or exit'd, cleanup temporary files, and complete
- # config.log.
- trap 'exit_status=$?
- test "$ac_signal" != 0 &&
- echo "$as_me: caught signal $ac_signal" >&5
- echo "$as_me: exit $exit_status" >&5
- rm -rf conftest* confdefs* core core.* *.core $ac_clean_files &&
- exit $exit_status
- ' 0
- for ac_signal in 1 2 13 15; do
- trap 'ac_status=$?; ac_signal='$ac_signal'; exit $ac_status' $ac_signal
- done
- ac_signal=0
-
- # 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
-
- # Let the site file select an alternate cache file if it wants to.
- # 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
- # Some versions of bash will fail to source /dev/null (special
- # files actually), so we avoid doing that.
- if test -f "$cache_file"; then
- { echo "$as_me:820: loading cache $cache_file" >&5
- echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . $cache_file;;
- *) . ./$cache_file;;
- esac
- fi
- else
- { echo "$as_me:828: creating cache $cache_file" >&5
- echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
- fi
-
- # Check that the precious variables saved in the cache have kept the same
- # value.
- ac_suggest_removing_cache=false
- for ac_var in `(set) 2>&1 |
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
- eval ac_new_val="\$ac_env_${ac_var}_value"
- case $ac_old_set,$ac_new_set in
- set,)
- { echo "$as_me:844: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
- echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_suggest_removing_cache=: ;;
- ,set)
- { echo "$as_me:848: WARNING: \`$ac_var' was not set in the previous run" >&5
- echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
- ac_suggest_removing_cache=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- { echo "$as_me:854: WARNING: \`$ac_var' has changed since the previous run:" >&5
- echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
- { echo "$as_me:856: WARNING: former value: $ac_old_val" >&5
- echo "$as_me: WARNING: former value: $ac_old_val" >&2;}
- { echo "$as_me:858: WARNING: current value: $ac_new_val" >&5
- echo "$as_me: WARNING: current value: $ac_new_val" >&2;}
- ac_suggest_removing_cache=:
- fi;;
- esac
- done
- if $ac_suggest_removing_cache; then
- { echo "$as_me:865: WARNING: changes in the environment can compromise the build" >&5
- echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
- { echo "$as_me:867: WARNING: consider removing $cache_file and starting over" >&5
- echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
- fi
-
- ac_ext=c
- ac_cpp='$CPP $CPPFLAGS'
- ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
- *c*,-n*) ECHO_N= ECHO_C='
- ' ECHO_T=' ' ;;
- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
- esac
-
- ac_aux_dir=
- for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- if test -f $ac_dir/install-sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f $ac_dir/install.sh; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f $ac_dir/shtool; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
- done
- if test -z "$ac_aux_dir"; then
- { { echo "$as_me:901: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
- echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
- { (exit 1); exit; }; }
- fi
- ac_config_guess="$SHELL $ac_aux_dir/config.guess"
- ac_config_sub="$SHELL $ac_aux_dir/config.sub"
- ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
-
- # Find a good install program. We prefer a C program (faster),
- # so one script is as good as another. But avoid the broken or
- # incompatible versions:
- # SysV /etc/install, /usr/sbin/install
- # SunOS /usr/etc/install
- # IRIX /sbin/install
- # AIX /bin/install
- # AmigaOS /C/install, which installs bootblocks on floppy discs
- # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
- # AFS /usr/afsws/bin/install, which mishandles nonexistent args
- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
- # ./install, which can be erroneously created by make from ./install.sh.
- echo "$as_me:921: checking for a BSD compatible install" >&5
- echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
- if test -z "$INSTALL"; then
- if test "${ac_cv_path_install+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_save_IFS=$IFS; IFS=':'
- for ac_dir in $PATH; do
- # Account for people who put trailing slashes in PATH elements.
- case $ac_dir/ in
- / | ./ | .// | /cC/* \
- | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
- | /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- if test -f "$ac_dir/$ac_prog"; then
- if test $ac_prog = install &&
- grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- ac_cv_path_install="$ac_dir/$ac_prog -c"
- break 2
- fi
- fi
- done
- ;;
- esac
- done
- IFS=$ac_save_IFS
-
- fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. We don't cache a
- # path for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the path is relative.
- INSTALL=$ac_install_sh
- fi
- fi
- echo "$as_me:970: result: $INSTALL" >&5
- echo "${ECHO_T}$INSTALL" >&6
-
- # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
- # It thinks the first close brace ends the variable substitution.
- test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
- test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
- test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
- echo "$as_me:981: checking whether build environment is sane" >&5
- echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
- # Just in case
- sleep 1
- echo timestamp > conftestfile
- # Do `set' in a subshell so we don't clobber the current shell's
- # arguments. Must try -L first in case configure is actually a
- # symlink; some systems play weird games with the mod time of symlinks
- # (eg FreeBSD returns the mod time of the symlink's containing
- # directory).
- if (
- set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t $srcdir/configure conftestfile`
- fi
- if test "$*" != "X $srcdir/configure conftestfile" \
- && test "$*" != "X conftestfile $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- { { echo "$as_me:1004: error: ls -t appears to fail. Make sure there is not a broken
- alias in your environment" >&5
- echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
- alias in your environment" >&2;}
- { (exit 1); exit; }; }
- fi
-
- test "$2" = conftestfile
- )
- then
- # Ok.
- :
- else
- { { echo "$as_me:1017: error: newly created file is older than distributed files!
- Check your system clock" >&5
- echo "$as_me: error: newly created file is older than distributed files!
- Check your system clock" >&2;}
- { (exit 1); exit; }; }
- fi
- rm -f conftest*
- echo "$as_me:1024: result: yes" >&5
- echo "${ECHO_T}yes" >&6
- if test "$program_transform_name" = s,x,x,; then
- program_transform_name=
- else
- # Double any \ or $. echo might interpret backslashes.
- cat <<\EOF >conftestsed
- s,\\,\\\\,g; s,\$,$$,g
- EOF
- program_transform_name=`echo $program_transform_name | sed -f conftestsed`
- rm -f conftestsed
- fi
- test "$program_prefix" != NONE &&
- program_transform_name="s,^,${program_prefix},;$program_transform_name"
- # Use a double $ so make ignores it.
- test "$program_suffix" != NONE &&
- program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"
-
- # sed with no file args requires a program.
- test -z "$program_transform_name" && program_transform_name="s,x,x,"
-
- test x"${MISSING+set}" = xset || \
- MISSING="\${SHELL} `CDPATH=:; cd $ac_aux_dir && pwd`/missing"
- # Use eval to expand $SHELL
- if eval "$MISSING --run :"; then
- am_missing_run="$MISSING --run "
- else
- am_missing_run=
- am_backtick='`'
- { echo "$as_me:1053: WARNING: ${am_backtick}missing' script is too old or missing" >&5
- echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
- fi
-
- for ac_prog in mawk gawk nawk awk
- 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 "$as_me:1061: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- if test "${ac_cv_prog_AWK+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
- else
- ac_save_IFS=$IFS; IFS=':'
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- IFS=$ac_save_IFS
- test -z "$ac_dir" && ac_dir=.
- test -f "$ac_dir/$ac_word" || continue
- ac_cv_prog_AWK="$ac_prog"
- break
- done
-
- fi
- fi
- AWK=$ac_cv_prog_AWK
- if test -n "$AWK"; then
- echo "$as_me:1083: result: $AWK" >&5
- echo "${ECHO_T}$AWK" >&6
- else
- echo "$as_me:1086: result: no" >&5
- echo "${ECHO_T}no" >&6
- fi
-
- test -n "$AWK" && break
- done
-
- echo "$as_me:1093: checking whether ${MAKE-make} sets \${MAKE}" >&5
- echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
- set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
- if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&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 "$as_me:1113: result: yes" >&5
- echo "${ECHO_T}yes" >&6
- SET_MAKE=
- else
- echo "$as_me:1117: result: no" >&5
- echo "${ECHO_T}no" >&6
- SET_MAKE="MAKE=${MAKE-make}"
- fi
-
- # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
- if test "${enable_dependency_tracking+set}" = set; then
- enableval="$enable_dependency_tracking"
-
- fi;
- if test "x$enable_dependency_tracking" = xno; then
- AMDEP="#"
- else
- am_depcomp="$ac_aux_dir/depcomp"
- if test ! -f "$am_depcomp"; then
- AMDEP="#"
- else
- AMDEP=
- fi
- fi
-
- if test -z "$AMDEP"; then
- AMDEPBACKSLASH='\'
- else
- AMDEPBACKSLASH=
- fi
-
- if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
- DEPDIR=.deps
- else
- DEPDIR=_deps
- fi
-
- # test to see if srcdir already configured
- if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
- test -f $srcdir/config.status; then
- { { echo "$as_me:1153: error: source directory already configured; run \"make distclean\" there first" >&5
- echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
- { (exit 1); exit; }; }
- fi
-
- # Define the identity of the package.
- PACKAGE=jikes
- VERSION=1.13
-
- cat >>confdefs.h <<EOF
- #define PACKAGE "$PACKAGE"
- EOF
-
- cat >>confdefs.h <<EOF
- #define VERSION "$VERSION"
- EOF
-
- # Some tools Automake needs.
-
- ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
-
- AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
- AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
-
- AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
- MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
- AMTAR=${AMTAR-"${am_missing_run}tar"}
-
- if test -z "$install_sh"; then
- install_sh="$ac_aux_dir/install-sh"
- test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"
- test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"
- install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"
- fi
-
- # We need awk for the "check" target. The system "awk" is bad on
- # some platforms.
-
- cat >>confdefs.h <<\EOF
- #define JIKES_VERSION_STRING "Version 1.13 3/1/2001"
- EOF
-
- ac_config_headers="$ac_config_headers src/config.h"
-
- ac_config_commands="$ac_config_commands default-1"
-
- echo "$as_me:1202: checking whether to enable maintainer-specific portions of Makefiles" >&5
- echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
- # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
- if test "${enable_maintainer_mode+set}" = set; then
- enableval="$enable_maintainer_mode"
- USE_MAINTAINER_MODE=$enableval
- else
- USE_MAINTAINER_MODE=no
- fi;
- echo "$as_me:1211: result: $USE_MAINTAINER_MODE" >&5
- echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
-
- if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
- else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
- fi
- MAINT=$MAINTAINER_MODE_TRUE
-
- # Make sure we can run config.sub.
- $ac_config_sub sun4 >/dev/null 2>&1 ||
- { { echo "$as_me:1225: error: cannot run $ac_config_sub" >&5
- echo "$as_me: error: cannot run $ac_config_sub" >&2;}
- { (exit 1); exit; }; }
-
- echo "$as_me:1229: checking build system type" >&5
- echo $ECHO_N "checking build system type... $ECHO_C" >&6
- if test "${ac_cv_build+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_cv_build_alias=$build_alias
- test -z "$ac_cv_build_alias" &&
- ac_cv_build_alias=`$ac_config_guess`
- test -z "$ac_cv_build_alias" &&
- { { echo "$as_me:1238: error: cannot guess build type; you must specify one" >&5
- echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
- { (exit 1); exit; }; }
- ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
- { { echo "$as_me:1242: error: $ac_config_sub $ac_cv_build_alias failed." >&5
- echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
- { (exit 1); exit; }; }
-
- fi
- echo "$as_me:1247: result: $ac_cv_build" >&5
- echo "${ECHO_T}$ac_cv_build" >&6
- build=$ac_cv_build
- build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-
- echo "$as_me:1254: checking host system type" >&5
- echo $ECHO_N "checking host system type... $ECHO_C" >&6
- if test "${ac_cv_host+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_cv_host_alias=$host_alias
- test -z "$ac_cv_host_alias" &&
- ac_cv_host_alias=$ac_cv_build_alias
- ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
- { { echo "$as_me:1263: error: $ac_config_sub $ac_cv_host_alias failed" >&5
- echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
- { (exit 1); exit; }; }
-
- fi
- echo "$as_me:1268: result: $ac_cv_host" >&5
- echo "${ECHO_T}$ac_cv_host" >&6
- host=$ac_cv_host
- host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
-
- ac_ext=cc
- ac_cpp='$CXXCPP $CPPFLAGS'
- ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
- ac_ext=cc
- ac_cpp='$CXXCPP $CPPFLAGS'
- ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
- if test -n "$ac_tool_prefix"; then
- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
- set dummy $ac_tool_prefix$ac_prog; ac_word=$2
- echo "$as_me:1292: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- if test "${ac_cv_prog_CXX+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$CXX"; then
- ac_cv_prog_CXX="$CXX" # Let the user override the test.
- else
- ac_save_IFS=$IFS; IFS=':'
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- IFS=$ac_save_IFS
- test -z "$ac_dir" && ac_dir=.
- test -f "$ac_dir/$ac_word" || continue
- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
- break
- done
-
- fi
- fi
- CXX=$ac_cv_prog_CXX
- if test -n "$CXX"; then
- echo "$as_me:1314: result: $CXX" >&5
- echo "${ECHO_T}$CXX" >&6
- else
- echo "$as_me:1317: result: no" >&5
- echo "${ECHO_T}no" >&6
- fi
-
- test -n "$CXX" && break
- done
- fi
- if test -z "$CXX"; then
- ac_ct_CXX=$CXX
- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl KCC RCC xlC_r xlC
- 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 "$as_me:1330: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$ac_ct_CXX"; then
- ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
- else
- ac_save_IFS=$IFS; IFS=':'
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- IFS=$ac_save_IFS
- test -z "$ac_dir" && ac_dir=.
- test -f "$ac_dir/$ac_word" || continue
- ac_cv_prog_ac_ct_CXX="$ac_prog"
- break
- done
-
- fi
- fi
- ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
- if test -n "$ac_ct_CXX"; then
- echo "$as_me:1352: result: $ac_ct_CXX" >&5
- echo "${ECHO_T}$ac_ct_CXX" >&6
- else
- echo "$as_me:1355: result: no" >&5
- echo "${ECHO_T}no" >&6
- fi
-
- test -n "$ac_ct_CXX" && break
- done
- test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
-
- CXX=$ac_ct_CXX
- fi
-
- echo "$as_me:1366: checking whether the C++ compiler works" >&5
- echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
- cat >conftest.$ac_ext <<_ACEOF
- #line 1369 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- int
- main ()
- {
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:1384: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:1387: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:1389: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:1392: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- # FIXME: these cross compiler hacks should be removed for autoconf 3.0
- # If not cross compiling, check that we can run a simple program.
- if test "$cross_compiling" != yes; then
- if { (eval echo "$as_me:1397: \"./conftest$ac_exeext\"") >&5
- (eval ./conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:1400: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- cross_compiling=no
- else
- if test "$cross_compiling" = maybe; then
- cross_compiling=yes
- else
- { { echo "$as_me:1407: error: cannot run C++ compiled programs.
- To enable cross compilation, use \`--host'." >&5
- echo "$as_me: error: cannot run C++ compiled programs.
- To enable cross compilation, use \`--host'." >&2;}
- { (exit 1); exit; }; }
- fi
- fi
- fi
- echo "$as_me:1415: result: yes" >&5
- echo "${ECHO_T}yes" >&6
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- echo "$as_me:1420: result: no" >&5
- echo "${ECHO_T}no" >&6
- { { echo "$as_me:1422: error: C++ compiler cannot create executables" >&5
- echo "$as_me: error: C++ compiler cannot create executables" >&2;}
- { (exit 77); exit; }; }
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- echo "$as_me:1428: checking whether we are cross compiling" >&5
- echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
- echo "$as_me:1430: result: $cross_compiling" >&5
- echo "${ECHO_T}$cross_compiling" >&6
-
- echo "$as_me:1433: checking whether we are using the GNU C++ compiler" >&5
- echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
- if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 1439 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- int
- main ()
- {
- #ifndef __GNUC__
- choke me
- #endif
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:1457: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:1460: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_compiler_gnu=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_compiler_gnu=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
-
- fi
- echo "$as_me:1473: result: $ac_cv_cxx_compiler_gnu" >&5
- echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
- GXX=`test $ac_compiler_gnu = yes && echo yes`
- echo "$as_me:1476: checking for object suffix" >&5
- echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
- if test "${ac_cv_objext+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 1482 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- int
- main ()
- {
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.o conftest.obj
- if { (eval echo "$as_me:1497: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:1500: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- break;;
- esac
- done
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:1512: error: cannot compute OBJEXT: cannot compile" >&5
- echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest.$ac_cv_objext conftest.$ac_ext
- fi
- echo "$as_me:1519: result: $ac_cv_objext" >&5
- echo "${ECHO_T}$ac_cv_objext" >&6
- OBJEXT=$ac_cv_objext
- ac_objext=$OBJEXT
- echo "$as_me:1523: checking for executable suffix" >&5
- echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
- if test "${ac_cv_exeext+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 1529 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- int
- main ()
- {
-
- ;
- return 0;
- }
- _ACEOF
- # Try without -o first, disregard a.out.
- ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
- if { (eval echo "$as_me:1545: \"$ac_link_default\"") >&5
- (eval $ac_link_default) 2>&5
- ac_status=$?
- echo "$as_me:1548: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
- case $ac_file in
- *.$ac_ext | *.out | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
- *) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- esac
- done
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- fi
-
- rm -f a.out a.exe conftest$ac_cv_exeext
-
- # We have not set ac_exeext yet which is needed by `ac_link'.
- ac_exeext=$ac_cv_exeext
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:1567: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:1570: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:1572: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:1575: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
- # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
- # work properly (i.e., refer to `conftest.exe'), while it won't with
- # `rm'.
- for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
- case $ac_file in
- *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
- *) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- esac
- done
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:1591: error: cannot compute EXEEXT: cannot compile and link" >&5
- echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest$ac_exeext
- rm -f conftest.$ac_ext conftest$ac_cv_exeext
-
- fi
- echo "$as_me:1600: result: $ac_cv_exeext" >&5
- echo "${ECHO_T}$ac_cv_exeext" >&6
- EXEEXT=$ac_cv_exeext
- ac_exeext=$EXEEXT
- ac_test_CXXFLAGS=${CXXFLAGS+set}
- ac_save_CXXFLAGS=$CXXFLAGS
- CXXFLAGS="-g"
- echo "$as_me:1607: checking whether $CXX accepts -g" >&5
- echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
- if test "${ac_cv_prog_cxx_g+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 1613 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- int
- main ()
- {
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:1628: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:1631: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_prog_cxx_g=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_prog_cxx_g=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:1642: result: $ac_cv_prog_cxx_g" >&5
- echo "${ECHO_T}$ac_cv_prog_cxx_g" >&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
-
- ac_config_commands="$ac_config_commands default-2"
-
- ac_ext=cc
- ac_cpp='$CXXCPP $CPPFLAGS'
- ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
- ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
- echo "$as_me:1667: checking how to run the C++ preprocessor" >&5
- echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
- if test -z "$CXXCPP"; then
- if test "${ac_cv_prog_CXXCPP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- # Double quotes because CXXCPP needs to be expanded
- for CXXCPP in "$CXX -E" "/lib/cpp"
- do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- ac_cxx_preproc_warn_flag=maybe
- cat >conftest.$ac_ext <<_ACEOF
- #line 1682 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <assert.h>
- Syntax error
- _ACEOF
- if { (eval echo "$as_me:1690: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:1693: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- # Now check whether non-existent headers can be detected and how
- # Skip if ac_cpp_err is not empty - ac_cpp is broken
- if test -z "$ac_cpp_err"; then
- cat >conftest.$ac_ext <<_ACEOF
- #line 1708 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <ac_nonexistent.h>
- _ACEOF
- if { (eval echo "$as_me:1715: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:1718: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- # cannot detect missing includes at all
- ac_cpp_err=yes
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- if test "x$ac_cpp_err" = xmaybe; then
- ac_cxx_preproc_warn_flag=yes
- else
- ac_cxx_preproc_warn_flag=
- fi
- ac_cpp_err=
- fi
- rm -f conftest.err conftest.$ac_ext
- fi
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
-
- fi
- rm -f conftest.err conftest.$ac_ext
- if test -z "$ac_cpp_err"; then
- break
- fi
- done
- ac_cv_prog_CXXCPP=$CXXCPP
-
- fi
- CXXCPP=$ac_cv_prog_CXXCPP
- else
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- ac_cxx_preproc_warn_flag=maybe
- cat >conftest.$ac_ext <<_ACEOF
- #line 1766 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <assert.h>
- Syntax error
- _ACEOF
- if { (eval echo "$as_me:1774: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:1777: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- # Now check whether non-existent headers can be detected and how
- # Skip if ac_cpp_err is not empty - ac_cpp is broken
- if test -z "$ac_cpp_err"; then
- cat >conftest.$ac_ext <<_ACEOF
- #line 1792 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <ac_nonexistent.h>
- _ACEOF
- if { (eval echo "$as_me:1799: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:1802: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- # cannot detect missing includes at all
- ac_cpp_err=yes
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- if test "x$ac_cpp_err" = xmaybe; then
- ac_cxx_preproc_warn_flag=yes
- else
- ac_cxx_preproc_warn_flag=
- fi
- ac_cpp_err=
- fi
- rm -f conftest.err conftest.$ac_ext
- fi
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
-
- fi
- rm -f conftest.err conftest.$ac_ext
- ac_cv_prog_CXXCPP=$CXXCPP
- fi
- echo "$as_me:1837: result: $CXXCPP" >&5
- echo "${ECHO_T}$CXXCPP" >&6
- if test -n "$ac_cpp_err"; then
- { { echo "$as_me:1840: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
- echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
- { (exit 1); exit; }; }
- fi
-
- depcc="$CXX"
- depcpp="$CXXCPP"
- echo "$as_me:1847: checking dependency style of $depcc" >&5
- echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
- if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- if test -z "$AMDEP"; then
- echo '#include "conftest.h"' > conftest.c
- echo 'int i;' > conftest.h
-
- am_cv_CXX_dependencies_compiler_type=none
- for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "$am_depcomp"`; do
- case "$depmode" in
- nosideeffect)
- # after this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- none) break ;;
- esac
- # We check with `-c' and `-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle `-M -o', and we need to detect this.
- if depmode="$depmode" \
- source=conftest.c object=conftest.o \
- depfile=conftest.Po tmpdepfile=conftest.TPo \
- $SHELL $am_depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
- grep conftest.h conftest.Po > /dev/null 2>&1; then
- am_cv_CXX_dependencies_compiler_type="$depmode"
- break
- fi
- done
-
- rm -f conftest.*
- else
- am_cv_CXX_dependencies_compiler_type=none
- fi
-
- fi
-
- echo "$as_me:1891: result: $am_cv_CXX_dependencies_compiler_type" >&5
- echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
- CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
-
- case $host_os in
- *cygwin* ) CYGWIN=yes;;
- * ) CYGWIN=no;;
- esac
-
- echo "$as_me:1900: checking for Windows and DOS and OS/2 style pathnames" >&5
- echo $ECHO_N "checking for Windows and DOS and OS/2 style pathnames... $ECHO_C" >&6
- if test "${acx_cv_pathname_style_dos+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- acx_cv_pathname_style_dos="no"
- case ${host_os} in
- *djgpp | *mingw32* | *emx*) acx_cv_pathname_style_dos="yes" ;;
- esac
-
- fi
-
- echo "$as_me:1913: result: $acx_cv_pathname_style_dos" >&5
- echo "${ECHO_T}$acx_cv_pathname_style_dos" >&6
- if test "$acx_cv_pathname_style_dos" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_PATHNAME_STYLE_DOS
- EOF
-
- cat >>confdefs.h <<\EOF
- #define PATH_SEPARATOR ';'
- EOF
-
- else
-
- cat >>confdefs.h <<\EOF
- #define PATH_SEPARATOR ':'
- EOF
-
- fi
-
- if test "$acx_cv_pathname_style_dos" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define WIN32_FILE_SYSTEM
- EOF
-
- else
-
- cat >>confdefs.h <<\EOF
- #define UNIX_FILE_SYSTEM
- EOF
-
- fi
-
- if test "x$HAVE_JIKES_NAMESPACE" != "x" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_JIKES_NAMESPACE 1
- EOF
-
- fi
-
- echo "$as_me:1955: checking for ANSI C header files" >&5
- echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
- if test "${ac_cv_header_stdc+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 1961 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <stdlib.h>
- #include <stdarg.h>
- #include <string.h>
- #include <float.h>
-
- _ACEOF
- if { (eval echo "$as_me:1972: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:1975: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- ac_cv_header_stdc=yes
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_header_stdc=no
- fi
- rm -f conftest.err conftest.$ac_ext
-
- if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat >conftest.$ac_ext <<_ACEOF
- #line 1998 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <string.h>
-
- _ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "memchr" >/dev/null 2>&1; then
- :
- else
- 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 <<_ACEOF
- #line 2019 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <stdlib.h>
-
- _ACEOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "free" >/dev/null 2>&1; then
- :
- else
- 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 <<_ACEOF
- #line 2043 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <ctype.h>
- #if ((' ' & 0x0FF) == 0x020)
- # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
- # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
- #else
- # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
- || ('j' <= (c) && (c) <= 'r') \
- || ('s' <= (c) && (c) <= 'z'))
- # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
- #endif
-
- #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);
- }
- _ACEOF
- rm -f conftest$ac_exeext
- if { (eval echo "$as_me:2072: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:2075: \$? = $ac_status" >&5
- (exit $ac_status); } && { (eval echo "$as_me:2076: \"./conftest$ac_exeext\"") >&5
- (eval ./conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:2079: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- :
- else
- echo "$as_me: program exited with status $ac_status" >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_header_stdc=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- fi
-
- fi
- fi
- echo "$as_me:2094: result: $ac_cv_header_stdc" >&5
- echo "${ECHO_T}$ac_cv_header_stdc" >&6
- if test $ac_cv_header_stdc = yes; then
-
- cat >>confdefs.h <<\EOF
- #define STDC_HEADERS 1
- EOF
-
- fi
-
- for ac_header in stdio.h assert.h limits.h ctype.h time.h float.h
- do
- ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-
- echo "$as_me:2108: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_Header+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2114 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <$ac_header>
- _ACEOF
- if { (eval echo "$as_me:2121: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:2124: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- eval "$ac_ac_Header=yes"
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_Header=no"
- fi
- rm -f conftest.err conftest.$ac_ext
- fi
- echo "$as_me:2144: result: `eval echo '${'$ac_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
- if test `eval echo '${'$ac_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
- EOF
-
- fi
- done
-
- for ac_header in windows.h direct.h dirent.h sys/cygwin.h
- do
- ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-
- echo "$as_me:2158: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_Header+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2164 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <$ac_header>
- _ACEOF
- if { (eval echo "$as_me:2171: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:2174: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- eval "$ac_ac_Header=yes"
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_Header=no"
- fi
- rm -f conftest.err conftest.$ac_ext
- fi
- echo "$as_me:2194: result: `eval echo '${'$ac_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
- if test `eval echo '${'$ac_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
- EOF
-
- fi
- done
-
- for ac_header in math.h
- do
- ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-
- echo "$as_me:2208: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_Header+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2214 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <$ac_header>
- _ACEOF
- if { (eval echo "$as_me:2221: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:2224: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- eval "$ac_ac_Header=yes"
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_Header=no"
- fi
- rm -f conftest.err conftest.$ac_ext
- fi
- echo "$as_me:2244: result: `eval echo '${'$ac_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
- if test `eval echo '${'$ac_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
- EOF
-
- fi
- done
-
- echo "$as_me:2254: checking if math lib is required" >&5
- echo $ECHO_N "checking if math lib is required... $ECHO_C" >&6
- if test "${ac_cv_need_math_lib+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2261 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #ifdef HAVE_MATH_H
- #include <math.h>
- #endif
-
- int
- main ()
- {
- floor(0.0);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:2280: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:2283: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:2285: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:2288: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- ac_cv_need_math_lib=no
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_need_math_lib=yes
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
-
- fi
- echo "$as_me:2300: result: $ac_cv_need_math_lib" >&5
- echo "${ECHO_T}$ac_cv_need_math_lib" >&6
-
- if test "$ac_cv_need_math_lib" = "yes" ; then
-
- echo "$as_me:2305: checking for floor in -lm" >&5
- echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
- if test "${ac_cv_lib_m_floor+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-lm $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 2313 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- /* 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 floor ();
- int
- main ()
- {
- floor ();
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:2335: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:2338: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:2340: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:2343: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- ac_cv_lib_m_floor=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_lib_m_floor=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- echo "$as_me:2355: result: $ac_cv_lib_m_floor" >&5
- echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
- if test $ac_cv_lib_m_floor = yes; then
- cat >>confdefs.h <<EOF
- #define HAVE_LIBM 1
- EOF
-
- LIBS="-lm $LIBS"
-
- else
- { { echo "$as_me:2365: error: Could not find floor function in math library" >&5
- echo "$as_me: error: Could not find floor function in math library" >&2;}
- { (exit 1); exit; }; }
- fi
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2371 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #ifdef HAVE_MATH_H
- #include <math.h>
- #endif
-
- int
- main ()
- {
- floor(0.0);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:2390: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:2393: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:2395: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:2398: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- :
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:2404: error: Could not link program that uses math library" >&5
- echo "$as_me: error: Could not link program that uses math library" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
-
- fi
-
- echo "$as_me:2413: checking whether the compiler implements namespaces" >&5
- echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
- if test "${ac_cv_cxx_namespaces+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2420 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- namespace Outer { namespace Inner { int i = 0; }}
- int
- main ()
- {
- using namespace Outer::Inner; return i;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2435: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2438: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_namespaces=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_namespaces=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2450: result: $ac_cv_cxx_namespaces" >&5
- echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
- if test "$ac_cv_cxx_namespaces" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_NAMESPACES 1
- EOF
-
- fi
-
- echo "$as_me:2460: checking whether the compiler supports ISO C++ standard library" >&5
- echo $ECHO_N "checking whether the compiler supports ISO C++ standard library... $ECHO_C" >&6
- if test "${ac_cv_cxx_have_std+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2467 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <iostream>
- #include <map>
- #include <iomanip>
- #include <cmath>
- #ifdef HAVE_NAMESPACES
- using namespace std;
- #endif
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2488: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2491: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_have_std=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_have_std=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2503: result: $ac_cv_cxx_have_std" >&5
- echo "${ECHO_T}$ac_cv_cxx_have_std" >&6
- if test "$ac_cv_cxx_have_std" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_STD
- EOF
-
- fi
-
- echo "$as_me:2513: checking whether the compiler recognizes bool as a built-in type" >&5
- echo $ECHO_N "checking whether the compiler recognizes bool as a built-in type... $ECHO_C" >&6
- if test "${ac_cv_cxx_bool+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2520 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- int f(int x){return 1;}
- int f(char x){return 1;}
- int f(bool x){return 1;}
-
- int
- main ()
- {
- bool b = true; return f(b);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2539: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2542: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_bool=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_bool=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2554: result: $ac_cv_cxx_bool" >&5
- echo "${ECHO_T}$ac_cv_cxx_bool" >&6
- if test "$ac_cv_cxx_bool" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_BOOL
- EOF
-
- fi
-
- echo "$as_me:2564: checking for VC++ style set_new_handler" >&5
- echo $ECHO_N "checking for VC++ style set_new_handler... $ECHO_C" >&6
- if test "${ac_cv_vcpp_set_new_handler+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2571 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <new.h>
- int OutOfMemory(size_t) { return 0; }
-
- int
- main ()
- {
- _set_new_handler(OutOfMemory);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:2589: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:2592: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:2594: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:2597: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- ac_cv_vcpp_set_new_handler=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_vcpp_set_new_handler=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
-
- fi
- echo "$as_me:2609: result: $ac_cv_vcpp_set_new_handler" >&5
- echo "${ECHO_T}$ac_cv_vcpp_set_new_handler" >&6
-
- if test "$ac_cv_vcpp_set_new_handler" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_VCPP_SET_NEW_HANDLER
- EOF
-
- else
-
- echo "$as_me:2620: checking for standard set_new_handler" >&5
- echo $ECHO_N "checking for standard set_new_handler... $ECHO_C" >&6
- if test "${ac_cv_standard_set_new_handler+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2626 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #ifdef HAVE_STD
- # include <new>
- # ifdef HAVE_NAMESPACES
- using namespace std;
- # endif
- #else
- # include <new.h>
- #endif
-
- void OutOfMemory() { return; }
-
- int
- main ()
- {
- set_new_handler(OutOfMemory);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2652: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2655: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_standard_set_new_handler=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_standard_set_new_handler=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2667: result: $ac_cv_standard_set_new_handler" >&5
- echo "${ECHO_T}$ac_cv_standard_set_new_handler" >&6
-
- if test "$ac_cv_standard_set_new_handler" != "yes" ; then
- { { echo "$as_me:2671: error: Cound not find standard set_new_handler function" >&5
- echo "$as_me: error: Cound not find standard set_new_handler function" >&2;}
- { (exit 1); exit; }; }
- fi
-
- fi
-
- echo "$as_me:2678: checking for compiler error on discard of const qualifier" >&5
- echo $ECHO_N "checking for compiler error on discard of const qualifier... $ECHO_C" >&6
- if test "${ac_cv_error_discard_const+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2684 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- void foo(char * arg) {}
- void const_foo(const char * arg) { foo(arg); }
-
- int
- main ()
- {
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2702: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2705: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_error_discard_const=no
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_error_discard_const=yes
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2717: result: $ac_cv_error_discard_const" >&5
- echo "${ECHO_T}$ac_cv_error_discard_const" >&6
- if test "$ac_cv_error_discard_const" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_ERROR_DISCARD_CONST
- EOF
-
- fi
-
- for ac_header in wchar.h string.h strings.h memory.h
- do
- ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-
- echo "$as_me:2731: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_Header+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2737 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <$ac_header>
- _ACEOF
- if { (eval echo "$as_me:2744: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:2747: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- eval "$ac_ac_Header=yes"
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_Header=no"
- fi
- rm -f conftest.err conftest.$ac_ext
- fi
- echo "$as_me:2767: result: `eval echo '${'$ac_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
- if test `eval echo '${'$ac_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
- EOF
-
- fi
- done
-
- for ac_func in wcslen wcscpy wcsncpy wcscat wcscmp wcsncmp
- do
- ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
- echo "$as_me:2780: checking for $ac_func" >&5
- echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_var+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2786 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- /* 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. */
- #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 $ac_func ();
- char (*f) ();
-
- 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
- f = $ac_func;
- #endif
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:2820: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:2823: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:2825: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:2828: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- eval "$ac_ac_var=yes"
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_var=no"
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- fi
- echo "$as_me:2839: result: `eval echo '${'$ac_ac_var'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
- if test `eval echo '${'$ac_ac_var'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
- EOF
-
- fi
- done
-
- wcs_funcs_includes="
- #ifdef HAVE_STRING_H
- # if !STDC_HEADERS && HAVE_MEMORY_H
- # include <memory.h>
- # endif
- # include <string.h>
- #else
- # ifdef HAVE_STRINGS_H
- # include <strings.h>
- # endif
- #endif
- #ifdef HAVE_WCHAR_H
- # include <wchar.h>
- #endif
- "
-
- echo "$as_me:2865: checking for wchar_t type" >&5
- echo $ECHO_N "checking for wchar_t type... $ECHO_C" >&6
- if test "${ac_cv_type_wint_t+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2872 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $wcs_funcs_includes
- int
- main ()
- {
- wint_t s = sizeof (wint_t *);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2887: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2890: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_type_wint_t=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_type_wint_t=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2902: result: $ac_cv_type_wint_t" >&5
- echo "${ECHO_T}$ac_cv_type_wint_t" >&6
- if test "$ac_cv_type_wint_t" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_WINT_T
- EOF
-
- fi
-
- echo "$as_me:2912: checking call wcslen" >&5
- echo $ECHO_N "checking call wcslen... $ECHO_C" >&6
- if test "${ac_cv_call_wcslen+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 2919 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $wcs_funcs_includes
- int
- main ()
- {
- wcslen(NULL)
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2934: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2937: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_call_wcslen=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_call_wcslen=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2949: result: $ac_cv_call_wcslen" >&5
- echo "${ECHO_T}$ac_cv_call_wcslen" >&6
-
- if test "$ac_cv_call_wcslen" = "yes" ; then
-
- echo "$as_me:2954: checking for error calling wcslen with const argument" >&5
- echo $ECHO_N "checking for error calling wcslen with const argument... $ECHO_C" >&6
- if test "${ac_cv_error_call_wcslen_const+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 2960 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $wcs_funcs_includes
- int
- main ()
- {
-
- const wchar_t * s = NULL;
- wcslen(s);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:2978: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:2981: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_error_call_wcslen_const=no
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_error_call_wcslen_const=yes
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:2993: result: $ac_cv_error_call_wcslen_const" >&5
- echo "${ECHO_T}$ac_cv_error_call_wcslen_const" >&6
-
- if test "$ac_cv_error_call_wcslen_const" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_ERROR_CALL_WCSLEN_CONST
- EOF
-
- echo "$as_me:3002: checking fix for calling wcslen with non const argument" >&5
- echo $ECHO_N "checking fix for calling wcslen with non const argument... $ECHO_C" >&6
- if test "${ac_cv_call_wcslen_non_const+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3008 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $wcs_funcs_includes
- int
- main ()
- {
-
- const wchar_t * s = NULL;
- wcslen(
- #ifdef HAVE_ERROR_CALL_WCSLEN_CONST
- (wchar_t *)
- #endif
- s);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3030: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3033: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_call_wcslen_non_const=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:3039: error: Could not compile with wcslen const cast fix" >&5
- echo "$as_me: error: Could not compile with wcslen const cast fix" >&2;}
- { (exit 1); exit; }; }
-
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:3047: result: $ac_cv_call_wcslen_non_const" >&5
- echo "${ECHO_T}$ac_cv_call_wcslen_non_const" >&6
-
- fi
-
- fi
-
- for ac_header in iconv.h
- do
- ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
-
- echo "$as_me:3058: checking for $ac_header" >&5
- echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_Header+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3064 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <$ac_header>
- _ACEOF
- if { (eval echo "$as_me:3071: \"$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err\"") >&5
- (eval $ac_cpp conftest.$ac_ext >/dev/null 2>conftest.err) 2>&5
- ac_status=$?
- echo "$as_me:3074: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- if egrep -v '^ *\+' conftest.err | grep . >/dev/null; then
- ac_cpp_err=$ac_cxx_preproc_warn_flag
- else
- ac_cpp_err=
- fi
- else
- ac_cpp_err=yes
- fi
- if test -z "$ac_cpp_err"; then
- eval "$ac_ac_Header=yes"
- else
- cat conftest.err >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_Header=no"
- fi
- rm -f conftest.err conftest.$ac_ext
- fi
- echo "$as_me:3094: result: `eval echo '${'$ac_ac_Header'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
- if test `eval echo '${'$ac_ac_Header'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
- EOF
-
- fi
- done
-
- echo "$as_me:3104: checking for iconv in -liconv" >&5
- echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
- if test "${ac_cv_lib_iconv_iconv+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-liconv $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 3112 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- /* 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 iconv ();
- int
- main ()
- {
- iconv ();
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:3134: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:3137: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:3139: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:3142: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- ac_cv_lib_iconv_iconv=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_lib_iconv_iconv=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- echo "$as_me:3154: result: $ac_cv_lib_iconv_iconv" >&5
- echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
- if test $ac_cv_lib_iconv_iconv = yes; then
- cat >>confdefs.h <<EOF
- #define HAVE_LIBICONV 1
- EOF
-
- LIBS="-liconv $LIBS"
-
- fi
-
- iconv_includes="
- #ifdef HAVE_STRING_H
- # if !STDC_HEADERS && HAVE_MEMORY_H
- # include <memory.h>
- # endif
- # include <string.h>
- #else
- # ifdef HAVE_STRINGS_H
- # include <strings.h>
- # endif
- #endif
- #ifdef HAVE_WCHAR_H
- # include <wchar.h>
- #endif
- #ifdef HAVE_ICONV_H
- # include <iconv.h>
- #endif
- "
-
- echo "$as_me:3184: checking simple call to iconv" >&5
- echo $ECHO_N "checking simple call to iconv... $ECHO_C" >&6
- if test "${ac_cv_call_iconv+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3191 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $iconv_includes
- int
- main ()
- {
- iconv(0, NULL, NULL, NULL, NULL)
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3206: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3209: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_call_iconv=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_call_iconv=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3221: result: $ac_cv_call_iconv" >&5
- echo "${ECHO_T}$ac_cv_call_iconv" >&6
-
- if test "$ac_cv_call_iconv" = "yes" ; then
-
- echo "$as_me:3226: checking for error calling iconv with const 2nd argument" >&5
- echo $ECHO_N "checking for error calling iconv with const 2nd argument... $ECHO_C" >&6
- if test "${ac_cv_error_call_iconv_const+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3232 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $iconv_includes
- int
- main ()
- {
-
- const char ** s = NULL;
- iconv(0, s, NULL, NULL, NULL);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3250: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3253: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_error_call_iconv_const=no
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_error_call_iconv_const=yes
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3265: result: $ac_cv_error_call_iconv_const" >&5
- echo "${ECHO_T}$ac_cv_error_call_iconv_const" >&6
-
- if test "$ac_cv_error_call_iconv_const" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_ERROR_CALL_ICONV_CONST
- EOF
-
- echo "$as_me:3274: checking fix for calling iconv with non const argument" >&5
- echo $ECHO_N "checking fix for calling iconv with non const argument... $ECHO_C" >&6
- if test "${ac_cv_call_iconv_non_const+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3280 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $iconv_includes
- int
- main ()
- {
-
- const wchar_t * s = NULL;
- iconv( 0,
- #ifdef HAVE_ERROR_CALL_ICONV_CONST
- (char **)
- #endif
- s, NULL, NULL, NULL);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3305: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_call_iconv_non_const=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:3311: error: Could not compile with iconv const cast fix" >&5
- echo "$as_me: error: Could not compile with iconv const cast fix" >&2;}
- { (exit 1); exit; }; }
-
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:3319: result: $ac_cv_call_iconv_non_const" >&5
- echo "${ECHO_T}$ac_cv_call_iconv_non_const" >&6
-
- fi
-
- fi
-
- echo "$as_me:3326: checking for u_getVersion in -licu-uc" >&5
- echo $ECHO_N "checking for u_getVersion in -licu-uc... $ECHO_C" >&6
- if test "${ac_cv_lib_icu_uc_u_getVersion+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
- LIBS="-licu-uc $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line 3334 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- /* 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 u_getVersion ();
- int
- main ()
- {
- u_getVersion ();
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:3356: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:3359: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:3361: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:3364: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- ac_cv_lib_icu_uc_u_getVersion=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_lib_icu_uc_u_getVersion=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
- echo "$as_me:3376: result: $ac_cv_lib_icu_uc_u_getVersion" >&5
- echo "${ECHO_T}$ac_cv_lib_icu_uc_u_getVersion" >&6
- if test $ac_cv_lib_icu_uc_u_getVersion = yes; then
- cat >>confdefs.h <<EOF
- #define HAVE_LIB_ICU_UC 1
- EOF
-
- LIBS="-licu-uc $LIBS"
-
- fi
-
- for ac_func in cygwin_win32_to_posix_path_list
- do
- ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
- echo "$as_me:3390: checking for $ac_func" >&5
- echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_var+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3396 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- /* 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. */
- #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 $ac_func ();
- char (*f) ();
-
- 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
- f = $ac_func;
- #endif
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:3430: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:3433: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:3435: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:3438: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- eval "$ac_ac_var=yes"
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_var=no"
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- fi
- echo "$as_me:3449: result: `eval echo '${'$ac_ac_var'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
- if test `eval echo '${'$ac_ac_var'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
- EOF
-
- fi
- done
-
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
- set dummy ${ac_tool_prefix}strip; ac_word=$2
- echo "$as_me:3462: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- if test "${ac_cv_prog_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
- else
- ac_save_IFS=$IFS; IFS=':'
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- IFS=$ac_save_IFS
- test -z "$ac_dir" && ac_dir=.
- test -f "$ac_dir/$ac_word" || continue
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- break
- done
-
- fi
- fi
- STRIP=$ac_cv_prog_STRIP
- if test -n "$STRIP"; then
- echo "$as_me:3484: result: $STRIP" >&5
- echo "${ECHO_T}$STRIP" >&6
- else
- echo "$as_me:3487: result: no" >&5
- echo "${ECHO_T}no" >&6
- fi
-
- fi
- if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
- set dummy strip; ac_word=$2
- echo "$as_me:3496: checking for $ac_word" >&5
- echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
- if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
- else
- ac_save_IFS=$IFS; IFS=':'
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- IFS=$ac_save_IFS
- test -z "$ac_dir" && ac_dir=.
- test -f "$ac_dir/$ac_word" || continue
- ac_cv_prog_ac_ct_STRIP="strip"
- break
- done
-
- test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
- fi
- fi
- ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
- if test -n "$ac_ct_STRIP"; then
- echo "$as_me:3519: result: $ac_ct_STRIP" >&5
- echo "${ECHO_T}$ac_ct_STRIP" >&6
- else
- echo "$as_me:3522: result: no" >&5
- echo "${ECHO_T}no" >&6
- fi
-
- STRIP=$ac_ct_STRIP
- else
- STRIP="$ac_cv_prog_STRIP"
- fi
-
- echo "$as_me:3531: checking whether the compiler supports member constants" >&5
- echo $ECHO_N "checking whether the compiler supports member constants... $ECHO_C" >&6
- if test "${ac_cv_cxx_member_constants+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3538 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- class C {public: static const int i = 0;}; const int C::i;
- int
- main ()
- {
- return C::i;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3553: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3556: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_member_constants=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_member_constants=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3568: result: $ac_cv_cxx_member_constants" >&5
- echo "${ECHO_T}$ac_cv_cxx_member_constants" >&6
- if test "$ac_cv_cxx_member_constants" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_MEMBER_CONSTANTS
- EOF
-
- fi
-
- echo "$as_me:3578: checking whether the compiler supports the explicit keyword" >&5
- echo $ECHO_N "checking whether the compiler supports the explicit keyword... $ECHO_C" >&6
- if test "${ac_cv_cxx_explicit+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3585 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- class A{public:explicit A(double){}};
- int
- main ()
- {
- double c = 5.0;A x(c);return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3600: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3603: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_explicit=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_explicit=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3615: result: $ac_cv_cxx_explicit" >&5
- echo "${ECHO_T}$ac_cv_cxx_explicit" >&6
- if test "$ac_cv_cxx_explicit" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_EXPLICIT
- EOF
-
- fi
-
- ac_cv_cxx_rtti=no
- echo "$as_me:3626: checking whether the compiler supports Run-Time Type Identification" >&5
- echo $ECHO_N "checking whether the compiler supports Run-Time Type Identification... $ECHO_C" >&6
- if test "${ac_cv_cxx_rtti+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3633 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <typeinfo>
- class Base { public :
- Base () {}
- virtual int f () { return 0; }
- };
- class Derived : public Base { public :
- Derived () {}
- virtual int f () { return 1; }
- };
-
- int
- main ()
- {
- Derived d;
- Base *ptr = &d;
- return typeid (*ptr) == typeid (Derived);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3660: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3663: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_rtti=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_rtti=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3675: result: $ac_cv_cxx_rtti" >&5
- echo "${ECHO_T}$ac_cv_cxx_rtti" >&6
- if test "$ac_cv_cxx_rtti" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_RTTI
- EOF
-
- fi
-
- echo "$as_me:3685: checking whether the compiler supports const_cast<>" >&5
- echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
- if test "${ac_cv_cxx_const_cast+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3692 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- int
- main ()
- {
- int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3707: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3710: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_const_cast=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_const_cast=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3722: result: $ac_cv_cxx_const_cast" >&5
- echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
- if test "$ac_cv_cxx_const_cast" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_CONST_CAST
- EOF
-
- fi
-
- echo "$as_me:3732: checking whether the compiler supports dynamic_cast<>" >&5
- echo $ECHO_N "checking whether the compiler supports dynamic_cast<>... $ECHO_C" >&6
- if test "${ac_cv_cxx_dynamic_cast+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3739 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <typeinfo>
- class Base { public : Base () {} virtual void f () = 0;};
- class Derived : public Base { public : Derived () {} virtual void f () {} };
- int
- main ()
- {
-
- Derived d; Base& b=d; return dynamic_cast<Derived*>(&b) ? 0 : 1;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3757: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3760: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_dynamic_cast=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_dynamic_cast=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3772: result: $ac_cv_cxx_dynamic_cast" >&5
- echo "${ECHO_T}$ac_cv_cxx_dynamic_cast" >&6
- if test "$ac_cv_cxx_dynamic_cast" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_DYNAMIC_CAST
- EOF
-
- fi
-
- echo "$as_me:3782: checking whether the compiler supports reinterpret_cast<>" >&5
- echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
- if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3789 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <typeinfo>
- class Base { public : Base () {} virtual void f () = 0;};
- class Derived : public Base { public : Derived () {} virtual void f () {} };
- class Unrelated { public : Unrelated () {} };
- int g (Unrelated&) { return 0; }
- int
- main ()
- {
-
- Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3809: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3812: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_reinterpret_cast=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_reinterpret_cast=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3824: result: $ac_cv_cxx_reinterpret_cast" >&5
- echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
- if test "$ac_cv_cxx_reinterpret_cast" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_REINTERPRET_CAST
- EOF
-
- fi
-
- echo "$as_me:3834: checking whether the compiler supports static_cast<>" >&5
- echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
- if test "${ac_cv_cxx_static_cast+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
-
- cat >conftest.$ac_ext <<_ACEOF
- #line 3841 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <typeinfo>
- class Base { public : Base () {} virtual void f () = 0; };
- class Derived : public Base { public : Derived () {} virtual void f () {} };
- int g (Derived&) { return 0; }
- int
- main ()
- {
-
- Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3860: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3863: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_cxx_static_cast=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_cxx_static_cast=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:3875: result: $ac_cv_cxx_static_cast" >&5
- echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
- if test "$ac_cv_cxx_static_cast" = yes; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_STATIC_CAST
- EOF
-
- fi
-
- #FIXME : do we need to add the -funsigned-char option when compiling with
- # g++? If we always use the u1 type (see platform.h), then I think not.
-
- # It might also be better to use the following macro for these tests!
- #AC_CHECK_SIZEOF (TYPE, [CROSS-SIZE], [INCLUDES])
-
- echo "$as_me:3891: checking correct value for UINT_MAX" >&5
- echo $ECHO_N "checking correct value for UINT_MAX... $ECHO_C" >&6
- if test "${jikes_cv_uint_max+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3897 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <limits.h>
- #if ! (UINT_MAX == 0xFFFFFFFF)
- # error "UINT_MAX"
- #endif
-
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3917: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3920: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_uint_max=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:3926: error: unsigned int does not store values in the range
- 0..4294967295 on this system" >&5
- echo "$as_me: error: unsigned int does not store values in the range
- 0..4294967295 on this system" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:3935: result: $jikes_cv_uint_max" >&5
- echo "${ECHO_T}$jikes_cv_uint_max" >&6
-
- echo "$as_me:3938: checking correct value for INT_MAX" >&5
- echo $ECHO_N "checking correct value for INT_MAX... $ECHO_C" >&6
- if test "${jikes_cv_int_max+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3944 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <limits.h>
- #if ! ((INT_MAX == 2147483647) && (INT_MIN + 1 == -INT_MAX))
- # error "INT_MAX"
- #endif
-
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:3964: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:3967: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_int_max=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:3973: error: int does not store values in the range
- -2147483648..+2147483647 on this system" >&5
- echo "$as_me: error: int does not store values in the range
- -2147483648..+2147483647 on this system" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:3982: result: $jikes_cv_int_max" >&5
- echo "${ECHO_T}$jikes_cv_int_max" >&6
-
- echo "$as_me:3985: checking for broken USHRT_MAX" >&5
- echo $ECHO_N "checking for broken USHRT_MAX... $ECHO_C" >&6
- if test "${jikes_cv_ushrt_max_is_broken+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 3991 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <limits.h>
- #if ! (USHRT_MAX == 0xFFFF)
- int hi=0;
- #endif
-
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4011: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4014: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_ushrt_max_is_broken=no
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_ushrt_max_is_broken=yes
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:4026: result: $jikes_cv_ushrt_max_is_broken" >&5
- echo "${ECHO_T}$jikes_cv_ushrt_max_is_broken" >&6
- if test "$jikes_cv_ushrt_max_is_broken" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_BROKEN_USHRT_MAX
- EOF
-
- fi
-
- echo "$as_me:4036: checking correct value for USHRT_MAX" >&5
- echo $ECHO_N "checking correct value for USHRT_MAX... $ECHO_C" >&6
- if test "${jikes_cv_ushrt_max+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4042 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <limits.h>
- #if ! (USHRT_MAX == 0xFFFF)
- # error "USHRT_MAX"
- #endif
-
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4062: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4065: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_ushrt_max=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:4071: error: unsigned short does not store values in the range
- 0..65535 on this system" >&5
- echo "$as_me: error: unsigned short does not store values in the range
- 0..65535 on this system" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4080: result: $jikes_cv_ushrt_max" >&5
- echo "${ECHO_T}$jikes_cv_ushrt_max" >&6
-
- echo "$as_me:4083: checking correct value for SHRT_MAX" >&5
- echo $ECHO_N "checking correct value for SHRT_MAX... $ECHO_C" >&6
- if test "${jikes_cv_shrt_max+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4089 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <limits.h>
- #if ! ((SHRT_MAX == 32767) && (SHRT_MIN + 1 == -SHRT_MAX))
- # error "SHRT_MAX"
- #endif
-
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4109: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4112: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_shrt_max=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:4118: error: short does not store values in the range
- -32767..+32768 on this system" >&5
- echo "$as_me: error: short does not store values in the range
- -32767..+32768 on this system" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4127: result: $jikes_cv_shrt_max" >&5
- echo "${ECHO_T}$jikes_cv_shrt_max" >&6
-
- echo "$as_me:4130: checking correct value for UCHAR_MAX" >&5
- echo $ECHO_N "checking correct value for UCHAR_MAX... $ECHO_C" >&6
- if test "${jikes_cv_uchar_max+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4136 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <limits.h>
- #if ! (UCHAR_MAX == 0xFF)
- # error "UCHAR_MAX"
- #endif
-
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4156: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4159: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_uchar_max=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:4165: error: unsigned char does not store values in the range
- 0..255 on this system" >&5
- echo "$as_me: error: unsigned char does not store values in the range
- 0..255 on this system" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4174: result: $jikes_cv_uchar_max" >&5
- echo "${ECHO_T}$jikes_cv_uchar_max" >&6
-
- echo "$as_me:4177: checking correct value for SCHAR_MAX" >&5
- echo $ECHO_N "checking correct value for SCHAR_MAX... $ECHO_C" >&6
- if test "${jikes_cv_schar_max+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4183 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <limits.h>
- #if ! ((SCHAR_MAX == 127) && (SCHAR_MIN + 1 == -SCHAR_MAX))
- # error "SCHAR_MAX"
- #endif
-
- int
- main ()
- {
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4203: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4206: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_schar_max=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- { { echo "$as_me:4212: error: char does not store values in the range
- -128..+127 on this system" >&5
- echo "$as_me: error: char does not store values in the range
- -128..+127 on this system" >&2;}
- { (exit 1); exit; }; }
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4221: result: $jikes_cv_schar_max" >&5
- echo "${ECHO_T}$jikes_cv_schar_max" >&6
-
- # Check whether --enable-fp-emulation or --disable-fp-emulation was given.
- if test "${enable_fp_emulation+set}" = set; then
- enableval="$enable_fp_emulation"
- ok=$enableval
- else
- ok=no
- fi;
-
- echo "$as_me:4232: checking for floating point support" >&5
- echo $ECHO_N "checking for floating point support... $ECHO_C" >&6
-
- if test "$ok" = "yes"; then
- # Do nothing, floating point emulation is used when HAVE_IEEE754 is not defined
- echo "$as_me:4237: result: emulated" >&5
- echo "${ECHO_T}emulated" >&6
- else
-
- cat >>confdefs.h <<\EOF
- #define HAVE_IEEE754 1
- EOF
-
- echo "$as_me:4245: result: native" >&5
- echo "${ECHO_T}native" >&6
- fi
-
- echo "$as_me:4249: checking for unsigned long long" >&5
- echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
- if test "${ac_cv_type_unsigned_long_long+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4255 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- $ac_includes_default
- int
- main ()
- {
- if ((unsigned long long *) 0)
- return 0;
- if (sizeof (unsigned long long))
- return 0;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4273: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4276: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_type_unsigned_long_long=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_type_unsigned_long_long=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4287: result: $ac_cv_type_unsigned_long_long" >&5
- echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
-
- #FIXME: we might also want to check for the __int64 type
- #which seems to be defined on some windows systems.
-
- # FIXME: What about the u_int64_t type, would that work too?
-
- if test "$ac_cv_type_unsigned_long_long" != "yes" ; then
-
- echo "$as_me:4297: checking whether byte ordering is bigendian" >&5
- echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
- if test "${ac_cv_c_bigendian+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_cv_c_bigendian=unknown
- # See if sys/param.h defines the BYTE_ORDER macro.
- cat >conftest.$ac_ext <<_ACEOF
- #line 4305 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <sys/types.h>
- #include <sys/param.h>
-
- int
- main ()
- {
- #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
- bogus endian macros
- #endif
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4325: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4328: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- # It does; now see whether it defined to BIG_ENDIAN or not.
- cat >conftest.$ac_ext <<_ACEOF
- #line 4332 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <sys/types.h>
- #include <sys/param.h>
-
- int
- main ()
- {
- #if BYTE_ORDER != BIG_ENDIAN
- not big endian
- #endif
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4352: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4355: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- ac_cv_c_bigendian=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_c_bigendian=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- if test $ac_cv_c_bigendian = unknown; then
- if test "$cross_compiling" = yes; then
- { { echo "$as_me:4373: error: cannot run test program while cross compiling" >&5
- echo "$as_me: error: cannot run test program while cross compiling" >&2;}
- { (exit 1); exit; }; }
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4378 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- int
- 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);
- }
- _ACEOF
- rm -f conftest$ac_exeext
- if { (eval echo "$as_me:4397: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:4400: \$? = $ac_status" >&5
- (exit $ac_status); } && { (eval echo "$as_me:4401: \"./conftest$ac_exeext\"") >&5
- (eval ./conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:4404: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- ac_cv_c_bigendian=no
- else
- echo "$as_me: program exited with status $ac_status" >&5
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_c_bigendian=yes
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- fi
-
- fi
- fi
- echo "$as_me:4419: result: $ac_cv_c_bigendian" >&5
- echo "${ECHO_T}$ac_cv_c_bigendian" >&6
- if test $ac_cv_c_bigendian = yes; then
-
- cat >>confdefs.h <<\EOF
- #define WORDS_BIGENDIAN 1
- EOF
-
- fi
-
- else
-
- cat >>confdefs.h <<\EOF
- #define HAVE_UNSIGNED_LONG_LONG
- EOF
-
- fi
-
- # FIXME : we would need to readdress this when porting to new systems
-
- cat >>confdefs.h <<\EOF
- #define HAVE_32BIT_TYPES
- EOF
-
- echo "$as_me:4443: checking for __S_IFDIR symbol" >&5
- echo $ECHO_N "checking for __S_IFDIR symbol... $ECHO_C" >&6
- if test "${jikes_cv_stat_ifdir_2underscore+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4449 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <sys/stat.h>
-
- int
- main ()
- {
- int i = __S_IFDIR;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4466: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4469: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_stat_ifdir_2underscore=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_stat_ifdir_2underscore=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4480: result: $jikes_cv_stat_ifdir_2underscore" >&5
- echo "${ECHO_T}$jikes_cv_stat_ifdir_2underscore" >&6
-
- echo "$as_me:4483: checking for _S_IFDIR symbol" >&5
- echo $ECHO_N "checking for _S_IFDIR symbol... $ECHO_C" >&6
- if test "${jikes_cv_stat_ifdir_1underscore+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4489 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <sys/stat.h>
-
- int
- main ()
- {
- int i = _S_IFDIR;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4506: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4509: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_stat_ifdir_1underscore=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_stat_ifdir_1underscore=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4520: result: $jikes_cv_stat_ifdir_1underscore" >&5
- echo "${ECHO_T}$jikes_cv_stat_ifdir_1underscore" >&6
-
- echo "$as_me:4523: checking for S_IFDIR symbol" >&5
- echo $ECHO_N "checking for S_IFDIR symbol... $ECHO_C" >&6
- if test "${jikes_cv_stat_ifdir_0underscore+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4529 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <sys/stat.h>
-
- int
- main ()
- {
- int i = S_IFDIR;
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4546: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4549: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- jikes_cv_stat_ifdir_0underscore=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_stat_ifdir_0underscore=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
- fi
- echo "$as_me:4560: result: $jikes_cv_stat_ifdir_0underscore" >&5
- echo "${ECHO_T}$jikes_cv_stat_ifdir_0underscore" >&6
-
- if test "$jikes_cv_stat_ifdir_2underscore" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define JIKES_STAT_S_IFDIR __S_IFDIR
- EOF
-
- elif test "$jikes_cv_stat_ifdir_1underscore" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define JIKES_STAT_S_IFDIR _S_IFDIR
- EOF
-
- elif test "$jikes_cv_stat_ifdir_0underscore" = "yes"; then
-
- cat >>confdefs.h <<\EOF
- #define JIKES_STAT_S_IFDIR S_IFDIR
- EOF
-
- else
- { { echo "$as_me:4582: error: Could not find stat S_IFDIR symbol" >&5
- echo "$as_me: error: Could not find stat S_IFDIR symbol" >&2;}
- { (exit 1); exit; }; }
- fi
-
- for ac_func in mkdir
- do
- ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
- echo "$as_me:4590: checking for $ac_func" >&5
- echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
- if eval "test \"\${$ac_ac_var+set}\" = set"; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4596 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- /* 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. */
- #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 $ac_func ();
- char (*f) ();
-
- 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
- f = $ac_func;
- #endif
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:4630: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:4633: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:4635: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:4638: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- eval "$ac_ac_var=yes"
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- eval "$ac_ac_var=no"
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
- fi
- echo "$as_me:4649: result: `eval echo '${'$ac_ac_var'}'`" >&5
- echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
- if test `eval echo '${'$ac_ac_var'}'` = yes; then
- cat >>confdefs.h <<EOF
- #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
- EOF
-
- else
- { { echo "$as_me:4657: error: No mkdir() function found" >&5
- echo "$as_me: error: No mkdir() function found" >&2;}
- { (exit 1); exit; }; }
- fi
- done
-
- echo "$as_me:4663: checking for mac style mkdir" >&5
- echo $ECHO_N "checking for mac style mkdir... $ECHO_C" >&6
- if test "${jikes_cv_mac_mkdir+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4669 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <sys/stat.h>
- #include <stat.mac.h>
-
- int
- main ()
- {
- mkdir("foo.dir", 0);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:4688: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:4691: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:4693: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:4696: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- jikes_cv_mac_mkdir=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_mac_mkdir=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
-
- fi
- echo "$as_me:4708: result: $jikes_cv_mac_mkdir" >&5
- echo "${ECHO_T}$jikes_cv_mac_mkdir" >&6
-
- echo "$as_me:4711: checking for glibc style mkdir" >&5
- echo $ECHO_N "checking for glibc style mkdir... $ECHO_C" >&6
- if test "${jikes_cv_glibc_mkdir+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4717 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <sys/stat.h>
- #include <unistd.h>
-
- int
- main ()
- {
- mkdir("foo.dir", S_IRWXU | S_IRWXG | S_IRWXO);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:4736: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:4739: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:4741: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:4744: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- jikes_cv_glibc_mkdir=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_glibc_mkdir=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
-
- fi
- echo "$as_me:4756: result: $jikes_cv_glibc_mkdir" >&5
- echo "${ECHO_T}$jikes_cv_glibc_mkdir" >&6
-
- echo "$as_me:4759: checking for libc5 style mkdir" >&5
- echo $ECHO_N "checking for libc5 style mkdir... $ECHO_C" >&6
- if test "${jikes_cv_libc5_mkdir+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4765 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <sys/stat.h>
- #include <unistd.h>
-
- int
- main ()
- {
- mkdir("foo.dir", S_IRWXU);
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:4784: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:4787: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:4789: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:4792: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- jikes_cv_libc5_mkdir=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_libc5_mkdir=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
-
- fi
- echo "$as_me:4804: result: $jikes_cv_libc5_mkdir" >&5
- echo "${ECHO_T}$jikes_cv_libc5_mkdir" >&6
-
- echo "$as_me:4807: checking for win32 style mkdir" >&5
- echo $ECHO_N "checking for win32 style mkdir... $ECHO_C" >&6
- if test "${jikes_cv_win32_mkdir+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4813 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
-
- #include <direct.h>
-
- int
- main ()
- {
- mkdir("foo.dir");
-
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { (eval echo "$as_me:4831: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:4834: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { (eval echo "$as_me:4836: \"test -s conftest$ac_exeext\"") >&5
- (eval test -s conftest$ac_exeext) 2>&5
- ac_status=$?
- echo "$as_me:4839: \$? = $ac_status" >&5
- (exit $ac_status); }; then
- jikes_cv_win32_mkdir=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_win32_mkdir=no
- fi
-
- rm -f conftest$ac_exeext conftest.$ac_ext
-
- fi
- echo "$as_me:4851: result: $jikes_cv_win32_mkdir" >&5
- echo "${ECHO_T}$jikes_cv_win32_mkdir" >&6
-
- if test "$jikes_cv_glibc_mkdir" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_GLIBC_MKDIR
- EOF
-
- elif test "$jikes_cv_libc5_mkdir" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_LIBC5_MKDIR
- EOF
-
- elif test "$jikes_cv_win32_mkdir" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_WIN32_MKDIR
- EOF
-
- elif test "$jikes_cv_mac_mkdir" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_MAC_MKDIR
- EOF
-
- else
- { { echo "$as_me:4879: error: Could not locate a working mkdir() implementation" >&5
- echo "$as_me: error: Could not locate a working mkdir() implementation" >&2;}
- { (exit 1); exit; }; }
- fi
-
- echo "$as_me:4884: checking floating point bug workaround for ICC compiler" >&5
- echo $ECHO_N "checking floating point bug workaround for ICC compiler... $ECHO_C" >&6
- if test "${jikes_cv_icc_fp_bugs+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- cat >conftest.$ac_ext <<_ACEOF
- #line 4890 "configure"
- #include "confdefs.h"
- #ifdef __cplusplus
- #include <stdlib.h>
- #endif
- #include <float.h>
- int
- main ()
- {
- _control87(EM_UNDERFLOW, EM_UNDERFLOW);
- ;
- return 0;
- }
- _ACEOF
- rm -f conftest.$ac_objext
- if { (eval echo "$as_me:4905: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>&5
- ac_status=$?
- echo "$as_me:4908: \$? = $ac_status" >&5
- (exit $ac_status); } && test -s conftest.$ac_objext; then
- if "$CXX" = "ICC" || test "$CXX" = "vacpp" ; then
- jikes_cv_icc_fp_bugs=yes
- else
- jikes_cv_icc_fp_bugs=no
- fi
-
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
- jikes_cv_icc_fp_bugs=no
- fi
-
- rm -f conftest.$ac_objext conftest.$ac_ext
-
- fi
- echo "$as_me:4925: result: $jikes_cv_icc_fp_bugs" >&5
- echo "${ECHO_T}$jikes_cv_icc_fp_bugs" >&6
- if test "$jikes_cv_icc_fp_bugs" = "yes" ; then
-
- cat >>confdefs.h <<\EOF
- #define HAVE_ICC_FP_BUGS
- EOF
-
- fi
-
- # Check whether --with-jikespg or --without-jikespg was given.
- if test "${with_jikespg+set}" = set; then
- withval="$with_jikespg"
- JIKESPG=$withval
- else
- JIKESPG=NONE
- fi;
-
- if test "$JIKESPG" != "NONE"; then
- if test ! -f "$JIKESPG" || test ! -x "$JIKESPG"; then
- { { echo "$as_me:4945: error: jikespg argument '$JIKESPG' is not a file or is not executable" >&5
- echo "$as_me: error: jikespg argument '$JIKESPG' is not a file or is not executable" >&2;}
- { (exit 1); exit; }; }
- fi
- else
- JIKESPG=jikespg
- fi
-
- # Subst variables into Makefile.in to produce the Makefile
-
- ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
- cat >confcache <<\_ACEOF
- # 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, see configure's option --config-cache.
- # It is not useful on other systems. If it contains results you don't
- # want to keep, you may remove or edit it.
- #
- # config.status only pays attention to the cache file if you give it
- # the --recheck option to rerun configure.
- #
- # `ac_cv_env_foo' variables (set or unset) will be overriden when
- # loading this file, other *unset* `ac_cv_foo' will be assigned the
- # following values.
-
- _ACEOF
-
- # 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 \
- "s/'/'\\\\''/g;
- s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;;
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n \
- "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
- ;;
- esac;
- } |
- sed '
- t clear
- : clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- : end' >>confcache
- if cmp -s $cache_file confcache; then :; else
- if test -w $cache_file; then
- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
- cat confcache >$cache_file
- else
- echo "not updating unwritable cache $cache_file"
- fi
- fi
- rm -f confcache
-
- 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
-
- DEFS=-DHAVE_CONFIG_H
-
- # Save into config.log some information that might help in debugging.
- cat <<_ACEOF >&5
-
- ## ----------------- ##
- ## Cache variables. ##
- ## ----------------- ##
-
- _ACEOF
- # 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 \
- "s/'/'\\\\''/g;
- s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;;
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n \
- "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
- ;;
- esac;
- } >&5
- cat <<_ACEOF >&5
-
- ## ------------ ##
- ## confdefs.h. ##
- ## ------------ ##
-
- _ACEOF
- sed '/^$/d' confdefs.h >&5
-
- : ${CONFIG_STATUS=./config.status}
- ac_clean_files_save=$ac_clean_files
- ac_clean_files="$ac_clean_files $CONFIG_STATUS"
- { echo "$as_me:5066: creating $CONFIG_STATUS" >&5
- echo "$as_me: creating $CONFIG_STATUS" >&6;}
- cat >$CONFIG_STATUS <<\_ACEOF
- #! /bin/sh
- # Generated automatically by configure.
- # Run this file to recreate the current configuration.
- # Compiler output produced by configure, useful for debugging
- # configure, is in config.log if it exists.
-
- debug=false
- as_me=`echo "$0" | sed 's,.*/,,'`
- SHELL=${CONFIG_SHELL-/bin/sh}
-
- # Be Bourne compatible
- if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
- emulate sh
- NULLCMD=:
- elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
- set -o posix
- fi
-
- if expr a : '\(a\)' >/dev/null 2>&1; then
- as_expr=expr
- else
- as_expr=false
- fi
- # Support unset when possible.
- if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
- as_unset=unset
- else
- as_unset=false
- fi
-
- # NLS nuisances.
- $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
- $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
- $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
- $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
- $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
- $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
- $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
- $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
-
- # IFS
- # We need space, tab and new line, in precisely that order.
- ac_nl='
- '
- IFS=" $ac_nl"
-
- # CDPATH.
- $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
-
- # 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
-
- cat >&5 << EOF
-
- ## ----------------------- ##
- ## Running config.status. ##
- ## ----------------------- ##
-
- This file was extended by $as_me 2.49c, executed with
- > $0 $@
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
-
- EOF
-
- _ACEOF
-
- # Files that config.status was made for.
- if test -n "$ac_config_files"; then
- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
- fi
-
- if test -n "$ac_config_headers"; then
- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
- fi
-
- if test -n "$ac_config_links"; then
- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
- fi
-
- if test -n "$ac_config_commands"; then
- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
- fi
-
- cat >>$CONFIG_STATUS <<\EOF
-
- ac_cs_usage="\
- \`$as_me' instantiates files from templates according to the
- current configuration.
-
- Usage: $0 [OPTIONS] [FILE]...
-
- -h, --help print this help, then exit
- -V, --version print version number, then exit
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
-
- Configuration files:
- $config_files
-
- Configuration headers:
- $config_headers
-
- Configuration commands:
- $config_commands
-
- Report bugs to <bug-autoconf@gnu.org>."
- EOF
-
- cat >>$CONFIG_STATUS <<EOF
- ac_cs_version="\\
- $CONFIG_STATUS generated by $as_me (Autoconf 2.49c).
- Configured on host $ac_hostname by
- `echo "$0 $ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`"
-
- ac_given_srcdir=$srcdir
- ac_given_INSTALL="$INSTALL"
- EOF
-
- cat >>$CONFIG_STATUS <<\EOF
- # If no file are specified by the user, then we need to provide default
- # value. By we need to know if files were specified by the user.
- ac_need_defaults=:
- while test $# != 0
- do
- case $1 in
- --*=*)
- ac_option=`expr "x$1" : 'x\([^=]*\)='`
- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
- shift
- set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
- shift
- ;;
- -*);;
- *) # This is not an option, so the user has probably given explicit
- # arguments.
- ac_need_defaults=false;;
- esac
-
- case $1 in
- # Handling of the options.
- EOF
- cat >>$CONFIG_STATUS <<EOF
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
- exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
- EOF
- cat >>$CONFIG_STATUS <<\EOF
- --version | --vers* | -V )
- echo "$ac_cs_version"; exit 0 ;;
- --he | --h)
- # Conflict between --help and --header
- { { echo "$as_me:5236: error: ambiguous option: $1
- Try \`$0 --help' for more information." >&5
- echo "$as_me: error: ambiguous option: $1
- Try \`$0 --help' for more information." >&2;}
- { (exit 1); exit; }; };;
- --help | --hel | -h )
- echo "$ac_cs_usage"; exit 0 ;;
- --debug | --d* | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- shift
- CONFIG_FILES="$CONFIG_FILES $1"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- shift
- CONFIG_HEADERS="$CONFIG_HEADERS $1"
- ac_need_defaults=false;;
-
- # Handling of arguments.
- 'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- 'doc/Makefile' ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
- 'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
- 'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
- 'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
- 'src/config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
-
- # This is an error.
- -*) { { echo "$as_me:5263: error: unrecognized option: $1
- Try \`$0 --help' for more information." >&5
- echo "$as_me: error: unrecognized option: $1
- Try \`$0 --help' for more information." >&2;}
- { (exit 1); exit; }; } ;;
- *) { { echo "$as_me:5268: error: invalid argument: $1" >&5
- echo "$as_me: error: invalid argument: $1" >&2;}
- { (exit 1); exit; }; };;
- esac
- shift
- done
-
- EOF
-
- cat >>$CONFIG_STATUS <<\EOF
- # If the user did not use the arguments to specify the items to instantiate,
- # then the envvar interface is used. Set only those that are not.
- if $ac_need_defaults; then
- CONFIG_FILES=${CONFIG_FILES="$config_files"}
- CONFIG_HEADERS=${CONFIG_HEADERS="$config_headers"}
- CONFIG_COMMANDS=${CONFIG_COMMANDS="$config_commands"}
- fi
-
- # Create a temporary directory, and hook for its removal unless debugging.
- $debug ||
- {
- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
- trap '{ (exit $?); exit; }' 1 2 13 15
- }
-
- # Create a (secure) tmp directory for tmp files.
- : ${TMPDIR=/tmp}
- {
- tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
- test -n "$tmp" && test -d "$tmp"
- } ||
- {
- tmp=$TMPDIR/cs$$-$RANDOM
- (umask 077 && mkdir $tmp)
- } ||
- {
- echo "$me: cannot create a temporary directory in $TMPDIR" >&2
- { (exit 1); exit; }
- }
-
- EOF
-
- cat >>$CONFIG_STATUS <<EOF
- #
- # INIT-COMMANDS section.
- #
-
- am_indx=1
- for am_file in src/config.h; do
- case " $CONFIG_HEADERS " in
- *" $am_file "*)
- echo timestamp > `echo $am_file | sed 's%:.*%%;s%[^/]*$%%'`stamp-h$am_indx
- ;;
- esac
- am_indx=\`expr \$am_indx + 1\`
- done
- AMDEP="$AMDEP"
- ac_aux_dir="$ac_aux_dir"
-
- EOF
-
- cat >>$CONFIG_STATUS <<EOF
-
- #
- # CONFIG_FILES section.
- #
-
- # No need to generate the scripts if there are no CONFIG_FILES.
- # This happens for instance when ./config.status config.h
- if test -n "\$CONFIG_FILES"; then
- # Protect against being on the right side of a sed subst in config.status.
- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
- s,@SHELL@,$SHELL,;t t
- s,@exec_prefix@,$exec_prefix,;t t
- s,@prefix@,$prefix,;t t
- s,@program_transform_name@,$program_transform_name,;t t
- s,@bindir@,$bindir,;t t
- s,@sbindir@,$sbindir,;t t
- s,@libexecdir@,$libexecdir,;t t
- s,@datadir@,$datadir,;t t
- s,@sysconfdir@,$sysconfdir,;t t
- s,@sharedstatedir@,$sharedstatedir,;t t
- s,@localstatedir@,$localstatedir,;t t
- s,@libdir@,$libdir,;t t
- s,@includedir@,$includedir,;t t
- s,@oldincludedir@,$oldincludedir,;t t
- s,@infodir@,$infodir,;t t
- s,@mandir@,$mandir,;t t
- s,@ECHO_C@,$ECHO_C,;t t
- s,@ECHO_N@,$ECHO_N,;t t
- s,@ECHO_T@,$ECHO_T,;t t
- s,@CFLAGS@,$CFLAGS,;t t
- s,@CPPFLAGS@,$CPPFLAGS,;t t
- s,@CXXFLAGS@,$CXXFLAGS,;t t
- s,@FFLAGS@,$FFLAGS,;t t
- s,@DEFS@,$DEFS,;t t
- s,@LDFLAGS@,$LDFLAGS,;t t
- s,@LIBS@,$LIBS,;t t
- s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
- s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
- s,@INSTALL_DATA@,$INSTALL_DATA,;t t
- s,@PACKAGE@,$PACKAGE,;t t
- s,@VERSION@,$VERSION,;t t
- s,@ACLOCAL@,$ACLOCAL,;t t
- s,@AUTOCONF@,$AUTOCONF,;t t
- s,@AUTOMAKE@,$AUTOMAKE,;t t
- s,@AUTOHEADER@,$AUTOHEADER,;t t
- s,@MAKEINFO@,$MAKEINFO,;t t
- s,@AMTAR@,$AMTAR,;t t
- s,@install_sh@,$install_sh,;t t
- s,@AWK@,$AWK,;t t
- s,@SET_MAKE@,$SET_MAKE,;t t
- s,@AMDEP@,$AMDEP,;t t
- s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
- s,@DEPDIR@,$DEPDIR,;t t
- s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
- s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
- s,@MAINT@,$MAINT,;t t
- s,@build@,$build,;t t
- s,@build_cpu@,$build_cpu,;t t
- s,@build_vendor@,$build_vendor,;t t
- s,@build_os@,$build_os,;t t
- s,@host@,$host,;t t
- s,@host_cpu@,$host_cpu,;t t
- s,@host_vendor@,$host_vendor,;t t
- s,@host_os@,$host_os,;t t
- s,@CXX@,$CXX,;t t
- s,@ac_ct_CXX@,$ac_ct_CXX,;t t
- s,@OBJEXT@,$OBJEXT,;t t
- s,@EXEEXT@,$EXEEXT,;t t
- s,@CXXCPP@,$CXXCPP,;t t
- s,@CXXDEPMODE@,$CXXDEPMODE,;t t
- s,@STRIP@,$STRIP,;t t
- s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
- s,@JIKESPG@,$JIKESPG,;t t
- 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_lines=48
- ac_sed_frag=1 # Number of current file.
- ac_beg=1 # First line for current file.
- ac_end=$ac_max_sed_lines # 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" $tmp/subs.sed >$tmp/subs.frag
- else
- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
- fi
- if test ! -s $tmp/subs.frag; then
- ac_more_lines=false
- else
- # The purpose of the label and of the branching condition is to
- # speed up the sed processing (if there are no `@' at all, there
- # is no need to browse any of the substitutions).
- # These are the two extra sed commands mentioned above.
- (echo ':t
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
- if test -z "$ac_sed_cmds"; then
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
- else
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
- fi
- ac_sed_frag=`expr $ac_sed_frag + 1`
- ac_beg=$ac_end
- ac_end=`expr $ac_end + $ac_max_sed_lines`
- fi
- done
- if test -z "$ac_sed_cmds"; then
- ac_sed_cmds=cat
- fi
- fi # test -n "$CONFIG_FILES"
-
- EOF
- cat >>$CONFIG_STATUS <<\EOF
- for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- case $ac_file in
- - | *:- | *:-:* ) # input from stdin
- cat >$tmp/stdin
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
- *:* ) 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.
- ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| \
- . : '\(.\)' 2>/dev/null ||
- echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- /^X\(\/\/\)$/{ s//\1/; q; }
- /^X\(\/\).*/{ s//\1/; q; }
- s/.*/./; q'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- { case "$ac_dir" in
- [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
- *) ac_incr_dir=.;;
- esac
- ac_dummy="$ac_dir"
- for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
- ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
- test -d $ac_incr_dir || mkdir $ac_incr_dir
- done; }
-
- 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
-
- case $ac_given_INSTALL in
- [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
- *) INSTALL=$ac_dots$ac_given_INSTALL ;;
- esac
-
- if test x"$ac_file" != x-; then
- { echo "$as_me:5509: creating $ac_file" >&5
- echo "$as_me: creating $ac_file" >&6;}
- rm -f "$ac_file"
- fi
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated automatically by config.status. */
- configure_input="Generated automatically from `echo $ac_file_in |
- sed 's,.*/,,'` by configure."
-
- # Don't redirect the output to AC_FILE directly: use `mv' so that
- # updating is atomic, and doesn't need trapping.
-
- # First look for the input files in the build tree, otherwise in the
- # src tree.
- ac_file_inputs=`IFS=:
- for f in $ac_file_in; do
- case $f in
- -) echo $tmp/stdin ;;
- [\\/$]* | ?:[\\/]*)
- # Absolute
- test -f "$f" || { { echo "$as_me:5530: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- { (exit 1); exit; }; }
- echo $f;;
- *) # Relative
- if test -f "$f"; then
- # Build tree
- echo $f
- elif test -f "$ac_given_srcdir/$f"; then
- # Source tree
- echo $ac_given_srcdir/$f
- else
- # /dev/null tree
- { { echo "$as_me:5543: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- { (exit 1); exit; }; }
- fi;;
- esac
- done` || { (exit 1); exit; }
- EOF
- cat >>$CONFIG_STATUS <<EOF
- sed "$ac_vpsub
- $extrasub
- EOF
- cat >>$CONFIG_STATUS <<\EOF
- :t
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- s,@configure_input@,$configure_input,;t t
- s,@srcdir@,$srcdir,;t t
- s,@top_srcdir@,$top_srcdir,;t t
- s,@INSTALL@,$INSTALL,;t t
- " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
- rm -f $tmp/stdin
- if test x"$ac_file" != x-; then
- mv $tmp/out $ac_file
- else
- cat $tmp/out
- rm -f $tmp/out
- fi
-
- done
- EOF
- cat >>$CONFIG_STATUS <<\EOF
-
- #
- # CONFIG_HEADER section.
- #
-
- # 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=' '
- ac_dD=',;t'
- # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
- ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
- ac_uB='$,\1#\2define\3'
- ac_uC=' '
- ac_uD=',;t'
-
- for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- case $ac_file in
- - | *:- | *:-:* ) # input from stdin
- cat >$tmp/stdin
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
- * ) ac_file_in=$ac_file.in ;;
- esac
-
- test x"$ac_file" != x- && { echo "$as_me:5604: creating $ac_file" >&5
- echo "$as_me: creating $ac_file" >&6;}
-
- # First look for the input files in the build tree, otherwise in the
- # src tree.
- ac_file_inputs=`IFS=:
- for f in $ac_file_in; do
- case $f in
- -) echo $tmp/stdin ;;
- [\\/$]* | ?:[\\/]*)
- # Absolute
- test -f "$f" || { { echo "$as_me:5615: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- { (exit 1); exit; }; }
- echo $f;;
- *) # Relative
- if test -f "$f"; then
- # Build tree
- echo $f
- elif test -f "$ac_given_srcdir/$f"; then
- # Source tree
- echo $ac_given_srcdir/$f
- else
- # /dev/null tree
- { { echo "$as_me:5628: error: cannot find input file: $f" >&5
- echo "$as_me: error: cannot find input file: $f" >&2;}
- { (exit 1); exit; }; }
- fi;;
- esac
- done` || { (exit 1); exit; }
- # Remove the trailing spaces.
- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
-
- EOF
-
- # Transform confdefs.h into two sed scripts, `conftest.defines' and
- # `conftest.undefs', that substitutes the proper values into
- # config.h.in to produce config.h. The first handles `#define'
- # templates, and the second `#undef' templates.
- # 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.defines conftest.undefs
- # Using a here document instead of a string reduces the quoting nightmare.
- # Putting comments in sed scripts is not portable.
- #
- # `end' is used to avoid that the second main sed command (meant for
- # 0-ary CPP macros) applies to n-ary macro definitions.
- # See the Autoconf documentation for `clear'.
- cat >confdef2sed.sed <<\EOF
- s/[\\&,]/\\&/g
- s,[\\$`],\\&,g
- t clear
- : clear
- s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
- t end
- s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
- : end
- EOF
- # If some macros were called several times there might be several times
- # the same #defines, which is useless. Nevertheless, we may not want to
- # sort them, since we want the *last* AC_DEFINE to be honored.
- uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
- sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
- rm -f confdef2sed.sed
-
- # 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.undefs <<\EOF
- s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
- EOF
-
- # Break up conftest.defines because some shells have a limit on the size
- # of here documents, and old seds have small limits too (100 cmds).
- echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
- echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
- echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
- echo ' :' >>$CONFIG_STATUS
- rm -f conftest.tail
- while grep . conftest.defines >/dev/null
- do
- # Write a limited-size here document to $tmp/defines.sed.
- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
- # Speed up: don't consider the non `#define' lines.
- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
- # Work around the forget-to-reset-the-flag bug.
- echo 't clr' >>$CONFIG_STATUS
- echo ': clr' >>$CONFIG_STATUS
- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
- echo 'CEOF
- sed -f $tmp/defines.sed $tmp/in >$tmp/out
- rm -f $tmp/in
- mv $tmp/out $tmp/in
- ' >>$CONFIG_STATUS
- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
- rm -f conftest.defines
- mv conftest.tail conftest.defines
- done
- rm -f conftest.defines
- echo ' fi # egrep' >>$CONFIG_STATUS
- echo >>$CONFIG_STATUS
-
- # Break up conftest.undefs because some shells have a limit on the size
- # of here documents, and old seds have small limits too (100 cmds).
- echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
- rm -f conftest.tail
- while grep . conftest.undefs >/dev/null
- do
- # Write a limited-size here document to $tmp/undefs.sed.
- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
- # Speed up: don't consider the non `#undef'
- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
- # Work around the forget-to-reset-the-flag bug.
- echo 't clr' >>$CONFIG_STATUS
- echo ': clr' >>$CONFIG_STATUS
- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
- echo 'CEOF
- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
- rm -f $tmp/in
- mv $tmp/out $tmp/in
- ' >>$CONFIG_STATUS
- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
- rm -f conftest.undefs
- mv conftest.tail conftest.undefs
- done
- rm -f conftest.undefs
-
- cat >>$CONFIG_STATUS <<\EOF
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated automatically by config.status. */
- if test x"$ac_file" = x-; then
- echo "/* Generated automatically by configure. */" >$tmp/config.h
- else
- echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
- fi
- cat $tmp/in >>$tmp/config.h
- rm -f $tmp/in
- if test x"$ac_file" != x-; then
- if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
- { echo "$as_me:5745: $ac_file is unchanged" >&5
- echo "$as_me: $ac_file is unchanged" >&6;}
- else
- ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| \
- . : '\(.\)' 2>/dev/null ||
- echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
- /^X\(\/\/\)$/{ s//\1/; q; }
- /^X\(\/\).*/{ s//\1/; q; }
- s/.*/./; q'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- { case "$ac_dir" in
- [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
- *) ac_incr_dir=.;;
- esac
- ac_dummy="$ac_dir"
- for ac_mkdir_dir in `IFS=/; set X $ac_dummy; shift; echo "$@"`; do
- ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
- test -d $ac_incr_dir || mkdir $ac_incr_dir
- done; }
-
- fi
- rm -f $ac_file
- mv $tmp/config.h $ac_file
- fi
- else
- cat $tmp/config.h
- rm -f $tmp/config.h
- fi
- done
- EOF
- cat >>$CONFIG_STATUS <<\EOF
-
- #
- # CONFIG_COMMANDS section.
- #
- for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
- ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
- ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
-
- case $ac_dest in
- default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > src/stamp-h ;;
- default-2 )
- test x"$AMDEP" != x"" ||
- for mf in $CONFIG_FILES; do
- case "$mf" in
- Makefile) dirpart=.;;
- */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
- *) continue;;
- esac
- grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
- # Extract the definition of DEP_FILES from the Makefile without
- # running `make'.
- DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
- test -z "$DEPDIR" && continue
- # When using ansi2knr, U may be empty or an underscore; expand it
- U=`sed -n -e '/^U = / s///p' < "$mf"`
- test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
- # We invoke sed twice because it is the simplest approach to
- # changing $(DEPDIR) to its actual value in the expansion.
- for file in `sed -n -e '
- /^DEP_FILES = .*\\\\$/ {
- s/^DEP_FILES = //
- :loop
- s/\\\\$//
- p
- n
- /\\\\$/ b loop
- p
- }
- /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
- $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
- ;;
- esac
- done
- EOF
-
- cat >>$CONFIG_STATUS <<\EOF
-
- exit 0
- EOF
- chmod +x $CONFIG_STATUS
- ac_clean_files=$ac_clean_files_save
-
- test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit; }
-
-