summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.2.5/glibc-2.2.5-allow-gcc-4.x-configure.patch
blob: 138c5414cb82227bf0d9730c3d331ec36c01147a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Fixes
checking version of powerpc-405-linux-gnu-gcc ... 4.0.0, bad
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.80, ok
configure: error:
*** These critical programs are missing or too old:gcc 


--- glibc-2.2.5/configure.old	2005-03-10 00:23:46.374213600 -0800
+++ glibc-2.2.5/configure	2005-03-10 00:25:13.313996744 -0800
@@ -1476,7 +1476,7 @@
   ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
   case $ac_prog_version in
     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
-    *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|3.[0-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
+    *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|3.[0-9]*|4.[0-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;