aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-03-02 20:15:33 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-03-02 20:15:33 +0000
commit158868217c3dcf1e6170ca5c7b02a653b4c9ebf5 (patch)
treed41094651413a12ccfd93f4174b09fa5d4ea1510 /gas/configure.in
parentf9bc20e78dc3b6f0ea8371695b9af3b1528e2b21 (diff)
downloadgdb-158868217c3dcf1e6170ca5c7b02a653b4c9ebf5.zip
gdb-158868217c3dcf1e6170ca5c7b02a653b4c9ebf5.tar.gz
gdb-158868217c3dcf1e6170ca5c7b02a653b4c9ebf5.tar.bz2
2000-03-02 H.J. Lu (hjl@gnu.org)
* configure.in: Support --enable-targets=all on ia32. * configure: Regenerated.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 361ae64..d3e6137 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -59,8 +59,13 @@ te_file=generic
install_tooldir=install-exec-tooldir
canon_targets=""
+all_targets=no
if test -n "$enable_targets" ; then
for t in `echo $enable_targets | sed 's/,/ /g'`; do
+ if test $t = "all"; then
+ all_targets=yes
+ continue
+ fi
result=`$ac_config_sub $t 2>/dev/null`
if test -n "$result" ; then
canon_targets="$canon_targets $result"
@@ -519,6 +524,25 @@ changequote([,])dnl
done
+# Turn on all targets if possible
+if test ${all_targets} = "yes"; then
+ case ${target_cpu_type} in
+ i386)
+ case ${obj_format} in
+ aout)
+ emulations="$emulations i386coff i386elf"
+ ;;
+ coff)
+ emulations="$emulations i386aout i386elf"
+ ;;
+ elf)
+ emulations="$emulations i386aout i386coff"
+ ;;
+ esac
+ ;;
+ esac
+fi
+
# Assign floating point type. Most processors with FP support
# IEEE FP. On those that don't support FP at all, usually IEEE
# is emulated.