This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Update Texinfo version requirement


The installation documentation claims the Texinfo version requirement
is 3.12f or later; configure accepts 4.0 or later.  The real minimum
is certainly at least 4.2, because that's when @copying was
introduced.

I propose this patch changing the minimum to 4.5, which is the
earliest version available from ftp.gnu.org and which I've confirmed
does work.  Regarding versions 4.2-4.4: 4.4 has documented as a
language change "@value constructs are now expanded in the filename
arguments to @include and @verbatiminclude.", which is a feature used
by the glibc manual, so likely at least 4.4 is in fact required, and
4.5 was released four days after 4.4 (4 February 2003) so I don't
think we need to worry about whether in fact 4.4 would also work for
glibc; we could safely enough require a much more recent version, we
just don't have any reason to do so.

Tested x86.  Note the INSTALL regeneration will also include some
changes from other recent install.texi changes where INSTALL didn't
get regenerated.

2012-05-16  Joseph Myers  <joseph@codesourcery.com>

	* configure.in (makeinfo): Require version 4.5 or later.  Allow
	versions 5 to 9.
	* configure: Regenerated.
	* manual/install.texi (texinfo): Increase version requirement to
	4.5 or later.
	* INSTALL: Regenerated.

diff --git a/configure.in b/configure.in
index 30a062f..ce4b7ad 100644
--- a/configure.in
+++ b/configure.in
@@ -919,7 +919,7 @@ AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
   MSGFMT=: aux_missing="$aux_missing msgfmt")
 AC_CHECK_PROG_VER(MAKEINFO, makeinfo, --version,
   [GNU texinfo.* \([0-9][0-9.]*\)],
-  [4.*],
+  [4.[5-9]*|4.[1-9][0-9]*|[5-9].*],
   MAKEINFO=: aux_missing="$aux_missing makeinfo")
 AC_CHECK_PROG_VER(SED, sed, --version,
   [GNU sed version \([0-9]*\.[0-9.]*\)],
diff --git a/manual/install.texi b/manual/install.texi
index 9918425..3b6c1ed 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -334,7 +334,7 @@ No other assembler or linker has the necessary functionality at the
 moment.
 
 @item
-GNU @code{texinfo} 3.12f
+GNU @code{texinfo} 4.5 or later
 
 To correctly translate and install the Texinfo documentation you need
 this version of the @code{texinfo} package.  Earlier versions do not

-- 
Joseph S. Myers
joseph@codesourcery.com


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