oitofelix/mininim

Makeinfo version is determined incorrectly

jolfzverb opened this issue · 1 comments

In configure.ac texinfo version is parsed out by sed:

texinfo_version=`$MAKEINFO --version | $SED -n 's/^makeinfo.* \(@<:@@<:@:digit:@:>@.@:>@*\)$/\1/p'`

In my gentoo with texinfo v6.1 makeinfo binary is symlink to texi2any and --version string is:

$ makeinfo --version
texi2any (GNU texinfo) 6.1

Copyright (C) 2016 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.

To configure without fails I changed sed line to

$SED -n '1s/^.* \(@<:@@<:@:digit:@:>@.@:>@*\)$/\1/p'

Merged. Thanks!