re PR other/10745 (Bug in gcc-3.3/gcc/configure)

PR other/10745
	* configure.in: Correct detection of GNU ld version number.
	* configure: Regenerated.

From-SVN: r66730
This commit is contained in:
Mark Mitchell 2003-05-12 18:51:34 +00:00 committed by Mark Mitchell
parent 9804f5fb8b
commit 96ef4bdc08
3 changed files with 360 additions and 365 deletions

View File

@ -1,3 +1,9 @@
2003-05-12 Mark Mitchell <mark@codesourcery.com>
PR other/10745
* configure.in: Correct detection of GNU ld version number.
* configure: Regenerated.
2003-05-12 Zack Weinberg <zack@codesourcery.com>
* diagnostic.c (diagnostic_for_decl): Take a

715
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1847,8 +1847,8 @@ elif test x$gcc_cv_as != x; then
ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1`
if echo "$ld_ver" | grep GNU > /dev/null; then
changequote(,)dnl
ld_vers=`echo $ld_ver | sed -n 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\([ ].*\|\)$,\1,p'`
ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`
ld_vers=`echo $ld_ver | sed -n 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\)\([ ].*\|\)$,\1,p'`
ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`
if test 0"$ld_date" -lt 20020404; then
if test -n "$ld_date"; then
# If there was date string, but was earlier than 2002-04-04, fail