diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-30 16:47:25 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-10-30 16:47:25 +0000 |
commit | d0a650d20981045ecc9f7b0643d489090a4e3d2f (patch) | |
tree | 116b4b4d3d10a8c7c4c9938ee6c5536a756dca76 /gcc/configure | |
parent | 34bb8209864d5d3664cd50041f3dbf2ed39a5a12 (diff) | |
download | gcc-d0a650d20981045ecc9f7b0643d489090a4e3d2f.tar.gz |
* configure.in: Correct previous change: don't assume that
gas's version number _isn't_ the last thing on the line, or
isn't the only number on the line, either.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure index 9ddc44ff67f..5c2141d42c2 100755 --- a/gcc/configure +++ b/gcc/configure @@ -7207,7 +7207,7 @@ EOF # arbitrary sections are supported and try the test. as_ver=`$gcc_cv_as --version 2>/dev/null | head -1` if echo "$as_ver" | grep GNU > /dev/null; then - as_ver=`echo $as_ver | sed -e 's/.* \([0-9.][0-9.]*\) .*/\1/'` + as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'` as_major=`echo $as_ver | sed 's/\..*//'` as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'` if test $as_major -eq 2 -a $as_minor -lt 11; then |