]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: Handle binutils versions with 4 dot separated numbers.
authorChris Lingard <chris@stockwith.co.uk>
Tue, 4 Feb 2003 00:17:46 +0000 (00:17 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 4 Feb 2003 00:17:46 +0000 (01:17 +0100)
2003-02-03  Chris Lingard <chris@stockwith.co.uk>
    Dan Osterrath <do3@mail.inf.tu-dresden.de>

* configure.in: Handle binutils versions with 4 dot separated
numbers.
* configure: Rebuilt.

Co-Authored-By: Dan Osterrath <do3@mail.inf.tu-dresden.de>
From-SVN: r62363

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 60e1073b57c7a7ac4ba57b6109faa67ce3064494..3a2042b05abcb100866715976455d739c1c5d078 100644 (file)
@@ -1,3 +1,10 @@
+2003-02-03  Chris Lingard <chris@stockwith.co.uk>
+           Dan Osterrath <do3@mail.inf.tu-dresden.de>
+
+       * configure.in: Handle binutils versions with 4 dot separated
+       numbers.
+       * configure: Rebuilt.
+
 2003-02-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        Backport following patch:
index ddb8975dd4a25aa52cca2901eb6bdc2ca841c631..89d33723beb27cc25ada6da4a50ab6d6fbe0a74e 100755 (executable)
@@ -7216,7 +7216,7 @@ elif test x$gcc_cv_as != x; then
        # the date string after the version number.
        ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1`
        if echo "$ld_ver" | grep GNU > /dev/null; then
-               ld_vers=`echo $ld_ver | sed -n 's,^.*[  ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\([     ].*\|\)$,\1,p'`
+               ld_vers=`echo $ld_ver | sed -n 's,^.*[  ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\)\([  ].*\|\)$,\1,p'`
                ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`
                if test 0"$ld_date" -lt 20020404; then
                        if test -n "$ld_date"; then
index 69545a49ae2b488922b50052dc0951057ebaacf3..d9a0d29125db38e97e68b2111e2a1b9ca140b7e2 100644 (file)
@@ -1537,7 +1537,7 @@ elif test x$gcc_cv_as != x; then
        ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1`
        if echo "$ld_ver" | grep GNU > /dev/null; then
 changequote(,)dnl
-               ld_vers=`echo $ld_ver | sed -n 's,^.*[  ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\([     ].*\|\)$,\1,p'`
+               ld_vers=`echo $ld_ver | sed -n 's,^.*[  ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\)\([  ].*\|\)$,\1,p'`
                ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'`
                if test 0"$ld_date" -lt 20020404; then
                        if test -n "$ld_date"; then