* configure.in: Make 64-bit stuff work with "--with-targets=all".

This commit is contained in:
Ken Raeburn 1993-09-09 21:03:20 +00:00
parent abdd08c97c
commit ffe2639825
2 changed files with 136 additions and 127 deletions

View file

@ -1,3 +1,7 @@
Thu Sep 9 16:57:46 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
* configure.in: Make 64-bit stuff work with "--with-targets=all".
Tue Sep 7 14:17:02 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* libbfd-in.h: Removed swapping routines declarations.

View file

@ -88,13 +88,18 @@ case ${with_64_bit_bfd} in
;;
esac
# This processing still needs to be done if we're to decide properly whether
# 64-bit support needs to be compiled in. Currently, it will be included if
# the default or any other explicitly requested target requires it; it
# will not be included on a 32-bit host if no 64-bit target is requested, and
# no "--with-64-bit-bfd" option is given, even if "--with-targets=all" is
# used.
# The default vector in the primary target.
DEFAULT_VECTOR=`sed -n '
s/DEFAULT_VECTOR[ ]*=[ ]*\([^ ]*\)/\1/p
' $target_makefile_frag`
if [ x${all_targets} = xfalse ]; then
allfrags="$target_makefile_frag $target_extra_frags"
# The default and selected vectors in all the configured targets.
@ -235,9 +240,9 @@ if [ x${all_targets} = xfalse ]; then
test -n "SELECT_ARCHITECTURES" &&
selarchs=`echo $SELECT_ARCHITECTURES | sed -e 's/ \(.\)/,\1/g'`
else # all_targets is true
bfd_backends='$(ALL_BACKENDS)'
bfd_machines='$(ALL_MACHINES)'
if [ x${all_targets} = xtrue ]; then
bfd_backends="${bfd_backends}"' $(ALL_BACKENDS)'
bfd_machines="${bfd_machines}"' $(ALL_MACHINES)'
fi # all_targets is true
case ${host64}-${target64}-${want64} in