diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-18 11:17:44 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-18 11:17:44 +0000 |
commit | 20d905ca4abc7a3d8b5bde20a15e2349609407ab (patch) | |
tree | a0c64b5f975c0c1c7ca96cd80fa2d8dbea2dc072 /libgomp/acinclude.m4 | |
parent | e817bf15de59e519b89986d27975aecdcafd81f8 (diff) | |
download | gcc-20d905ca4abc7a3d8b5bde20a15e2349609407ab.tar.gz |
* acinclude.m4: Adjust regular expression for ld version
extraction.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123035 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/acinclude.m4')
-rw-r--r-- | libgomp/acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/acinclude.m4 b/libgomp/acinclude.m4 index e8de93db1b1..acf47dfe378 100644 --- a/libgomp/acinclude.m4 +++ b/libgomp/acinclude.m4 @@ -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 }'` |