This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[C++ PATCH:RFC]inner template default & typename ::template scoperef
- To: gcc-patches at gcc dot gnu dot org
- Subject: [C++ PATCH:RFC]inner template default & typename ::template scoperef
- From: Larry Evans <jcampbell3 at prodigy dot net>
- Date: Sat, 20 Jan 2001 14:20:44 -0600
I'd appreciate comments on the attached patch (cvs-diff-c3p.stdout)
which is for bugs analyzed in:
http://gcc.gnu.org/ml/gcc-bugs/2000-12/msg00567.html
http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00160.html
The attached file def2.cpp, is a test case for the bug in msg00567.
The attached file, sref4.cpp, is a test case for the bug in msg00160.
The attached file, check-g++.*compilation* , is output for
'make check-g++' run in build subdirectory, gcc. I would
appreciate some help in figuring out why the following tests failed:
FAIL: g++.dg/special/conpr-1.C execution test
spawn [open ...]
FAIL: g++.dg/special/conpr-1.C execution test
FAIL: g++.dg/special/conpr-2.C execution test
spawn [open ...]
FAIL: g++.dg/special/conpr-2.C execution test
FAIL: g++.dg/special/conpr-3.C execution test
spawn [open ...]
FAIL: g++.dg/special/conpr-3.C execution test
FAIL: g++.dg/special/conpr-3.C execution test
spawn [open ...]
FAIL: g++.dg/special/conpr-3.C execution test
FAIL: g++.old-deja/g++.ext/initp1.C Execution test
spawn [open ...]
FAIL: g++.ext/initp1.C Execution test
One thing conpr-1.C and initp1.C have in common is they use the
init_priority extension.
The failure of the other tests which did no also fail in
http://gcc.gnu.org/ml/gcc-testresults/2001-01/msg00223.html
is for the following reasons:
FAIL: g++.old-deja/g++.other/crash18.C excess error caused by -fvtable-gc
compile flag.
FAIL: g++.old-deja/g++.other/crash32.C excess error caused by
--enable-checking configure flag.
My configuration is:
g++ -v
Reading specs from ./../lib/gcc-lib/i586-pc-linux-gnu/2.97/specs
Configured with: /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --with-gxx-include-dir=/mnt/scratch/gcc-2.96/latest-cvs/debug/local/g++ --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build : (reconfigured) : (reconfigured) : (reconfigured) : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --with-gxx-include-dir=/mnt/scratch/gcc-2.96/latest-cvs/debug/local/g++ --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install
--with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build : (reconfigured) : (reconfigured) : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build --enable-shared --enable-threads=posix : (reconfigured) /mnt/scratch/gcc-2.96/latest-cvs/gcc/configure --prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/install --with-local-prefix=/mnt/scratch/gcc-2.96/latest-cvs/debug/local --enable-languages=c++ --enable-checking --enable-debug --enable-libgcc-rebuild=/mnt/scratch/gcc-2.96/latest-cvs/debug/build --enable-shared --enable-threads=posix
gcc version 2.97 20010119 (experimental)
? cvs-diff-c3p.stdout
? RCS.hide
? gcc/RCS.hide
? gcc/cp/RCS.hide
? gcc/cp/ChangeLog.prevent_repl_default_CONST_DECL
Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.482
diff -c -3 -p -r1.482 configure
*** configure 2001/01/15 23:32:25 1.482
--- configure 2001/01/20 19:36:34
***************
*** 1,7 ****
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
--- 1,7 ----
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated automatically using autoconf version 2.14.1
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
*************** program_suffix=NONE
*** 106,112 ****
program_transform_name=s,x,x,
silent=
site=
- sitefile=
srcdir=
target=NONE
verbose=
--- 106,111 ----
*************** Configuration:
*** 221,227 ****
--help print this message
--no-create do not create output files
--quiet, --silent do not print \`checking...' messages
- --site-file=FILE use FILE as the site file
--version print the version of autoconf that created configure
Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX
--- 220,225 ----
*************** EOF
*** 392,402 ****
-site=* | --site=* | --sit=*)
site="$ac_optarg" ;;
- -site-file | --site-file | --site-fil | --site-fi | --site-f)
- ac_prev=sitefile ;;
- -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
- sitefile="$ac_optarg" ;;
-
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
--- 390,395 ----
*************** EOF
*** 418,424 ****
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
! echo "configure generated by autoconf version 2.13"
exit 0 ;;
-with-* | --with-*)
--- 411,417 ----
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
! echo "configure generated by autoconf version 2.14.1"
exit 0 ;;
-with-* | --with-*)
*************** fi
*** 562,577 ****
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
# Prefer explicitly selected file to automatically selected ones.
! if test -z "$sitefile"; then
! 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
- else
- CONFIG_SITE="$sitefile"
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
--- 555,566 ----
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
# Prefer explicitly selected file to automatically selected ones.
! if test -z "$CONFIG_SITE"; then
! if test "x$prefix" != xNONE; then
! CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
! else
! CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
*************** done
*** 582,588 ****
if test -r "$cache_file"; then
echo "loading cache $cache_file"
! . $cache_file
else
echo "creating cache $cache_file"
> $cache_file
--- 571,577 ----
if test -r "$cache_file"; then
echo "loading cache $cache_file"
! test -f "$cache_file" && . $cache_file
else
echo "creating cache $cache_file"
> $cache_file
*************** copy=cp
*** 626,632 ****
# - two terminals occur directly after each other
# - the path contains an element with a dot in it
echo $ac_n "checking LIBRARY_PATH variable""... $ac_c" 1>&6
! echo "configure:630: checking LIBRARY_PATH variable" >&5
case ${LIBRARY_PATH} in
[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
library_path_setting="contains current directory"
--- 615,621 ----
# - two terminals occur directly after each other
# - the path contains an element with a dot in it
echo $ac_n "checking LIBRARY_PATH variable""... $ac_c" 1>&6
! echo "configure:619: checking LIBRARY_PATH variable" >&5
case ${LIBRARY_PATH} in
[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
library_path_setting="contains current directory"
*************** fi
*** 651,657 ****
# - two terminals occur directly after each other
# - the path contains an element with a dot in it
echo $ac_n "checking GCC_EXEC_PREFIX variable""... $ac_c" 1>&6
! echo "configure:655: checking GCC_EXEC_PREFIX variable" >&5
case ${GCC_EXEC_PREFIX} in
[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
gcc_exec_prefix_setting="contains current directory"
--- 640,646 ----
# - two terminals occur directly after each other
# - the path contains an element with a dot in it
echo $ac_n "checking GCC_EXEC_PREFIX variable""... $ac_c" 1>&6
! echo "configure:644: checking GCC_EXEC_PREFIX variable" >&5
case ${GCC_EXEC_PREFIX} in
[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
gcc_exec_prefix_setting="contains current directory"
*************** fi
*** 767,773 ****
# Build a new-libstdc++ system (ie libstdc++-v3)
echo $ac_n "checking for libstdc++ to install""... $ac_c" 1>&6
! echo "configure:771: checking for libstdc++ to install" >&5
# Check whether --enable-libstdcxx-v3 or --disable-libstdcxx-v3 was given.
if test "${enable_libstdcxx_v3+set}" = set; then
enableval="$enable_libstdcxx_v3"
--- 756,762 ----
# Build a new-libstdc++ system (ie libstdc++-v3)
echo $ac_n "checking for libstdc++ to install""... $ac_c" 1>&6
! echo "configure:760: checking for libstdc++ to install" >&5
# Check whether --enable-libstdcxx-v3 or --disable-libstdcxx-v3 was given.
if test "${enable_libstdcxx_v3+set}" = set; then
enableval="$enable_libstdcxx_v3"
*************** for ac_dir in $srcdir $srcdir/.. $srcdir
*** 991,1002 ****
done
if test -z "$ac_aux_dir"; then
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
fi
! ac_config_guess=$ac_aux_dir/config.guess
! ac_config_sub=$ac_aux_dir/config.sub
! ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# Do some error checking and defaulting for the host and target type.
# The inputs are:
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
--- 980,1112 ----
done
if test -z "$ac_aux_dir"; then
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
+ 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.
+
+
+ echo $ac_n "checking host system type""... $ac_c" 1>&6
+ echo "configure:991: checking host system type" >&5
+ if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then
+
+ # Make sure we can run config.sub.
+ if $ac_config_sub sun4 >/dev/null 2>&1; then :
+ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
+ fi
+
+ ac_cv_host_alias=$host
+ case "$ac_cv_host_alias" in
+ NONE)
+ case $nonopt in
+ NONE)
+ if ac_cv_host_alias=`$ac_config_guess`; then :
+ else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
+ fi ;;
+ *) ac_cv_host_alias=$nonopt ;;
+ esac ;;
+ esac
+
+ ac_cv_host=`$ac_config_sub $ac_cv_host_alias`
+ ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ else
+ echo $ac_n "(cached) $ac_c" 1>&6
+ fi
+
+ echo "$ac_t""$ac_cv_host" 1>&6
+
+ host=$ac_cv_host
+ host_alias=$ac_cv_host_alias
+ host_cpu=$ac_cv_host_cpu
+ host_vendor=$ac_cv_host_vendor
+ host_os=$ac_cv_host_os
+
+
+
+
+
+ echo $ac_n "checking target system type""... $ac_c" 1>&6
+ echo "configure:1032: checking target system type" >&5
+ if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then
+
+ # Make sure we can run config.sub.
+ if $ac_config_sub sun4 >/dev/null 2>&1; then :
+ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
+ fi
+
+ ac_cv_target_alias=$target
+ case "$ac_cv_target_alias" in
+ NONE)
+ case $nonopt in
+ NONE)
+ ac_cv_target_alias=$host_alias ;;
+
+ *) ac_cv_target_alias=$nonopt ;;
+ esac ;;
+ esac
+
+ ac_cv_target=`$ac_config_sub $ac_cv_target_alias`
+ ac_cv_target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ ac_cv_target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ ac_cv_target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ else
+ echo $ac_n "(cached) $ac_c" 1>&6
fi
!
! echo "$ac_t""$ac_cv_target" 1>&6
!
! target=$ac_cv_target
! target_alias=$ac_cv_target_alias
! target_cpu=$ac_cv_target_cpu
! target_vendor=$ac_cv_target_vendor
! target_os=$ac_cv_target_os
+
+
+
+ echo $ac_n "checking build system type""... $ac_c" 1>&6
+ echo "configure:1072: checking build system type" >&5
+ if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then
+
+ # Make sure we can run config.sub.
+ if $ac_config_sub sun4 >/dev/null 2>&1; then :
+ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
+ fi
+
+ ac_cv_build_alias=$build
+ case "$ac_cv_build_alias" in
+ NONE)
+ case $nonopt in
+ NONE)
+ ac_cv_build_alias=$host_alias ;;
+
+ *) ac_cv_build_alias=$nonopt ;;
+ esac ;;
+ esac
+
+ ac_cv_build=`$ac_config_sub $ac_cv_build_alias`
+ ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+ ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+ ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+ else
+ echo $ac_n "(cached) $ac_c" 1>&6
+ fi
+
+ echo "$ac_t""$ac_cv_build" 1>&6
+
+ build=$ac_cv_build
+ build_alias=$ac_cv_build_alias
+ build_cpu=$ac_cv_build_cpu
+ build_vendor=$ac_cv_build_vendor
+ build_os=$ac_cv_build_os
+
+
+
+
+
# Do some error checking and defaulting for the host and target type.
# The inputs are:
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
*************** NONE---*---* | *---NONE---* | *---*---NO
*** 1017,1085 ****
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
esac
-
- # Make sure we can run config.sub.
- if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
- else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
- fi
-
- echo $ac_n "checking host system type""... $ac_c" 1>&6
- echo "configure:1028: checking host system type" >&5
-
- host_alias=$host
- case "$host_alias" in
- NONE)
- case $nonopt in
- NONE)
- if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
- else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
- fi ;;
- *) host_alias=$nonopt ;;
- esac ;;
- esac
-
- host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
- host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- echo "$ac_t""$host" 1>&6
-
- echo $ac_n "checking target system type""... $ac_c" 1>&6
- echo "configure:1049: checking target system type" >&5
-
- target_alias=$target
- case "$target_alias" in
- NONE)
- case $nonopt in
- NONE) target_alias=$host_alias ;;
- *) target_alias=$nonopt ;;
- esac ;;
- esac
-
- target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
- target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- echo "$ac_t""$target" 1>&6
-
- echo $ac_n "checking build system type""... $ac_c" 1>&6
- echo "configure:1067: checking build system type" >&5
-
- build_alias=$build
- case "$build_alias" in
- NONE)
- case $nonopt in
- NONE) build_alias=$host_alias ;;
- *) build_alias=$nonopt ;;
- esac ;;
- esac
-
- build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
- build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- echo "$ac_t""$build" 1>&6
-
test "$host_alias" != "$target_alias" &&
test "$program_prefix$program_suffix$program_transform_name" = \
NONENONEs,x,x, &&
--- 1127,1132 ----
*************** test "$host_alias" != "$target_alias" &&
*** 1090,1097 ****
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1094: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
--- 1137,1144 ----
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1141: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
*************** if test -z "$CC"; then
*** 1120,1127 ****
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1124: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
--- 1167,1174 ----
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1171: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
*************** fi
*** 1167,1178 ****
if test -z "$CC"; then
case "`uname -s`" in
! *win32* | *WIN32*)
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1175: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
--- 1214,1225 ----
if test -z "$CC"; then
case "`uname -s`" in
! *win32* | *WIN32* | *CYGWIN*)
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1222: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
*************** fi
*** 1202,1209 ****
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
! echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1207: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
--- 1249,1256 ----
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
! echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1254: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
*************** cross_compiling=$ac_cv_prog_cc_cross
*** 1214,1225 ****
cat > conftest.$ac_ext << EOF
! #line 1218 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
--- 1261,1272 ----
cat > conftest.$ac_ext << EOF
! #line 1265 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
! if { (eval echo configure:1270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
*************** echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
*** 1244,1257 ****
if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
! echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1249: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:1254: checking whether we are using GNU C" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.c <<EOF
--- 1291,1304 ----
if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
! echo $ac_n "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1296: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:1301: checking whether we are using GNU C" >&5
! if eval "test \"\${ac_cv_prog_gcc+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.c <<EOF
*************** else
*** 1259,1265 ****
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
--- 1306,1312 ----
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
*************** ac_test_CFLAGS="${CFLAGS+set}"
*** 1278,1285 ****
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:1282: checking whether ${CC-cc} accepts -g" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'void f(){}' > conftest.c
--- 1325,1332 ----
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:1329: checking whether ${CC-cc} accepts -g" >&5
! if eval "test \"\${ac_cv_prog_cc_g+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'void f(){}' > conftest.c
*************** fi
*** 1311,1324 ****
if test "x$CC" != xcc; then
echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
! echo "configure:1315: checking whether $CC and cc understand -c and -o together" >&5
else
echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
! echo "configure:1318: checking whether cc understands -c and -o together" >&5
fi
set dummy $CC; ac_cc="`echo $2 |
sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
! if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'foo(){}' > conftest.c
--- 1358,1371 ----
if test "x$CC" != xcc; then
echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
! echo "configure:1362: checking whether $CC and cc understand -c and -o together" >&5
else
echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
! echo "configure:1365: checking whether cc understands -c and -o together" >&5
fi
set dummy $CC; ac_cc="`echo $2 |
sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
! if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'foo(){}' > conftest.c
*************** else
*** 1326,1341 ****
# We do the test twice because some compilers refuse to overwrite an
# existing .o file with -o, though they will create one.
ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
! if { (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
! test -f conftest.o && { (eval echo configure:1331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
if test "x$CC" != xcc; then
# Test first that cc exists at all.
! if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
ac_try='cc -c conftest.c -o conftest.o 1>&5'
! if { (eval echo configure:1338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
! test -f conftest.o && { (eval echo configure:1339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then
# cc works too.
:
--- 1373,1388 ----
# We do the test twice because some compilers refuse to overwrite an
# existing .o file with -o, though they will create one.
ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
! if { (eval echo configure:1377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
! test -f conftest.o && { (eval echo configure:1378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
if test "x$CC" != xcc; then
# Test first that cc exists at all.
! if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
ac_try='cc -c conftest.c -o conftest.o 1>&5'
! if { (eval echo configure:1385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
! test -f conftest.o && { (eval echo configure:1386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then
# cc works too.
:
*************** fi
*** 1371,1385 ****
echo $ac_n "checking for long double""... $ac_c" 1>&6
! echo "configure:1375: checking for long double" >&5
! if eval "test \"`echo '$''{'gcc_cv_c_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$GCC" = yes; then
gcc_cv_c_long_double=yes
else
cat > conftest.$ac_ext <<EOF
! #line 1383 "configure"
#include "confdefs.h"
int main() {
--- 1418,1432 ----
echo $ac_n "checking for long double""... $ac_c" 1>&6
! echo "configure:1422: checking for long double" >&5
! if eval "test \"\${gcc_cv_c_long_double+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$GCC" = yes; then
gcc_cv_c_long_double=yes
else
cat > conftest.$ac_ext <<EOF
! #line 1430 "configure"
#include "confdefs.h"
int main() {
*************** long double foo = 0.0;
*** 1389,1395 ****
switch (0) case 0: case (sizeof(long double) >= sizeof(double)):;
; return 0; }
EOF
! if { (eval echo configure:1393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_c_long_double=yes
else
--- 1436,1442 ----
switch (0) case 0: case (sizeof(long double) >= sizeof(double)):;
; return 0; }
EOF
! if { (eval echo configure:1440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_c_long_double=yes
else
*************** fi
*** 1412,1432 ****
echo $ac_n "checking whether ${CC-cc} accepts -Wno-long-long""... $ac_c" 1>&6
! echo "configure:1416: checking whether ${CC-cc} accepts -Wno-long-long" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_cc_no_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
save_CFLAGS="$CFLAGS"
CFLAGS="-Wno-long-long"
cat > conftest.$ac_ext <<EOF
! #line 1423 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
! if { (eval echo configure:1430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_prog_cc_no_long_long=yes
else
--- 1459,1479 ----
echo $ac_n "checking whether ${CC-cc} accepts -Wno-long-long""... $ac_c" 1>&6
! echo "configure:1463: checking whether ${CC-cc} accepts -Wno-long-long" >&5
! if eval "test \"\${ac_cv_prog_cc_no_long_long+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
save_CFLAGS="$CFLAGS"
CFLAGS="-Wno-long-long"
cat > conftest.$ac_ext <<EOF
! #line 1470 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
! if { (eval echo configure:1477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_prog_cc_no_long_long=yes
else
*************** esac
*** 1470,1478 ****
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:1474: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftestmake <<\EOF
--- 1517,1525 ----
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:1521: checking whether ${MAKE-make} sets \${MAKE}" >&5
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 $ac_n "(cached) $ac_c" 1>&6
else
cat > conftestmake <<\EOF
*************** fi
*** 1498,1504 ****
echo $ac_n "checking whether a default assembler was specified""... $ac_c" 1>&6
! echo "configure:1502: checking whether a default assembler was specified" >&5
if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
if test x"$gas_flag" = x"no"; then
echo "$ac_t""yes ($DEFAULT_ASSEMBLER)" 1>&6
--- 1545,1551 ----
echo $ac_n "checking whether a default assembler was specified""... $ac_c" 1>&6
! echo "configure:1549: checking whether a default assembler was specified" >&5
if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
if test x"$gas_flag" = x"no"; then
echo "$ac_t""yes ($DEFAULT_ASSEMBLER)" 1>&6
*************** else
*** 1510,1516 ****
fi
echo $ac_n "checking whether a default linker was specified""... $ac_c" 1>&6
! echo "configure:1514: checking whether a default linker was specified" >&5
if test x"${DEFAULT_LINKER+set}" = x"set"; then
if test x"$gnu_ld_flag" = x"no"; then
echo "$ac_t""yes ($DEFAULT_LINKER)" 1>&6
--- 1557,1563 ----
fi
echo $ac_n "checking whether a default linker was specified""... $ac_c" 1>&6
! echo "configure:1561: checking whether a default linker was specified" >&5
if test x"${DEFAULT_LINKER+set}" = x"set"; then
if test x"$gnu_ld_flag" = x"no"; then
echo "$ac_t""yes ($DEFAULT_LINKER)" 1>&6
*************** else
*** 1522,1533 ****
fi
echo $ac_n "checking for GNU C library""... $ac_c" 1>&6
! echo "configure:1526: checking for GNU C library" >&5
! if eval "test \"`echo '$''{'gcc_cv_glibc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1531 "configure"
#include "confdefs.h"
#include <features.h>
int main() {
--- 1569,1580 ----
fi
echo $ac_n "checking for GNU C library""... $ac_c" 1>&6
! echo "configure:1573: checking for GNU C library" >&5
! if eval "test \"\${gcc_cv_glibc+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1578 "configure"
#include "confdefs.h"
#include <features.h>
int main() {
*************** int main() {
*** 1537,1543 ****
#endif
; return 0; }
EOF
! if { (eval echo configure:1541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_glibc=yes
else
--- 1584,1590 ----
#endif
; return 0; }
EOF
! if { (eval echo configure:1588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_glibc=yes
else
*************** EOF
*** 1558,1578 ****
fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
! echo "configure:1562: checking for inline" >&5
! if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
! #line 1569 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
! if { (eval echo configure:1576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
--- 1605,1625 ----
fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
! echo "configure:1609: checking for inline" >&5
! if eval "test \"\${ac_cv_c_inline+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
! #line 1616 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
! if { (eval echo configure:1623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
*************** esac
*** 1599,1611 ****
# Find some useful tools
! 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1608: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$AWK"; then
--- 1646,1658 ----
# Find some useful tools
! for ac_prog in gawk mawk 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1655: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_AWK+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$AWK"; then
*************** test -n "$AWK" && break
*** 1634,1641 ****
done
echo $ac_n "checking whether ln works""... $ac_c" 1>&6
! echo "configure:1638: checking whether ln works" >&5
! if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftestdata_t
--- 1681,1688 ----
done
echo $ac_n "checking whether ln works""... $ac_c" 1>&6
! echo "configure:1685: checking whether ln works" >&5
! if eval "test \"\${gcc_cv_prog_LN+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftestdata_t
*************** else
*** 1666,1673 ****
fi
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
! echo "configure:1670: checking whether ln -s works" >&5
! if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftestdata_t
--- 1713,1720 ----
fi
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
! echo "configure:1717: checking whether ln -s works" >&5
! if eval "test \"\${gcc_cv_prog_LN_S+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftestdata_t
*************** else
*** 1698,1716 ****
fi
echo $ac_n "checking for volatile""... $ac_c" 1>&6
! echo "configure:1702: checking for volatile" >&5
! if eval "test \"`echo '$''{'gcc_cv_c_volatile'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1707 "configure"
#include "confdefs.h"
int main() {
volatile int foo;
; return 0; }
EOF
! if { (eval echo configure:1714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_c_volatile=yes
else
--- 1745,1763 ----
fi
echo $ac_n "checking for volatile""... $ac_c" 1>&6
! echo "configure:1749: checking for volatile" >&5
! if eval "test \"\${gcc_cv_c_volatile+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1754 "configure"
#include "confdefs.h"
int main() {
volatile int foo;
; return 0; }
EOF
! if { (eval echo configure:1761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_c_volatile=yes
else
*************** fi
*** 1733,1740 ****
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1737: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$RANLIB"; then
--- 1780,1787 ----
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1784: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_RANLIB+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$RANLIB"; then
*************** fi
*** 1771,1779 ****
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:1775: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
! if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
--- 1818,1826 ----
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:1822: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
! if eval "test \"\${ac_cv_path_install+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
*************** test -z "$INSTALL_DATA" && INSTALL_DATA=
*** 1822,1834 ****
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:1826: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
! if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# This must be in double quotes, not single quotes, because CPP may get
--- 1869,1881 ----
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:1873: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
! if eval "test \"\${ac_cv_prog_CPP+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# This must be in double quotes, not single quotes, because CPP may get
*************** else
*** 1837,1849 ****
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
! #line 1841 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 1884,1896 ----
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
! #line 1888 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
*************** else
*** 1854,1866 ****
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
! #line 1858 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 1901,1913 ----
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
! #line 1905 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
*************** else
*** 1871,1883 ****
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
! #line 1875 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
--- 1918,1930 ----
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
! #line 1922 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
*************** fi
*** 1902,1913 ****
echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:1906: checking for ANSI C header files" >&5
! if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1911 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
--- 1949,1960 ----
echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:1953: checking for ANSI C header files" >&5
! if eval "test \"\${ac_cv_header_stdc+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 1958 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
*************** else
*** 1915,1921 ****
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 1962,1968 ----
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:1966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** rm -f conftest*
*** 1932,1938 ****
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 1936 "configure"
#include "confdefs.h"
#include <string.h>
EOF
--- 1979,1985 ----
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 1983 "configure"
#include "confdefs.h"
#include <string.h>
EOF
*************** fi
*** 1950,1956 ****
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 1954 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
--- 1997,2003 ----
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
! #line 2001 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
*************** if test "$cross_compiling" = yes; then
*** 1971,1977 ****
:
else
cat > conftest.$ac_ext <<EOF
! #line 1975 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
--- 2018,2024 ----
:
else
cat > conftest.$ac_ext <<EOF
! #line 2022 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
*************** if (XOR (islower (i), ISLOWER (i)) || to
*** 1982,1988 ****
exit (0); }
EOF
! if { (eval echo configure:1986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
--- 2029,2035 ----
exit (0); }
EOF
! if { (eval echo configure:2033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
*************** EOF
*** 2006,2017 ****
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:2010: checking whether time.h and sys/time.h may both be included" >&5
! if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2015 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
--- 2053,2064 ----
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:2057: checking whether time.h and sys/time.h may both be included" >&5
! if eval "test \"\${ac_cv_header_time+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2062 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
*************** int main() {
*** 2020,2026 ****
struct tm *tp;
; return 0; }
EOF
! if { (eval echo configure:2024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
--- 2067,2073 ----
struct tm *tp;
; return 0; }
EOF
! if { (eval echo configure:2071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
*************** EOF
*** 2041,2052 ****
fi
echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6
! echo "configure:2045: checking whether string.h and strings.h may both be included" >&5
! if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2050 "configure"
#include "confdefs.h"
#include <string.h>
#include <strings.h>
--- 2088,2099 ----
fi
echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6
! echo "configure:2092: checking whether string.h and strings.h may both be included" >&5
! if eval "test \"\${gcc_cv_header_string+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2097 "configure"
#include "confdefs.h"
#include <string.h>
#include <strings.h>
*************** int main() {
*** 2054,2060 ****
; return 0; }
EOF
! if { (eval echo configure:2058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_header_string=yes
else
--- 2101,2107 ----
; return 0; }
EOF
! if { (eval echo configure:2105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_header_string=yes
else
*************** EOF
*** 2075,2086 ****
fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
! echo "configure:2079: checking for sys/wait.h that is POSIX.1 compatible" >&5
! if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2084 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
--- 2122,2133 ----
fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
! echo "configure:2126: checking for sys/wait.h that is POSIX.1 compatible" >&5
! if eval "test \"\${ac_cv_header_sys_wait_h+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2131 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
*************** wait (&s);
*** 2096,2102 ****
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
! if { (eval echo configure:2100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
--- 2143,2149 ----
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
! if { (eval echo configure:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
*************** for ac_hdr in limits.h stddef.h string.h
*** 2123,2139 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2127: checking for $ac_hdr" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2132 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 2170,2186 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:2174: checking for $ac_hdr" >&5
! if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2179 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** done
*** 2163,2179 ****
# Check for thread headers.
ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for thread.h""... $ac_c" 1>&6
! echo "configure:2167: checking for thread.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2172 "configure"
#include "confdefs.h"
#include <thread.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 2210,2226 ----
# Check for thread headers.
ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for thread.h""... $ac_c" 1>&6
! echo "configure:2214: checking for thread.h" >&5
! if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2219 "configure"
#include "confdefs.h"
#include <thread.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** fi
*** 2197,2213 ****
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
! echo "configure:2201: checking for pthread.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2206 "configure"
#include "confdefs.h"
#include <pthread.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 2244,2260 ----
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
! echo "configure:2248: checking for pthread.h" >&5
! if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2253 "configure"
#include "confdefs.h"
#include <pthread.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:2258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** fi
*** 2234,2241 ****
# Extract the first word of "gnatbind", so it can be a program name with args.
set dummy gnatbind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2238: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_gnat'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$gnat"; then
--- 2281,2288 ----
# Extract the first word of "gnatbind", so it can be a program name with args.
set dummy gnatbind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2285: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_gnat+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$gnat"; then
*************** fi
*** 2266,2273 ****
# Extract the first word of "mktemp", so it can be a program name with args.
set dummy mktemp; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2270: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_have_mktemp_command'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$have_mktemp_command"; then
--- 2313,2320 ----
# Extract the first word of "mktemp", so it can be a program name with args.
set dummy mktemp; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2317: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_have_mktemp_command+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$have_mktemp_command"; then
*************** else
*** 2305,2312 ****
# Extract the first word of "makeinfo", so it can be a program name with args.
set dummy makeinfo; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2309: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$MAKEINFO"; then
--- 2352,2359 ----
# Extract the first word of "makeinfo", so it can be a program name with args.
set dummy makeinfo; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2356: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_MAKEINFO+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$MAKEINFO"; then
*************** fi
*** 2334,2346 ****
if test -n "$MAKEINFO"; then
# Found it, now check the version.
echo $ac_n "checking for modern makeinfo""... $ac_c" 1>&6
! echo "configure:2338: checking for modern makeinfo" >&5
! if eval "test \"`echo '$''{'gcc_cv_prog_makeinfo_modern'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
! echo "configure:2344: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;;
4.*)
--- 2381,2393 ----
if test -n "$MAKEINFO"; then
# Found it, now check the version.
echo $ac_n "checking for modern makeinfo""... $ac_c" 1>&6
! echo "configure:2385: checking for modern makeinfo" >&5
! if eval "test \"\${gcc_cv_prog_makeinfo_modern+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
! echo "configure:2391: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;;
4.*)
*************** fi
*** 2368,2374 ****
# Is pod2man recent enough to regenerate manpages?
echo $ac_n "checking for recent Pod::Man""... $ac_c" 1>&6
! echo "configure:2372: checking for recent Pod::Man" >&5
if perl -e 'use 1.10 Pod::Man' >/dev/null 2>&1; then
echo "$ac_t""yes" 1>&6
GENERATED_MANPAGES=generated-manpages
--- 2415,2421 ----
# Is pod2man recent enough to regenerate manpages?
echo $ac_n "checking for recent Pod::Man""... $ac_c" 1>&6
! echo "configure:2419: checking for recent Pod::Man" >&5
if perl -e 'use 1.10 Pod::Man' >/dev/null 2>&1; then
echo "$ac_t""yes" 1>&6
GENERATED_MANPAGES=generated-manpages
*************** else
*** 2384,2391 ****
# Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2388: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$FLEX"; then
--- 2431,2438 ----
# Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2435: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_FLEX+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$FLEX"; then
*************** else
*** 2421,2428 ****
# Extract the first word of "bison", so it can be a program name with args.
set dummy bison; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2425: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$BISON"; then
--- 2468,2475 ----
# Extract the first word of "bison", so it can be a program name with args.
set dummy bison; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:2472: checking for $ac_word" >&5
! if eval "test \"\${ac_cv_prog_BISON+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$BISON"; then
*************** fi
*** 2455,2466 ****
echo $ac_n "checking for preprocessor stringizing operator""... $ac_c" 1>&6
! echo "configure:2459: checking for preprocessor stringizing operator" >&5
! if eval "test \"`echo '$''{'ac_cv_c_stringize'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2464 "configure"
#include "confdefs.h"
#define x(y) #y
--- 2502,2513 ----
echo $ac_n "checking for preprocessor stringizing operator""... $ac_c" 1>&6
! echo "configure:2506: checking for preprocessor stringizing operator" >&5
! if eval "test \"\${ac_cv_c_stringize+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2511 "configure"
#include "confdefs.h"
#define x(y) #y
*************** echo "$ac_t""${ac_cv_c_stringize}" 1>&6
*** 2493,2504 ****
# Use <inttypes.h> only if it exists,
# doesn't clash with <sys/types.h>, and declares intmax_t.
echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
! echo "configure:2497: checking for inttypes.h" >&5
! if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2502 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <inttypes.h>
--- 2540,2551 ----
# Use <inttypes.h> only if it exists,
# doesn't clash with <sys/types.h>, and declares intmax_t.
echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
! echo "configure:2544: checking for inttypes.h" >&5
! if eval "test \"\${gcc_cv_header_inttypes_h+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2549 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <inttypes.h>
*************** int main() {
*** 2506,2512 ****
intmax_t i = -1;
; return 0; }
EOF
! if { (eval echo configure:2510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_header_inttypes_h=yes
else
--- 2553,2559 ----
intmax_t i = -1;
; return 0; }
EOF
! if { (eval echo configure:2557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_header_inttypes_h=yes
else
*************** fi
*** 2531,2545 ****
# be either signed or unsigned.
#
echo $ac_n "checking for unsigned enumerated bitfields""... $ac_c" 1>&6
! echo "configure:2535: checking for unsigned enumerated bitfields" >&5
! if eval "test \"`echo '$''{'gcc_cv_enum_bf_unsigned'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
gcc_cv_enum_bf_unsigned=yes
else
cat > conftest.$ac_ext <<EOF
! #line 2543 "configure"
#include "confdefs.h"
#include <stdlib.h>
enum t { BLAH = 128 } ;
--- 2578,2592 ----
# be either signed or unsigned.
#
echo $ac_n "checking for unsigned enumerated bitfields""... $ac_c" 1>&6
! echo "configure:2582: checking for unsigned enumerated bitfields" >&5
! if eval "test \"\${gcc_cv_enum_bf_unsigned+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
gcc_cv_enum_bf_unsigned=yes
else
cat > conftest.$ac_ext <<EOF
! #line 2590 "configure"
#include "confdefs.h"
#include <stdlib.h>
enum t { BLAH = 128 } ;
*************** int main(void)
*** 2552,2558 ****
}
EOF
! if { (eval echo configure:2556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gcc_cv_enum_bf_unsigned=yes
else
--- 2599,2605 ----
}
EOF
! if { (eval echo configure:2603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gcc_cv_enum_bf_unsigned=yes
else
*************** for ac_func in strtoul bsearch putenv po
*** 2580,2591 ****
fputs_unlocked getrusage iconv nl_langinfo
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2584: checking for $ac_func" >&5
! if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2589 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 2627,2638 ----
fputs_unlocked getrusage iconv nl_langinfo
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:2631: checking for $ac_func" >&5
! if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2636 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** else
*** 2594,2599 ****
--- 2641,2647 ----
/* 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() {
*************** int main() {
*** 2603,2614 ****
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! $ac_func();
#endif
; return 0; }
EOF
! if { (eval echo configure:2612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 2651,2662 ----
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! f = $ac_func;
#endif
; return 0; }
EOF
! if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 2634,2645 ****
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
! echo "configure:2638: checking for ssize_t" >&5
! if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2643 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 2682,2693 ----
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
! echo "configure:2686: checking for ssize_t" >&5
! if eval "test \"\${ac_cv_type_ssize_t+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2691 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
*************** EOF
*** 2650,2666 ****
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! ac_cv_type_ssize_t=yes
else
rm -rf conftest*
! ac_cv_type_ssize_t=no
fi
rm -f conftest*
fi
! echo "$ac_t""$ac_cv_type_ssize_t" 1>&6
! if test $ac_cv_type_ssize_t = no; then
! cat >> confdefs.h <<\EOF
#define ssize_t int
EOF
--- 2698,2716 ----
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! eval "ac_cv_type_ssize_t=yes"
else
rm -rf conftest*
! eval "ac_cv_type_ssize_t=no"
fi
rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_type_'ssize_t`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! else
! echo "$ac_t""no" 1>&6
! cat >> confdefs.h <<EOF
#define ssize_t int
EOF
*************** fi
*** 2670,2681 ****
# Try to determine the array type of the second argument of getgroups
# for the target system (int or gid_t).
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
! echo "configure:2674: checking for uid_t in sys/types.h" >&5
! if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2679 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
--- 2720,2731 ----
# Try to determine the array type of the second argument of getgroups
# for the target system (int or gid_t).
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
! echo "configure:2724: checking for uid_t in sys/types.h" >&5
! if eval "test \"\${ac_cv_type_uid_t+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2729 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
*************** EOF
*** 2704,2718 ****
fi
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
! echo "configure:2708: checking type of array argument to getgroups" >&5
! if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
ac_cv_type_getgroups=cross
else
cat > conftest.$ac_ext <<EOF
! #line 2716 "configure"
#include "confdefs.h"
/* Thanks to Mike Rendell for this test. */
--- 2754,2768 ----
fi
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
! echo "configure:2758: checking type of array argument to getgroups" >&5
! if eval "test \"\${ac_cv_type_getgroups+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
ac_cv_type_getgroups=cross
else
cat > conftest.$ac_ext <<EOF
! #line 2766 "configure"
#include "confdefs.h"
/* Thanks to Mike Rendell for this test. */
*************** main()
*** 2737,2743 ****
}
EOF
! if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_type_getgroups=gid_t
else
--- 2787,2793 ----
}
EOF
! if { (eval echo configure:2791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_type_getgroups=gid_t
else
*************** fi
*** 2751,2757 ****
if test $ac_cv_type_getgroups = cross; then
cat > conftest.$ac_ext <<EOF
! #line 2755 "configure"
#include "confdefs.h"
#include <unistd.h>
EOF
--- 2801,2807 ----
if test $ac_cv_type_getgroups = cross; then
cat > conftest.$ac_ext <<EOF
! #line 2805 "configure"
#include "confdefs.h"
#include <unistd.h>
EOF
*************** fi
*** 2792,2803 ****
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
! echo "configure:2796: checking for vprintf" >&5
! if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2801 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
--- 2842,2853 ----
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
! echo "configure:2846: checking for vprintf" >&5
! if eval "test \"\${ac_cv_func_vprintf+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2851 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vprintf(); below. */
*************** else
*** 2806,2811 ****
--- 2856,2862 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char vprintf();
+ char (*f)();
int main() {
*************** int main() {
*** 2815,2826 ****
#if defined (__stub_vprintf) || defined (__stub___vprintf)
choke me
#else
! vprintf();
#endif
; return 0; }
EOF
! if { (eval echo configure:2824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vprintf=yes"
else
--- 2866,2877 ----
#if defined (__stub_vprintf) || defined (__stub___vprintf)
choke me
#else
! f = vprintf;
#endif
; return 0; }
EOF
! if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vprintf=yes"
else
*************** fi
*** 2844,2855 ****
if test "$ac_cv_func_vprintf" != yes; then
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
! echo "configure:2848: checking for _doprnt" >&5
! if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2853 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
--- 2895,2906 ----
if test "$ac_cv_func_vprintf" != yes; then
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
! echo "configure:2899: checking for _doprnt" >&5
! if eval "test \"\${ac_cv_func__doprnt+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2904 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char _doprnt(); below. */
*************** else
*** 2858,2863 ****
--- 2909,2915 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char _doprnt();
+ char (*f)();
int main() {
*************** int main() {
*** 2867,2878 ****
#if defined (__stub__doprnt) || defined (__stub____doprnt)
choke me
#else
! _doprnt();
#endif
; return 0; }
EOF
! if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func__doprnt=yes"
else
--- 2919,2930 ----
#if defined (__stub__doprnt) || defined (__stub____doprnt)
choke me
#else
! f = _doprnt;
#endif
; return 0; }
EOF
! if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func__doprnt=yes"
else
*************** fi
*** 2908,2922 ****
echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6
! echo "configure:2912: checking whether the printf functions support %p" >&5
! if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
gcc_cv_func_printf_ptr=no
else
cat > conftest.$ac_ext <<EOF
! #line 2920 "configure"
#include "confdefs.h"
#include <stdio.h>
--- 2960,2974 ----
echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6
! echo "configure:2964: checking whether the printf functions support %p" >&5
! if eval "test \"\${gcc_cv_func_printf_ptr+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
gcc_cv_func_printf_ptr=no
else
cat > conftest.$ac_ext <<EOF
! #line 2972 "configure"
#include "confdefs.h"
#include <stdio.h>
*************** int main()
*** 2929,2935 ****
return (p != q);
}
EOF
! if { (eval echo configure:2933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gcc_cv_func_printf_ptr=yes
else
--- 2981,2987 ----
return (p != q);
}
EOF
! if { (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
gcc_cv_func_printf_ptr=yes
else
*************** case "${host}" in
*** 2961,2972 ****
;;
esac
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:2965: checking for pid_t" >&5
! if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 2970 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 3013,3024 ----
;;
esac
echo $ac_n "checking for pid_t""... $ac_c" 1>&6
! echo "configure:3017: checking for pid_t" >&5
! if eval "test \"\${ac_cv_type_pid_t+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3022 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
*************** EOF
*** 2977,2993 ****
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! ac_cv_type_pid_t=yes
else
rm -rf conftest*
! ac_cv_type_pid_t=no
fi
rm -f conftest*
fi
! echo "$ac_t""$ac_cv_type_pid_t" 1>&6
! if test $ac_cv_type_pid_t = no; then
! cat >> confdefs.h <<\EOF
#define pid_t int
EOF
--- 3029,3047 ----
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! eval "ac_cv_type_pid_t=yes"
else
rm -rf conftest*
! eval "ac_cv_type_pid_t=no"
fi
rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_type_'pid_t`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! else
! echo "$ac_t""no" 1>&6
! cat >> confdefs.h <<EOF
#define pid_t int
EOF
*************** fi
*** 2995,3011 ****
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:2999: checking for vfork.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3004 "configure"
#include "confdefs.h"
#include <vfork.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 3049,3065 ----
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
! echo "configure:3053: checking for vfork.h" >&5
! if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3058 "configure"
#include "confdefs.h"
#include <vfork.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:3063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** else
*** 3030,3047 ****
fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6
! echo "configure:3034: checking for working vfork" >&5
! if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:3040: checking for vfork" >&5
! if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3045 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
--- 3084,3101 ----
fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6
! echo "configure:3088: checking for working vfork" >&5
! if eval "test \"\${ac_cv_func_vfork_works+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6
! echo "configure:3094: checking for vfork" >&5
! if eval "test \"\${ac_cv_func_vfork+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3099 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */
*************** else
*** 3050,3055 ****
--- 3104,3110 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char vfork();
+ char (*f)();
int main() {
*************** int main() {
*** 3059,3070 ****
#if defined (__stub_vfork) || defined (__stub___vfork)
choke me
#else
! vfork();
#endif
; return 0; }
EOF
! if { (eval echo configure:3068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
--- 3114,3125 ----
#if defined (__stub_vfork) || defined (__stub___vfork)
choke me
#else
! f = vfork;
#endif
; return 0; }
EOF
! if { (eval echo configure:3123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vfork=yes"
else
*************** fi
*** 3086,3092 ****
ac_cv_func_vfork_works=$ac_cv_func_vfork
else
cat > conftest.$ac_ext <<EOF
! #line 3090 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
--- 3141,3147 ----
ac_cv_func_vfork_works=$ac_cv_func_vfork
else
cat > conftest.$ac_ext <<EOF
! #line 3145 "configure"
#include "confdefs.h"
/* Thanks to Paul Eggert for this test. */
#include <stdio.h>
*************** main() {
*** 3181,3187 ****
}
}
EOF
! if { (eval echo configure:3185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_vfork_works=yes
else
--- 3236,3242 ----
}
}
EOF
! if { (eval echo configure:3240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_vfork_works=yes
else
*************** fi
*** 3196,3202 ****
fi
echo "$ac_t""$ac_cv_func_vfork_works" 1>&6
! if test $ac_cv_func_vfork_works = no; then
cat >> confdefs.h <<\EOF
#define vfork fork
EOF
--- 3251,3257 ----
fi
echo "$ac_t""$ac_cv_func_vfork_works" 1>&6
! if test "x$ac_cv_func_vfork_works" = xno; then
cat >> confdefs.h <<\EOF
#define vfork fork
EOF
*************** fi
*** 3206,3217 ****
for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:3210: checking for $ac_func" >&5
! if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3215 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 3261,3272 ----
for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:3265: checking for $ac_func" >&5
! if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3270 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** else
*** 3220,3225 ****
--- 3275,3281 ----
/* 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() {
*************** int main() {
*** 3229,3240 ****
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! $ac_func();
#endif
; return 0; }
EOF
! if { (eval echo configure:3238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 3285,3296 ----
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! f = $ac_func;
#endif
; return 0; }
EOF
! if { (eval echo configure:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** main ()
*** 3505,3512 ****
EOF
echo $ac_n "checking for working mmap from /dev/zero""... $ac_c" 1>&6
! echo "configure:3509: checking for working mmap from /dev/zero" >&5
! if eval "test \"`echo '$''{'ac_cv_func_mmap_dev_zero'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
--- 3561,3568 ----
EOF
echo $ac_n "checking for working mmap from /dev/zero""... $ac_c" 1>&6
! echo "configure:3565: checking for working mmap from /dev/zero" >&5
! if eval "test \"\${ac_cv_func_mmap_dev_zero+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
*************** else
*** 3521,3531 ****
esac
else
cat > conftest.$ac_ext <<EOF
! #line 3525 "configure"
#include "confdefs.h"
#include "ct-mmap.inc"
EOF
! if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_dev_zero=yes
else
--- 3577,3587 ----
esac
else
cat > conftest.$ac_ext <<EOF
! #line 3581 "configure"
#include "confdefs.h"
#include "ct-mmap.inc"
EOF
! if { (eval echo configure:3585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_dev_zero=yes
else
*************** EOF
*** 3552,3559 ****
fi
echo $ac_n "checking for working mmap with MAP_ANON(YMOUS)""... $ac_c" 1>&6
! echo "configure:3556: checking for working mmap with MAP_ANON(YMOUS)" >&5
! if eval "test \"`echo '$''{'ac_cv_func_mmap_anon'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
--- 3608,3615 ----
fi
echo $ac_n "checking for working mmap with MAP_ANON(YMOUS)""... $ac_c" 1>&6
! echo "configure:3612: checking for working mmap with MAP_ANON(YMOUS)" >&5
! if eval "test \"\${ac_cv_func_mmap_anon+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
*************** else
*** 3562,3573 ****
ac_cv_func_mmap_anon=no
else
cat > conftest.$ac_ext <<EOF
! #line 3566 "configure"
#include "confdefs.h"
#define USE_MAP_ANON
#include "ct-mmap.inc"
EOF
! if { (eval echo configure:3571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_anon=yes
else
--- 3618,3629 ----
ac_cv_func_mmap_anon=no
else
cat > conftest.$ac_ext <<EOF
! #line 3622 "configure"
#include "confdefs.h"
#define USE_MAP_ANON
#include "ct-mmap.inc"
EOF
! if { (eval echo configure:3627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_anon=yes
else
*************** fi
*** 3595,3602 ****
rm -f ct-mmap.inc
echo $ac_n "checking for working mmap of a file""... $ac_c" 1>&6
! echo "configure:3599: checking for working mmap of a file" >&5
! if eval "test \"`echo '$''{'ac_cv_func_mmap_file'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Create a file one thousand bytes long.
--- 3651,3658 ----
rm -f ct-mmap.inc
echo $ac_n "checking for working mmap of a file""... $ac_c" 1>&6
! echo "configure:3655: checking for working mmap of a file" >&5
! if eval "test \"\${ac_cv_func_mmap_file+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Create a file one thousand bytes long.
*************** if test "$cross_compiling" = yes; then
*** 3610,3616 ****
ac_cv_func_mmap_file=no
else
cat > conftest.$ac_ext <<EOF
! #line 3614 "configure"
#include "confdefs.h"
/* Test by Zack Weinberg. Modified from MMAP_ANYWHERE test by
--- 3666,3672 ----
ac_cv_func_mmap_file=no
else
cat > conftest.$ac_ext <<EOF
! #line 3670 "configure"
#include "confdefs.h"
/* Test by Zack Weinberg. Modified from MMAP_ANYWHERE test by
*************** int main()
*** 3647,3653 ****
exit(0);
}
EOF
! if { (eval echo configure:3651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_file=yes
else
--- 3703,3709 ----
exit(0);
}
EOF
! if { (eval echo configure:3707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_file=yes
else
*************** for ac_func in bcopy \
*** 3680,3691 ****
do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
! echo "configure:3684: checking whether $ac_func is declared" >&5
! if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3689 "configure"
#include "confdefs.h"
#include "gansidecl.h"
#include "system.h"
--- 3736,3747 ----
do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
! echo "configure:3740: checking whether $ac_func is declared" >&5
! if eval "test \"\${gcc_cv_have_decl_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3745 "configure"
#include "confdefs.h"
#include "gansidecl.h"
#include "system.h"
*************** char *(*pfn) = (char *(*)) $ac_func ;
*** 3696,3702 ****
#endif
; return 0; }
EOF
! if { (eval echo configure:3700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes"
else
--- 3752,3758 ----
#endif
; return 0; }
EOF
! if { (eval echo configure:3756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes"
else
*************** for ac_func in getrlimit setrlimit getru
*** 3789,3800 ****
do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
! echo "configure:3793: checking whether $ac_func is declared" >&5
! if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3798 "configure"
#include "confdefs.h"
#include "gansidecl.h"
#include "system.h"
--- 3845,3856 ----
do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
echo $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
! echo "configure:3849: checking whether $ac_func is declared" >&5
! if eval "test \"\${gcc_cv_have_decl_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3854 "configure"
#include "confdefs.h"
#include "gansidecl.h"
#include "system.h"
*************** char *(*pfn) = (char *(*)) $ac_func ;
*** 3809,3815 ****
#endif
; return 0; }
EOF
! if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes"
else
--- 3865,3871 ----
#endif
; return 0; }
EOF
! if { (eval echo configure:3869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes"
else
*************** CFLAGS="$saved_CFLAGS"
*** 3852,3863 ****
# mkdir takes a single argument on some systems.
echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6
! echo "configure:3856: checking if mkdir takes one argument" >&5
! if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3861 "configure"
#include "confdefs.h"
#include <sys/types.h>
--- 3908,3919 ----
# mkdir takes a single argument on some systems.
echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6
! echo "configure:3912: checking if mkdir takes one argument" >&5
! if eval "test \"\${gcc_cv_mkdir_takes_one_arg+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 3917 "configure"
#include "confdefs.h"
#include <sys/types.h>
*************** int main() {
*** 3874,3880 ****
mkdir ("foo", 0);
; return 0; }
EOF
! if { (eval echo configure:3878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_mkdir_takes_one_arg=no
else
--- 3930,3936 ----
mkdir ("foo", 0);
; return 0; }
EOF
! if { (eval echo configure:3934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gcc_cv_mkdir_takes_one_arg=no
else
*************** fi
*** 4185,4199 ****
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
! echo "configure:4189: checking for strerror in -lcposix" >&5
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lcposix $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 4197 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
--- 4241,4255 ----
echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
! echo "configure:4245: checking for strerror in -lcposix" >&5
ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
! if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lcposix $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 4253 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4204,4210 ****
strerror()
; return 0; }
EOF
! if { (eval echo configure:4208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 4260,4266 ----
strerror()
; return 0; }
EOF
! if { (eval echo configure:4264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
*************** fi
*** 4227,4238 ****
echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:4231: checking for working const" >&5
! if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4236 "configure"
#include "confdefs.h"
int main() {
--- 4283,4294 ----
echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:4287: checking for working const" >&5
! if eval "test \"\${ac_cv_c_const+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4292 "configure"
#include "confdefs.h"
int main() {
*************** ccp = (char const *const *) p;
*** 4281,4287 ****
; return 0; }
EOF
! if { (eval echo configure:4285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
--- 4337,4343 ----
; return 0; }
EOF
! if { (eval echo configure:4341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
*************** EOF
*** 4302,4313 ****
fi
echo $ac_n "checking for off_t""... $ac_c" 1>&6
! echo "configure:4306: checking for off_t" >&5
! if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4311 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 4358,4369 ----
fi
echo $ac_n "checking for off_t""... $ac_c" 1>&6
! echo "configure:4362: checking for off_t" >&5
! if eval "test \"\${ac_cv_type_off_t+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4367 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
*************** EOF
*** 4318,4346 ****
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! ac_cv_type_off_t=yes
else
rm -rf conftest*
! ac_cv_type_off_t=no
fi
rm -f conftest*
fi
! echo "$ac_t""$ac_cv_type_off_t" 1>&6
! if test $ac_cv_type_off_t = no; then
! cat >> confdefs.h <<\EOF
#define off_t long
EOF
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:4339: checking for size_t" >&5
! if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4344 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
--- 4374,4404 ----
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! eval "ac_cv_type_off_t=yes"
else
rm -rf conftest*
! eval "ac_cv_type_off_t=no"
fi
rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_type_'off_t`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! else
! echo "$ac_t""no" 1>&6
! cat >> confdefs.h <<EOF
#define off_t long
EOF
fi
echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:4397: checking for size_t" >&5
! if eval "test \"\${ac_cv_type_size_t+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4402 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
*************** EOF
*** 4351,4367 ****
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! ac_cv_type_size_t=yes
else
rm -rf conftest*
! ac_cv_type_size_t=no
fi
rm -f conftest*
fi
! echo "$ac_t""$ac_cv_type_size_t" 1>&6
! if test $ac_cv_type_size_t = no; then
! cat >> confdefs.h <<\EOF
#define size_t unsigned
EOF
--- 4409,4427 ----
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
! eval "ac_cv_type_size_t=yes"
else
rm -rf conftest*
! eval "ac_cv_type_size_t=no"
fi
rm -f conftest*
fi
! if eval "test \"`echo '$ac_cv_type_'size_t`\" = yes"; then
! echo "$ac_t""yes" 1>&6
! else
! echo "$ac_t""no" 1>&6
! cat >> confdefs.h <<EOF
#define size_t unsigned
EOF
*************** fi
*** 4370,4388 ****
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
! echo "configure:4374: checking for working alloca.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4379 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
! if { (eval echo configure:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
--- 4430,4448 ----
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
# for constant arguments. Useless!
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
! echo "configure:4434: checking for working alloca.h" >&5
! if eval "test \"\${ac_cv_header_alloca_h+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4439 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
! if { (eval echo configure:4446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
*************** EOF
*** 4403,4414 ****
fi
echo $ac_n "checking for alloca""... $ac_c" 1>&6
! echo "configure:4407: checking for alloca" >&5
! if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4412 "configure"
#include "confdefs.h"
#ifdef __GNUC__
--- 4463,4474 ----
fi
echo $ac_n "checking for alloca""... $ac_c" 1>&6
! echo "configure:4467: checking for alloca" >&5
! if eval "test \"\${ac_cv_func_alloca_works+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4472 "configure"
#include "confdefs.h"
#ifdef __GNUC__
*************** int main() {
*** 4436,4442 ****
char *p = (char *) alloca(1);
; return 0; }
EOF
! if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_func_alloca_works=yes
else
--- 4496,4502 ----
char *p = (char *) alloca(1);
; return 0; }
EOF
! if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_func_alloca_works=yes
else
*************** EOF
*** 4468,4479 ****
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
! echo "configure:4472: checking whether alloca needs Cray hooks" >&5
! if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4477 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
--- 4528,4539 ----
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
! echo "configure:4532: checking whether alloca needs Cray hooks" >&5
! if eval "test \"\${ac_cv_os_cray+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4537 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
*************** echo "$ac_t""$ac_cv_os_cray" 1>&6
*** 4498,4509 ****
if test $ac_cv_os_cray = yes; then
for ac_func in _getb67 GETB67 getb67; do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4502: checking for $ac_func" >&5
! if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4507 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 4558,4569 ----
if test $ac_cv_os_cray = yes; then
for ac_func in _getb67 GETB67 getb67; do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4562: checking for $ac_func" >&5
! if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4567 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** else
*** 4512,4517 ****
--- 4572,4578 ----
/* 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() {
*************** int main() {
*** 4521,4532 ****
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! $ac_func();
#endif
; return 0; }
EOF
! if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 4582,4593 ----
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! f = $ac_func;
#endif
; return 0; }
EOF
! if { (eval echo configure:4591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 4553,4567 ****
fi
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
! echo "configure:4557: checking stack direction for C alloca" >&5
! if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
! #line 4565 "configure"
#include "confdefs.h"
find_stack_direction ()
{
--- 4614,4628 ----
fi
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
! echo "configure:4618: checking stack direction for C alloca" >&5
! if eval "test \"\${ac_cv_c_stack_direction+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
! #line 4626 "configure"
#include "confdefs.h"
find_stack_direction ()
{
*************** main ()
*** 4580,4586 ****
exit (find_stack_direction() < 0);
}
EOF
! if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_stack_direction=1
else
--- 4641,4647 ----
exit (find_stack_direction() < 0);
}
EOF
! if { (eval echo configure:4645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_stack_direction=1
else
*************** unistd.h sys/param.h
*** 4607,4623 ****
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4611: checking for $ac_hdr" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4616 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 4668,4684 ----
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4672: checking for $ac_hdr" >&5
! if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4677 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** done
*** 4647,4658 ****
strdup __argz_count __argz_stringify __argz_next
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4651: checking for $ac_func" >&5
! if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4656 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 4708,4719 ----
strdup __argz_count __argz_stringify __argz_next
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4712: checking for $ac_func" >&5
! if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4717 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** else
*** 4661,4666 ****
--- 4722,4728 ----
/* 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() {
*************** int main() {
*** 4670,4681 ****
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! $ac_func();
#endif
; return 0; }
EOF
! if { (eval echo configure:4679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 4732,4743 ----
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! f = $ac_func;
#endif
; return 0; }
EOF
! if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 4704,4715 ****
for ac_func in stpcpy
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4708: checking for $ac_func" >&5
! if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4713 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 4766,4777 ----
for ac_func in stpcpy
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:4770: checking for $ac_func" >&5
! if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4775 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** else
*** 4718,4723 ****
--- 4780,4786 ----
/* 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() {
*************** int main() {
*** 4727,4738 ****
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! $ac_func();
#endif
; return 0; }
EOF
! if { (eval echo configure:4736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 4790,4801 ----
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! f = $ac_func;
#endif
; return 0; }
EOF
! if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** EOF
*** 4766,4784 ****
if test $ac_cv_header_locale_h = yes; then
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
! echo "configure:4770: checking for LC_MESSAGES" >&5
! if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4775 "configure"
#include "confdefs.h"
#include <locale.h>
int main() {
return LC_MESSAGES
; return 0; }
EOF
! if { (eval echo configure:4782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_val_LC_MESSAGES=yes
else
--- 4829,4847 ----
if test $ac_cv_header_locale_h = yes; then
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
! echo "configure:4833: checking for LC_MESSAGES" >&5
! if eval "test \"\${am_cv_val_LC_MESSAGES+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4838 "configure"
#include "confdefs.h"
#include <locale.h>
int main() {
return LC_MESSAGES
; return 0; }
EOF
! if { (eval echo configure:4845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
am_cv_val_LC_MESSAGES=yes
else
*************** EOF
*** 4799,4805 ****
fi
fi
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
! echo "configure:4803: checking whether NLS is requested" >&5
# Check whether --enable-nls or --disable-nls was given.
if test "${enable_nls+set}" = set; then
enableval="$enable_nls"
--- 4862,4868 ----
fi
fi
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
! echo "configure:4866: checking whether NLS is requested" >&5
# Check whether --enable-nls or --disable-nls was given.
if test "${enable_nls+set}" = set; then
enableval="$enable_nls"
*************** fi
*** 4819,4825 ****
EOF
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
! echo "configure:4823: checking whether included gettext is requested" >&5
# Check whether --with-included-gettext or --without-included-gettext was given.
if test "${with_included_gettext+set}" = set; then
withval="$with_included_gettext"
--- 4882,4888 ----
EOF
echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
! echo "configure:4886: checking whether included gettext is requested" >&5
# Check whether --with-included-gettext or --without-included-gettext was given.
if test "${with_included_gettext+set}" = set; then
withval="$with_included_gettext"
*************** fi
*** 4838,4854 ****
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
! echo "configure:4842: checking for libintl.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4847 "configure"
#include "confdefs.h"
#include <libintl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 4901,4917 ----
ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
! echo "configure:4905: checking for libintl.h" >&5
! if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4910 "configure"
#include "confdefs.h"
#include <libintl.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:4915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** fi
*** 4865,4883 ****
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
! echo "configure:4869: checking for gettext in libc" >&5
! if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4874 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) gettext ("")
; return 0; }
EOF
! if { (eval echo configure:4881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
gt_cv_func_gettext_libc=yes
else
--- 4928,4946 ----
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
! echo "configure:4932: checking for gettext in libc" >&5
! if eval "test \"\${gt_cv_func_gettext_libc+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 4937 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) gettext ("")
; return 0; }
EOF
! if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
gt_cv_func_gettext_libc=yes
else
*************** echo "$ac_t""$gt_cv_func_gettext_libc" 1
*** 4893,4907 ****
if test "$gt_cv_func_gettext_libc" != "yes"; then
echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
! echo "configure:4897: checking for bindtextdomain in -lintl" >&5
ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 4905 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
--- 4956,4970 ----
if test "$gt_cv_func_gettext_libc" != "yes"; then
echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
! echo "configure:4960: checking for bindtextdomain in -lintl" >&5
ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
! if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 4968 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4912,4918 ****
bindtextdomain()
; return 0; }
EOF
! if { (eval echo configure:4916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 4975,4981 ----
bindtextdomain()
; return 0; }
EOF
! if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
*************** fi
*** 4928,4947 ****
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
! echo "configure:4932: checking for gettext in libintl" >&5
! if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
! echo "configure:4937: checking for gettext in -lintl" >&5
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 4945 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
--- 4991,5010 ----
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
! echo "configure:4995: checking for gettext in libintl" >&5
! if eval "test \"\${gt_cv_func_gettext_libintl+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
! echo "configure:5000: checking for gettext in -lintl" >&5
ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
! if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lintl $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 5008 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
*************** int main() {
*** 4952,4958 ****
gettext()
; return 0; }
EOF
! if { (eval echo configure:4956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 5015,5021 ----
gettext()
; return 0; }
EOF
! if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
*************** EOF
*** 4991,4998 ****
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4995: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_MSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$MSGFMT" in
--- 5054,5061 ----
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5058: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_MSGFMT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$MSGFMT" in
*************** fi
*** 5025,5036 ****
for ac_func in dcgettext
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:5029: checking for $ac_func" >&5
! if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5034 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
--- 5088,5099 ----
for ac_func in dcgettext
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
! echo "configure:5092: checking for $ac_func" >&5
! if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5097 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
*************** else
*** 5039,5044 ****
--- 5102,5108 ----
/* 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() {
*************** int main() {
*** 5048,5059 ****
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! $ac_func();
#endif
; return 0; }
EOF
! if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 5112,5123 ----
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
! f = $ac_func;
#endif
; return 0; }
EOF
! if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
*************** done
*** 5080,5087 ****
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5084: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
--- 5144,5151 ----
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5148: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_GMSGFMT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
*************** fi
*** 5116,5123 ****
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5120: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_XGETTEXT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$XGETTEXT" in
--- 5180,5187 ----
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5184: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_XGETTEXT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$XGETTEXT" in
*************** else
*** 5148,5154 ****
fi
cat > conftest.$ac_ext <<EOF
! #line 5152 "configure"
#include "confdefs.h"
int main() {
--- 5212,5218 ----
fi
cat > conftest.$ac_ext <<EOF
! #line 5216 "configure"
#include "confdefs.h"
int main() {
*************** extern int _nl_msg_cat_cntr;
*** 5156,5162 ****
return _nl_msg_cat_cntr
; return 0; }
EOF
! if { (eval echo configure:5160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
CATOBJEXT=.gmo
DATADIRNAME=share
--- 5220,5226 ----
return _nl_msg_cat_cntr
; return 0; }
EOF
! if { (eval echo configure:5224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
CATOBJEXT=.gmo
DATADIRNAME=share
*************** fi
*** 5181,5187 ****
if test "$CATOBJEXT" = "NONE"; then
echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
! echo "configure:5185: checking whether catgets can be used" >&5
# Check whether --with-catgets or --without-catgets was given.
if test "${with_catgets+set}" = set; then
withval="$with_catgets"
--- 5245,5251 ----
if test "$CATOBJEXT" = "NONE"; then
echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
! echo "configure:5249: checking whether catgets can be used" >&5
# Check whether --with-catgets or --without-catgets was given.
if test "${with_catgets+set}" = set; then
withval="$with_catgets"
*************** fi
*** 5194,5215 ****
if test "$nls_cv_use_catgets" = "yes"; then
echo $ac_n "checking for main in -li""... $ac_c" 1>&6
! echo "configure:5198: checking for main in -li" >&5
ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
! if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-li $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 5206 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
! if { (eval echo configure:5213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
--- 5258,5279 ----
if test "$nls_cv_use_catgets" = "yes"; then
echo $ac_n "checking for main in -li""... $ac_c" 1>&6
! echo "configure:5262: checking for main in -li" >&5
ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
! if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-li $LIBS"
cat > conftest.$ac_ext <<EOF
! #line 5270 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
! if { (eval echo configure:5277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
*************** else
*** 5237,5248 ****
fi
echo $ac_n "checking for catgets""... $ac_c" 1>&6
! echo "configure:5241: checking for catgets" >&5
! if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5246 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char catgets(); below. */
--- 5301,5312 ----
fi
echo $ac_n "checking for catgets""... $ac_c" 1>&6
! echo "configure:5305: checking for catgets" >&5
! if eval "test \"\${ac_cv_func_catgets+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5310 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char catgets(); below. */
*************** else
*** 5251,5256 ****
--- 5315,5321 ----
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char catgets();
+ char (*f)();
int main() {
*************** int main() {
*** 5260,5271 ****
#if defined (__stub_catgets) || defined (__stub___catgets)
choke me
#else
! catgets();
#endif
; return 0; }
EOF
! if { (eval echo configure:5269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_catgets=yes"
else
--- 5325,5336 ----
#if defined (__stub_catgets) || defined (__stub___catgets)
choke me
#else
! f = catgets;
#endif
; return 0; }
EOF
! if { (eval echo configure:5334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_catgets=yes"
else
*************** EOF
*** 5287,5294 ****
# Extract the first word of "gencat", so it can be a program name with args.
set dummy gencat; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5291: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_GENCAT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GENCAT" in
--- 5352,5359 ----
# Extract the first word of "gencat", so it can be a program name with args.
set dummy gencat; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5356: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_GENCAT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GENCAT" in
*************** fi
*** 5323,5330 ****
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5327: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
--- 5388,5395 ----
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5392: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_GMSGFMT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
*************** fi
*** 5360,5367 ****
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5364: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
--- 5425,5432 ----
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5429: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_GMSGFMT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
*************** fi
*** 5398,5405 ****
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5402: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_XGETTEXT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$XGETTEXT" in
--- 5463,5470 ----
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5467: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_XGETTEXT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$XGETTEXT" in
*************** fi
*** 5456,5463 ****
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5460: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_MSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$MSGFMT" in
--- 5521,5528 ----
# Extract the first word of "msgfmt", so it can be a program name with args.
set dummy msgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5525: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_MSGFMT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$MSGFMT" in
*************** fi
*** 5490,5497 ****
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5494: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_GMSGFMT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
--- 5555,5562 ----
# Extract the first word of "gmsgfmt", so it can be a program name with args.
set dummy gmsgfmt; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5559: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_GMSGFMT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GMSGFMT" in
*************** fi
*** 5529,5536 ****
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5533: checking for $ac_word" >&5
! if eval "test \"`echo '$''{'gcc_cv_path_XGETTEXT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$XGETTEXT" in
--- 5594,5601 ----
# Extract the first word of "xgettext", so it can be a program name with args.
set dummy xgettext; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:5598: checking for $ac_word" >&5
! if eval "test \"\${gcc_cv_path_XGETTEXT+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$XGETTEXT" in
*************** fi
*** 5628,5634 ****
LINGUAS=
else
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
! echo "configure:5632: checking for catalogs to be installed" >&5
if test "x$LINGUAS" = "x"; then
LINGUAS=$ALL_LINGUAS
else
--- 5693,5699 ----
LINGUAS=
else
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
! echo "configure:5697: checking for catalogs to be installed" >&5
if test "x$LINGUAS" = "x"; then
LINGUAS=$ALL_LINGUAS
else
*************** echo "configure:5632: checking for catal
*** 5660,5676 ****
if test "$CATOBJEXT" = ".cat"; then
ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
! echo "configure:5664: checking for linux/version.h" >&5
! if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5669 "configure"
#include "confdefs.h"
#include <linux/version.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
--- 5725,5741 ----
if test "$CATOBJEXT" = ".cat"; then
ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
! echo "configure:5729: checking for linux/version.h" >&5
! if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 5734 "configure"
#include "confdefs.h"
#include <linux/version.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:5739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
*************** fi
*** 5745,5751 ****
echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
! echo "configure:5749: checking whether windows registry support is requested" >&5
if test x$enable_win32_registry != xno; then
cat >> confdefs.h <<\EOF
#define ENABLE_WIN32_REGISTRY 1
--- 5810,5816 ----
echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
! echo "configure:5814: checking whether windows registry support is requested" >&5
if test x$enable_win32_registry != xno; then
cat >> confdefs.h <<\EOF
#define ENABLE_WIN32_REGISTRY 1
*************** esac
*** 5774,5780 ****
if test x$enable_win32_registry != xno; then
echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
! echo "configure:5778: checking registry key on windows hosts" >&5
cat >> confdefs.h <<EOF
#define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
EOF
--- 5839,5845 ----
if test x$enable_win32_registry != xno; then
echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
! echo "configure:5843: checking registry key on windows hosts" >&5
cat >> confdefs.h <<EOF
#define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
EOF
*************** fi
*** 5954,5960 ****
# Figure out what assembler we will be using.
echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
! echo "configure:5958: checking what assembler to use" >&5
gcc_cv_as=
gcc_cv_gas_major_version=
gcc_cv_gas_minor_version=
--- 6019,6025 ----
# Figure out what assembler we will be using.
echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
! echo "configure:6023: checking what assembler to use" >&5
gcc_cv_as=
gcc_cv_gas_major_version=
gcc_cv_gas_minor_version=
*************** fi
*** 6039,6045 ****
# Figure out what nm we will be using.
echo $ac_n "checking what nm to use""... $ac_c" 1>&6
! echo "configure:6043: checking what nm to use" >&5
if test -x nm$host_exeext; then
gcc_cv_nm=./nm$host_exeext
elif test x$host = x$target; then
--- 6104,6110 ----
# Figure out what nm we will be using.
echo $ac_n "checking what nm to use""... $ac_c" 1>&6
! echo "configure:6108: checking what nm to use" >&5
if test -x nm$host_exeext; then
gcc_cv_nm=./nm$host_exeext
elif test x$host = x$target; then
*************** echo "$ac_t""$gcc_cv_nm" 1>&6
*** 6050,6056 ****
# Figure out what assembler alignment features are present.
echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
! echo "configure:6054: checking assembler alignment features" >&5
gcc_cv_as_alignment_features=none
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
# Gas version 2.6 and later support for .balign and .p2align.
--- 6115,6121 ----
# Figure out what assembler alignment features are present.
echo $ac_n "checking assembler alignment features""... $ac_c" 1>&6
! echo "configure:6119: checking assembler alignment features" >&5
gcc_cv_as_alignment_features=none
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
# Gas version 2.6 and later support for .balign and .p2align.
*************** fi
*** 6098,6104 ****
echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
! echo "configure:6102: checking assembler subsection support" >&5
gcc_cv_as_subsections=no
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 9 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
--- 6163,6169 ----
echo "$ac_t""$gcc_cv_as_alignment_features" 1>&6
echo $ac_n "checking assembler subsection support""... $ac_c" 1>&6
! echo "configure:6167: checking assembler subsection support" >&5
gcc_cv_as_subsections=no
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 9 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
*************** fi
*** 6138,6144 ****
echo "$ac_t""$gcc_cv_as_subsections" 1>&6
echo $ac_n "checking assembler weak support""... $ac_c" 1>&6
! echo "configure:6142: checking assembler weak support" >&5
gcc_cv_as_weak=no
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 2 -o "$gcc_cv_gas_major_version" -gt 2; then
--- 6203,6209 ----
echo "$ac_t""$gcc_cv_as_subsections" 1>&6
echo $ac_n "checking assembler weak support""... $ac_c" 1>&6
! echo "configure:6207: checking assembler weak support" >&5
gcc_cv_as_weak=no
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 2 -o "$gcc_cv_gas_major_version" -gt 2; then
*************** fi
*** 6161,6167 ****
echo "$ac_t""$gcc_cv_as_weak" 1>&6
echo $ac_n "checking assembler hidden support""... $ac_c" 1>&6
! echo "configure:6165: checking assembler hidden support" >&5
gcc_cv_as_hidden=no
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 10 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
--- 6226,6232 ----
echo "$ac_t""$gcc_cv_as_weak" 1>&6
echo $ac_n "checking assembler hidden support""... $ac_c" 1>&6
! echo "configure:6230: checking assembler hidden support" >&5
gcc_cv_as_hidden=no
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 10 -o "$gcc_cv_gas_major_version" -gt 2 && grep 'obj_format = elf' ../gas/Makefile > /dev/null; then
*************** echo "$ac_t""$gcc_cv_as_hidden" 1>&6
*** 6187,6194 ****
case "$target" in
sparc*-*-*)
echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
! echo "configure:6191: checking assembler .register pseudo-op support" >&5
! if eval "test \"`echo '$''{'gcc_cv_as_register_pseudo_op'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 6252,6259 ----
case "$target" in
sparc*-*-*)
echo $ac_n "checking assembler .register pseudo-op support""... $ac_c" 1>&6
! echo "configure:6256: checking assembler .register pseudo-op support" >&5
! if eval "test \"\${gcc_cv_as_register_pseudo_op+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** EOF
*** 6215,6222 ****
fi
echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6
! echo "configure:6219: checking assembler supports -relax" >&5
! if eval "test \"`echo '$''{'gcc_cv_as_relax_opt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 6280,6287 ----
fi
echo $ac_n "checking assembler supports -relax""... $ac_c" 1>&6
! echo "configure:6284: checking assembler supports -relax" >&5
! if eval "test \"\${gcc_cv_as_relax_opt+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** EOF
*** 6245,6252 ****
case "$tm_file" in
*64*)
echo $ac_n "checking for 64 bit support in assembler ($gcc_cv_as)""... $ac_c" 1>&6
! echo "configure:6249: checking for 64 bit support in assembler ($gcc_cv_as)" >&5
! if eval "test \"`echo '$''{'gcc_cv_as_flags64'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 6310,6317 ----
case "$tm_file" in
*64*)
echo $ac_n "checking for 64 bit support in assembler ($gcc_cv_as)""... $ac_c" 1>&6
! echo "configure:6314: checking for 64 bit support in assembler ($gcc_cv_as)" >&5
! if eval "test \"\${gcc_cv_as_flags64+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** EOF
*** 6290,6297 ****
if test "x$gcc_cv_as_flags64" != xno; then
echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
! echo "configure:6294: checking for assembler offsetable %lo() support" >&5
! if eval "test \"`echo '$''{'gcc_cv_as_offsetable_lo10'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
--- 6355,6362 ----
if test "x$gcc_cv_as_flags64" != xno; then
echo $ac_n "checking for assembler offsetable %lo() support""... $ac_c" 1>&6
! echo "configure:6359: checking for assembler offsetable %lo() support" >&5
! if eval "test \"\${gcc_cv_as_offsetable_lo10+set}\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*************** EOF
*** 6329,6335 ****
i[34567]86-*-*)
echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
! echo "configure:6333: checking assembler instructions" >&5
gcc_cv_as_instructions=
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 9 -o "$gcc_cv_gas_major_version" -gt 2; then
--- 6394,6400 ----
i[34567]86-*-*)
echo $ac_n "checking assembler instructions""... $ac_c" 1>&6
! echo "configure:6398: checking assembler instructions" >&5
gcc_cv_as_instructions=
if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 9 -o "$gcc_cv_gas_major_version" -gt 2; then
*************** EOF
*** 6358,6364 ****
esac
echo $ac_n "checking assembler dwarf2 debug_line support""... $ac_c" 1>&6
! echo "configure:6362: checking assembler dwarf2 debug_line support" >&5
gcc_cv_as_dwarf2_debug_line=no
# ??? Not all targets support dwarf2 debug_line, even within a version
# of gas. Moreover, we need to emit a valid instruction to trigger any
--- 6423,6429 ----
esac
echo $ac_n "checking assembler dwarf2 debug_line support""... $ac_c" 1>&6
! echo "configure:6427: checking assembler dwarf2 debug_line support" >&5
gcc_cv_as_dwarf2_debug_line=no
# ??? Not all targets support dwarf2 debug_line, even within a version
# of gas. Moreover, we need to emit a valid instruction to trigger any
*************** EOF
*** 6526,6532 ****
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
! echo "configure:6530: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
--- 6591,6597 ----
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
! echo "configure:6595: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
*************** do
*** 6936,6942 ****
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
! echo "$CONFIG_STATUS generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
--- 7001,7007 ----
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
! echo "$CONFIG_STATUS generated by autoconf version 2.14.1"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
*************** exit 0
*** 7448,7452 ****
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
! test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
--- 7513,7517 ----
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
! test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
Index: gcc/cp/pt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/pt.c,v
retrieving revision 1.508
diff -c -3 -p -r1.508 pt.c
*** pt.c 2001/01/19 09:24:14 1.508
--- pt.c 2001/01/20 19:37:27
*************** static int template_decl_level PARAMS ((
*** 141,146 ****
--- 141,147 ----
static tree maybe_get_template_decl_from_type_decl PARAMS ((tree));
static int check_cv_quals_for_unify PARAMS ((int, tree, tree));
static tree tsubst_template_arg_vector PARAMS ((tree, tree, int));
+ static tree tsubst_template_arg_vector PARAMS ((tree, tree, int));
static tree tsubst_template_parms PARAMS ((tree, tree, int));
static void regenerate_decl_from_template PARAMS ((tree, tree));
static tree most_specialized PARAMS ((tree, tree, tree));
*************** static tree instantiate_clone PARAMS ((t
*** 171,176 ****
--- 172,178 ----
static tree copy_default_args_to_explicit_spec_1 PARAMS ((tree, tree));
static void copy_default_args_to_explicit_spec PARAMS ((tree));
static int invalid_nontype_parm_type_p PARAMS ((tree, int));
+ static tree tsubst_non_const PARAMS ((tree, tree, int, tree));
/* Called once to initialize pt.c. */
*************** convert_template_argument (parm, arg, ar
*** 3332,3337 ****
--- 3334,3350 ----
complain);
is_type = 1;
}
+ else if
+ ( TREE_CODE (arg) == SCOPE_REF
+ && TREE_CODE (TREE_OPERAND (arg, 0)) == NAMESPACE_DECL
+ && TREE_CODE (TREE_OPERAND (arg, 1)) == IDENTIFIER_NODE
+ )
+ {
+ arg = TREE_OPERAND (arg, 1);
+ arg = IDENTIFIER_NAMESPACE_BINDINGS (arg);
+ arg = BINDING_VALUE (arg);
+ my_friendly_assert (arg != NULL_TREE, 0);
+ }
if (is_type != requires_type)
{
if (in_decl)
*************** tsubst_template_parms (parms, args, comp
*** 5400,5406 ****
TREE_VALUE (TREE_VEC_ELT (TREE_VALUE (parms), i));
TREE_VEC_ELT (new_vec, i)
! = build_tree_list (tsubst (default_value, args, complain,
NULL_TREE),
tsubst (parm_decl, args, complain,
NULL_TREE));
--- 5413,5419 ----
TREE_VALUE (TREE_VEC_ELT (TREE_VALUE (parms), i));
TREE_VEC_ELT (new_vec, i)
! = build_tree_list (tsubst_non_const (default_value, args, complain,
NULL_TREE),
tsubst (parm_decl, args, complain,
NULL_TREE));
*************** tsubst (t, args, complain, in_decl)
*** 6871,6876 ****
--- 6884,6907 ----
}
}
+ /* Like tsubst, but is identity on CONST_DECL. This is needed as guard to
+ tsubst because tsubst calls tsubst_decl which causes an ICE when
+ passed a CONST_DECL tree.
+ */
+
+ static tree
+ tsubst_non_const (t, args, complain, in_decl)
+ tree t, args;
+ int complain;
+ tree in_decl;
+ {
+ if (!t)
+ return t;
+ if (t == NULL_TREE || t == error_mark_node
+ || TREE_CODE (t) == CONST_DECL)
+ return t;
+ return tsubst (t, args, complain, in_decl);
+ }
/* Like tsubst, but deals with expressions. This function just replaces
template parms; to finish processing the resultant expression, use
tsubst_expr. */
enum
Enum0
{ E0
, E1
, E2
}
;
//=================================
enum
Enum1
{ E3=E2+1
, E4
}
;
//=================================
template
< Enum0 Out_FARG0
>
class
OutTmpl
{
public:
template
< Enum1 In_FARG0
#define INDEF
#ifdef INDEF
=E4
#endif
>
class
InTmpl
{
}
;//end InTmpl class
}
;//end OutTmpl class
//=================================
OutTmpl<E1>
m
;
namespace
EnumNs
{
enum
Enum0
{ E0_0
, E0_1
, E0_2
}
;
}
;//end EnumNs namespace
//=================================
template
< typename Out_Type_FARG0
>
class
OutTmpl
{
public:
template
< EnumNs::Enum0 In_Enum_FARG0
>
class
InTmpl
{
}
;//end InTmpl class
}
;//end OutTmpl class
//=================================
template
< EnumNs::Enum0 Tdef_Enum_FARG0
, typename Tdef_Type_FARG1
>
class
TdefTmpl
{
public:
typedef
OutTmpl<Tdef_Type_FARG1>
OutType
;
typedef
typename
OutType::
template
InTmpl<EnumNs::E0_1>
OutInType
;
}
;//end TdefTmpl class
//=================================
class
TestType
{
}
;//end TestType class
//=================================
TdefTmpl<EnumNs::E0_2, TestType>
w
;
cd /mnt/scratch/gcc-2.96/latest-cvs/debug/build/gcc/
make check-g++
Making a new config file...
echo "set tmpdir /mnt/scratch/gcc-2.96/latest-cvs/debug/build/gcc/testsuite" >> ./tmp0
test -d testsuite || mkdir testsuite
rm -f testsuite/site.exp
sed '/set tmpdir/ s|testsuite|testsuite|' < site.exp > testsuite/site.exp
(rootme=`pwd`; export rootme; \
srcdir=`cd /mnt/scratch/gcc-2.96/latest-cvs/gcc/gcc; pwd` ; export srcdir ; \
cd testsuite; \
EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
if [ -f ${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd /mnt/scratch/gcc-2.96/latest-cvs/gcc/gcc/../tcl/library ; pwd` ; \
export TCL_LIBRARY ; fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ )
WARNING: Couldn't find the global config file.
Test Run By evansl on Fri Jan 19 15:25:20 2001
Native configuration is i586-pc-linux-gnu
=== g++ tests ===
Schedule of variations:
unix
Running target unix
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for target.
Using /mnt/scratch/gcc-2.96/latest-cvs/gcc/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
Running /mnt/scratch/gcc-2.96/latest-cvs/gcc/gcc/testsuite/g++.dg/dg.exp ...
Running /mnt/scratch/gcc-2.96/latest-cvs/gcc/gcc/testsuite/g++.dg/special/ecos.exp ...
FAIL: g++.dg/special/conpr-1.C execution test
FAIL: g++.dg/special/conpr-2.C execution test
FAIL: g++.dg/special/conpr-3.C execution test
FAIL: g++.dg/special/conpr-3.C execution test
Running /mnt/scratch/gcc-2.96/latest-cvs/gcc/gcc/testsuite/g++.old-deja/old-deja.exp ...
FAIL: g++.ext/initp1.C Execution test
FAIL: g++.ext/instantiate1.C not instantiated (test for errors, line 18)
FAIL: g++.ext/instantiate1.C not instantiated (test for errors, line 20)
FAIL: g++.jason/2371.C (test for excess errors)
FAIL: g++.other/crash18.C (test for excess errors)
FAIL: g++.other/crash32.C (test for excess errors)
FAIL: g++.other/loop2.C caused compiler crash
=== g++ Summary ===
# of expected passes 6267
# of unexpected failures 11
# of expected failures 92
# of untested testcases 9
/mnt/scratch/gcc-2.96/latest-cvs/debug/build/gcc/testsuite/../g++ version 2.97 20010119 (experimental)
make: [check-g++] Error 1 (ignored)
Compilation finished at Fri Jan 19 16:34:39