|
@@ -1,9 +1,8 @@
|
|
|
#! /bin/sh
|
|
|
# Guess values for system-dependent variables and create Makefiles.
|
|
|
-# Generated by GNU Autoconf 2.57.
|
|
|
+# Generated by GNU Autoconf 2.59.
|
|
|
#
|
|
|
-# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
|
|
-# Free Software Foundation, Inc.
|
|
|
+# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
|
# This configure script is free software; the Free Software Foundation
|
|
|
# gives unlimited permission to copy, distribute and modify it.
|
|
|
## --------------------- ##
|
|
@@ -20,9 +19,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
|
set -o posix
|
|
|
fi
|
|
|
+DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
|
|
|
# Support unset when possible.
|
|
|
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
|
|
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
|
as_unset=unset
|
|
|
else
|
|
|
as_unset=false
|
|
@@ -41,7 +41,7 @@ for as_var in \
|
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
|
LC_TELEPHONE LC_TIME
|
|
|
do
|
|
|
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
|
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
|
eval $as_var=C; export $as_var
|
|
|
else
|
|
|
$as_unset $as_var
|
|
@@ -218,16 +218,17 @@ rm -f conf$$ conf$$.exe conf$$.file
|
|
|
if mkdir -p . 2>/dev/null; then
|
|
|
as_mkdir_p=:
|
|
|
else
|
|
|
+ test -d ./-p && rmdir ./-p
|
|
|
as_mkdir_p=false
|
|
|
fi
|
|
|
|
|
|
as_executable_p="test -f"
|
|
|
|
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
|
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
|
|
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
# Sed expression to map a string onto a valid variable name.
|
|
|
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
|
|
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
|
|
|
# IFS
|
|
@@ -308,7 +309,7 @@ ac_includes_default="\
|
|
|
# include <unistd.h>
|
|
|
#endif"
|
|
|
|
|
|
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP bfd_include_dir binutils_include_dir got_check LIBOBJS LTLIBOBJS'
|
|
|
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP bfd_include_dir binutils_include_dir binutils_ldscript_dir got_check emit_relocs LIBOBJS LTLIBOBJS'
|
|
|
ac_subst_files=''
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
@@ -667,7 +668,7 @@ done
|
|
|
|
|
|
# Be sure to have absolute paths.
|
|
|
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
|
|
- localstatedir libdir includedir oldincludedir infodir mandir
|
|
|
+ localstatedir libdir includedir oldincludedir infodir mandir
|
|
|
do
|
|
|
eval ac_val=$`echo $ac_var`
|
|
|
case $ac_val in
|
|
@@ -707,10 +708,10 @@ if test -z "$srcdir"; then
|
|
|
# Try the directory containing this script, then its parent.
|
|
|
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
|
|
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
- X"$0" : 'X\(//\)[^/]' \| \
|
|
|
- X"$0" : 'X\(//\)$' \| \
|
|
|
- X"$0" : 'X\(/\)' \| \
|
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
|
+ X"$0" : 'X\(//\)[^/]' \| \
|
|
|
+ X"$0" : 'X\(//\)$' \| \
|
|
|
+ X"$0" : 'X\(/\)' \| \
|
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
|
echo X"$0" |
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -802,9 +803,9 @@ _ACEOF
|
|
|
cat <<_ACEOF
|
|
|
Installation directories:
|
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
|
- [$ac_default_prefix]
|
|
|
+ [$ac_default_prefix]
|
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|
|
- [PREFIX]
|
|
|
+ [PREFIX]
|
|
|
|
|
|
By default, \`make install' will install all the files in
|
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
@@ -845,6 +846,7 @@ Optional Features:
|
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
|
--disable-got-check - disable check for GOT (needed on H8)
|
|
|
+ --disable-emit-relocs - don't use the --emit-relocs (-q) linker option
|
|
|
|
|
|
Optional Packages:
|
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
@@ -853,6 +855,7 @@ Optional Packages:
|
|
|
--with-libiberty=<file> path to libiberty.a library to use
|
|
|
--with-bfd-include-dir=<dir> include path for correct bfd.h
|
|
|
--with-binutils-include-dir=<dir> include path for binutils headers
|
|
|
+ --with-binutils-ldscript-dir=<dir> path to install elf2flt.ld
|
|
|
|
|
|
Some influential environment variables:
|
|
|
CC C compiler command
|
|
@@ -899,12 +902,45 @@ case $srcdir in
|
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
|
esac
|
|
|
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
|
|
-# absolute.
|
|
|
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
|
|
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
|
|
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
|
|
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|
|
+
|
|
|
+# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
|
+# the directories may not exist.
|
|
|
+case `pwd` in
|
|
|
+.) ac_abs_builddir="$ac_dir";;
|
|
|
+*)
|
|
|
+ case "$ac_dir" in
|
|
|
+ .) ac_abs_builddir=`pwd`;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|
|
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
+case $ac_abs_builddir in
|
|
|
+.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
|
+*)
|
|
|
+ case ${ac_top_builddir}. in
|
|
|
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
|
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
+case $ac_abs_builddir in
|
|
|
+.) ac_abs_srcdir=$ac_srcdir;;
|
|
|
+*)
|
|
|
+ case $ac_srcdir in
|
|
|
+ .) ac_abs_srcdir=$ac_abs_builddir;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|
|
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
+case $ac_abs_builddir in
|
|
|
+.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
|
+*)
|
|
|
+ case $ac_top_srcdir in
|
|
|
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
|
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
|
|
|
cd $ac_dir
|
|
|
# Check for guested configure; otherwise get Cygnus style configure.
|
|
@@ -915,7 +951,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|
|
echo
|
|
|
$SHELL $ac_srcdir/configure --help=recursive
|
|
|
elif test -f $ac_srcdir/configure.ac ||
|
|
|
- test -f $ac_srcdir/configure.in; then
|
|
|
+ test -f $ac_srcdir/configure.in; then
|
|
|
echo
|
|
|
$ac_configure --help
|
|
|
else
|
|
@@ -929,8 +965,7 @@ test -n "$ac_init_help" && exit 0
|
|
|
if $ac_init_version; then
|
|
|
cat <<\_ACEOF
|
|
|
|
|
|
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
|
|
|
-Free Software Foundation, Inc.
|
|
|
+Copyright (C) 2003 Free Software Foundation, Inc.
|
|
|
This configure script is free software; the Free Software Foundation
|
|
|
gives unlimited permission to copy, distribute and modify it.
|
|
|
_ACEOF
|
|
@@ -942,7 +977,7 @@ This file contains any messages produced by compilers while
|
|
|
running configure, to aid debugging if configure makes a mistake.
|
|
|
|
|
|
It was created by $as_me, which was
|
|
|
-generated by GNU Autoconf 2.57. Invocation command line was
|
|
|
+generated by GNU Autoconf 2.59. Invocation command line was
|
|
|
|
|
|
$ $0 $@
|
|
|
|
|
@@ -1019,19 +1054,19 @@ do
|
|
|
2)
|
|
|
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
|
if test $ac_must_keep_next = true; then
|
|
|
- ac_must_keep_next=false # Got value, back to normal.
|
|
|
+ ac_must_keep_next=false # Got value, back to normal.
|
|
|
else
|
|
|
- case $ac_arg in
|
|
|
- *=* | --config-cache | -C | -disable-* | --disable-* \
|
|
|
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|
|
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|
|
- | -with-* | --with-* | -without-* | --without-* | --x)
|
|
|
- case "$ac_configure_args0 " in
|
|
|
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|
|
- esac
|
|
|
- ;;
|
|
|
- -* ) ac_must_keep_next=true ;;
|
|
|
- esac
|
|
|
+ case $ac_arg in
|
|
|
+ *=* | --config-cache | -C | -disable-* | --disable-* \
|
|
|
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
|
|
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
|
|
+ | -with-* | --with-* | -without-* | --without-* | --x)
|
|
|
+ case "$ac_configure_args0 " in
|
|
|
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
|
|
+ esac
|
|
|
+ ;;
|
|
|
+ -* ) ac_must_keep_next=true ;;
|
|
|
+ esac
|
|
|
fi
|
|
|
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
|
|
# Get rid of the leading space.
|
|
@@ -1065,12 +1100,12 @@ _ASBOX
|
|
|
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
|
|
*ac_space=\ *)
|
|
|
sed -n \
|
|
|
- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
|
|
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
|
+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
|
|
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
|
;;
|
|
|
*)
|
|
|
sed -n \
|
|
|
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
;;
|
|
|
esac;
|
|
|
}
|
|
@@ -1099,7 +1134,7 @@ _ASBOX
|
|
|
for ac_var in $ac_subst_files
|
|
|
do
|
|
|
eval ac_val=$`echo $ac_var`
|
|
|
- echo "$ac_var='"'"'$ac_val'"'"'"
|
|
|
+ echo "$ac_var='"'"'$ac_val'"'"'"
|
|
|
done | sort
|
|
|
echo
|
|
|
fi
|
|
@@ -1118,7 +1153,7 @@ _ASBOX
|
|
|
echo "$as_me: caught signal $ac_signal"
|
|
|
echo "$as_me: exit $exit_status"
|
|
|
} >&5
|
|
|
- rm -f core core.* *.core &&
|
|
|
+ rm -f core *.core &&
|
|
|
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
|
|
exit $exit_status
|
|
|
' 0
|
|
@@ -1198,7 +1233,7 @@ fi
|
|
|
# value.
|
|
|
ac_cache_corrupted=false
|
|
|
for ac_var in `(set) 2>&1 |
|
|
|
- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
|
|
+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
|
|
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
|
@@ -1215,13 +1250,13 @@ echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
|
,);;
|
|
|
*)
|
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
|
|
- { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
|
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
|
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
|
- { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
|
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
|
|
echo "$as_me: former value: $ac_old_val" >&2;}
|
|
|
- { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
|
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
|
|
echo "$as_me: current value: $ac_new_val" >&2;}
|
|
|
- ac_cache_corrupted=:
|
|
|
+ ac_cache_corrupted=:
|
|
|
fi;;
|
|
|
esac
|
|
|
# Pass precious variables to config.status.
|
|
@@ -1310,6 +1345,16 @@ else
|
|
|
|
|
|
fi;
|
|
|
|
|
|
+
|
|
|
+# Check whether --with-binutils-ldscript-dir or --without-binutils-ldscript-dir was given.
|
|
|
+if test "${with_binutils_ldscript_dir+set}" = set; then
|
|
|
+ withval="$with_binutils_ldscript_dir"
|
|
|
+ ac_binutils_ldscript_dir=$withval
|
|
|
+else
|
|
|
+ ac_binutils_ldscript_dir=NONE
|
|
|
+
|
|
|
+fi;
|
|
|
+
|
|
|
# Check whether --enable-got-check or --disable-got-check was given.
|
|
|
if test "${enable_got_check+set}" = set; then
|
|
|
enableval="$enable_got_check"
|
|
@@ -1319,6 +1364,15 @@ else
|
|
|
|
|
|
fi;
|
|
|
|
|
|
+# Check whether --enable-emit_relocs or --disable-emit_relocs was given.
|
|
|
+if test "${enable_emit_relocs+set}" = set; then
|
|
|
+ enableval="$enable_emit_relocs"
|
|
|
+ emit_relocs=$enableval
|
|
|
+else
|
|
|
+ emit_relocs=yes
|
|
|
+
|
|
|
+fi;
|
|
|
+
|
|
|
ac_aux_dir=
|
|
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
|
|
if test -f $ac_dir/install-sh; then
|
|
@@ -1763,7 +1817,6 @@ ac_compiler=`set X $ac_compile; echo $2`
|
|
|
(exit $ac_status); }
|
|
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -1783,8 +1836,8 @@ ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
|
|
# Try to create an executable without -o first, disregard a.out.
|
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
|
|
# of exeext.
|
|
|
-echo "$as_me:$LINENO: checking for C compiler default output" >&5
|
|
|
-echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
|
|
|
+echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
|
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
|
|
(eval $ac_link_default) 2>&5
|
|
@@ -1804,23 +1857,23 @@ do
|
|
|
test -f "$ac_file" || continue
|
|
|
case $ac_file in
|
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
|
|
- ;;
|
|
|
+ ;;
|
|
|
conftest.$ac_ext )
|
|
|
- # This is the source file.
|
|
|
- ;;
|
|
|
+ # This is the source file.
|
|
|
+ ;;
|
|
|
[ab].out )
|
|
|
- # We found the default executable, but exeext='' is most
|
|
|
- # certainly right.
|
|
|
- break;;
|
|
|
+ # We found the default executable, but exeext='' is most
|
|
|
+ # certainly right.
|
|
|
+ break;;
|
|
|
*.* )
|
|
|
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
|
- # FIXME: I believe we export ac_cv_exeext for Libtool,
|
|
|
- # but it would be cool to find out if it's true. Does anybody
|
|
|
- # maintain Libtool? --akim.
|
|
|
- export ac_cv_exeext
|
|
|
- break;;
|
|
|
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
|
+ # FIXME: I believe we export ac_cv_exeext for Libtool,
|
|
|
+ # but it would be cool to find out if it's true. Does anybody
|
|
|
+ # maintain Libtool? --akim.
|
|
|
+ export ac_cv_exeext
|
|
|
+ break;;
|
|
|
* )
|
|
|
- break;;
|
|
|
+ break;;
|
|
|
esac
|
|
|
done
|
|
|
else
|
|
@@ -1894,8 +1947,8 @@ for ac_file in conftest.exe conftest conftest.*; do
|
|
|
case $ac_file in
|
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
|
- export ac_cv_exeext
|
|
|
- break;;
|
|
|
+ export ac_cv_exeext
|
|
|
+ break;;
|
|
|
* ) break;;
|
|
|
esac
|
|
|
done
|
|
@@ -1920,7 +1973,6 @@ if test "${ac_cv_objext+set}" = set; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -1971,7 +2023,6 @@ if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -1991,11 +2042,21 @@ main ()
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2008,7 +2069,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_compiler_gnu=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
|
|
|
|
|
fi
|
|
@@ -2024,7 +2085,6 @@ if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2041,11 +2101,21 @@ main ()
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2058,7 +2128,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_cv_prog_cc_g=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
|
@@ -2085,7 +2155,6 @@ else
|
|
|
ac_cv_prog_cc_stdc=no
|
|
|
ac_save_CC=$CC
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2113,6 +2182,16 @@ static char *f (char * (*g) (char **, int), char **p, ...)
|
|
|
va_end (v);
|
|
|
return s;
|
|
|
}
|
|
|
+
|
|
|
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
|
+ function prototypes and stuff, but not '\xHH' hex character constants.
|
|
|
+ These don't provoke an error unfortunately, instead are silently treated
|
|
|
+ as 'x'. The following induces an error, until -std1 is added to get
|
|
|
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
|
|
+ array size at least. It's necessary to write '\x00'==0 to get something
|
|
|
+ that's true only with -std1. */
|
|
|
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
|
+
|
|
|
int test (int i, double x);
|
|
|
struct s1 {int (*f) (int a);};
|
|
|
struct s2 {int (*f) (double a);};
|
|
@@ -2139,11 +2218,21 @@ do
|
|
|
CC="$ac_save_CC $ac_arg"
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2156,7 +2245,7 @@ else
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext
|
|
|
+rm -f conftest.err conftest.$ac_objext
|
|
|
done
|
|
|
rm -f conftest.$ac_ext conftest.$ac_objext
|
|
|
CC=$ac_save_CC
|
|
@@ -2184,34 +2273,42 @@ cat >conftest.$ac_ext <<_ACEOF
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); }; }; then
|
|
|
for ac_declaration in \
|
|
|
- ''\
|
|
|
+ '' \
|
|
|
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
|
|
'extern "C" void std::exit (int); using std::exit;' \
|
|
|
'extern "C" void exit (int) throw ();' \
|
|
|
'extern "C" void exit (int);' \
|
|
|
- 'void exit (int);' \
|
|
|
- '#include <stdlib.h>'
|
|
|
+ 'void exit (int);'
|
|
|
do
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
/* end confdefs.h. */
|
|
|
-#include <stdlib.h>
|
|
|
$ac_declaration
|
|
|
+#include <stdlib.h>
|
|
|
int
|
|
|
main ()
|
|
|
{
|
|
@@ -2222,11 +2319,21 @@ exit (42);
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2239,9 +2346,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
continue
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2258,11 +2364,21 @@ exit (42);
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2274,7 +2390,7 @@ else
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
done
|
|
|
rm -f conftest*
|
|
|
if test -n "$ac_declaration"; then
|
|
@@ -2288,7 +2404,7 @@ else
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
ac_ext=c
|
|
|
ac_cpp='$CPP $CPPFLAGS'
|
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
@@ -2306,6 +2422,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
+# OS/2's system install, which has a completely different semantic
|
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|
@@ -2322,6 +2439,7 @@ do
|
|
|
case $as_dir/ in
|
|
|
./ | .// | /cC/* | \
|
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|
|
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
|
/usr/ucb/* ) ;;
|
|
|
*)
|
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
@@ -2329,20 +2447,20 @@ case $as_dir/ in
|
|
|
# by default.
|
|
|
for ac_prog in ginstall scoinst install; do
|
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
|
- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
|
- if test $ac_prog = install &&
|
|
|
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
|
- # AIX install. It has an incompatible calling convention.
|
|
|
- :
|
|
|
- elif test $ac_prog = install &&
|
|
|
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
|
- # program-specific install script used by HP pwplus--don't use.
|
|
|
- :
|
|
|
- else
|
|
|
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
|
- break 3
|
|
|
- fi
|
|
|
- fi
|
|
|
+ if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
|
+ if test $ac_prog = install &&
|
|
|
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
|
+ # AIX install. It has an incompatible calling convention.
|
|
|
+ :
|
|
|
+ elif test $ac_prog = install &&
|
|
|
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
|
+ # program-specific install script used by HP pwplus--don't use.
|
|
|
+ :
|
|
|
+ else
|
|
|
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
|
+ break 3
|
|
|
+ fi
|
|
|
+ fi
|
|
|
done
|
|
|
done
|
|
|
;;
|
|
@@ -2384,7 +2502,6 @@ else
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
LIBS="-liberty $LIBS"
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2408,11 +2525,21 @@ objalloc_create ();
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
- (eval $ac_link) 2>&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2425,7 +2552,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_cv_lib_iberty_objalloc_create=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_objalloc_create" >&5
|
|
@@ -2453,7 +2581,6 @@ else
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
LIBS="-lbfd $LIBS"
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2477,11 +2604,21 @@ bfd_openr ();
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
- (eval $ac_link) 2>&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2494,7 +2631,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_cv_lib_bfd_bfd_openr=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
LIBS=$ac_check_lib_save_LIBS
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_openr" >&5
|
|
@@ -2523,30 +2661,58 @@ if test "$ac_binutils_include_dir" != "NONE"; then
|
|
|
binutils_include_dir="-I$ac_binutils_include_dir"
|
|
|
fi
|
|
|
|
|
|
+binutils_ldscript_dir=
|
|
|
+if test "$ac_binutils_ldscript_dir" = "NONE"; then
|
|
|
+ ac_binutils_ldscript_dir="\${TOOLDIR}/../${target_alias}/lib"
|
|
|
+fi
|
|
|
+binutils_ldscript_dir="$ac_binutils_ldscript_dir"
|
|
|
+
|
|
|
if test "$ac_libbfd" = "NONE" -o "$ac_libiberty" = "NONE" ; then
|
|
|
- echo
|
|
|
- echo "You need to specify the location of the libfd.a and libiberty.a"
|
|
|
- echo "host libraries from the binutils package."
|
|
|
- echo
|
|
|
- echo "Run configure again specifying these options:"
|
|
|
- echo
|
|
|
- echo " ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>"
|
|
|
- echo
|
|
|
- exit 1
|
|
|
+ { { echo "$as_me:$LINENO: error:
|
|
|
+
|
|
|
+You need to specify the location of the libfd.a and libiberty.a
|
|
|
+host libraries from the binutils package.
|
|
|
+
|
|
|
+Run configure again specifying these options:
|
|
|
+
|
|
|
+ ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
|
|
|
+" >&5
|
|
|
+echo "$as_me: error:
|
|
|
+
|
|
|
+You need to specify the location of the libfd.a and libiberty.a
|
|
|
+host libraries from the binutils package.
|
|
|
+
|
|
|
+Run configure again specifying these options:
|
|
|
+
|
|
|
+ ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
|
|
|
+" >&2;}
|
|
|
+ { (exit 1); exit 1; }; }
|
|
|
fi
|
|
|
|
|
|
if test "$ac_bfd_include_dir" = "NONE" ; then
|
|
|
- echo
|
|
|
- echo "You need to specify the location of the bfd.h header from a"
|
|
|
- echo "configured/compiled version of the binutils package for your target."
|
|
|
- echo "Without this your elf2flt may crash as it will try to use the"
|
|
|
- echo "systems bfd.h which may be from a different binutils package."
|
|
|
- echo
|
|
|
- echo "Run configure again specifying these options:"
|
|
|
- echo
|
|
|
- echo " ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>"
|
|
|
- echo
|
|
|
- exit 1
|
|
|
+ { { echo "$as_me:$LINENO: error:
|
|
|
+
|
|
|
+You need to specify the location of the bfd.h header from a
|
|
|
+configured/compiled version of the binutils package for your target.
|
|
|
+Without this your elf2flt may crash as it will try to use the
|
|
|
+systems bfd.h which may be from a different binutils package.
|
|
|
+
|
|
|
+Run configure again specifying these options:
|
|
|
+
|
|
|
+ ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
|
|
|
+" >&5
|
|
|
+echo "$as_me: error:
|
|
|
+
|
|
|
+You need to specify the location of the bfd.h header from a
|
|
|
+configured/compiled version of the binutils package for your target.
|
|
|
+Without this your elf2flt may crash as it will try to use the
|
|
|
+systems bfd.h which may be from a different binutils package.
|
|
|
+
|
|
|
+Run configure again specifying these options:
|
|
|
+
|
|
|
+ ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
|
|
|
+" >&2;}
|
|
|
+ { (exit 1); exit 1; }; }
|
|
|
fi
|
|
|
|
|
|
ac_ext=c
|
|
@@ -2577,7 +2743,6 @@ do
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2588,7 +2753,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
|
#else
|
|
|
# include <assert.h>
|
|
|
#endif
|
|
|
- Syntax error
|
|
|
+ Syntax error
|
|
|
_ACEOF
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
@@ -2600,6 +2765,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
(exit $ac_status); } >/dev/null; then
|
|
|
if test -s conftest.err; then
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
else
|
|
|
ac_cpp_err=
|
|
|
fi
|
|
@@ -2620,7 +2786,6 @@ rm -f conftest.err conftest.$ac_ext
|
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
|
|
# can be detected and how.
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2638,6 +2803,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
(exit $ac_status); } >/dev/null; then
|
|
|
if test -s conftest.err; then
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
else
|
|
|
ac_cpp_err=
|
|
|
fi
|
|
@@ -2684,7 +2850,6 @@ do
|
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2695,7 +2860,7 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
|
#else
|
|
|
# include <assert.h>
|
|
|
#endif
|
|
|
- Syntax error
|
|
|
+ Syntax error
|
|
|
_ACEOF
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
@@ -2707,6 +2872,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
(exit $ac_status); } >/dev/null; then
|
|
|
if test -s conftest.err; then
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
else
|
|
|
ac_cpp_err=
|
|
|
fi
|
|
@@ -2727,7 +2893,6 @@ rm -f conftest.err conftest.$ac_ext
|
|
|
# OK, works on sane cases. Now check whether non-existent headers
|
|
|
# can be detected and how.
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2745,6 +2910,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
(exit $ac_status); } >/dev/null; then
|
|
|
if test -s conftest.err; then
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
else
|
|
|
ac_cpp_err=
|
|
|
fi
|
|
@@ -2805,7 +2971,6 @@ if test "${ac_cv_header_stdc+set}" = set; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2826,11 +2991,21 @@ main ()
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -2843,12 +3018,11 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_cv_header_stdc=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2870,7 +3044,6 @@ fi
|
|
|
if test $ac_cv_header_stdc = yes; then
|
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2895,7 +3068,6 @@ if test $ac_cv_header_stdc = yes; then
|
|
|
:
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2907,9 +3079,9 @@ cat >>conftest.$ac_ext <<_ACEOF
|
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
|
#else
|
|
|
# define ISLOWER(c) \
|
|
|
- (('a' <= (c) && (c) <= 'i') \
|
|
|
- || ('j' <= (c) && (c) <= 'r') \
|
|
|
- || ('s' <= (c) && (c) <= 'z'))
|
|
|
+ (('a' <= (c) && (c) <= 'i') \
|
|
|
+ || ('j' <= (c) && (c) <= 'r') \
|
|
|
+ || ('s' <= (c) && (c) <= 'z'))
|
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
|
#endif
|
|
|
|
|
@@ -2920,7 +3092,7 @@ main ()
|
|
|
int i;
|
|
|
for (i = 0; i < 256; i++)
|
|
|
if (XOR (islower (i), ISLOWER (i))
|
|
|
- || toupper (i) != TOUPPER (i))
|
|
|
+ || toupper (i) != TOUPPER (i))
|
|
|
exit(2);
|
|
|
exit (0);
|
|
|
}
|
|
@@ -2945,7 +3117,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
( exit $ac_status )
|
|
|
ac_cv_header_stdc=no
|
|
|
fi
|
|
|
-rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
fi
|
|
|
fi
|
|
|
fi
|
|
@@ -2970,7 +3142,7 @@ fi
|
|
|
|
|
|
|
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
|
- inttypes.h stdint.h unistd.h
|
|
|
+ inttypes.h stdint.h unistd.h
|
|
|
do
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
@@ -2979,7 +3151,6 @@ if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -2991,11 +3162,21 @@ $ac_includes_default
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -3008,7 +3189,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
eval "$as_ac_Header=no"
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
@@ -3041,7 +3222,6 @@ else
|
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3052,11 +3232,21 @@ $ac_includes_default
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -3069,7 +3259,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_header_compiler=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
|
@@ -3077,7 +3267,6 @@ echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3095,6 +3284,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
(exit $ac_status); } >/dev/null; then
|
|
|
if test -s conftest.err; then
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
+ ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
|
|
else
|
|
|
ac_cpp_err=
|
|
|
fi
|
|
@@ -3114,33 +3304,32 @@ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
|
|
# So? What about this header?
|
|
|
-case $ac_header_compiler:$ac_header_preproc in
|
|
|
- yes:no )
|
|
|
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
|
+ yes:no: )
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
- (
|
|
|
- cat <<\_ASBOX
|
|
|
-## ------------------------------------ ##
|
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
|
-## ------------------------------------ ##
|
|
|
-_ASBOX
|
|
|
- ) |
|
|
|
- sed "s/^/$as_me: WARNING: /" >&2
|
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
|
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
|
+ ac_header_preproc=yes
|
|
|
;;
|
|
|
- no:yes )
|
|
|
+ no:yes:* )
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
- { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
-echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
|
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
|
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
|
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
|
(
|
|
|
cat <<\_ASBOX
|
|
|
-## ------------------------------------ ##
|
|
|
-## Report this to bug-autoconf@gnu.org. ##
|
|
|
-## ------------------------------------ ##
|
|
|
+## ------------------------------------------ ##
|
|
|
+## Report this to the AC_PACKAGE_NAME lists. ##
|
|
|
+## ------------------------------------------ ##
|
|
|
_ASBOX
|
|
|
) |
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
@@ -3151,7 +3340,7 @@ echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
- eval "$as_ac_Header=$ac_header_preproc"
|
|
|
+ eval "$as_ac_Header=\$ac_header_preproc"
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
@@ -3173,7 +3362,6 @@ if test "${ac_cv_c_const+set}" = set; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
@@ -3236,11 +3424,21 @@ main ()
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
- (eval $ac_compile) 2>&5
|
|
|
+ (eval $ac_compile) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest.$ac_objext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest.$ac_objext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -3253,7 +3451,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_cv_c_const=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
|
|
echo "${ECHO_T}$ac_cv_c_const" >&6
|
|
@@ -3276,21 +3474,28 @@ if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
/* end confdefs.h. */
|
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
+#define $ac_func innocuous_$ac_func
|
|
|
+
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char $ac_func (); below.
|
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
<limits.h> exists even on freestanding compilers. */
|
|
|
+
|
|
|
#ifdef __STDC__
|
|
|
# include <limits.h>
|
|
|
#else
|
|
|
# include <assert.h>
|
|
|
#endif
|
|
|
+
|
|
|
+#undef $ac_func
|
|
|
+
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
#ifdef __cplusplus
|
|
|
extern "C"
|
|
@@ -3321,11 +3526,21 @@ return f != $ac_func;
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
- (eval $ac_link) 2>&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -3338,7 +3553,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
eval "$as_ac_var=no"
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
@@ -3353,21 +3569,28 @@ if test "${ac_cv_func__doprnt+set}" = set; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
/* end confdefs.h. */
|
|
|
+/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
+#define _doprnt innocuous__doprnt
|
|
|
+
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char _doprnt (); below.
|
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
<limits.h> exists even on freestanding compilers. */
|
|
|
+
|
|
|
#ifdef __STDC__
|
|
|
# include <limits.h>
|
|
|
#else
|
|
|
# include <assert.h>
|
|
|
#endif
|
|
|
+
|
|
|
+#undef _doprnt
|
|
|
+
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
#ifdef __cplusplus
|
|
|
extern "C"
|
|
@@ -3398,11 +3621,21 @@ return f != _doprnt;
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
- (eval $ac_link) 2>&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -3415,7 +3648,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
ac_cv_func__doprnt=no
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
|
|
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
|
|
@@ -3442,21 +3676,28 @@ if eval "test \"\${$as_ac_var+set}\" = set"; then
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
else
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
-#line $LINENO "configure"
|
|
|
/* confdefs.h. */
|
|
|
_ACEOF
|
|
|
cat confdefs.h >>conftest.$ac_ext
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
/* end confdefs.h. */
|
|
|
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
|
|
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
|
+#define $ac_func innocuous_$ac_func
|
|
|
+
|
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
which can conflict with char $ac_func (); below.
|
|
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
|
<limits.h> exists even on freestanding compilers. */
|
|
|
+
|
|
|
#ifdef __STDC__
|
|
|
# include <limits.h>
|
|
|
#else
|
|
|
# include <assert.h>
|
|
|
#endif
|
|
|
+
|
|
|
+#undef $ac_func
|
|
|
+
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
#ifdef __cplusplus
|
|
|
extern "C"
|
|
@@ -3487,11 +3728,21 @@ return f != $ac_func;
|
|
|
_ACEOF
|
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
|
- (eval $ac_link) 2>&5
|
|
|
+ (eval $ac_link) 2>conftest.er1
|
|
|
ac_status=$?
|
|
|
+ grep -v '^ *+' conftest.er1 >conftest.err
|
|
|
+ rm -f conftest.er1
|
|
|
+ cat conftest.err >&5
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
(exit $ac_status); } &&
|
|
|
- { ac_try='test -s conftest$ac_exeext'
|
|
|
+ { ac_try='test -z "$ac_c_werror_flag"
|
|
|
+ || test ! -s conftest.err'
|
|
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
+ (eval $ac_try) 2>&5
|
|
|
+ ac_status=$?
|
|
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
+ (exit $ac_status); }; } &&
|
|
|
+ { ac_try='test -s conftest$ac_exeext'
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
(eval $ac_try) 2>&5
|
|
|
ac_status=$?
|
|
@@ -3504,7 +3755,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
eval "$as_ac_var=no"
|
|
|
fi
|
|
|
-rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
|
|
|
+rm -f conftest.err conftest.$ac_objext \
|
|
|
+ conftest$ac_exeext conftest.$ac_ext
|
|
|
fi
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
|
@@ -3526,6 +3778,8 @@ done
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
ac_config_files="$ac_config_files Makefile ld-elf2flt"
|
|
|
cat >confcache <<\_ACEOF
|
|
|
# This file is a shell script that caches the results of configure
|
|
@@ -3555,13 +3809,13 @@ _ACEOF
|
|
|
# `set' does not quote correctly, so add quotes (double-quote
|
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
|
sed -n \
|
|
|
- "s/'/'\\\\''/g;
|
|
|
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
|
+ "s/'/'\\\\''/g;
|
|
|
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
|
;;
|
|
|
*)
|
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
sed -n \
|
|
|
- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
|
;;
|
|
|
esac;
|
|
|
} |
|
|
@@ -3591,13 +3845,13 @@ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
|
# (actually we leave an empty line to preserve line numbers).
|
|
|
if test "x$srcdir" = x.; then
|
|
|
- ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
|
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
|
s/:*\$(srcdir):*/:/;
|
|
|
s/:*\${srcdir}:*/:/;
|
|
|
s/:*@srcdir@:*/:/;
|
|
|
-s/^\([^=]*=[ ]*\):*/\1/;
|
|
|
+s/^\([^=]*=[ ]*\):*/\1/;
|
|
|
s/:*$//;
|
|
|
-s/^[^=]*=[ ]*$//;
|
|
|
+s/^[^=]*=[ ]*$//;
|
|
|
}'
|
|
|
fi
|
|
|
|
|
@@ -3611,13 +3865,13 @@ fi
|
|
|
cat >confdef2opt.sed <<\_ACEOF
|
|
|
t clear
|
|
|
: clear
|
|
|
-s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|
|
t quote
|
|
|
-s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|
|
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|
|
t quote
|
|
|
d
|
|
|
: quote
|
|
|
-s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
|
|
+s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
|
|
s,\[,\\&,g
|
|
|
s,\],\\&,g
|
|
|
s,\$,$$,g
|
|
@@ -3639,7 +3893,7 @@ ac_ltlibobjs=
|
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
|
|
# 1. Remove the extension, and $U if already installed.
|
|
|
ac_i=`echo "$ac_i" |
|
|
|
- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
|
|
+ sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
|
|
# 2. Add them.
|
|
|
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
|
|
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|
@@ -3683,9 +3937,10 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
|
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
|
|
set -o posix
|
|
|
fi
|
|
|
+DUALCASE=1; export DUALCASE # for MKS sh
|
|
|
|
|
|
# Support unset when possible.
|
|
|
-if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
|
|
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
|
as_unset=unset
|
|
|
else
|
|
|
as_unset=false
|
|
@@ -3704,7 +3959,7 @@ for as_var in \
|
|
|
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
|
LC_TELEPHONE LC_TIME
|
|
|
do
|
|
|
- if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
|
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
|
eval $as_var=C; export $as_var
|
|
|
else
|
|
|
$as_unset $as_var
|
|
@@ -3883,16 +4138,17 @@ rm -f conf$$ conf$$.exe conf$$.file
|
|
|
if mkdir -p . 2>/dev/null; then
|
|
|
as_mkdir_p=:
|
|
|
else
|
|
|
+ test -d ./-p && rmdir ./-p
|
|
|
as_mkdir_p=false
|
|
|
fi
|
|
|
|
|
|
as_executable_p="test -f"
|
|
|
|
|
|
# Sed expression to map a string onto a valid CPP name.
|
|
|
-as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
|
|
|
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
# Sed expression to map a string onto a valid variable name.
|
|
|
-as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
|
|
|
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
|
|
|
|
|
|
|
# IFS
|
|
@@ -3919,7 +4175,7 @@ _ASBOX
|
|
|
cat >&5 <<_CSEOF
|
|
|
|
|
|
This file was extended by $as_me, which was
|
|
|
-generated by GNU Autoconf 2.57. Invocation command line was
|
|
|
+generated by GNU Autoconf 2.59. Invocation command line was
|
|
|
|
|
|
CONFIG_FILES = $CONFIG_FILES
|
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
@@ -3963,7 +4219,7 @@ Usage: $0 [OPTIONS] [FILE]...
|
|
|
-d, --debug don't remove temporary files
|
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
|
|
--file=FILE[:TEMPLATE]
|
|
|
- instantiate the configuration file FILE
|
|
|
+ instantiate the configuration file FILE
|
|
|
|
|
|
Configuration files:
|
|
|
$config_files
|
|
@@ -3974,11 +4230,10 @@ _ACEOF
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF
|
|
|
ac_cs_version="\\
|
|
|
config.status
|
|
|
-configured by $0, generated by GNU Autoconf 2.57,
|
|
|
+configured by $0, generated by GNU Autoconf 2.59,
|
|
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
|
|
|
|
|
-Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
|
|
|
-Free Software Foundation, Inc.
|
|
|
+Copyright (C) 2003 Free Software Foundation, Inc.
|
|
|
This config.status script is free software; the Free Software Foundation
|
|
|
gives unlimited permission to copy, distribute and modify it."
|
|
|
srcdir=$srcdir
|
|
@@ -4188,7 +4443,9 @@ s,@CPP@,$CPP,;t t
|
|
|
s,@EGREP@,$EGREP,;t t
|
|
|
s,@bfd_include_dir@,$bfd_include_dir,;t t
|
|
|
s,@binutils_include_dir@,$binutils_include_dir,;t t
|
|
|
+s,@binutils_ldscript_dir@,$binutils_ldscript_dir,;t t
|
|
|
s,@got_check@,$got_check,;t t
|
|
|
+s,@emit_relocs@,$emit_relocs,;t t
|
|
|
s,@LIBOBJS@,$LIBOBJS,;t t
|
|
|
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
|
|
CEOF
|
|
@@ -4220,9 +4477,9 @@ _ACEOF
|
|
|
(echo ':t
|
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
|
|
if test -z "$ac_sed_cmds"; then
|
|
|
- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
|
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
|
else
|
|
|
- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
|
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
|
|
fi
|
|
|
ac_sed_frag=`expr $ac_sed_frag + 1`
|
|
|
ac_beg=$ac_end
|
|
@@ -4240,21 +4497,21 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
|
|
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
|
case $ac_file in
|
|
|
- | *:- | *:-:* ) # input from stdin
|
|
|
- cat >$tmp/stdin
|
|
|
- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
|
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
|
+ cat >$tmp/stdin
|
|
|
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
|
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
|
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
|
|
- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
|
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
|
|
* ) ac_file_in=$ac_file.in ;;
|
|
|
esac
|
|
|
|
|
|
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
|
|
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
- X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
|
- X"$ac_file" : 'X\(//\)$' \| \
|
|
|
- X"$ac_file" : 'X\(/\)' \| \
|
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
|
+ X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
|
+ X"$ac_file" : 'X\(//\)$' \| \
|
|
|
+ X"$ac_file" : 'X\(/\)' \| \
|
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
|
echo X"$ac_file" |
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -4270,10 +4527,10 @@ echo X"$ac_file" |
|
|
|
as_dirs="$as_dir $as_dirs"
|
|
|
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
|
- X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
|
- X"$as_dir" : 'X\(//\)$' \| \
|
|
|
- X"$as_dir" : 'X\(/\)' \| \
|
|
|
- . : '\(.\)' 2>/dev/null ||
|
|
|
+ X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
|
+ X"$as_dir" : 'X\(//\)$' \| \
|
|
|
+ X"$as_dir" : 'X\(/\)' \| \
|
|
|
+ . : '\(.\)' 2>/dev/null ||
|
|
|
echo X"$as_dir" |
|
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
|
|
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
|
@@ -4311,12 +4568,45 @@ case $srcdir in
|
|
|
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
|
|
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
|
esac
|
|
|
-# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
|
|
|
-# absolute.
|
|
|
-ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
|
|
|
-ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
|
|
|
-ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
|
|
|
-ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
|
|
|
+
|
|
|
+# Do not use `cd foo && pwd` to compute absolute paths, because
|
|
|
+# the directories may not exist.
|
|
|
+case `pwd` in
|
|
|
+.) ac_abs_builddir="$ac_dir";;
|
|
|
+*)
|
|
|
+ case "$ac_dir" in
|
|
|
+ .) ac_abs_builddir=`pwd`;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
|
|
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
+case $ac_abs_builddir in
|
|
|
+.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
|
+*)
|
|
|
+ case ${ac_top_builddir}. in
|
|
|
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
|
|
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
+case $ac_abs_builddir in
|
|
|
+.) ac_abs_srcdir=$ac_srcdir;;
|
|
|
+*)
|
|
|
+ case $ac_srcdir in
|
|
|
+ .) ac_abs_srcdir=$ac_abs_builddir;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
|
|
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
+case $ac_abs_builddir in
|
|
|
+.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
|
+*)
|
|
|
+ case $ac_top_srcdir in
|
|
|
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
|
|
|
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
|
|
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
|
|
+ esac;;
|
|
|
+esac
|
|
|
|
|
|
|
|
|
case $INSTALL in
|
|
@@ -4338,7 +4628,7 @@ echo "$as_me: creating $ac_file" >&6;}
|
|
|
configure_input="$ac_file. "
|
|
|
fi
|
|
|
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
|
|
- sed 's,.*/,,'` by configure."
|
|
|
+ sed 's,.*/,,'` by configure."
|
|
|
|
|
|
# First look for the input files in the build tree, otherwise in the
|
|
|
# src tree.
|
|
@@ -4347,24 +4637,24 @@ echo "$as_me: creating $ac_file" >&6;}
|
|
|
case $f in
|
|
|
-) echo $tmp/stdin ;;
|
|
|
[\\/$]*)
|
|
|
- # Absolute (can't be DOS-style, as IFS=:)
|
|
|
- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
|
+ # Absolute (can't be DOS-style, as IFS=:)
|
|
|
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
- echo $f;;
|
|
|
+ echo "$f";;
|
|
|
*) # Relative
|
|
|
- if test -f "$f"; then
|
|
|
- # Build tree
|
|
|
- echo $f
|
|
|
- elif test -f "$srcdir/$f"; then
|
|
|
- # Source tree
|
|
|
- echo $srcdir/$f
|
|
|
- else
|
|
|
- # /dev/null tree
|
|
|
- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
|
+ if test -f "$f"; then
|
|
|
+ # Build tree
|
|
|
+ echo "$f"
|
|
|
+ elif test -f "$srcdir/$f"; then
|
|
|
+ # Source tree
|
|
|
+ echo "$srcdir/$f"
|
|
|
+ else
|
|
|
+ # /dev/null tree
|
|
|
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
|
|
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
|
{ (exit 1); exit 1; }; }
|
|
|
- fi;;
|
|
|
+ fi;;
|
|
|
esac
|
|
|
done` || { (exit 1); exit 1; }
|
|
|
_ACEOF
|