File gcc34-alt-makeinfo.patch of Package gcc3

--- gcc/gcc/configure.ac
+++ gcc/gcc/configure.ac
@@ -648,7 +648,7 @@ else
   # that we can use it.
   gcc_AC_CHECK_PROG_VER(MAKEINFO, makeinfo, --version,
   [GNU texinfo.* \([0-9][0-9.]*\)],
-  [4.[2-9]*])
+  [4.[2-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*])
 fi
 
 if test $gcc_cv_prog_makeinfo_modern = no; then
--- gcc/gcc/configure
+++ gcc/gcc/configure
@@ -5232,7 +5232,7 @@ else
   echo "configure:5232: version of makeinfo is $ac_prog_version" >&5
   case $ac_prog_version in
     '')     gcc_cv_prog_makeinfo_modern=no;;
-    4.[2-9]*)
+    4.[2-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)
             gcc_cv_prog_makeinfo_modern=yes;;
     *)      gcc_cv_prog_makeinfo_modern=no;;
   esac
--- gcc/Makefile.in
+++ gcc/Makefile.in
@@ -185,9 +185,7 @@ M4 = `if [ -f $$r/m4/m4 ] ; \
 MAKEINFO=@MAKEINFO@
 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
 	then echo $$r/texinfo/makeinfo/makeinfo ; \
-	else if (makeinfo --version \
-	  | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
-        then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
+	else echo makeinfo; fi`
 
 # This just becomes part of the MAKEINFO definition passed down to
 # sub-makes.  It lets flags be given on the command line while still
openSUSE Build Service is sponsored by