This is the mail archive of the gcc-patches@gcc.gnu.org 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]

makeinfo version check


We've had two reports since binutils-2.18 saying that the configure
makeinfo version check fails for texinfo 4.11.  I'd like to install
the following fairly obvious patch to fix this in both gcc and src.
I also moved the match for texinfo 10 thru texinfo 39 to the end, and
made it match 10 thru 99 so that it won't break when texinfo 40.0
is released.

	* configure.ac: Correct makeinfo version check.

OK to install?

Index: configure.ac
===================================================================
--- configure.ac	(revision 128489)
+++ configure.ac	(working copy)
@@ -2454,7 +2454,7 @@
     # For an installed makeinfo, we require it to be from texinfo 4.4 or
     # higher, else we use the "missing" dummy.
     if ${MAKEINFO} --version \
-       | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
+       | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
       :
     else
       MAKEINFO="$MISSING makeinfo"

-- 
Alan Modra
Australia Development Lab, IBM


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