aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-15 16:22:03 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-15 16:22:03 +0000
commit7c2fadd1afe4f2f5d3442e706f10ebfd7576bccb (patch)
tree60034cc2d7e39d7a3909b5c1abccf73c4f0c3979 /gas/configure.in
parent52c6bc4d975ef19ccd8d6a0c9640e00f376f76a3 (diff)
downloadgdb-7c2fadd1afe4f2f5d3442e706f10ebfd7576bccb.zip
gdb-7c2fadd1afe4f2f5d3442e706f10ebfd7576bccb.tar.gz
gdb-7c2fadd1afe4f2f5d3442e706f10ebfd7576bccb.tar.bz2
* configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
doesn't need opcodes. If configuring shared, opcodes needs bfd. * configure: Rebuild.
Diffstat (limited to 'gas/configure.in')
-rw-r--r--gas/configure.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/gas/configure.in b/gas/configure.in
index e38700d..372332b 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -67,7 +67,7 @@ for this_target in $target $canon_targets ; do
arm*) cpu_type=arm endian=little ;;
hppa*) cpu_type=hppa ;;
changequote(,)dnl
- i[45]86) cpu_type=i386 ;;
+ i[456]86) cpu_type=i386 ;;
m680[012346]0) cpu_type=m68k ;;
m68008) cpu_type=m68k ;;
m683??) cpu_type=m68k ;;
@@ -293,8 +293,15 @@ changequote([,])dnl
# do we need the opcodes library?
case ${cpu_type} in
- alpha | vax) ;;
- *) need_opcodes=yes ;;
+ alpha | vax | i386)
+ ;;
+ *)
+ need_opcodes=yes
+ if test "${shared}" = "true"; then
+ # A shared libopcodes must be linked against libbfd.
+ need_bfd=yes
+ fi
+ ;;
esac
test -n "$want_sparc_v9" && AC_DEFINE(SPARC_V9)