]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix makeinfo version regexp.
authorGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2007 19:45:45 +0000 (19:45 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2007 19:45:45 +0000 (19:45 +0000)
configure
configure.in

index d12d86c7f373c72fbc2c5b2c9c94d9fdefe456fe..b989534f26d659a0d33f4640a643e6ef445ac795 100755 (executable)
--- 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
 
index 306f8441973fb63c94b56915e42bf405fbff772c..3686753e8c75f8c21d38ada7b75bd8eb5c0cce7b 100644 (file)
@@ -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