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
This commit is contained in:
Zack Weinberg 2001-10-30 04:57:42 +00:00 committed by Zack Weinberg
parent 2b472f91ee
commit 0461a052b8
3 changed files with 7 additions and 3 deletions

View file

@ -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.

2
gcc/configure vendored
View file

@ -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

View file

@ -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