aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rwxr-xr-xbinutils/configure19
-rw-r--r--binutils/configure.in19
3 files changed, 13 insertions, 30 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b059f91..a6275e1 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-28 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.in: Don't invoke configure.tgt on $enable_targets.
+ * configure: Regenerate.
+
2009-09-28 Nick Clifton <nickc@redhat.com>
PR 10478
diff --git a/binutils/configure b/binutils/configure
index 46bffdfc..de8134a 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -13965,21 +13965,10 @@ _ACEOF
# Emulation
-for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
-do
- # Canonicalize the secondary target names.
- result=`$ac_config_sub $targ_alias 2>/dev/null`
- if test -n "$result"; then
- targ=$result
- else
- targ=$targ_alias
- fi
-
- . ${srcdir}/configure.tgt
-
- EMULATION=$targ_emul
- EMULATION_VECTOR=$targ_emul_vector
-done
+targ=$target
+. ${srcdir}/configure.tgt
+EMULATION=$targ_emul
+EMULATION_VECTOR=$targ_emul_vector
diff --git a/binutils/configure.in b/binutils/configure.in
index 9938030..99925dd 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -445,21 +445,10 @@ AC_DEFINE_UNQUOTED(TARGET_PREPENDS_UNDERSCORE, $UNDERSCORE,
[Define to 1 if user symbol names have a leading underscore, 0 if not.])
# Emulation
-for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
-do
- # Canonicalize the secondary target names.
- result=`$ac_config_sub $targ_alias 2>/dev/null`
- if test -n "$result"; then
- targ=$result
- else
- targ=$targ_alias
- fi
-
- . ${srcdir}/configure.tgt
-
- EMULATION=$targ_emul
- EMULATION_VECTOR=$targ_emul_vector
-done
+targ=$target
+. ${srcdir}/configure.tgt
+EMULATION=$targ_emul
+EMULATION_VECTOR=$targ_emul_vector
AC_SUBST(EMULATION)
AC_SUBST(EMULATION_VECTOR)