diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-04 18:32:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-04 18:32:22 +0000 |
commit | fe48a154b9ce0dbc6afb3abb2586302aeb483c09 (patch) | |
tree | 6eb308f3c9daa32a276b0149c61f00b671c6ae86 /binutils/configure.in | |
parent | 2b79a10471177329465a195f19440a8c8dbbb8ff (diff) | |
download | gdb-fe48a154b9ce0dbc6afb3abb2586302aeb483c09.zip gdb-fe48a154b9ce0dbc6afb3abb2586302aeb483c09.tar.gz gdb-fe48a154b9ce0dbc6afb3abb2586302aeb483c09.tar.bz2 |
* 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.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r-- | binutils/configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/binutils/configure.in b/binutils/configure.in index 43d0961..9177beb 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 |