2002-02-12 Ben Elliston <bje@redhat.com>

* config.guess: Set LC_ALL, not LANG, when running ld --help.
	From Nicola Pero <nicola@brainstorm.co.uk>.
This commit is contained in:
Ben Elliston 2002-02-12 08:34:58 +00:00
parent 9257cbbd55
commit a24238bec4
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-02-12 Ben Elliston <bje@redhat.com>
* config.guess: Set LC_ALL, not LANG, when running ld --help.
From Nicola Pero <nicola@brainstorm.co.uk>.
2002-02-01 Ben Elliston <bje@redhat.com>
* config.sub (sh64, sh64-*): Add new machine.

7
config.guess vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-01-30'
timestamp='2002-02-12'
# 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
@ -837,9 +837,8 @@ 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.
# Export LANG=C to prevent ld from outputting information in other
# languages.
ld_supported_targets=`LANG=C; export LANG; cd /; ld --help 2>&1 \
# Set LC_ALL=C to ensure ld outputs messages in English.
ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
| sed -ne '/supported targets:/!d
s/[ ][ ]*/ /g
s/.*supported targets: *//