aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-06-29 17:22:03 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-06-29 17:22:03 +0000
commita8285504926c7e591be1faab5255553f0435421c (patch)
tree8a28f0fc42f438e55a39fbc3ba66e3e6a0679120 /gas/configure.in
parent38c41e9209893cf23e8bafb165aec23d88df145d (diff)
downloadgdb-a8285504926c7e591be1faab5255553f0435421c.zip
gdb-a8285504926c7e591be1faab5255553f0435421c.tar.gz
gdb-a8285504926c7e591be1faab5255553f0435421c.tar.bz2
fix HPUX hosting problems
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in25
1 files changed, 16 insertions, 9 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 2c90667..6b6075b 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -42,7 +42,7 @@ case "${host}" in
alpha-*-osf*) gas_host=ansi ;;
- hppa*-hp-hpux*) gas_host=hppahpux ;;
+ hppa*-hp-hpux*) gas_host=hpux ;;
hppa*-hp-bsd*) gas_host=hppabsd ;;
hppa*-hp-osf*) gas_host=hppaosf ;;
@@ -97,7 +97,7 @@ emulation=generic
# check for architecture variants
case ${target_cpu} in
sparclite*) cpu_type=sparc ;;
- sparc64) cpu_type=sparc obj_format=aout ;;
+ sparc64) cpu_type=sparc obj_format=aout ;; # v9
m680[01234]0) cpu_type=m68k ;;
m683??) cpu_type=m68k ;;
i486) cpu_type=i386 ;;
@@ -145,6 +145,8 @@ case ${generic_target} in
mips-*-ecoff*) obj_format=ecoff gas_target=mips-big ;;
mips-*-irix*) obj_format=ecoff gas_target=mips-big emulation=irix ;;
+ sparc*-*-sunos4*) bfd_gas=preferred obj_format=aout emulation=sun3 ;;
+
sparclite*-fujitsu-none)
obj_format=aout ;;
@@ -206,18 +208,23 @@ case ${bfd_gas}-${obj_format} in
*) ;;
esac
-case ${with_bfd_assembler} in
- "")
- # User specified nothing.
- ;;
- "${bfd_gas}")
+case ${with_bfd_assembler}-${bfd_gas} in
+ yes-yes | no-no)
# We didn't override user's choice.
;;
- no)
- # ... but we overrode it.
+ no-yes)
echo '*** Use of BFD is required for ${target}; overriding config options'\
1>&2
;;
+ no-preferred)
+ bfd_gas=no
+ ;;
+ *-preferred)
+ bfd_gas=yes
+ ;;
+ -*)
+ # User specified nothing.
+ ;;
esac
files="config/ho-${gas_host}.h config/tc-${cpu_type}.c \