From: Tomi Ollila Date: Tue, 11 Aug 2020 07:38:19 +0000 (+0300) Subject: configure: Check if emacs >= 25 (instead of >= 24) is available X-Git-Tag: 0.31_rc0~10 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=00dc5dd82435f9130df771dd3b9ac54283bdd495 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. --- 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"