[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in makeinfo version check (with PATCH)
From: |
darkc |
Subject: |
bug in makeinfo version check (with PATCH) |
Date: |
Sat, 01 Dec 2007 22:49:55 +0100 |
Hi,
i am building binutils from source for cross compilation. I did this
successfully in the past but on my new fedora 8 i got errors.
------------
../configure --target=i686-mingw32 --prefix=/opt/cross-tools
make
-------------
WARNING: `makeinfo' is missing on your system. You should only need it
if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy
`make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
--------------
binutils 2.18
fedora 8
makeinfo 4.11
--------------
After a little bit of try and error I found the problem
in configure.ac around line 2405:
# 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
:
else
MAKEINFO="$MISSING makeinfo"
fi
;;
this version grep works only for one digit minor version numbers.
output of `makeinfo --version`:
makeinfo (GNU texinfo) 4.11
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
as a simple patch I suggest something like this:
egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4\.[1-3][0-9]|[5-9])'
I don't know what ([1-3][0-9]| is for, maybe it was a failed try to
catch exactly this.
Thanks
Christian
config.log
Description: Text Data
- bug in makeinfo version check (with PATCH),
darkc <=