mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
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:
parent
f58e97341c
commit
f210f1cd67
@ -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
|
||||
|
@ -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
2
libgomp/configure
vendored
@ -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 }'`
|
||||
|
Loading…
Reference in New Issue
Block a user