diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-17 12:45:34 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-17 12:45:34 +0000 |
commit | 78dde42ddfc1747d1245116c7e56437e14fd30a9 (patch) | |
tree | 20443e5392bb65665212a8bc5a291905db887925 /gcc/aclocal.m4 | |
parent | 8f367003003cd938f60e919b663846eef7e44a64 (diff) | |
download | gcc-78dde42ddfc1747d1245116c7e56437e14fd30a9.tar.gz |
* configure.ac (gcc_cv_gld_version): Handle whitespace before
"VERSION=".
* aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Ditto.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87643 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/aclocal.m4')
-rw-r--r-- | gcc/aclocal.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 6f1679e009a..ba49bf42dd3 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -570,7 +570,7 @@ for f in $gcc_cv_as_bfd_srcdir/configure \ $gcc_cv_as_gas_srcdir/configure \ $gcc_cv_as_gas_srcdir/configure.in \ $gcc_cv_as_gas_srcdir/Makefile.in ; do - gcc_cv_gas_version=`grep '^VERSION=[[0-9]]*\.[[0-9]]*' $f` + gcc_cv_gas_version=`sed -n -e 's/^[[ ]]*\(VERSION=[[0-9]]*\.[[0-9]]*.*\)/\1/p' < $f` if test x$gcc_cv_gas_version != x; then break fi |