Trim targ_arches to just the first.

This commit is contained in:
Andrew Cagney 2000-06-11 01:39:08 +00:00
parent 4b9b395931
commit 5c8cc33173
3 changed files with 224 additions and 211 deletions

View File

@ -1,3 +1,9 @@
Sun Jun 11 11:34:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
From Sat Jun 10 17:54:04 2000 Hans-Peter Nilsson <hp@axis.com>:
* configure.in (targ_archs): Clear out secondary components.
* configure: Regenerate.
Fri Jun 9 15:06:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdbarch.sh (struct gdbarch): Add member dump_tdep.

425
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -80,6 +80,10 @@ dnl use BFD to determine the default architecture and byte order
dnl (bfd_vec->byteorder provides the latter).
targ=${target}
. ${srcdir}/../bfd/config.bfd
dnl We only want the first arch, if there is more than one.
targ_archs=`echo ${targ_archs} | sed -e 's/ .*//;'`
if test x"${targ_archs}" != x ; then
AC_DEFINE_UNQUOTED(DEFAULT_BFD_ARCH, ${targ_archs})
fi