mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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:
parent
1c80020e70
commit
00dc5dd824
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue