This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] require makeinfo 4.2 or better

At Sat, 3 May 2003 01:12:55 +0000 (UTC), "DJ Delorie" wrote:
> I think for this patch, manually applying it to both Makefile.tpl and
> would be acceptable.
> Oh, and... approved ;-)

Thanks, i've applied to both gcc and src repositories.

I suppose with the recent changes to use --no-split instead, this
patch may not be strictly necessary on the GCC 3.3 branch, but it
could be a boon to people building combined-tree builds with gcc +
binutils 2.14 (and whatever texinfo happens to be installed on their

An alternative is to convert the binutils release branch
Makefile.{in,tpl} to use --no-split instead (or to use both patches
8-), i guess.


Mark?  How about this for the gcc 3.3 branch?  (And, now, or after
3.3?  8-)

Daniel, which (or both) would you like to see on the binutils branch?

2003-05-02  Chris Demetriou  <>

	* Makefile.tpl: Require "makeinfo" from texinfo 4.2 or later.
	* Regenerate.

Index: Makefile.tpl
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile.tpl
--- Makefile.tpl	28 Apr 2003 02:23:46 -0000	1.44
+++ Makefile.tpl	2 May 2003 21:10:25 -0000
@@ -194,13 +194,13 @@ M4 = `if [ -f $$r/m4/m4 ] ; \
 	then echo $$r/m4/m4 ; \
 	else echo ${DEFAULT_M4} ; fi`
-# For an installed makeinfo, we require it to be from texinfo 4 or
+# For an installed makeinfo, we require it to be from texinfo 4.2 or
 # higher, else we use the "missing" dummy.
 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-9])') >/dev/null 2>&1; \
+	  | 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`
 # This just becomes part of the MAKEINFO definition passed down to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]