]> git.cworth.org Git - notmuch/commitdiff
configure: Check if emacs >= 25 (instead of >= 24) is available
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 11 Aug 2020 07:38:19 +0000 (10:38 +0300)
committerDavid Bremner <david@tethera.net>
Wed, 12 Aug 2020 23:24:29 +0000 (20:24 -0300)
"The minimum supported major version of GNU Emacs is now 25.1."

25.1 is the first "released" version of Emacs 25.

configure

index a357eb916fef846445e4e4167f3a5c0a7eeec444..40e8b2559e86b40985ef2c6dc142eb0104c3ddb6 100755 (executable)
--- a/configure
+++ b/configure
@@ -829,8 +829,8 @@ if [ -z "${EMACSETCDIR-}" ]; then
 fi
 
 if [ $WITH_EMACS = "1" ]; then
-    printf "Checking if emacs (>= 24) is available... "
-    if emacs --quick --batch --eval '(if (< emacs-major-version 24) (kill-emacs 1))' > /dev/null 2>&1; then
+    printf "Checking if emacs (>= 25) is available... "
+    if emacs --quick --batch --eval '(if (< emacs-major-version 25) (kill-emacs 1))' > /dev/null 2>&1; then
         printf "Yes.\n"
     else
         printf "No (disabling emacs related parts of build)\n"