The build fails with older versions. Signed-off-by: Henrik Lindström <hen...@lxm.se> --- gcc/configure | 2 +- gcc/configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/configure b/gcc/configure index 776b0628c60..632fa6cb864 100755 --- a/gcc/configure +++ b/gcc/configure @@ -8840,7 +8840,7 @@ else case $ac_prog_version in '') gcc_cv_prog_makeinfo_modern=no;; - 4.[7-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;; + [5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;; *) gcc_cv_prog_makeinfo_modern=no;; esac diff --git a/gcc/configure.ac b/gcc/configure.ac index b6db9edfc83..364a5ab7e1d 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -1259,7 +1259,7 @@ AC_CHECK_PROG(have_mktemp_command, mktemp, yes, no) # that we can use it. ACX_CHECK_PROG_VER(MAKEINFO, makeinfo, --version, [GNU texinfo.* \([0-9][0-9.]*\)], - [4.[7-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*]) + [[5-9]*|[1-9][0-9]*]) if test $gcc_cv_prog_makeinfo_modern = no; then AC_MSG_WARN([ *** Makeinfo is missing or too old. -- 2.39.5