From d4840f44f76157dac920967177aca0791f95a10c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 15 Sep 2007 19:45:45 +0000 Subject: [PATCH] Fix makeinfo version regexp. --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d12d86c7f37..b989534f26d 100755 --- a/configure +++ b/configure @@ -5390,7 +5390,7 @@ fi if test "$MAKEINFO" != "no" && \ - test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([5-9]|4\.[6-9])'`" = x; then + test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[^0-9]*([1-4][0-9]+|[5-9]|4\.[6-9]|4\.[1-5][0-9]+)'`" = x; then MAKEINFO=no fi diff --git a/configure.in b/configure.in index 306f8441973..3686753e8c7 100644 --- a/configure.in +++ b/configure.in @@ -1347,7 +1347,7 @@ AC_PATH_PROG(MAKEINFO, makeinfo, no) dnl By this stage, configure has already checked for egrep and set EGREP, dnl or exited with an error if no egrep was found. if test "$MAKEINFO" != "no" && \ - test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[[^0-9]]*([[5-9]]|4\.[[6-9]])'`" = x; then + test x"`$MAKEINFO --version 2> /dev/null | $EGREP 'texinfo[[^0-9]]*([[1-4]][[0-9]]+|[[5-9]]|4\.[[6-9]]|4\.[[1-5]][[0-9]]+)'`" = x; then MAKEINFO=no fi -- 2.39.5