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.
This commit is contained in:
Tomi Ollila 2020-08-11 10:38:19 +03:00 committed by David Bremner
parent 1c80020e70
commit 00dc5dd824

4
configure vendored
View file

@ -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"