configure.ac (ld_vers): Support GNU linker version xx.xx.*
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 23 Sep 2007 21:07:27 +0000 (21:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 23 Sep 2007 21:07:27 +0000 (14:07 -0700)
2007-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* configure.ac (ld_vers): Support GNU linker version xx.xx.*
* configure: Regenerated.

From-SVN: r128702

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index b510bddf42914894d273facda161f93f8f94ef94..dbafee45d9d044a3bbdc37a8d4d70b6d5b05a1c9 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.ac (ld_vers): Support GNU linker version xx.xx.*
+       * configure: Regenerated.
+
 2007-09-23  Ollie Wild  <aaw@google.com>
 
        fold-const.c (fold_binary): Fold BIT_AND_EXPR's with a pointer operand.
index abb1e203709c14f2d1a613f198ce30405e4b2024..589ae0ada33de9e5e7005af817714bb1637bac59 100755 (executable)
@@ -14047,10 +14047,7 @@ else
   ld_ver=`$gcc_cv_ld --version 2>/dev/null | sed 1q`
   if echo "$ld_ver" | grep GNU > /dev/null; then
     ld_vers=`echo $ld_ver | sed -n \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
+       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p' \
        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)[  ].*$,\1,p' \
        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[     ].*$,\1,p' \
        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[       ].*$,\1,p' \
index ad957ebaa747f49c136eb7f54ebac2fc113ae2d8..15a67af63c8860e3c7e574821f63b114012f9f33 100644 (file)
@@ -2066,10 +2066,7 @@ else
   if echo "$ld_ver" | grep GNU > /dev/null; then
 changequote(,)dnl
     ld_vers=`echo $ld_ver | sed -n \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
-       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)$,\1,p' \
+       -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p' \
        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\)[  ].*$,\1,p' \
        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[     ].*$,\1,p' \
        -e 's,^.*[       ]\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\)[       ].*$,\1,p' \