Allow makeinfo version major.minor.patch
makeinfo 7 has a three digit version number. This patch makes configure understand both two digit and three digit versions.
LANG=C makeinfo --version texi2any (GNU texinfo) 7.0.1
Copyright (C) 2022 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.