This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: makeinfo version checking
- From: Nick Clifton <nickc at redhat dot com>
- To: Alexander Kozlov <akozlov at nada dot kth dot se>
- Cc: binutils at sourceware dot org
- Date: Mon, 17 Sep 2007 17:47:53 +0100
- Subject: Re: makeinfo version checking
- References: <1189755577.5205.ezmlm@sourceware.org> <Pine.SOC.4.64.0709140949420.18212@my.nada.kth.se>
Hi Alex,
Binutils 2.17 - 2.18 configure script requires texinfo 4.4 or higher to
be installed. The version checking code worked for 4.4 - 4.9 and broke
with the latest texinfo 4.11:
if ${MAKEINFO} --version \
| egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null
2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"
fi
The search pattern could be changed to
egrep 'texinfo[^0-9]*([1-3][0-9]|4\.([4-9]|[1-9][0-9])|[5-9])'
to allow two-digit 4.xx subversions.
Thanks. Alan Modra recently checked in a patch to take care of this problem.
Cheers
Nick