summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2020-08-11 10:38:19 +0300
committerDavid Bremner <david@tethera.net>2020-08-12 20:24:29 -0300
commit00dc5dd82435f9130df771dd3b9ac54283bdd495 (patch)
tree34494c122c811ba812b24c45c5c8080aa81d3702
parent1c80020e701c7323de137c0616fc8864443d7bd3 (diff)
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.
-rwxr-xr-xconfigure4
1 files 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"