aboutsummaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorPhilipp Thomas <pthomas@suse.de>2000-10-05 21:18:00 +0000
committerPhilipp Thomas <pthomas@gcc.gnu.org>2000-10-05 21:18:00 +0000
commit61a77fea4a8fd6dec08a11fc26574c146a7903e5 (patch)
tree40d4d986a38de1a84e2c686e7e9b3d406d0e0c40 /config.guess
parent9a200b0a07e87fd05d1cfcc8564d8db0e80fae26 (diff)
downloadgcc-61a77fea4a8fd6dec08a11fc26574c146a7903e5.zip
gcc-61a77fea4a8fd6dec08a11fc26574c146a7903e5.tar.gz
gcc-61a77fea4a8fd6dec08a11fc26574c146a7903e5.tar.bz2
config.guess: Import CVS version 1.157.
2000-10-04 Philipp Thomas <pthomas@suse.de> * config.guess: Import CVS version 1.157. * config.sub: Import CVS version 1.181. From-SVN: r36732
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess9
1 files changed, 4 insertions, 5 deletions
diff --git a/config.guess b/config.guess
index 08e8a75..93e03c6 100755
--- a/config.guess
+++ b/config.guess
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
# Free Software Foundation, Inc.
-version='2000-09-05'
+version='2000-10-03'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -698,8 +698,7 @@ EOF
# The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path.
- ld_help_string=`cd /; ld --help 2>&1`
- ld_supported_emulations=`echo $ld_help_string \
+ ld_supported_emulations=`cd /; ld --help 2>&1 \
| sed -ne '/supported emulations:/!d
s/[ ][ ]*/ /g
s/.*supported emulations: *//
@@ -866,8 +865,8 @@ EOF
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
# If ld does not provide *any* "supported emulations:"
# that means it is gnuoldld.
- echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
- test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
+ test -z "$ld_supported_emulations" \
+ && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
case "${UNAME_MACHINE}" in
i?86)