This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: makeinfo version checking


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."


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