From 00dc5dd82435f9130df771dd3b9ac54283bdd495 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 11 Aug 2020 10:38:19 +0300 Subject: [PATCH] configure: Check if emacs >= 25 (instead of >= 24) is available "The minimum supported major version of GNU Emacs is now 25.1." 25.1 is the first "released" version of Emacs 25. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a357eb91..40e8b255 100755 --- 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" -- 2.43.0