This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: makeinfo version checking
- From: Andreas Schwab <schwab at suse dot de>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Alexander Kozlov <akozlov at nada dot kth dot se>, binutils at sourceware dot org
- Date: Mon, 17 Sep 2007 22:02:29 +0200
- Subject: Re: makeinfo version checking
- References: <1189755577.5205.ezmlm@sourceware.org> <Pine.SOC.4.64.0709140949420.18212@my.nada.kth.se> <46EEAFB9.8050902@redhat.com>
Nick Clifton <nickc@redhat.com> writes:
> 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.
Actually the minimum requirement should be raised to 4.6, since the
recently imported etc/standards.texi uses a 4.6 feature (@/).
OK?
Andreas.
2007-09-17 Andreas Schwab <schwab@suse.de>
* configure.ac: Raise minimum makeinfo version to 4.6.
* configure: Regenerate.
--- configure.ac 17 Sep 2007 21:53:10 +0200 1.26
+++ configure.ac 17 Sep 2007 21:59:02 +0200
@@ -2459,10 +2459,10 @@ case " $build_configdirs " in
*" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
*)
changequote(,)
- # For an installed makeinfo, we require it to be from texinfo 4.4 or
+ # For an installed makeinfo, we require it to be from texinfo 4.6 or
# higher, else we use the "missing" dummy.
if ${MAKEINFO} --version \
- | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ | egrep 'texinfo[^0-9]*(4\.([6-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
:
else
MAKEINFO="$MISSING makeinfo"
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."