Commit 51b9ff45 by Kelley Cook Committed by R. Kelley Cook

Makefile.in: Get parsedir and docobjdir from configure.

2003-10-20  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in: Get parsedir and docobjdir from configure.
	* configure.in: Recogonize --enable-generated-files-in-srcdir.
	Pass along parsedir and docobjdir.
	* configure: Regenerate.
	* doc/install.texi: Document --enable-generated-files-in-srcdir.

From-SVN: r72731
parent d790dd9f
2003-10-20 Kelley Cook <kcook@gcc.gnu.org> 2003-10-20 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Get parsedir and docobjdir from configure.
* configure.in: Recogonize --enable-generated-files-in-srcdir.
Pass along parsedir and docobjdir.
* configure: Regenerate.
* doc/install.texi: Document --enable-generated-files-in-srcdir.
2003-10-20 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in: Define $(docdir) before the Make-lang.in fragments are * Makefile.in: Define $(docdir) before the Make-lang.in fragments are
included. included.
......
...@@ -76,11 +76,10 @@ program_transform_cross_name = @program_transform_name@ ...@@ -76,11 +76,10 @@ program_transform_cross_name = @program_transform_name@
srcdir = @srcdir@ srcdir = @srcdir@
# These directories contain files that are provided as part of a FSF tarball, # These directories contain files that are provided as part of a FSF tarball,
# but not provided in CVS. Some GCC integrators like to use the CVS sources # but not provided in CVS. Unless --enable-generated-files-in-srcdir is
# but keep them read-only during a build, and so change these variables # specified these files will be put in the object directory.
# from these defaults. parsedir = @parsedir@
parsedir = $(srcdir) docobjdir = @docobjdir@
docobjdir = $(srcdir)/doc
docdir = $(srcdir)/doc docdir = $(srcdir)/doc
# Top build directory, relative to here. # Top build directory, relative to here.
......
...@@ -21,6 +21,8 @@ ac_help="$ac_help ...@@ -21,6 +21,8 @@ ac_help="$ac_help
install the user visible C preprocessor in DIR install the user visible C preprocessor in DIR
(relative to PREFIX) as well as PREFIX/bin" (relative to PREFIX) as well as PREFIX/bin"
ac_help="$ac_help ac_help="$ac_help
--enable-generated-files-in-srcdir Put generated files in source dir"
ac_help="$ac_help
--with-gnu-ld arrange to work with GNU ld." --with-gnu-ld arrange to work with GNU ld."
ac_help="$ac_help ac_help="$ac_help
--with-ld arrange to use the specified ld (full pathname)" --with-ld arrange to use the specified ld (full pathname)"
...@@ -655,7 +657,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } ...@@ -655,7 +657,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi fi
echo $ac_n "checking host system type""... $ac_c" 1>&6 echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:659: checking host system type" >&5 echo "configure:661: checking host system type" >&5
host_alias=$host host_alias=$host
case "$host_alias" in case "$host_alias" in
...@@ -676,7 +678,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` ...@@ -676,7 +678,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6 echo "$ac_t""$host" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6
echo "configure:680: checking target system type" >&5 echo "configure:682: checking target system type" >&5
target_alias=$target target_alias=$target
case "$target_alias" in case "$target_alias" in
...@@ -694,7 +696,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` ...@@ -694,7 +696,7 @@ target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6 echo "$ac_t""$target" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:698: checking build system type" >&5 echo "configure:700: checking build system type" >&5
build_alias=$build build_alias=$build
case "$build_alias" in case "$build_alias" in
...@@ -773,7 +775,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x," ...@@ -773,7 +775,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x,"
# - two terminals occur directly after each other # - two terminals occur directly after each other
# - the path contains an element with a dot in it # - the path contains an element with a dot in it
echo $ac_n "checking LIBRARY_PATH variable""... $ac_c" 1>&6 echo $ac_n "checking LIBRARY_PATH variable""... $ac_c" 1>&6
echo "configure:777: checking LIBRARY_PATH variable" >&5 echo "configure:779: checking LIBRARY_PATH variable" >&5
case ${LIBRARY_PATH} in case ${LIBRARY_PATH} in
[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* ) [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
library_path_setting="contains current directory" library_path_setting="contains current directory"
...@@ -798,7 +800,7 @@ fi ...@@ -798,7 +800,7 @@ fi
# - two terminals occur directly after each other # - two terminals occur directly after each other
# - the path contains an element with a dot in it # - the path contains an element with a dot in it
echo $ac_n "checking GCC_EXEC_PREFIX variable""... $ac_c" 1>&6 echo $ac_n "checking GCC_EXEC_PREFIX variable""... $ac_c" 1>&6
echo "configure:802: checking GCC_EXEC_PREFIX variable" >&5 echo "configure:804: checking GCC_EXEC_PREFIX variable" >&5
case ${GCC_EXEC_PREFIX} in case ${GCC_EXEC_PREFIX} in
[:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* ) [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
gcc_exec_prefix_setting="contains current directory" gcc_exec_prefix_setting="contains current directory"
...@@ -873,6 +875,24 @@ fi ...@@ -873,6 +875,24 @@ fi
fi fi
# We would like to our source tree to be readonly. However when releases or
# pre-releases are generated, the flex/bison generated files as well as the
# various formats of manuals need to be included along with the rest of the
# sources. Therefore we have --enable-generated-files-in-srcdir to do
# just that.
# Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
if test "${enable_generated_files_in_srcdir+set}" = set; then
enableval="$enable_generated_files_in_srcdir"
case ${enableval} in
no) parsedir='$(objdir)'; docobjdir='$(objdir)/doc';;
yes,*) parsedir='$(srcdir)'; docobjdir='$(srcdir)/doc';;
esac
else
parsedir='$(objdir)'; docobjdir='$(objdir)/doc';
fi
# ------------------- # -------------------
# Find default linker # Find default linker
# ------------------- # -------------------
...@@ -907,7 +927,7 @@ EOF ...@@ -907,7 +927,7 @@ EOF
fi fi
echo $ac_n "checking whether a default linker was specified""... $ac_c" 1>&6 echo $ac_n "checking whether a default linker was specified""... $ac_c" 1>&6
echo "configure:911: checking whether a default linker was specified" >&5 echo "configure:931: checking whether a default linker was specified" >&5
if test x"${DEFAULT_LINKER+set}" = x"set"; then if test x"${DEFAULT_LINKER+set}" = x"set"; then
if test x"$gnu_ld_flag" = x"no"; then if test x"$gnu_ld_flag" = x"no"; then
echo "$ac_t""yes ($DEFAULT_LINKER)" 1>&6 echo "$ac_t""yes ($DEFAULT_LINKER)" 1>&6
...@@ -951,7 +971,7 @@ EOF ...@@ -951,7 +971,7 @@ EOF
fi fi
echo $ac_n "checking whether a default assembler was specified""... $ac_c" 1>&6 echo $ac_n "checking whether a default assembler was specified""... $ac_c" 1>&6
echo "configure:955: checking whether a default assembler was specified" >&5 echo "configure:975: checking whether a default assembler was specified" >&5
if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
if test x"$gas_flag" = x"no"; then if test x"$gas_flag" = x"no"; then
echo "$ac_t""yes ($DEFAULT_ASSEMBLER)" 1>&6 echo "$ac_t""yes ($DEFAULT_ASSEMBLER)" 1>&6
...@@ -970,7 +990,7 @@ fi ...@@ -970,7 +990,7 @@ fi
# Extract the first word of "gcc", so it can be a program name with args. # Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2 set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:974: checking for $ac_word" >&5 echo "configure:994: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1000,7 +1020,7 @@ if test -z "$CC"; then ...@@ -1000,7 +1020,7 @@ if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args. # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2 set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1004: checking for $ac_word" >&5 echo "configure:1024: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1051,7 +1071,7 @@ fi ...@@ -1051,7 +1071,7 @@ fi
# Extract the first word of "cl", so it can be a program name with args. # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2 set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1055: checking for $ac_word" >&5 echo "configure:1075: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1083,7 +1103,7 @@ fi ...@@ -1083,7 +1103,7 @@ fi
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1087: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 echo "configure:1107: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
...@@ -1094,12 +1114,12 @@ cross_compiling=$ac_cv_prog_cc_cross ...@@ -1094,12 +1114,12 @@ cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext << EOF cat > conftest.$ac_ext << EOF
#line 1098 "configure" #line 1118 "configure"
#include "confdefs.h" #include "confdefs.h"
main(){return(0);} main(){return(0);}
EOF EOF
if { (eval echo configure:1103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:1123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler. # If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then if (./conftest; exit) 2>/dev/null; then
...@@ -1125,12 +1145,12 @@ if test $ac_cv_prog_cc_works = no; then ...@@ -1125,12 +1145,12 @@ 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; } { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1129: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "configure:1149: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1134: checking whether we are using GNU C" >&5 echo "configure:1154: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1139,7 +1159,7 @@ else ...@@ -1139,7 +1159,7 @@ else
yes; yes;
#endif #endif
EOF EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes ac_cv_prog_gcc=yes
else else
ac_cv_prog_gcc=no ac_cv_prog_gcc=no
...@@ -1158,7 +1178,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ...@@ -1158,7 +1178,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS= CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1162: checking whether ${CC-cc} accepts -g" >&5 echo "configure:1182: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1191,10 +1211,10 @@ fi ...@@ -1191,10 +1211,10 @@ fi
if test "x$CC" != xcc; then if test "x$CC" != xcc; then
echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
echo "configure:1195: checking whether $CC and cc understand -c and -o together" >&5 echo "configure:1215: checking whether $CC and cc understand -c and -o together" >&5
else else
echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
echo "configure:1198: checking whether cc understands -c and -o together" >&5 echo "configure:1218: checking whether cc understands -c and -o together" >&5
fi fi
set dummy $CC; ac_cc="`echo $2 | set dummy $CC; ac_cc="`echo $2 |
sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`" sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
...@@ -1206,16 +1226,16 @@ else ...@@ -1206,16 +1226,16 @@ else
# We do the test twice because some compilers refuse to overwrite an # We do the test twice because some compilers refuse to overwrite an
# existing .o file with -o, though they will create one. # existing .o file with -o, though they will create one.
ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5' ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
if { (eval echo configure:1210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && if { (eval echo configure:1230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
test -f conftest.o && { (eval echo configure:1211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; test -f conftest.o && { (eval echo configure:1231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then then
eval ac_cv_prog_cc_${ac_cc}_c_o=yes eval ac_cv_prog_cc_${ac_cc}_c_o=yes
if test "x$CC" != xcc; then if test "x$CC" != xcc; then
# Test first that cc exists at all. # Test first that cc exists at all.
if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
ac_try='cc -c conftest.c -o conftest.o 1>&5' ac_try='cc -c conftest.c -o conftest.o 1>&5'
if { (eval echo configure:1218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } && if { (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
test -f conftest.o && { (eval echo configure:1219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; test -f conftest.o && { (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then then
# cc works too. # cc works too.
: :
...@@ -1255,21 +1275,21 @@ fi ...@@ -1255,21 +1275,21 @@ fi
# ------------------------- # -------------------------
echo $ac_n "checking whether ${CC-cc} accepts -Wno-long-long""... $ac_c" 1>&6 echo $ac_n "checking whether ${CC-cc} accepts -Wno-long-long""... $ac_c" 1>&6
echo "configure:1259: checking whether ${CC-cc} accepts -Wno-long-long" >&5 echo "configure:1279: checking whether ${CC-cc} accepts -Wno-long-long" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_no_long_long'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_cc_no_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
save_CFLAGS="$CFLAGS" save_CFLAGS="$CFLAGS"
CFLAGS="-Wno-long-long" CFLAGS="-Wno-long-long"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1266 "configure" #line 1286 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_prog_cc_no_long_long=yes ac_cv_prog_cc_no_long_long=yes
else else
...@@ -1285,7 +1305,7 @@ fi ...@@ -1285,7 +1305,7 @@ fi
echo "$ac_t""$ac_cv_prog_cc_no_long_long" 1>&6 echo "$ac_t""$ac_cv_prog_cc_no_long_long" 1>&6
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1289: checking how to run the C preprocessor" >&5 echo "configure:1309: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory. # On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then if test -n "$CPP" && test -d "$CPP"; then
CPP= CPP=
...@@ -1300,13 +1320,13 @@ else ...@@ -1300,13 +1320,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser, # On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp. # not just through cpp.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1304 "configure" #line 1324 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
...@@ -1317,13 +1337,13 @@ else ...@@ -1317,13 +1337,13 @@ else
rm -rf conftest* rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp" CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1321 "configure" #line 1341 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
...@@ -1334,13 +1354,13 @@ else ...@@ -1334,13 +1354,13 @@ else
rm -rf conftest* rm -rf conftest*
CPP="${CC-cc} -nologo -E" CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1338 "configure" #line 1358 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <assert.h> #include <assert.h>
Syntax Error Syntax Error
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:1364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
: :
...@@ -1365,21 +1385,21 @@ fi ...@@ -1365,21 +1385,21 @@ fi
echo "$ac_t""$CPP" 1>&6 echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for inline""... $ac_c" 1>&6 echo $ac_n "checking for inline""... $ac_c" 1>&6
echo "configure:1369: checking for inline" >&5 echo "configure:1389: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_cv_c_inline=no ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1376 "configure" #line 1396 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
} $ac_kw foo() { } $ac_kw foo() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_inline=$ac_kw; break ac_cv_c_inline=$ac_kw; break
else else
...@@ -1406,19 +1426,19 @@ esac ...@@ -1406,19 +1426,19 @@ esac
echo $ac_n "checking for long long int""... $ac_c" 1>&6 echo $ac_n "checking for long long int""... $ac_c" 1>&6
echo "configure:1410: checking for long long int" >&5 echo "configure:1430: checking for long long int" >&5
if eval "test \"`echo '$''{'ac_cv_c_long_long'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1415 "configure" #line 1435 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
long long int i; long long int i;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_long_long=yes ac_cv_c_long_long=yes
else else
...@@ -1438,19 +1458,19 @@ EOF ...@@ -1438,19 +1458,19 @@ EOF
fi fi
echo $ac_n "checking for __int64""... $ac_c" 1>&6 echo $ac_n "checking for __int64""... $ac_c" 1>&6
echo "configure:1442: checking for __int64" >&5 echo "configure:1462: checking for __int64" >&5
if eval "test \"`echo '$''{'ac_cv_c___int64'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c___int64'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1447 "configure" #line 1467 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
__int64 i; __int64 i;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c___int64=yes ac_cv_c___int64=yes
else else
...@@ -1471,19 +1491,19 @@ EOF ...@@ -1471,19 +1491,19 @@ EOF
fi fi
echo $ac_n "checking for built-in _Bool""... $ac_c" 1>&6 echo $ac_n "checking for built-in _Bool""... $ac_c" 1>&6
echo "configure:1475: checking for built-in _Bool" >&5 echo "configure:1495: checking for built-in _Bool" >&5
if eval "test \"`echo '$''{'gcc_cv_c__bool'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_c__bool'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1480 "configure" #line 1500 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
_Bool foo; _Bool foo;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_c__bool=yes gcc_cv_c__bool=yes
else else
...@@ -1507,13 +1527,13 @@ fi ...@@ -1507,13 +1527,13 @@ fi
# sizeof(char) is 1 by definition. # sizeof(char) is 1 by definition.
echo $ac_n "checking size of void *""... $ac_c" 1>&6 echo $ac_n "checking size of void *""... $ac_c" 1>&6
echo "configure:1511: checking size of void *" >&5 echo "configure:1531: checking size of void *" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1517 "configure" #line 1537 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -1523,7 +1543,7 @@ int main() { ...@@ -1523,7 +1543,7 @@ int main() {
switch (0) case 0: case (sizeof (void *) == $ac_size):; switch (0) case 0: case (sizeof (void *) == $ac_size):;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_sizeof_void_p=$ac_size ac_cv_sizeof_void_p=$ac_size
else else
...@@ -1546,13 +1566,13 @@ EOF ...@@ -1546,13 +1566,13 @@ EOF
echo $ac_n "checking size of short""... $ac_c" 1>&6 echo $ac_n "checking size of short""... $ac_c" 1>&6
echo "configure:1550: checking size of short" >&5 echo "configure:1570: checking size of short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1556 "configure" #line 1576 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -1562,7 +1582,7 @@ int main() { ...@@ -1562,7 +1582,7 @@ int main() {
switch (0) case 0: case (sizeof (short) == $ac_size):; switch (0) case 0: case (sizeof (short) == $ac_size):;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_sizeof_short=$ac_size ac_cv_sizeof_short=$ac_size
else else
...@@ -1585,13 +1605,13 @@ EOF ...@@ -1585,13 +1605,13 @@ EOF
echo $ac_n "checking size of int""... $ac_c" 1>&6 echo $ac_n "checking size of int""... $ac_c" 1>&6
echo "configure:1589: checking size of int" >&5 echo "configure:1609: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1595 "configure" #line 1615 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -1601,7 +1621,7 @@ int main() { ...@@ -1601,7 +1621,7 @@ int main() {
switch (0) case 0: case (sizeof (int) == $ac_size):; switch (0) case 0: case (sizeof (int) == $ac_size):;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_sizeof_int=$ac_size ac_cv_sizeof_int=$ac_size
else else
...@@ -1624,13 +1644,13 @@ EOF ...@@ -1624,13 +1644,13 @@ EOF
echo $ac_n "checking size of long""... $ac_c" 1>&6 echo $ac_n "checking size of long""... $ac_c" 1>&6
echo "configure:1628: checking size of long" >&5 echo "configure:1648: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1634 "configure" #line 1654 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -1640,7 +1660,7 @@ int main() { ...@@ -1640,7 +1660,7 @@ int main() {
switch (0) case 0: case (sizeof (long) == $ac_size):; switch (0) case 0: case (sizeof (long) == $ac_size):;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_sizeof_long=$ac_size ac_cv_sizeof_long=$ac_size
else else
...@@ -1664,13 +1684,13 @@ EOF ...@@ -1664,13 +1684,13 @@ EOF
if test $ac_cv_c_long_long = yes; then if test $ac_cv_c_long_long = yes; then
echo $ac_n "checking size of long long""... $ac_c" 1>&6 echo $ac_n "checking size of long long""... $ac_c" 1>&6
echo "configure:1668: checking size of long long" >&5 echo "configure:1688: checking size of long long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1674 "configure" #line 1694 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -1680,7 +1700,7 @@ int main() { ...@@ -1680,7 +1700,7 @@ int main() {
switch (0) case 0: case (sizeof (long long) == $ac_size):; switch (0) case 0: case (sizeof (long long) == $ac_size):;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1684: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_sizeof_long_long=$ac_size ac_cv_sizeof_long_long=$ac_size
else else
...@@ -1705,13 +1725,13 @@ EOF ...@@ -1705,13 +1725,13 @@ EOF
fi fi
if test $ac_cv_c___int64 = yes; then if test $ac_cv_c___int64 = yes; then
echo $ac_n "checking size of __int64""... $ac_c" 1>&6 echo $ac_n "checking size of __int64""... $ac_c" 1>&6
echo "configure:1709: checking size of __int64" >&5 echo "configure:1729: checking size of __int64" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof___int64'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_sizeof___int64'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence. for ac_size in 4 8 1 2 16 12 ; do # List sizes in rough order of prevalence.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 1715 "configure" #line 1735 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -1721,7 +1741,7 @@ int main() { ...@@ -1721,7 +1741,7 @@ int main() {
switch (0) case 0: case (sizeof (__int64) == $ac_size):; switch (0) case 0: case (sizeof (__int64) == $ac_size):;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_sizeof___int64=$ac_size ac_cv_sizeof___int64=$ac_size
else else
...@@ -1760,7 +1780,7 @@ fi ...@@ -1760,7 +1780,7 @@ fi
# Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
set dummy ${ac_tool_prefix}gnatbind; ac_word=$2 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1764: checking for $ac_word" >&5 echo "configure:1784: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1792,7 +1812,7 @@ if test -n "$ac_tool_prefix"; then ...@@ -1792,7 +1812,7 @@ if test -n "$ac_tool_prefix"; then
# Extract the first word of "gnatbind", so it can be a program name with args. # Extract the first word of "gnatbind", so it can be a program name with args.
set dummy gnatbind; ac_word=$2 set dummy gnatbind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1796: checking for $ac_word" >&5 echo "configure:1816: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1825,7 +1845,7 @@ fi ...@@ -1825,7 +1845,7 @@ fi
fi fi
echo $ac_n "checking for compiler driver that understands Ada""... $ac_c" 1>&6 echo $ac_n "checking for compiler driver that understands Ada""... $ac_c" 1>&6
echo "configure:1829: checking for compiler driver that understands Ada" >&5 echo "configure:1849: checking for compiler driver that understands Ada" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_adac'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_prog_adac'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1868,7 +1888,7 @@ fi ...@@ -1868,7 +1888,7 @@ fi
if test x$have_gnat != xno ; then if test x$have_gnat != xno ; then
echo $ac_n "checking whether ${ADAC} accepts -Wno-long-long""... $ac_c" 1>&6 echo $ac_n "checking whether ${ADAC} accepts -Wno-long-long""... $ac_c" 1>&6
echo "configure:1872: checking whether ${ADAC} accepts -Wno-long-long" >&5 echo "configure:1892: checking whether ${ADAC} accepts -Wno-long-long" >&5
if eval "test \"`echo '$''{'ac_cv_prog_adac_no_long_long'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_adac_no_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2014,9 +2034,9 @@ if test x$ac_checking_valgrind != x ; then ...@@ -2014,9 +2034,9 @@ if test x$ac_checking_valgrind != x ; then
# It is certainly possible that there's valgrind but no valgrind.h. # It is certainly possible that there's valgrind but no valgrind.h.
# GCC relies on making annotations so we must have both. # GCC relies on making annotations so we must have both.
echo $ac_n "checking for VALGRIND_DISCARD in <memcheck.h>""... $ac_c" 1>&6 echo $ac_n "checking for VALGRIND_DISCARD in <memcheck.h>""... $ac_c" 1>&6
echo "configure:2018: checking for VALGRIND_DISCARD in <memcheck.h>" >&5 echo "configure:2038: checking for VALGRIND_DISCARD in <memcheck.h>" >&5
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2020 "configure" #line 2040 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <memcheck.h> #include <memcheck.h>
#ifndef VALGRIND_DISCARD #ifndef VALGRIND_DISCARD
...@@ -2024,7 +2044,7 @@ echo "configure:2018: checking for VALGRIND_DISCARD in <memcheck.h>" >&5 ...@@ -2024,7 +2044,7 @@ echo "configure:2018: checking for VALGRIND_DISCARD in <memcheck.h>" >&5
#endif #endif
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2040,17 +2060,17 @@ rm -f conftest* ...@@ -2040,17 +2060,17 @@ rm -f conftest*
echo "$ac_t""$gcc_cv_header_memcheck_h" 1>&6 echo "$ac_t""$gcc_cv_header_memcheck_h" 1>&6
ac_safe=`echo "valgrind.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "valgrind.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for valgrind.h""... $ac_c" 1>&6 echo $ac_n "checking for valgrind.h""... $ac_c" 1>&6
echo "configure:2044: checking for valgrind.h" >&5 echo "configure:2064: checking for valgrind.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2049 "configure" #line 2069 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <valgrind.h> #include <valgrind.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2104,7 +2124,7 @@ rm -f conf$$.file ...@@ -2104,7 +2124,7 @@ rm -f conf$$.file
# Extract the first word of "valgrind", so it can be a program name with args. # Extract the first word of "valgrind", so it can be a program name with args.
set dummy valgrind; ac_word=$2 set dummy valgrind; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2108: checking for $ac_word" >&5 echo "configure:2128: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_valgrind_path'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_valgrind_path'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2330,7 +2350,7 @@ fi ...@@ -2330,7 +2350,7 @@ fi
# ------------------------- # -------------------------
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:2334: checking whether ${MAKE-make} sets \${MAKE}" >&5 echo "configure:2354: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 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 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2363,7 +2383,7 @@ do ...@@ -2363,7 +2383,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2367: checking for $ac_word" >&5 echo "configure:2387: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2393,7 +2413,7 @@ test -n "$AWK" && break ...@@ -2393,7 +2413,7 @@ test -n "$AWK" && break
done done
echo $ac_n "checking whether ln works""... $ac_c" 1>&6 echo $ac_n "checking whether ln works""... $ac_c" 1>&6
echo "configure:2397: checking whether ln works" >&5 echo "configure:2417: checking whether ln works" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_prog_LN'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2425,7 +2445,7 @@ else ...@@ -2425,7 +2445,7 @@ else
fi fi
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:2429: checking whether ln -s works" >&5 echo "configure:2449: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2459,7 +2479,7 @@ fi ...@@ -2459,7 +2479,7 @@ fi
# Extract the first word of "ranlib", so it can be a program name with args. # Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2 set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2463: checking for $ac_word" >&5 echo "configure:2483: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2497,7 +2517,7 @@ fi ...@@ -2497,7 +2517,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh. # ./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 $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:2501: checking for a BSD compatible install" >&5 echo "configure:2521: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -2549,7 +2569,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' ...@@ -2549,7 +2569,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
# See if cmp has --ignore-initial. # See if cmp has --ignore-initial.
echo $ac_n "checking for cmp's capabilities""... $ac_c" 1>&6 echo $ac_n "checking for cmp's capabilities""... $ac_c" 1>&6
echo "configure:2553: checking for cmp's capabilities" >&5 echo "configure:2573: checking for cmp's capabilities" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2585,7 +2605,7 @@ make_compare_target=$gcc_cv_prog_cmp_skip ...@@ -2585,7 +2605,7 @@ make_compare_target=$gcc_cv_prog_cmp_skip
# Extract the first word of "mktemp", so it can be a program name with args. # Extract the first word of "mktemp", so it can be a program name with args.
set dummy mktemp; ac_word=$2 set dummy mktemp; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2589: checking for $ac_word" >&5 echo "configure:2609: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_have_mktemp_command'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_have_mktemp_command'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2624,7 +2644,7 @@ else ...@@ -2624,7 +2644,7 @@ else
# Extract the first word of "makeinfo", so it can be a program name with args. # Extract the first word of "makeinfo", so it can be a program name with args.
set dummy makeinfo; ac_word=$2 set dummy makeinfo; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2628: checking for $ac_word" >&5 echo "configure:2648: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2653,13 +2673,13 @@ fi ...@@ -2653,13 +2673,13 @@ fi
if test -n "$MAKEINFO"; then if test -n "$MAKEINFO"; then
# Found it, now check the version. # Found it, now check the version.
echo $ac_n "checking for modern makeinfo""... $ac_c" 1>&6 echo $ac_n "checking for modern makeinfo""... $ac_c" 1>&6
echo "configure:2657: checking for modern makeinfo" >&5 echo "configure:2677: checking for modern makeinfo" >&5
if eval "test \"`echo '$''{'gcc_cv_prog_makeinfo_modern'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_prog_makeinfo_modern'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_prog_version=`$MAKEINFO --version 2>&1 | ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'` sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
echo "configure:2663: version of makeinfo is $ac_prog_version" >&5 echo "configure:2683: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;; '') gcc_cv_prog_makeinfo_modern=no;;
4.[2-9]*) 4.[2-9]*)
...@@ -2687,7 +2707,7 @@ fi ...@@ -2687,7 +2707,7 @@ fi
# Is pod2man recent enough to regenerate manpages? # Is pod2man recent enough to regenerate manpages?
echo $ac_n "checking for recent Pod::Man""... $ac_c" 1>&6 echo $ac_n "checking for recent Pod::Man""... $ac_c" 1>&6
echo "configure:2691: checking for recent Pod::Man" >&5 echo "configure:2711: checking for recent Pod::Man" >&5
if (perl -e 'use 1.10 Pod::Man') >/dev/null 2>&1; then if (perl -e 'use 1.10 Pod::Man') >/dev/null 2>&1; then
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
GENERATED_MANPAGES=generated-manpages GENERATED_MANPAGES=generated-manpages
...@@ -2703,7 +2723,7 @@ else ...@@ -2703,7 +2723,7 @@ else
# Extract the first word of "flex", so it can be a program name with args. # Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2 set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2707: checking for $ac_word" >&5 echo "configure:2727: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2740,7 +2760,7 @@ else ...@@ -2740,7 +2760,7 @@ else
# Extract the first word of "bison", so it can be a program name with args. # Extract the first word of "bison", so it can be a program name with args.
set dummy bison; ac_word=$2 set dummy bison; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2744: checking for $ac_word" >&5 echo "configure:2764: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -2774,12 +2794,12 @@ fi ...@@ -2774,12 +2794,12 @@ fi
# -------------------- # --------------------
echo $ac_n "checking for GNU C library""... $ac_c" 1>&6 echo $ac_n "checking for GNU C library""... $ac_c" 1>&6
echo "configure:2778: checking for GNU C library" >&5 echo "configure:2798: checking for GNU C library" >&5
if eval "test \"`echo '$''{'gcc_cv_glibc'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_glibc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2783 "configure" #line 2803 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <features.h> #include <features.h>
int main() { int main() {
...@@ -2789,7 +2809,7 @@ int main() { ...@@ -2789,7 +2809,7 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_glibc=yes gcc_cv_glibc=yes
else else
...@@ -2810,12 +2830,12 @@ EOF ...@@ -2810,12 +2830,12 @@ EOF
fi fi
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:2814: checking for ANSI C header files" >&5 echo "configure:2834: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2819 "configure" #line 2839 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -2823,7 +2843,7 @@ else ...@@ -2823,7 +2843,7 @@ else
#include <float.h> #include <float.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:2827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:2847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -2840,7 +2860,7 @@ rm -f conftest* ...@@ -2840,7 +2860,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2844 "configure" #line 2864 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
EOF EOF
...@@ -2858,7 +2878,7 @@ fi ...@@ -2858,7 +2878,7 @@ fi
if test $ac_cv_header_stdc = yes; then if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2862 "configure" #line 2882 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
EOF EOF
...@@ -2879,7 +2899,7 @@ if test "$cross_compiling" = yes; then ...@@ -2879,7 +2899,7 @@ if test "$cross_compiling" = yes; then
: :
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2883 "configure" #line 2903 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <ctype.h> #include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...@@ -2890,7 +2910,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); ...@@ -2890,7 +2910,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); } exit (0); }
EOF EOF
if { (eval echo configure:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
: :
else else
...@@ -2914,12 +2934,12 @@ EOF ...@@ -2914,12 +2934,12 @@ EOF
fi fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:2918: checking whether time.h and sys/time.h may both be included" >&5 echo "configure:2938: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2923 "configure" #line 2943 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/time.h> #include <sys/time.h>
...@@ -2928,7 +2948,7 @@ int main() { ...@@ -2928,7 +2948,7 @@ int main() {
struct tm *tp; struct tm *tp;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_time=yes ac_cv_header_time=yes
else else
...@@ -2949,19 +2969,19 @@ EOF ...@@ -2949,19 +2969,19 @@ EOF
fi fi
echo $ac_n "checking for working stdbool.h""... $ac_c" 1>&6 echo $ac_n "checking for working stdbool.h""... $ac_c" 1>&6
echo "configure:2953: checking for working stdbool.h" >&5 echo "configure:2973: checking for working stdbool.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdbool_h'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_stdbool_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2958 "configure" #line 2978 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdbool.h> #include <stdbool.h>
int main() { int main() {
bool foo = false; bool foo = false;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:2985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_stdbool_h=yes ac_cv_header_stdbool_h=yes
else else
...@@ -2982,12 +3002,12 @@ EOF ...@@ -2982,12 +3002,12 @@ EOF
fi fi
echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6 echo $ac_n "checking whether string.h and strings.h may both be included""... $ac_c" 1>&6
echo "configure:2986: checking whether string.h and strings.h may both be included" >&5 echo "configure:3006: checking whether string.h and strings.h may both be included" >&5
if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_header_string'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 2991 "configure" #line 3011 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <string.h> #include <string.h>
#include <strings.h> #include <strings.h>
...@@ -2995,7 +3015,7 @@ int main() { ...@@ -2995,7 +3015,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:2999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_header_string=yes gcc_cv_header_string=yes
else else
...@@ -3016,12 +3036,12 @@ EOF ...@@ -3016,12 +3036,12 @@ EOF
fi fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
echo "configure:3020: checking for sys/wait.h that is POSIX.1 compatible" >&5 echo "configure:3040: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3025 "configure" #line 3045 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
...@@ -3037,7 +3057,7 @@ wait (&s); ...@@ -3037,7 +3057,7 @@ wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_header_sys_wait_h=yes ac_cv_header_sys_wait_h=yes
else else
...@@ -3064,17 +3084,17 @@ for ac_hdr in limits.h stddef.h string.h strings.h stdlib.h time.h \ ...@@ -3064,17 +3084,17 @@ for ac_hdr in limits.h stddef.h string.h strings.h stdlib.h time.h \
do do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3068: checking for $ac_hdr" >&5 echo "configure:3088: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3073 "configure" #line 3093 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <$ac_hdr> #include <$ac_hdr>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3104,17 +3124,17 @@ done ...@@ -3104,17 +3124,17 @@ done
# Check for thread headers. # Check for thread headers.
ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "thread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for thread.h""... $ac_c" 1>&6 echo $ac_n "checking for thread.h""... $ac_c" 1>&6
echo "configure:3108: checking for thread.h" >&5 echo "configure:3128: checking for thread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3113 "configure" #line 3133 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <thread.h> #include <thread.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3138,17 +3158,17 @@ fi ...@@ -3138,17 +3158,17 @@ fi
ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for pthread.h""... $ac_c" 1>&6 echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
echo "configure:3142: checking for pthread.h" >&5 echo "configure:3162: checking for pthread.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3147 "configure" #line 3167 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <pthread.h> #include <pthread.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:3172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -3173,12 +3193,12 @@ fi ...@@ -3173,12 +3193,12 @@ fi
# These tests can't be done till we know if we have limits.h. # These tests can't be done till we know if we have limits.h.
echo $ac_n "checking for CHAR_BIT""... $ac_c" 1>&6 echo $ac_n "checking for CHAR_BIT""... $ac_c" 1>&6
echo "configure:3177: checking for CHAR_BIT" >&5 echo "configure:3197: checking for CHAR_BIT" >&5
if eval "test \"`echo '$''{'gcc_cv_decl_char_bit'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_decl_char_bit'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3182 "configure" #line 3202 "configure"
#include "confdefs.h" #include "confdefs.h"
#ifdef HAVE_LIMITS_H #ifdef HAVE_LIMITS_H
#include <limits.h> #include <limits.h>
...@@ -3203,7 +3223,7 @@ fi ...@@ -3203,7 +3223,7 @@ fi
echo "$ac_t""$gcc_cv_decl_char_bit" 1>&6 echo "$ac_t""$gcc_cv_decl_char_bit" 1>&6
if test $gcc_cv_decl_char_bit = no; then if test $gcc_cv_decl_char_bit = no; then
echo $ac_n "checking number of bits in a byte""... $ac_c" 1>&6 echo $ac_n "checking number of bits in a byte""... $ac_c" 1>&6
echo "configure:3207: checking number of bits in a byte" >&5 echo "configure:3227: checking number of bits in a byte" >&5
if eval "test \"`echo '$''{'gcc_cv_c_nbby'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_c_nbby'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3211,7 +3231,7 @@ else ...@@ -3211,7 +3231,7 @@ else
gcc_cv_c_nbby= gcc_cv_c_nbby=
while test $i -lt 65; do while test $i -lt 65; do
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3215 "configure" #line 3235 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
...@@ -3221,7 +3241,7 @@ switch(0) { ...@@ -3221,7 +3241,7 @@ switch(0) {
; } ; }
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_c_nbby=$i; break gcc_cv_c_nbby=$i; break
else else
...@@ -3246,14 +3266,14 @@ EOF ...@@ -3246,14 +3266,14 @@ EOF
fi fi
fi fi
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
echo "configure:3250: checking whether byte ordering is bigendian" >&5 echo "configure:3270: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_cv_c_bigendian=unknown ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro. # See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3257 "configure" #line 3277 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
...@@ -3264,11 +3284,11 @@ int main() { ...@@ -3264,11 +3284,11 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not. # It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3272 "configure" #line 3292 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h> #include <sys/param.h>
...@@ -3279,7 +3299,7 @@ int main() { ...@@ -3279,7 +3299,7 @@ int main() {
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_c_bigendian=yes ac_cv_c_bigendian=yes
else else
...@@ -3299,7 +3319,7 @@ if test "$cross_compiling" = yes; then ...@@ -3299,7 +3319,7 @@ if test "$cross_compiling" = yes; then
echo $ac_n "cross-compiling... " 2>&6 echo $ac_n "cross-compiling... " 2>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3303 "configure" #line 3323 "configure"
#include "confdefs.h" #include "confdefs.h"
main () { main () {
/* Are we little or big endian? From Harbison&Steele. */ /* Are we little or big endian? From Harbison&Steele. */
...@@ -3312,7 +3332,7 @@ main () { ...@@ -3312,7 +3332,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1); exit (u.c[sizeof (long) - 1] == 1);
} }
EOF EOF
if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_c_bigendian=no ac_cv_c_bigendian=no
else else
...@@ -3330,7 +3350,7 @@ fi ...@@ -3330,7 +3350,7 @@ fi
echo "$ac_t""$ac_cv_c_bigendian" 1>&6 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
if test $ac_cv_c_bigendian = unknown; then if test $ac_cv_c_bigendian = unknown; then
echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6 echo $ac_n "checking to probe for byte ordering""... $ac_c" 1>&6
echo "configure:3334: checking to probe for byte ordering" >&5 echo "configure:3354: checking to probe for byte ordering" >&5
cat >conftest.c <<EOF cat >conftest.c <<EOF
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
...@@ -3410,7 +3430,7 @@ esac ...@@ -3410,7 +3430,7 @@ esac
# These libraries may be used by collect2. # These libraries may be used by collect2.
# We may need a special search path to get them linked. # We may need a special search path to get them linked.
echo $ac_n "checking for collect2 libraries""... $ac_c" 1>&6 echo $ac_n "checking for collect2 libraries""... $ac_c" 1>&6
echo "configure:3414: checking for collect2 libraries" >&5 echo "configure:3434: checking for collect2 libraries" >&5
if eval "test \"`echo '$''{'gcc_cv_collect2_libs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_collect2_libs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3421,7 +3441,7 @@ for libs in '' -lld -lmld \ ...@@ -3421,7 +3441,7 @@ for libs in '' -lld -lmld \
do do
LIBS="$libs" LIBS="$libs"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3425 "configure" #line 3445 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3432,7 +3452,7 @@ int main() { ...@@ -3432,7 +3452,7 @@ int main() {
ldopen() ldopen()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
gcc_cv_collect2_libs="$libs"; break gcc_cv_collect2_libs="$libs"; break
else else
...@@ -3458,14 +3478,14 @@ save_LIBS="$LIBS" ...@@ -3458,14 +3478,14 @@ save_LIBS="$LIBS"
LIBS= LIBS=
echo $ac_n "checking for library containing exc_resume""... $ac_c" 1>&6 echo $ac_n "checking for library containing exc_resume""... $ac_c" 1>&6
echo "configure:3462: checking for library containing exc_resume" >&5 echo "configure:3482: checking for library containing exc_resume" >&5
if eval "test \"`echo '$''{'ac_cv_search_exc_resume'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_search_exc_resume'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_func_search_save_LIBS="$LIBS" ac_func_search_save_LIBS="$LIBS"
ac_cv_search_exc_resume="no" ac_cv_search_exc_resume="no"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3469 "configure" #line 3489 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3476,7 +3496,7 @@ int main() { ...@@ -3476,7 +3496,7 @@ int main() {
exc_resume() exc_resume()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_exc_resume="none required" ac_cv_search_exc_resume="none required"
else else
...@@ -3487,7 +3507,7 @@ rm -f conftest* ...@@ -3487,7 +3507,7 @@ rm -f conftest*
test "$ac_cv_search_exc_resume" = "no" && for i in exc; do test "$ac_cv_search_exc_resume" = "no" && for i in exc; do
LIBS="-l$i $ac_func_search_save_LIBS" LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3491 "configure" #line 3511 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3498,7 +3518,7 @@ int main() { ...@@ -3498,7 +3518,7 @@ int main() {
exc_resume() exc_resume()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_exc_resume="-l$i" ac_cv_search_exc_resume="-l$i"
break break
...@@ -3528,14 +3548,14 @@ save_LIBS="$LIBS" ...@@ -3528,14 +3548,14 @@ save_LIBS="$LIBS"
LIBS= LIBS=
echo $ac_n "checking for library containing ldexp""... $ac_c" 1>&6 echo $ac_n "checking for library containing ldexp""... $ac_c" 1>&6
echo "configure:3532: checking for library containing ldexp" >&5 echo "configure:3552: checking for library containing ldexp" >&5
if eval "test \"`echo '$''{'ac_cv_search_ldexp'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_search_ldexp'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_func_search_save_LIBS="$LIBS" ac_func_search_save_LIBS="$LIBS"
ac_cv_search_ldexp="no" ac_cv_search_ldexp="no"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3539 "configure" #line 3559 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3546,7 +3566,7 @@ int main() { ...@@ -3546,7 +3566,7 @@ int main() {
ldexp() ldexp()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_ldexp="none required" ac_cv_search_ldexp="none required"
else else
...@@ -3557,7 +3577,7 @@ rm -f conftest* ...@@ -3557,7 +3577,7 @@ rm -f conftest*
test "$ac_cv_search_ldexp" = "no" && for i in m; do test "$ac_cv_search_ldexp" = "no" && for i in m; do
LIBS="-l$i $ac_func_search_save_LIBS" LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3561 "configure" #line 3581 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -3568,7 +3588,7 @@ int main() { ...@@ -3568,7 +3588,7 @@ int main() {
ldexp() ldexp()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_ldexp="-l$i" ac_cv_search_ldexp="-l$i"
break break
...@@ -3595,12 +3615,12 @@ LIBS="$save_LIBS" ...@@ -3595,12 +3615,12 @@ LIBS="$save_LIBS"
# Use <inttypes.h> only if it exists, # Use <inttypes.h> only if it exists,
# doesn't clash with <sys/types.h>, and declares intmax_t. # doesn't clash with <sys/types.h>, and declares intmax_t.
echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6 echo $ac_n "checking for inttypes.h""... $ac_c" 1>&6
echo "configure:3599: checking for inttypes.h" >&5 echo "configure:3619: checking for inttypes.h" >&5
if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_header_inttypes_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3604 "configure" #line 3624 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <inttypes.h> #include <inttypes.h>
...@@ -3608,7 +3628,7 @@ int main() { ...@@ -3608,7 +3628,7 @@ int main() {
intmax_t i = -1; intmax_t i = -1;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:3632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_header_inttypes_h=yes gcc_cv_header_inttypes_h=yes
else else
...@@ -3636,12 +3656,12 @@ for ac_func in times clock dup2 kill getrlimit setrlimit atoll atoq \ ...@@ -3636,12 +3656,12 @@ for ac_func in times clock dup2 kill getrlimit setrlimit atoll atoq \
setlocale setlocale
do do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3640: checking for $ac_func" >&5 echo "configure:3660: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3645 "configure" #line 3665 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */ which can conflict with char $ac_func(); below. */
...@@ -3664,7 +3684,7 @@ $ac_func(); ...@@ -3664,7 +3684,7 @@ $ac_func();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:3668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:3688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_$ac_func=yes" eval "ac_cv_func_$ac_func=yes"
else else
...@@ -3691,7 +3711,7 @@ done ...@@ -3691,7 +3711,7 @@ done
if test x$ac_cv_func_mbstowcs = xyes; then if test x$ac_cv_func_mbstowcs = xyes; then
echo $ac_n "checking whether mbstowcs works""... $ac_c" 1>&6 echo $ac_n "checking whether mbstowcs works""... $ac_c" 1>&6
echo "configure:3695: checking whether mbstowcs works" >&5 echo "configure:3715: checking whether mbstowcs works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mbstowcs_works'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mbstowcs_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3699,7 +3719,7 @@ else ...@@ -3699,7 +3719,7 @@ else
gcc_cv_func_mbstowcs_works=yes gcc_cv_func_mbstowcs_works=yes
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3703 "configure" #line 3723 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
int main() int main()
...@@ -3708,7 +3728,7 @@ int main() ...@@ -3708,7 +3728,7 @@ int main()
return 0; return 0;
} }
EOF EOF
if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
gcc_cv_func_mbstowcs_works=yes gcc_cv_func_mbstowcs_works=yes
else else
...@@ -3732,12 +3752,12 @@ EOF ...@@ -3732,12 +3752,12 @@ EOF
fi fi
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
echo "configure:3736: checking for ssize_t" >&5 echo "configure:3756: checking for ssize_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3741 "configure" #line 3761 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -3768,12 +3788,12 @@ fi ...@@ -3768,12 +3788,12 @@ fi
# Try to determine the array type of the second argument of getgroups # Try to determine the array type of the second argument of getgroups
# for the target system (int or gid_t). # for the target system (int or gid_t).
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
echo "configure:3772: checking for uid_t in sys/types.h" >&5 echo "configure:3792: checking for uid_t in sys/types.h" >&5
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3777 "configure" #line 3797 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
EOF EOF
...@@ -3802,7 +3822,7 @@ EOF ...@@ -3802,7 +3822,7 @@ EOF
fi fi
echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
echo "configure:3806: checking type of array argument to getgroups" >&5 echo "configure:3826: checking type of array argument to getgroups" >&5
if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3810,7 +3830,7 @@ else ...@@ -3810,7 +3830,7 @@ else
ac_cv_type_getgroups=cross ac_cv_type_getgroups=cross
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3814 "configure" #line 3834 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Thanks to Mike Rendell for this test. */ /* Thanks to Mike Rendell for this test. */
...@@ -3835,7 +3855,7 @@ main() ...@@ -3835,7 +3855,7 @@ main()
} }
EOF EOF
if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_type_getgroups=gid_t ac_cv_type_getgroups=gid_t
else else
...@@ -3849,7 +3869,7 @@ fi ...@@ -3849,7 +3869,7 @@ fi
if test $ac_cv_type_getgroups = cross; then if test $ac_cv_type_getgroups = cross; then
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3853 "configure" #line 3873 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <unistd.h> #include <unistd.h>
EOF EOF
...@@ -3890,7 +3910,7 @@ fi ...@@ -3890,7 +3910,7 @@ fi
echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6 echo $ac_n "checking whether the printf functions support %p""... $ac_c" 1>&6
echo "configure:3894: checking whether the printf functions support %p" >&5 echo "configure:3914: checking whether the printf functions support %p" >&5
if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_printf_ptr'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3898,7 +3918,7 @@ else ...@@ -3898,7 +3918,7 @@ else
gcc_cv_func_printf_ptr=no gcc_cv_func_printf_ptr=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3902 "configure" #line 3922 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdio.h> #include <stdio.h>
...@@ -3911,7 +3931,7 @@ int main() ...@@ -3911,7 +3931,7 @@ int main()
return (p != q); return (p != q);
} }
EOF EOF
if { (eval echo configure:3915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:3935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
gcc_cv_func_printf_ptr=yes gcc_cv_func_printf_ptr=yes
else else
...@@ -3941,7 +3961,7 @@ if test $ac_cv_header_sys_mman_h != yes \ ...@@ -3941,7 +3961,7 @@ if test $ac_cv_header_sys_mman_h != yes \
gcc_cv_func_mmap_anon=no gcc_cv_func_mmap_anon=no
else else
echo $ac_n "checking whether read-only mmap of a plain file works""... $ac_c" 1>&6 echo $ac_n "checking whether read-only mmap of a plain file works""... $ac_c" 1>&6
echo "configure:3945: checking whether read-only mmap of a plain file works" >&5 echo "configure:3965: checking whether read-only mmap of a plain file works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mmap_file'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mmap_file'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3960,7 +3980,7 @@ fi ...@@ -3960,7 +3980,7 @@ fi
echo "$ac_t""$gcc_cv_func_mmap_file" 1>&6 echo "$ac_t""$gcc_cv_func_mmap_file" 1>&6
echo $ac_n "checking whether mmap from /dev/zero works""... $ac_c" 1>&6 echo $ac_n "checking whether mmap from /dev/zero works""... $ac_c" 1>&6
echo "configure:3964: checking whether mmap from /dev/zero works" >&5 echo "configure:3984: checking whether mmap from /dev/zero works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mmap_dev_zero'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mmap_dev_zero'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -3986,12 +4006,12 @@ echo "$ac_t""$gcc_cv_func_mmap_dev_zero" 1>&6 ...@@ -3986,12 +4006,12 @@ echo "$ac_t""$gcc_cv_func_mmap_dev_zero" 1>&6
# Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for. # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
echo $ac_n "checking for MAP_ANON(YMOUS)""... $ac_c" 1>&6 echo $ac_n "checking for MAP_ANON(YMOUS)""... $ac_c" 1>&6
echo "configure:3990: checking for MAP_ANON(YMOUS)" >&5 echo "configure:4010: checking for MAP_ANON(YMOUS)" >&5
if eval "test \"`echo '$''{'gcc_cv_decl_map_anon'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_decl_map_anon'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3995 "configure" #line 4015 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
...@@ -4005,7 +4025,7 @@ int main() { ...@@ -4005,7 +4025,7 @@ int main() {
int n = MAP_ANONYMOUS; int n = MAP_ANONYMOUS;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_decl_map_anon=yes gcc_cv_decl_map_anon=yes
else else
...@@ -4023,7 +4043,7 @@ echo "$ac_t""$gcc_cv_decl_map_anon" 1>&6 ...@@ -4023,7 +4043,7 @@ echo "$ac_t""$gcc_cv_decl_map_anon" 1>&6
gcc_cv_func_mmap_anon=no gcc_cv_func_mmap_anon=no
else else
echo $ac_n "checking whether mmap with MAP_ANON(YMOUS) works""... $ac_c" 1>&6 echo $ac_n "checking whether mmap with MAP_ANON(YMOUS) works""... $ac_c" 1>&6
echo "configure:4027: checking whether mmap with MAP_ANON(YMOUS) works" >&5 echo "configure:4047: checking whether mmap with MAP_ANON(YMOUS) works" >&5
if eval "test \"`echo '$''{'gcc_cv_func_mmap_anon'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_func_mmap_anon'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -4073,12 +4093,12 @@ case "${host}" in ...@@ -4073,12 +4093,12 @@ case "${host}" in
;; ;;
esac esac
echo $ac_n "checking for pid_t""... $ac_c" 1>&6 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
echo "configure:4077: checking for pid_t" >&5 echo "configure:4097: checking for pid_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4082 "configure" #line 4102 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
#if STDC_HEADERS #if STDC_HEADERS
...@@ -4107,17 +4127,17 @@ fi ...@@ -4107,17 +4127,17 @@ fi
ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
echo "configure:4111: checking for vfork.h" >&5 echo "configure:4131: checking for vfork.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4116 "configure" #line 4136 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <vfork.h> #include <vfork.h>
EOF EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:4121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } { (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then if test -z "$ac_err"; then
rm -rf conftest* rm -rf conftest*
...@@ -4142,18 +4162,18 @@ else ...@@ -4142,18 +4162,18 @@ else
fi fi
echo $ac_n "checking for working vfork""... $ac_c" 1>&6 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
echo "configure:4146: checking for working vfork" >&5 echo "configure:4166: checking for working vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
if test "$cross_compiling" = yes; then if test "$cross_compiling" = yes; then
echo $ac_n "checking for vfork""... $ac_c" 1>&6 echo $ac_n "checking for vfork""... $ac_c" 1>&6
echo "configure:4152: checking for vfork" >&5 echo "configure:4172: checking for vfork" >&5
if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4157 "configure" #line 4177 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vfork(); below. */ which can conflict with char vfork(); below. */
...@@ -4176,7 +4196,7 @@ vfork(); ...@@ -4176,7 +4196,7 @@ vfork();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_vfork=yes" eval "ac_cv_func_vfork=yes"
else else
...@@ -4198,7 +4218,7 @@ fi ...@@ -4198,7 +4218,7 @@ fi
ac_cv_func_vfork_works=$ac_cv_func_vfork ac_cv_func_vfork_works=$ac_cv_func_vfork
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4202 "configure" #line 4222 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Thanks to Paul Eggert for this test. */ /* Thanks to Paul Eggert for this test. */
#include <stdio.h> #include <stdio.h>
...@@ -4293,7 +4313,7 @@ main() { ...@@ -4293,7 +4313,7 @@ main() {
} }
} }
EOF EOF
if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
ac_cv_func_vfork_works=yes ac_cv_func_vfork_works=yes
else else
...@@ -4332,7 +4352,7 @@ fi ...@@ -4332,7 +4352,7 @@ fi
echo $ac_n "checking for iconv""... $ac_c" 1>&6 echo $ac_n "checking for iconv""... $ac_c" 1>&6
echo "configure:4336: checking for iconv" >&5 echo "configure:4356: checking for iconv" >&5
if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -4340,7 +4360,7 @@ else ...@@ -4340,7 +4360,7 @@ else
am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_func_iconv="no, consider installing GNU libiconv"
am_cv_lib_iconv=no am_cv_lib_iconv=no
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4344 "configure" #line 4364 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>
...@@ -4350,7 +4370,7 @@ iconv_t cd = iconv_open("",""); ...@@ -4350,7 +4370,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd); iconv_close(cd);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
am_cv_func_iconv=yes am_cv_func_iconv=yes
else else
...@@ -4362,7 +4382,7 @@ rm -f conftest* ...@@ -4362,7 +4382,7 @@ rm -f conftest*
am_save_LIBS="$LIBS" am_save_LIBS="$LIBS"
LIBS="$LIBS $am_cv_libiconv_ldpath -liconv" LIBS="$LIBS $am_cv_libiconv_ldpath -liconv"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4366 "configure" #line 4386 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
#include <iconv.h> #include <iconv.h>
...@@ -4372,7 +4392,7 @@ iconv_t cd = iconv_open("",""); ...@@ -4372,7 +4392,7 @@ iconv_t cd = iconv_open("","");
iconv_close(cd); iconv_close(cd);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
am_cv_lib_iconv=yes am_cv_lib_iconv=yes
am_cv_func_iconv=yes am_cv_func_iconv=yes
...@@ -4393,13 +4413,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6 ...@@ -4393,13 +4413,13 @@ echo "$ac_t""$am_cv_func_iconv" 1>&6
EOF EOF
echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6 echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
echo "configure:4397: checking for iconv declaration" >&5 echo "configure:4417: checking for iconv declaration" >&5
if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4403 "configure" #line 4423 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <stdlib.h> #include <stdlib.h>
...@@ -4418,7 +4438,7 @@ int main() { ...@@ -4418,7 +4438,7 @@ int main() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
am_cv_proto_iconv_arg1="" am_cv_proto_iconv_arg1=""
else else
...@@ -4451,19 +4471,19 @@ LIBICONV_DEP= ...@@ -4451,19 +4471,19 @@ LIBICONV_DEP=
echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
echo "configure:4455: checking for LC_MESSAGES" >&5 echo "configure:4475: checking for LC_MESSAGES" >&5
if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4460 "configure" #line 4480 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <locale.h> #include <locale.h>
int main() { int main() {
return LC_MESSAGES return LC_MESSAGES
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
am_cv_val_LC_MESSAGES=yes am_cv_val_LC_MESSAGES=yes
else else
...@@ -4494,12 +4514,12 @@ for ac_func in getenv atol sbrk abort atof getcwd getwd \ ...@@ -4494,12 +4514,12 @@ for ac_func in getenv atol sbrk abort atof getcwd getwd \
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4498: checking whether $ac_func is declared" >&5 echo "configure:4518: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4503 "configure" #line 4523 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4513,7 +4533,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4513,7 +4533,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4618,12 +4638,12 @@ for ac_func in getrlimit setrlimit getrusage ...@@ -4618,12 +4638,12 @@ for ac_func in getrlimit setrlimit getrusage
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4622: checking whether $ac_func is declared" >&5 echo "configure:4642: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4627 "configure" #line 4647 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4641,7 +4661,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4641,7 +4661,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4680,7 +4700,7 @@ fi ...@@ -4680,7 +4700,7 @@ fi
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4684 "configure" #line 4704 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4693,7 +4713,7 @@ int main() { ...@@ -4693,7 +4713,7 @@ int main() {
rlim_t l = 0; rlim_t l = 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
: :
else else
echo "configure: failed program was:" >&5 echo "configure: failed program was:" >&5
...@@ -4710,12 +4730,12 @@ for ac_func in ldgetname ...@@ -4710,12 +4730,12 @@ for ac_func in ldgetname
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4714: checking whether $ac_func is declared" >&5 echo "configure:4734: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4719 "configure" #line 4739 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4733,7 +4753,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4733,7 +4753,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4769,12 +4789,12 @@ for ac_func in times ...@@ -4769,12 +4789,12 @@ for ac_func in times
do do
ac_tr_decl=HAVE_DECL_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 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 $ac_n "checking whether $ac_func is declared""... $ac_c" 1>&6
echo "configure:4773: checking whether $ac_func is declared" >&5 echo "configure:4793: checking whether $ac_func is declared" >&5
if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_have_decl_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4778 "configure" #line 4798 "configure"
#include "confdefs.h" #include "confdefs.h"
#undef $ac_tr_decl #undef $ac_tr_decl
#define $ac_tr_decl 1 #define $ac_tr_decl 1
...@@ -4792,7 +4812,7 @@ char *(*pfn) = (char *(*)) $ac_func ; ...@@ -4792,7 +4812,7 @@ char *(*pfn) = (char *(*)) $ac_func ;
#endif #endif
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
eval "gcc_cv_have_decl_$ac_func=yes" eval "gcc_cv_have_decl_$ac_func=yes"
else else
...@@ -4826,13 +4846,13 @@ fi ...@@ -4826,13 +4846,13 @@ fi
# More time-related stuff. # More time-related stuff.
echo $ac_n "checking for struct tms""... $ac_c" 1>&6 echo $ac_n "checking for struct tms""... $ac_c" 1>&6
echo "configure:4830: checking for struct tms" >&5 echo "configure:4850: checking for struct tms" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tms'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_struct_tms'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4836 "configure" #line 4856 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4845,7 +4865,7 @@ int main() { ...@@ -4845,7 +4865,7 @@ int main() {
struct tms tms; struct tms tms;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_struct_tms=yes ac_cv_struct_tms=yes
else else
...@@ -4868,13 +4888,13 @@ fi ...@@ -4868,13 +4888,13 @@ fi
# use gcc_cv_* here because this doesn't match the behavior of AC_CHECK_TYPE. # use gcc_cv_* here because this doesn't match the behavior of AC_CHECK_TYPE.
# revisit after autoconf 2.50. # revisit after autoconf 2.50.
echo $ac_n "checking for clock_t""... $ac_c" 1>&6 echo $ac_n "checking for clock_t""... $ac_c" 1>&6
echo "configure:4872: checking for clock_t" >&5 echo "configure:4892: checking for clock_t" >&5
if eval "test \"`echo '$''{'gcc_cv_type_clock_t'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_type_clock_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4878 "configure" #line 4898 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4884,7 +4904,7 @@ int main() { ...@@ -4884,7 +4904,7 @@ int main() {
clock_t x; clock_t x;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_type_clock_t=yes gcc_cv_type_clock_t=yes
else else
...@@ -4905,12 +4925,12 @@ EOF ...@@ -4905,12 +4925,12 @@ EOF
fi fi
echo $ac_n "checking for uchar""... $ac_c" 1>&6 echo $ac_n "checking for uchar""... $ac_c" 1>&6
echo "configure:4909: checking for uchar" >&5 echo "configure:4929: checking for uchar" >&5
if eval "test \"`echo '$''{'gcc_cv_type_uchar'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_type_uchar'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4914 "configure" #line 4934 "configure"
#include "confdefs.h" #include "confdefs.h"
#include "ansidecl.h" #include "ansidecl.h"
...@@ -4921,7 +4941,7 @@ if ((uchar *)0) return 0; ...@@ -4921,7 +4941,7 @@ if ((uchar *)0) return 0;
if (sizeof(uchar)) return 0; if (sizeof(uchar)) return 0;
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:4945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
ac_cv_type_uchar=yes ac_cv_type_uchar=yes
else else
...@@ -4951,7 +4971,7 @@ if test "${enable_initfini_array+set}" = set; then ...@@ -4951,7 +4971,7 @@ if test "${enable_initfini_array+set}" = set; then
else else
echo $ac_n "checking for .preinit_array/.init_array/.fini_array support""... $ac_c" 1>&6 echo $ac_n "checking for .preinit_array/.init_array/.fini_array support""... $ac_c" 1>&6
echo "configure:4955: checking for .preinit_array/.init_array/.fini_array support" >&5 echo "configure:4975: checking for .preinit_array/.init_array/.fini_array support" >&5
if eval "test \"`echo '$''{'gcc_cv_initfini_array'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_initfini_array'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -4959,7 +4979,7 @@ else ...@@ -4959,7 +4979,7 @@ else
gcc_cv_initfini_array=no gcc_cv_initfini_array=no
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4963 "configure" #line 4983 "configure"
#include "confdefs.h" #include "confdefs.h"
static int x = -1; static int x = -1;
...@@ -4967,7 +4987,7 @@ int main (void) { return x; } ...@@ -4967,7 +4987,7 @@ int main (void) { return x; }
int foo (void) { x = 0; } int foo (void) { x = 0; }
int (*fp) (void) __attribute__ ((section (".init_array"))) = foo; int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
EOF EOF
if { (eval echo configure:4971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null if { (eval echo configure:4991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then then
gcc_cv_initfini_array=yes gcc_cv_initfini_array=yes
else else
...@@ -4995,12 +5015,12 @@ fi ...@@ -4995,12 +5015,12 @@ fi
# mkdir takes a single argument on some systems. # mkdir takes a single argument on some systems.
echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6 echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6
echo "configure:4999: checking if mkdir takes one argument" >&5 echo "configure:5019: checking if mkdir takes one argument" >&5
if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5004 "configure" #line 5024 "configure"
#include "confdefs.h" #include "confdefs.h"
#include <sys/types.h> #include <sys/types.h>
...@@ -5017,7 +5037,7 @@ int main() { ...@@ -5017,7 +5037,7 @@ int main() {
mkdir ("foo", 0); mkdir ("foo", 0);
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:5041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest* rm -rf conftest*
gcc_cv_mkdir_takes_one_arg=no gcc_cv_mkdir_takes_one_arg=no
else else
...@@ -5058,7 +5078,7 @@ fi ...@@ -5058,7 +5078,7 @@ fi
if test x$host = x$target; then if test x$host = x$target; then
echo $ac_n "checking for main in -lunwind""... $ac_c" 1>&6 echo $ac_n "checking for main in -lunwind""... $ac_c" 1>&6
echo "configure:5062: checking for main in -lunwind" >&5 echo "configure:5082: checking for main in -lunwind" >&5
ac_lib_var=`echo unwind'_'main | sed 'y%./+-%__p_%'` ac_lib_var=`echo unwind'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
...@@ -5066,14 +5086,14 @@ else ...@@ -5066,14 +5086,14 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lunwind $LIBS" LIBS="-lunwind $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5070 "configure" #line 5090 "configure"
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
main() main()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
...@@ -5387,7 +5407,7 @@ if test -f ../intl/config.intl; then ...@@ -5387,7 +5407,7 @@ if test -f ../intl/config.intl; then
. ../intl/config.intl . ../intl/config.intl
fi fi
echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
echo "configure:5391: checking whether NLS is requested" >&5 echo "configure:5411: checking whether NLS is requested" >&5
if test x"$USE_NLS" != xyes; then if test x"$USE_NLS" != xyes; then
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
else else
...@@ -5398,7 +5418,7 @@ EOF ...@@ -5398,7 +5418,7 @@ EOF
echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
echo "configure:5402: checking for catalogs to be installed" >&5 echo "configure:5422: checking for catalogs to be installed" >&5
# Look for .po and .gmo files in the source directory. # Look for .po and .gmo files in the source directory.
CATALOGS= CATALOGS=
XLINGUAS= XLINGUAS=
...@@ -5448,7 +5468,7 @@ fi ...@@ -5448,7 +5468,7 @@ fi
case $host_os in case $host_os in
win32 | pe | cygwin* | mingw32* | uwin*) win32 | pe | cygwin* | mingw32* | uwin*)
echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6 echo $ac_n "checking whether windows registry support is requested""... $ac_c" 1>&6
echo "configure:5452: checking whether windows registry support is requested" >&5 echo "configure:5472: checking whether windows registry support is requested" >&5
if test "x$enable_win32_registry" != xno; then if test "x$enable_win32_registry" != xno; then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define ENABLE_WIN32_REGISTRY 1 #define ENABLE_WIN32_REGISTRY 1
...@@ -5457,14 +5477,14 @@ EOF ...@@ -5457,14 +5477,14 @@ EOF
echo "$ac_t""yes" 1>&6 echo "$ac_t""yes" 1>&6
echo $ac_n "checking for library containing RegOpenKeyExA""... $ac_c" 1>&6 echo $ac_n "checking for library containing RegOpenKeyExA""... $ac_c" 1>&6
echo "configure:5461: checking for library containing RegOpenKeyExA" >&5 echo "configure:5481: checking for library containing RegOpenKeyExA" >&5
if eval "test \"`echo '$''{'ac_cv_search_RegOpenKeyExA'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_search_RegOpenKeyExA'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
ac_func_search_save_LIBS="$LIBS" ac_func_search_save_LIBS="$LIBS"
ac_cv_search_RegOpenKeyExA="no" ac_cv_search_RegOpenKeyExA="no"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5468 "configure" #line 5488 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -5475,7 +5495,7 @@ int main() { ...@@ -5475,7 +5495,7 @@ int main() {
RegOpenKeyExA() RegOpenKeyExA()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_RegOpenKeyExA="none required" ac_cv_search_RegOpenKeyExA="none required"
else else
...@@ -5486,7 +5506,7 @@ rm -f conftest* ...@@ -5486,7 +5506,7 @@ rm -f conftest*
test "$ac_cv_search_RegOpenKeyExA" = "no" && for i in advapi32; do test "$ac_cv_search_RegOpenKeyExA" = "no" && for i in advapi32; do
LIBS="-l$i $ac_func_search_save_LIBS" LIBS="-l$i $ac_func_search_save_LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5490 "configure" #line 5510 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
...@@ -5497,7 +5517,7 @@ int main() { ...@@ -5497,7 +5517,7 @@ int main() {
RegOpenKeyExA() RegOpenKeyExA()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:5501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then if { (eval echo configure:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest* rm -rf conftest*
ac_cv_search_RegOpenKeyExA="-l$i" ac_cv_search_RegOpenKeyExA="-l$i"
break break
...@@ -5539,7 +5559,7 @@ esac ...@@ -5539,7 +5559,7 @@ esac
if test "x$enable_win32_registry" != xno; then if test "x$enable_win32_registry" != xno; then
echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6 echo $ac_n "checking registry key on windows hosts""... $ac_c" 1>&6
echo "configure:5543: checking registry key on windows hosts" >&5 echo "configure:5563: checking registry key on windows hosts" >&5
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key" #define WIN32_REGISTRY_KEY "$gcc_cv_win32_registry_key"
EOF EOF
...@@ -5803,7 +5823,7 @@ esac ...@@ -5803,7 +5823,7 @@ esac
# build->target assembler and hope that it will have the same features # build->target assembler and hope that it will have the same features
# as the host->target assembler we'll be using. # as the host->target assembler we'll be using.
echo $ac_n "checking what assembler to use""... $ac_c" 1>&6 echo $ac_n "checking what assembler to use""... $ac_c" 1>&6
echo "configure:5807: checking what assembler to use" >&5 echo "configure:5827: checking what assembler to use" >&5
in_tree_gas=no in_tree_gas=no
gcc_cv_as= gcc_cv_as=
gcc_cv_gas_major_version= gcc_cv_gas_major_version=
...@@ -5927,7 +5947,7 @@ esac ...@@ -5927,7 +5947,7 @@ esac
# build->target linker and hope that it will have the same features # build->target linker and hope that it will have the same features
# as the host->target linker we'll be using. # as the host->target linker we'll be using.
echo $ac_n "checking what linker to use""... $ac_c" 1>&6 echo $ac_n "checking what linker to use""... $ac_c" 1>&6
echo "configure:5931: checking what linker to use" >&5 echo "configure:5951: checking what linker to use" >&5
in_tree_ld=no in_tree_ld=no
gcc_cv_ld= gcc_cv_ld=
gcc_cv_gld_major_version= gcc_cv_gld_major_version=
...@@ -6035,7 +6055,7 @@ esac ...@@ -6035,7 +6055,7 @@ esac
# Figure out what nm we will be using. # Figure out what nm we will be using.
gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils gcc_cv_binutils_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/binutils
echo $ac_n "checking what nm to use""... $ac_c" 1>&6 echo $ac_n "checking what nm to use""... $ac_c" 1>&6
echo "configure:6039: checking what nm to use" >&5 echo "configure:6059: checking what nm to use" >&5
in_tree_nm=no in_tree_nm=no
if test -x nm$host_exeext; then if test -x nm$host_exeext; then
gcc_cv_nm=./nm$host_exeext gcc_cv_nm=./nm$host_exeext
...@@ -6058,7 +6078,7 @@ esac ...@@ -6058,7 +6078,7 @@ esac
# Figure out what objdump we will be using. # Figure out what objdump we will be using.
echo $ac_n "checking what objdump to use""... $ac_c" 1>&6 echo $ac_n "checking what objdump to use""... $ac_c" 1>&6
echo "configure:6062: checking what objdump to use" >&5 echo "configure:6082: checking what objdump to use" >&5
in_tree_objdump=no in_tree_objdump=no
if test -x objdump$host_exeext; then if test -x objdump$host_exeext; then
gcc_cv_objdump=./objdump$host_exeext gcc_cv_objdump=./objdump$host_exeext
...@@ -6083,7 +6103,7 @@ esac ...@@ -6083,7 +6103,7 @@ esac
# Figure out what assembler alignment features are present. # Figure out what assembler alignment features are present.
echo $ac_n "checking assembler for .balign and .p2align""... $ac_c" 1>&6 echo $ac_n "checking assembler for .balign and .p2align""... $ac_c" 1>&6
echo "configure:6087: checking assembler for .balign and .p2align" >&5 echo "configure:6107: checking assembler for .balign and .p2align" >&5
if eval "test \"`echo '$''{'gcc_cv_as_balign_and_p2align'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_balign_and_p2align'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6095,7 +6115,7 @@ fi ...@@ -6095,7 +6115,7 @@ fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo '.balign 4 echo '.balign 4
.p2align 2' > conftest.s .p2align 2' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_balign_and_p2align=yes gcc_cv_as_balign_and_p2align=yes
else else
...@@ -6115,7 +6135,7 @@ EOF ...@@ -6115,7 +6135,7 @@ EOF
fi fi
echo $ac_n "checking assembler for .p2align with maximum skip""... $ac_c" 1>&6 echo $ac_n "checking assembler for .p2align with maximum skip""... $ac_c" 1>&6
echo "configure:6119: checking assembler for .p2align with maximum skip" >&5 echo "configure:6139: checking assembler for .p2align with maximum skip" >&5
if eval "test \"`echo '$''{'gcc_cv_as_max_skip_p2align'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_max_skip_p2align'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6126,7 +6146,7 @@ else ...@@ -6126,7 +6146,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo '.p2align 4,,7' > conftest.s echo '.p2align 4,,7' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_max_skip_p2align=yes gcc_cv_as_max_skip_p2align=yes
else else
...@@ -6146,7 +6166,7 @@ EOF ...@@ -6146,7 +6166,7 @@ EOF
fi fi
echo $ac_n "checking assembler for working .subsection -1""... $ac_c" 1>&6 echo $ac_n "checking assembler for working .subsection -1""... $ac_c" 1>&6
echo "configure:6150: checking assembler for working .subsection -1" >&5 echo "configure:6170: checking assembler for working .subsection -1" >&5
if eval "test \"`echo '$''{'gcc_cv_as_subsection_m1'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_subsection_m1'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6161,7 +6181,7 @@ fi ...@@ -6161,7 +6181,7 @@ fi
.subsection -1 .subsection -1
conftest_label2: .word 0 conftest_label2: .word 0
.previous' > conftest.s .previous' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_nm != x; then if test x$gcc_cv_nm != x; then
$gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1 $gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1
...@@ -6189,7 +6209,7 @@ EOF ...@@ -6189,7 +6209,7 @@ EOF
fi fi
echo $ac_n "checking assembler for .weak""... $ac_c" 1>&6 echo $ac_n "checking assembler for .weak""... $ac_c" 1>&6
echo "configure:6193: checking assembler for .weak" >&5 echo "configure:6213: checking assembler for .weak" >&5
if eval "test \"`echo '$''{'gcc_cv_as_weak'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_weak'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6200,7 +6220,7 @@ else ...@@ -6200,7 +6220,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo ' .weak foobar' > conftest.s echo ' .weak foobar' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_weak=yes gcc_cv_as_weak=yes
else else
...@@ -6227,7 +6247,7 @@ fi ...@@ -6227,7 +6247,7 @@ fi
# to be safe. # to be safe.
# The gcc_GAS_CHECK_FEATURE call just sets a cache variable. # The gcc_GAS_CHECK_FEATURE call just sets a cache variable.
echo $ac_n "checking assembler for .hidden""... $ac_c" 1>&6 echo $ac_n "checking assembler for .hidden""... $ac_c" 1>&6
echo "configure:6231: checking assembler for .hidden" >&5 echo "configure:6251: checking assembler for .hidden" >&5
if eval "test \"`echo '$''{'gcc_cv_as_hidden'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_hidden'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6240,7 +6260,7 @@ fi ...@@ -6240,7 +6260,7 @@ fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo ' .hidden foobar echo ' .hidden foobar
foobar:' > conftest.s foobar:' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_hidden=yes gcc_cv_as_hidden=yes
else else
...@@ -6255,7 +6275,7 @@ echo "$ac_t""$gcc_cv_as_hidden" 1>&6 ...@@ -6255,7 +6275,7 @@ echo "$ac_t""$gcc_cv_as_hidden" 1>&6
echo $ac_n "checking linker for .hidden support""... $ac_c" 1>&6 echo $ac_n "checking linker for .hidden support""... $ac_c" 1>&6
echo "configure:6259: checking linker for .hidden support" >&5 echo "configure:6279: checking linker for .hidden support" >&5
if eval "test \"`echo '$''{'gcc_cv_ld_hidden'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_ld_hidden'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6318,7 +6338,7 @@ fi ...@@ -6318,7 +6338,7 @@ fi
# Check if we have .[us]leb128, and support symbol arithmetic with it. # Check if we have .[us]leb128, and support symbol arithmetic with it.
echo $ac_n "checking assembler for .sleb128 and .uleb128""... $ac_c" 1>&6 echo $ac_n "checking assembler for .sleb128 and .uleb128""... $ac_c" 1>&6
echo "configure:6322: checking assembler for .sleb128 and .uleb128" >&5 echo "configure:6342: checking assembler for .sleb128 and .uleb128" >&5
if eval "test \"`echo '$''{'gcc_cv_as_leb128'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_leb128'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6335,7 +6355,7 @@ L1: ...@@ -6335,7 +6355,7 @@ L1:
.uleb128 1280 .uleb128 1280
.sleb128 -1010 .sleb128 -1010
L2:' > conftest.s L2:' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# GAS versions before 2.11 do not support uleb128, # GAS versions before 2.11 do not support uleb128,
# despite appearing to. # despite appearing to.
...@@ -6371,7 +6391,7 @@ fi ...@@ -6371,7 +6391,7 @@ fi
# GAS versions up to and including 2.11.0 may mis-optimize # GAS versions up to and including 2.11.0 may mis-optimize
# .eh_frame data. # .eh_frame data.
echo $ac_n "checking assembler for eh_frame optimization""... $ac_c" 1>&6 echo $ac_n "checking assembler for eh_frame optimization""... $ac_c" 1>&6
echo "configure:6375: checking assembler for eh_frame optimization" >&5 echo "configure:6395: checking assembler for eh_frame optimization" >&5
if eval "test \"`echo '$''{'gcc_cv_as_eh_frame'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_eh_frame'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6414,7 +6434,7 @@ __FRAME_BEGIN__: ...@@ -6414,7 +6434,7 @@ __FRAME_BEGIN__:
.byte 0x4 .byte 0x4
.4byte .L1-.LFB1 .4byte .L1-.LFB1
.LEFDE1:' > conftest.s .LEFDE1:' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
cat > conftest.lit <<EOF cat > conftest.lit <<EOF
0000 10000000 00000000 017a0001 781a0004 .........z..x... 0000 10000000 00000000 017a0001 781a0004 .........z..x...
...@@ -6435,7 +6455,7 @@ EOF ...@@ -6435,7 +6455,7 @@ EOF
|| cmp conftest.big conftest.got > /dev/null 2>&1; } || cmp conftest.big conftest.got > /dev/null 2>&1; }
then then
gcc_cv_as_eh_frame=yes gcc_cv_as_eh_frame=yes
elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'; { (eval echo configure:6439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then elif { ac_try='$gcc_cv_as -o conftest.o --traditional-format /dev/null'; { (eval echo configure:6459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
gcc_cv_as_eh_frame=buggy gcc_cv_as_eh_frame=buggy
else else
# Uh oh, what do we do now? # Uh oh, what do we do now?
...@@ -6460,7 +6480,7 @@ EOF ...@@ -6460,7 +6480,7 @@ EOF
fi fi
echo $ac_n "checking assembler for section merging support""... $ac_c" 1>&6 echo $ac_n "checking assembler for section merging support""... $ac_c" 1>&6
echo "configure:6464: checking assembler for section merging support" >&5 echo "configure:6484: checking assembler for section merging support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_shf_merge'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_shf_merge'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6472,7 +6492,7 @@ else ...@@ -6472,7 +6492,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo '.section .rodata.str, "aMS", @progbits, 1' > conftest.s echo '.section .rodata.str, "aMS", @progbits, 1' > conftest.s
if { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_shf_merge=yes gcc_cv_as_shf_merge=yes
else else
...@@ -6710,7 +6730,7 @@ if test -z "$tls_first_major"; then ...@@ -6710,7 +6730,7 @@ if test -z "$tls_first_major"; then
: # If we don't have a check, assume no support. : # If we don't have a check, assume no support.
else else
echo $ac_n "checking assembler for thread-local storage support""... $ac_c" 1>&6 echo $ac_n "checking assembler for thread-local storage support""... $ac_c" 1>&6
echo "configure:6714: checking assembler for thread-local storage support" >&5 echo "configure:6734: checking assembler for thread-local storage support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_tls'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_tls'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6721,7 +6741,7 @@ else ...@@ -6721,7 +6741,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as $tls_as_opt --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as $tls_as_opt --fatal-warnings -o conftest.o conftest.s >&5'; { (eval echo configure:6745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_tls=yes gcc_cv_as_tls=yes
else else
...@@ -6747,7 +6767,7 @@ case "$target" in ...@@ -6747,7 +6767,7 @@ case "$target" in
# All TARGET_ABI_OSF targets. # All TARGET_ABI_OSF targets.
alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*) alpha*-*-osf* | alpha*-*-linux* | alpha*-*-*bsd*)
echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6 echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6
echo "configure:6751: checking assembler for explicit relocation support" >&5 echo "configure:6771: checking assembler for explicit relocation support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_alpha_explicit_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_alpha_explicit_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6770,7 +6790,7 @@ fi ...@@ -6770,7 +6790,7 @@ fi
ldah $1, d($29) !gprelhigh ldah $1, d($29) !gprelhigh
lda $1, d($1) !gprellow lda $1, d($1) !gprellow
lda $29, 0($29) !gpdisp!3' > conftest.s lda $29, 0($29) !gpdisp!3' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_alpha_explicit_relocs=yes gcc_cv_as_alpha_explicit_relocs=yes
else else
...@@ -6792,14 +6812,14 @@ fi ...@@ -6792,14 +6812,14 @@ fi
sparc*-*-*) sparc*-*-*)
echo $ac_n "checking assembler for .register""... $ac_c" 1>&6 echo $ac_n "checking assembler for .register""... $ac_c" 1>&6
echo "configure:6796: checking assembler for .register" >&5 echo "configure:6816: checking assembler for .register" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_register_op'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_register_op'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
gcc_cv_as_sparc_register_op=no gcc_cv_as_sparc_register_op=no
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo '.register %g2, #scratch' > conftest.s echo '.register %g2, #scratch' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_sparc_register_op=yes gcc_cv_as_sparc_register_op=yes
else else
...@@ -6819,14 +6839,14 @@ EOF ...@@ -6819,14 +6839,14 @@ EOF
fi fi
echo $ac_n "checking assembler for -relax option""... $ac_c" 1>&6 echo $ac_n "checking assembler for -relax option""... $ac_c" 1>&6
echo "configure:6823: checking assembler for -relax option" >&5 echo "configure:6843: checking assembler for -relax option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_relax'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_relax'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
gcc_cv_as_sparc_relax=no gcc_cv_as_sparc_relax=no
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo '.text' > conftest.s echo '.text' > conftest.s
if { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'; { (eval echo configure:6830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -relax -o conftest.o conftest.s >&5'; { (eval echo configure:6850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_sparc_relax=yes gcc_cv_as_sparc_relax=yes
else else
...@@ -6846,7 +6866,7 @@ EOF ...@@ -6846,7 +6866,7 @@ EOF
fi fi
echo $ac_n "checking assembler for unaligned pcrel relocs""... $ac_c" 1>&6 echo $ac_n "checking assembler for unaligned pcrel relocs""... $ac_c" 1>&6
echo "configure:6850: checking assembler for unaligned pcrel relocs" >&5 echo "configure:6870: checking assembler for unaligned pcrel relocs" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6859,7 +6879,7 @@ foo: ...@@ -6859,7 +6879,7 @@ foo:
.align 4 .align 4
.byte 0 .byte 0
.uaword %r_disp32(foo)' > conftest.s .uaword %r_disp32(foo)' > conftest.s
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_ld != x \ if test x$gcc_cv_ld != x \
&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1; then
...@@ -6882,7 +6902,7 @@ EOF ...@@ -6882,7 +6902,7 @@ EOF
echo $ac_n "checking assembler for unaligned pcrel relocs against hidden symbols""... $ac_c" 1>&6 echo $ac_n "checking assembler for unaligned pcrel relocs against hidden symbols""... $ac_c" 1>&6
echo "configure:6886: checking assembler for unaligned pcrel relocs against hidden symbols" >&5 echo "configure:6906: checking assembler for unaligned pcrel relocs against hidden symbols" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_ua_pcrel_hidden'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6897,7 +6917,7 @@ else ...@@ -6897,7 +6917,7 @@ else
.hidden foo .hidden foo
foo: foo:
.skip 4' > conftest.s .skip 4' > conftest.s
if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -K PIC -o conftest.o conftest.s >&5'; { (eval echo configure:6921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_ld != x && test x$gcc_cv_objdump != x \ if test x$gcc_cv_ld != x && test x$gcc_cv_objdump != x \
&& $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1 \ && $gcc_cv_ld -o conftest conftest.o -G > /dev/null 2>&1 \
...@@ -6930,7 +6950,7 @@ fi ...@@ -6930,7 +6950,7 @@ fi
fi # unaligned pcrel relocs fi # unaligned pcrel relocs
echo $ac_n "checking assembler for offsetable %lo()""... $ac_c" 1>&6 echo $ac_n "checking assembler for offsetable %lo()""... $ac_c" 1>&6
echo "configure:6934: checking assembler for offsetable %lo()" >&5 echo "configure:6954: checking assembler for offsetable %lo()" >&5
if eval "test \"`echo '$''{'gcc_cv_as_sparc_offsetable_lo10'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_sparc_offsetable_lo10'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6939,7 +6959,7 @@ else ...@@ -6939,7 +6959,7 @@ else
echo '.text echo '.text
or %g1, %lo(ab) + 12, %g1 or %g1, %lo(ab) + 12, %g1
or %g1, %lo(ab + 12), %g1' > conftest.s or %g1, %lo(ab + 12), %g1' > conftest.s
if { ac_try='$gcc_cv_as -xarch=v9 -o conftest.o conftest.s >&5'; { (eval echo configure:6943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -xarch=v9 -o conftest.o conftest.s >&5'; { (eval echo configure:6963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
if test x$gcc_cv_objdump != x \ if test x$gcc_cv_objdump != x \
&& %gcc_cv_objdump -s -j .text conftest.o 2> /dev/null \ && %gcc_cv_objdump -s -j .text conftest.o 2> /dev/null \
...@@ -6965,7 +6985,7 @@ fi ...@@ -6965,7 +6985,7 @@ fi
i[34567]86-*-* | x86_64-*-*) i[34567]86-*-* | x86_64-*-*)
echo $ac_n "checking assembler for filds and fists mnemonics""... $ac_c" 1>&6 echo $ac_n "checking assembler for filds and fists mnemonics""... $ac_c" 1>&6
echo "configure:6969: checking assembler for filds and fists mnemonics" >&5 echo "configure:6989: checking assembler for filds and fists mnemonics" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ix86_filds_fists'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ix86_filds_fists'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -6976,7 +6996,7 @@ else ...@@ -6976,7 +6996,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo 'filds mem; fists mem' > conftest.s echo 'filds mem; fists mem' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:6980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ix86_filds_fists=yes gcc_cv_as_ix86_filds_fists=yes
else else
...@@ -6996,14 +7016,14 @@ EOF ...@@ -6996,14 +7016,14 @@ EOF
fi fi
echo $ac_n "checking assembler for cmov syntax""... $ac_c" 1>&6 echo $ac_n "checking assembler for cmov syntax""... $ac_c" 1>&6
echo "configure:7000: checking assembler for cmov syntax" >&5 echo "configure:7020: checking assembler for cmov syntax" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ix86_cmov_sun_syntax'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ix86_cmov_sun_syntax'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
gcc_cv_as_ix86_cmov_sun_syntax=no gcc_cv_as_ix86_cmov_sun_syntax=no
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo 'cmovl.l %edx, %eax' > conftest.s echo 'cmovl.l %edx, %eax' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ix86_cmov_sun_syntax=yes gcc_cv_as_ix86_cmov_sun_syntax=yes
else else
...@@ -7025,7 +7045,7 @@ fi ...@@ -7025,7 +7045,7 @@ fi
# This one is used unconditionally by i386.[ch]; it is to be defined # This one is used unconditionally by i386.[ch]; it is to be defined
# to 1 if the feature is present, 0 otherwise. # to 1 if the feature is present, 0 otherwise.
echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6 echo $ac_n "checking assembler for GOTOFF in data""... $ac_c" 1>&6
echo "configure:7029: checking assembler for GOTOFF in data" >&5 echo "configure:7049: checking assembler for GOTOFF in data" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ix86_gotoff_in_data'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7040,7 +7060,7 @@ fi ...@@ -7040,7 +7060,7 @@ fi
nop nop
.data .data
.long .L0@GOTOFF' > conftest.s .long .L0@GOTOFF' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ix86_gotoff_in_data=yes gcc_cv_as_ix86_gotoff_in_data=yes
else else
...@@ -7061,7 +7081,7 @@ EOF ...@@ -7061,7 +7081,7 @@ EOF
ia64*-*-*) ia64*-*-*)
echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6 echo $ac_n "checking assembler for ltoffx and ldxmov relocs""... $ac_c" 1>&6
echo "configure:7065: checking assembler for ltoffx and ldxmov relocs" >&5 echo "configure:7085: checking assembler for ltoffx and ldxmov relocs" >&5
if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_ia64_ltoffx_ldxmov_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7075,7 +7095,7 @@ fi ...@@ -7075,7 +7095,7 @@ fi
addl r15 = @ltoffx(x#), gp addl r15 = @ltoffx(x#), gp
;; ;;
ld8.mov r16 = [r15], x#' > conftest.s ld8.mov r16 = [r15], x#' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yes gcc_cv_as_ia64_ltoffx_ldxmov_relocs=yes
else else
...@@ -7105,7 +7125,7 @@ fi ...@@ -7105,7 +7125,7 @@ fi
mfcr 3,128" mfcr 3,128"
echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6 echo $ac_n "checking assembler for mfcr field support""... $ac_c" 1>&6
echo "configure:7109: checking assembler for mfcr field support" >&5 echo "configure:7129: checking assembler for mfcr field support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_powerpc_mfcrf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7116,7 +7136,7 @@ else ...@@ -7116,7 +7136,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_powerpc_mfcrf=yes gcc_cv_as_powerpc_mfcrf=yes
else else
...@@ -7138,7 +7158,7 @@ fi ...@@ -7138,7 +7158,7 @@ fi
mips*-*-*) mips*-*-*)
echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6 echo $ac_n "checking assembler for explicit relocation support""... $ac_c" 1>&6
echo "configure:7142: checking assembler for explicit relocation support" >&5 echo "configure:7162: checking assembler for explicit relocation support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_mips_explicit_relocs'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7149,7 +7169,7 @@ else ...@@ -7149,7 +7169,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo ' lw $4,%gp_rel(foo)($4)' > conftest.s echo ' lw $4,%gp_rel(foo)($4)' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_mips_explicit_relocs=yes gcc_cv_as_mips_explicit_relocs=yes
else else
...@@ -7195,7 +7215,7 @@ if test x"$insn" != x; then ...@@ -7195,7 +7215,7 @@ if test x"$insn" != x; then
.loc 1 3 0 .loc 1 3 0
$insn" $insn"
echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6 echo $ac_n "checking assembler for dwarf2 debug_line support""... $ac_c" 1>&6
echo "configure:7199: checking assembler for dwarf2 debug_line support" >&5 echo "configure:7219: checking assembler for dwarf2 debug_line support" >&5
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_debug_line'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7207,7 +7227,7 @@ else ...@@ -7207,7 +7227,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$conftest_s" > conftest.s echo "$conftest_s" > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# ??? This fails with non-gnu grep. Maybe use objdump? # ??? This fails with non-gnu grep. Maybe use objdump?
if grep debug_line conftest.o > /dev/null 2>&1; then if grep debug_line conftest.o > /dev/null 2>&1; then
...@@ -7229,7 +7249,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6 ...@@ -7229,7 +7249,7 @@ echo "$ac_t""$gcc_cv_as_dwarf2_debug_line" 1>&6
# by DW_AT_decl_file. Approximate this test by testing if # by DW_AT_decl_file. Approximate this test by testing if
# the assembler bitches if the same index is assigned twice. # the assembler bitches if the same index is assigned twice.
echo $ac_n "checking assembler for buggy dwarf2 .file directive""... $ac_c" 1>&6 echo $ac_n "checking assembler for buggy dwarf2 .file directive""... $ac_c" 1>&6
echo "configure:7233: checking assembler for buggy dwarf2 .file directive" >&5 echo "configure:7253: checking assembler for buggy dwarf2 .file directive" >&5
if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_dwarf2_file_buggy'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7237,7 +7257,7 @@ else ...@@ -7237,7 +7257,7 @@ else
if test x$gcc_cv_as != x; then if test x$gcc_cv_as != x; then
echo ' .file 1 "foo.s" echo ' .file 1 "foo.s"
.file 1 "bar.s"' > conftest.s .file 1 "bar.s"' > conftest.s
if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as -o conftest.o conftest.s >&5'; { (eval echo configure:7261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_dwarf2_file_buggy=yes gcc_cv_as_dwarf2_file_buggy=yes
else else
...@@ -7260,7 +7280,7 @@ EOF ...@@ -7260,7 +7280,7 @@ EOF
fi fi
echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6 echo $ac_n "checking assembler for --gdwarf2 option""... $ac_c" 1>&6
echo "configure:7264: checking assembler for --gdwarf2 option" >&5 echo "configure:7284: checking assembler for --gdwarf2 option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_gdwarf2_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7272,7 +7292,7 @@ else ...@@ -7272,7 +7292,7 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$insn" > conftest.s echo "$insn" > conftest.s
if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as --gdwarf2 -o conftest.o conftest.s >&5'; { (eval echo configure:7296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
gcc_cv_as_gdwarf2_flag=yes gcc_cv_as_gdwarf2_flag=yes
else else
...@@ -7292,7 +7312,7 @@ EOF ...@@ -7292,7 +7312,7 @@ EOF
fi fi
echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6 echo $ac_n "checking assembler for --gstabs option""... $ac_c" 1>&6
echo "configure:7296: checking assembler for --gstabs option" >&5 echo "configure:7316: checking assembler for --gstabs option" >&5
if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then if eval "test \"`echo '$''{'gcc_cv_as_gstabs_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -7304,12 +7324,12 @@ else ...@@ -7304,12 +7324,12 @@ else
fi fi
elif test x$gcc_cv_as != x; then elif test x$gcc_cv_as != x; then
echo "$insn" > conftest.s echo "$insn" > conftest.s
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s >&5'; { (eval echo configure:7328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then then
# The native Solaris 9/Intel assembler doesn't understand --gstabs # The native Solaris 9/Intel assembler doesn't understand --gstabs
# and warns about it, but still exits successfully. So check for # and warns about it, but still exits successfully. So check for
# this. # this.
if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } if { ac_try='$gcc_cv_as --gstabs -o conftest.o conftest.s 2>&1 | grep -i warning > /dev/null'; { (eval echo configure:7333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }
then : then :
else gcc_cv_as_gstabs_flag=yes else gcc_cv_as_gstabs_flag=yes
fi fi
...@@ -7331,7 +7351,7 @@ fi ...@@ -7331,7 +7351,7 @@ fi
fi fi
echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6 echo $ac_n "checking linker read-only and read-write section mixing""... $ac_c" 1>&6
echo "configure:7335: checking linker read-only and read-write section mixing" >&5 echo "configure:7355: checking linker read-only and read-write section mixing" >&5
gcc_cv_ld_ro_rw_mix=unknown gcc_cv_ld_ro_rw_mix=unknown
if test $in_tree_ld = yes ; then if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 \ if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2 \
...@@ -7370,7 +7390,7 @@ fi ...@@ -7370,7 +7390,7 @@ fi
echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6 echo "$ac_t""$gcc_cv_ld_ro_rw_mix" 1>&6
echo $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6 echo $ac_n "checking linker PT_GNU_EH_FRAME support""... $ac_c" 1>&6
echo "configure:7374: checking linker PT_GNU_EH_FRAME support" >&5 echo "configure:7394: checking linker PT_GNU_EH_FRAME support" >&5
gcc_cv_ld_eh_frame_hdr=no gcc_cv_ld_eh_frame_hdr=no
if test $in_tree_ld = yes ; then if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 \ if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 12 -o "$gcc_cv_gld_major_version" -gt 2 \
...@@ -7392,7 +7412,7 @@ fi ...@@ -7392,7 +7412,7 @@ fi
echo "$ac_t""$gcc_cv_ld_eh_frame_hdr" 1>&6 echo "$ac_t""$gcc_cv_ld_eh_frame_hdr" 1>&6
echo $ac_n "checking linker position independent executable support""... $ac_c" 1>&6 echo $ac_n "checking linker position independent executable support""... $ac_c" 1>&6
echo "configure:7396: checking linker position independent executable support" >&5 echo "configure:7416: checking linker position independent executable support" >&5
gcc_cv_ld_pie=no gcc_cv_ld_pie=no
if test $in_tree_ld = yes ; then if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 15 -o "$gcc_cv_gld_major_version" -gt 2 \ if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 15 -o "$gcc_cv_gld_major_version" -gt 2 \
...@@ -7417,7 +7437,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6 ...@@ -7417,7 +7437,7 @@ echo "$ac_t""$gcc_cv_ld_pie" 1>&6
case "$target" in case "$target" in
mips*-*-*) mips*-*-*)
echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6 echo $ac_n "checking whether libgloss uses STARTUP directives consistently""... $ac_c" 1>&6
echo "configure:7421: checking whether libgloss uses STARTUP directives consistently" >&5 echo "configure:7441: checking whether libgloss uses STARTUP directives consistently" >&5
gcc_cv_mips_libgloss_startup=no gcc_cv_mips_libgloss_startup=no
gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss gcc_cv_libgloss_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/libgloss
if test "x$exec_prefix" = xNONE; then if test "x$exec_prefix" = xNONE; then
...@@ -7619,7 +7639,7 @@ fi ...@@ -7619,7 +7639,7 @@ fi
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
echo "configure:7623: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo "configure:7643: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode" enableval="$enable_maintainer_mode"
...@@ -7903,6 +7923,8 @@ objdir=`${PWDCMD-pwd}` ...@@ -7903,6 +7923,8 @@ objdir=`${PWDCMD-pwd}`
# Echo link setup. # Echo link setup.
if test x${build} = x${host} ; then if test x${build} = x${host} ; then
if test x${host} = x${target} ; then if test x${host} = x${target} ; then
...@@ -8154,6 +8176,8 @@ s%@slibdir@%$slibdir%g ...@@ -8154,6 +8176,8 @@ s%@slibdir@%$slibdir%g
s%@objdir@%$objdir%g s%@objdir@%$objdir%g
s%@subdirs@%$subdirs%g s%@subdirs@%$subdirs%g
s%@srcdir@%$srcdir%g s%@srcdir@%$srcdir%g
s%@docobjdir@%$docobjdir%g
s%@parsedir@%$parsedir%g
s%@all_boot_languages@%$all_boot_languages%g s%@all_boot_languages@%$all_boot_languages%g
s%@all_compilers@%$all_compilers%g s%@all_compilers@%$all_compilers%g
s%@all_gtfiles@%$all_gtfiles%g s%@all_gtfiles@%$all_gtfiles%g
......
...@@ -148,6 +148,20 @@ elif test x$withval != xno; then ...@@ -148,6 +148,20 @@ elif test x$withval != xno; then
cpp_install_dir=$withval cpp_install_dir=$withval
fi]) fi])
# We would like to our source tree to be readonly. However when releases or
# pre-releases are generated, the flex/bison generated files as well as the
# various formats of manuals need to be included along with the rest of the
# sources. Therefore we have --enable-generated-files-in-srcdir to do
# just that.
AC_ARG_ENABLE(generated-files-in-srcdir,
[ --enable-generated-files-in-srcdir Put generated files in source dir],
[case ${enableval} in
no) parsedir='$(objdir)'; docobjdir='$(objdir)/doc';;
yes,*) parsedir='$(srcdir)'; docobjdir='$(srcdir)/doc';;
esac],
[parsedir='$(objdir)'; docobjdir='$(objdir)/doc';])
# ------------------- # -------------------
# Find default linker # Find default linker
# ------------------- # -------------------
...@@ -2922,6 +2936,8 @@ AC_SUBST(objdir) ...@@ -2922,6 +2936,8 @@ AC_SUBST(objdir)
# Substitute configuration variables # Substitute configuration variables
AC_SUBST(subdirs) AC_SUBST(subdirs)
AC_SUBST(srcdir) AC_SUBST(srcdir)
AC_SUBST(docobjdir)
AC_SUBST(parsedir)
AC_SUBST(all_boot_languages) AC_SUBST(all_boot_languages)
AC_SUBST(all_compilers) AC_SUBST(all_compilers)
AC_SUBST(all_gtfiles) AC_SUBST(all_gtfiles)
......
...@@ -957,6 +957,20 @@ catalog, configuring with @option{--enable-maintainer-mode} will enable ...@@ -957,6 +957,20 @@ catalog, configuring with @option{--enable-maintainer-mode} will enable
this. Note that you need a recent version of the @code{gettext} tools this. Note that you need a recent version of the @code{gettext} tools
to do so. to do so.
@item --enable-generated-files-in-srcdir
Neither the .c and .h files that are generated from bison and flex nor the
info manuals and man pages that are built from the .texi files are present
in the CVS development tree. When building GCC from that development tree,
or from a snapshot which are created from CVS, then those generated files
are placed in your build directory, which allows for the source to be in a
readonly directory.
If you configure with @option{--enable-generated-files-in-srcdir} then those
generated files will go into the source directory. This is mainly intended
for generating release or prerelease tarballs of the GCC sources, since it
is not a requirement that the users of source releases to have flex, bison, or
makeinfo.
@item --enable-version-specific-runtime-libs @item --enable-version-specific-runtime-libs
Specify Specify
that runtime libraries should be installed in the compiler specific that runtime libraries should be installed in the compiler specific
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment