From fe48a154b9ce0dbc6afb3abb2586302aeb483c09 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 4 Sep 1995 18:32:22 +0000 Subject: [PATCH] * configure.in: Don't bother to call config.bfd for each target. Just call it for the default target, and use the shell variable to decide whether underscores are used. --- binutils/ChangeLog | 6 ++++++ binutils/configure.in | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 72b824b1a0d..0f8695d18f2 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +Mon Sep 4 14:30:00 1995 Ian Lance Taylor + + * configure.in: Don't bother to call config.bfd for each target. + Just call it for the default target, and use the shell variable to + decide whether underscores are used. + Thu Aug 31 19:21:48 1995 Jason Molenda (crash@phydeaux.cygnus.com) * configure.in: match i[3-6]86-*-win32, not just i386-*-win32. diff --git a/binutils/configure.in b/binutils/configure.in index 43d09611939..9177beb640c 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -45,9 +45,7 @@ dlltool_defs= for targ in $target $canon_targets do - bfd_target=`${config_shell} $srcdir/../bfd/config.bfd $targ` - - if [ "x$bfd_target" = "xall" ]; then + if [ "x$targ" = "xall" ]; then all_targets=true build_nlmconv=true build_srconv=true @@ -108,7 +106,9 @@ if [ "x${build_dlltool}" = "xtrue" ]; then echo "DLLTOOL_DEFS = ${dlltool_defs}" >> Makefile.2 fi -if [ "x`${config_shell} $srcdir/../bfd/config.bfd $target _`" = "xyes" ]; then +targ=$target +. $srcdir/../bfd/config.bfd +if test "x$targ_underscore" = "xyes"; then underscore=1 else underscore=0 -- 2.30.2