diff --git a/ChangeLog b/ChangeLog index 502f277..8704608 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-01-22 Nicola Pero + + * config.guess (i*86:Linux:*:*): Fixed: export LANG=C before + running ld so that linker output can be assumed to be in English, + and it works with non-default locales. + 2002-01-10 Ben Elliston * config.guess: Update Per Bothner's mail address. diff --git a/config.guess b/config.guess index aa6ea3f..8fb1519 100755 --- a/config.guess +++ b/config.guess @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002 Free Software Foundation, Inc. -timestamp='2002-01-10' +timestamp='2002-01-22' # 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,7 +837,9 @@ 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_supported_targets=`cd /; ld --help 2>&1 \ + # Export LANG=C to prevent ld from outputting information in other + # languages. + ld_supported_targets=`LANG=C; export LANG; cd /; ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *//