patches/gcc/4.2.0/110-uclibc-conf-noupstream.patch
author Oron Peled <oron@actcom.co.il>
Mon Aug 03 23:11:53 2009 +0200 (2009-08-03)
branch1.4
changeset 1455 e6a3b4ffe576
parent 111 2e16b9fc302d
permissions -rw-r--r--
[configure] Fix automake version check

The configure script fails on automake-1.11 (in Fedora-11) since
it looks for 3-digit version number.

"Yann E. MORIN", added the following comment:

The check for the automake version is not against a 3-digit number,
but really against a 3-part version number, a-la 'x.y.z'. Versions
such as 1.10 and 1.11 are also valid.
yann@111
     1
--- gcc/gcc/config.gcc.uclibc100-sh~	2006-03-06 20:46:56 +0100
yann@111
     2
+++ gcc/gcc/config.gcc	2006-03-10 15:02:41 +0100
yann@111
     3
@@ -1905,7 +1905,7 @@
yann@111
     4
 	;;
yann@111
     5
 sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
yann@111
     6
 sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
yann@111
     7
-  sh-*-linux* | sh[346lbe]*-*-linux* | \
yann@111
     8
+  sh*-*-linux* | sh[346lbe]*-*-linux* | \
yann@111
     9
   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
yann@111
    10
    sh64-*-netbsd* | sh64l*-*-netbsd*)
yann@111
    11
 	tmake_file="${tmake_file} sh/t-sh sh/t-elf"