diff options
author | Zack Weinberg <zack@codesourcery.com> | 2001-10-30 04:57:42 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-10-30 04:57:42 +0000 |
commit | 0461a052b892c7e2cc40cf836f8454cf0f6370f8 (patch) | |
tree | 65c07bf938b22eae1e165ccf62e2e9d38d8672b7 /gcc | |
parent | 2b472f91ee2e77f6b457d7880c13ed627e9b8666 (diff) | |
download | gcc-0461a052b892c7e2cc40cf836f8454cf0f6370f8.zip gcc-0461a052b892c7e2cc40cf836f8454cf0f6370f8.tar.gz gcc-0461a052b892c7e2cc40cf836f8454cf0f6370f8.tar.bz2 |
configure.in: Do not assume that gas's version number is the last thing on the first line of...
* configure.in: Do not assume that gas's version number is the
last thing on the first line of as --version output.
* configure: Regenerate.
From-SVN: r46629
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.in | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54698ba..c9cd68e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2001-10-29 Zack Weinberg <zack@codesourcery.com> + * configure.in: Do not assume that gas's version number is the + last thing on the first line of as --version output. + * configure: Regenerate. + * tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to MT_WARNING, MT_ERROR, MT_FATAL. (main): Call gcc_init_libintl. diff --git a/gcc/configure b/gcc/configure index 094f2d0..9ddc44f 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/.* //'` + as_ver=`echo $as_ver | sed -e 's/.* \([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 diff --git a/gcc/configure.in b/gcc/configure.in index 89cc802..2e32cf1 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1382,9 +1382,9 @@ 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/.* //'` - as_major=`echo $as_ver | sed 's/\..*//'` changequote(,)dnl + as_ver=`echo $as_ver | sed -e 's/.* \([0-9.][0-9.]*\) .*/\1/'` + as_major=`echo $as_ver | sed 's/\..*//'` as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'` changequote([,])dnl if test $as_major -eq 2 -a $as_minor -lt 11; then |