acinclude.m4: Adjust regular expression for ld version extraction.

* acinclude.m4: Adjust regular expression for ld version
	extraction.
	* configure: Regenerate.

From-SVN: r123035
This commit is contained in:
Andreas Schwab 2007-03-18 11:17:44 +00:00 committed by Andreas Schwab
parent f58e97341c
commit f210f1cd67
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-03-18 Andreas Schwab <schwab@suse.de>
* acinclude.m4: Adjust regular expression for ld version
extraction.
* configure: Regenerate.
2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
* Makefile.am: Add install-pdf target as copied from

View File

@ -148,7 +148,7 @@ AC_DEFUN([LIBGOMP_CHECK_LINKER_FEATURES], [
# does some of this, but throws away the result.
changequote(,)
ldver=`$LD --version 2>/dev/null | head -1 | \
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
changequote([,])
libgomp_gnu_ld_version=`echo $ldver | \
$AWK -F. '{ if (NF<3) [$]3=0; print ([$]1*100+[$]2)*100+[$]3 }'`

2
libgomp/configure vendored
View File

@ -9438,7 +9438,7 @@ _ACEOF
# does some of this, but throws away the result.
ldver=`$LD --version 2>/dev/null | head -1 | \
sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
libgomp_gnu_ld_version=`echo $ldver | \
$AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`