Fix thinko in last commit.
[deliverable/binutils-gdb.git] / opcodes / configure.in
index d98968841b542bc817ce439dd703bb6ac4ad6881..0088fe94b1971313b5c866bc678274060c7a4cff 100644 (file)
@@ -77,7 +77,7 @@ AC_EXEEXT
 
 AC_PROG_CC
 
-ALL_LINGUAS="fr sv tr es da"
+ALL_LINGUAS="fr sv tr es da de"
 CY_GNU_GETTEXT
 
 . ${srcdir}/../bfd/configure.host
@@ -210,11 +210,17 @@ if test x${all_targets} = xfalse ; then
        bfd_s390_arch)          ta="$ta s390-dis.lo s390-opc.lo" ;;
        bfd_sh_arch)
          # We can't decide what we want just from the CPU family.
-         case " $target $canon_targets " in
-            *" all "* | *" sh64-"* )
+         # We want SH5 support unless a specific version of sh is
+         # specified, as in sh3-elf, sh3b-linux-gnu, etc.
+         # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
+         for t in $target $canon_targets; do
+           case $t in
+             all |  sh64-* | sh-*-*elf* | shl-*-*elf* | sh-*-linux* | shl-*-linux*)
                                ta="$ta sh64-dis.lo sh64-opc.lo"
-                               archdefs="$archdefs -DINCLUDE_SHMEDIA";;
-         esac;
+                               archdefs="$archdefs -DINCLUDE_SHMEDIA"
+                               break;;
+           esac;
+         done
                                ta="$ta sh-dis.lo" ;;
        bfd_sparc_arch)         ta="$ta sparc-dis.lo sparc-opc.lo" ;;
        bfd_tahoe_arch)         ;;
This page took 0.023129 seconds and 4 git commands to generate.