mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
configure: check that the version of emacs we may have is at least 24
This also effectively drops support to Emacs version 23, which was deprecated in version 0.23.2 (2016-11-20) and did not entirely work any more.
This commit is contained in:
parent
fac155815c
commit
5e44372373
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -623,8 +623,8 @@ if [ -z "${EMACSETCDIR-}" ]; then
|
|||
EMACSETCDIR="\$(prefix)/share/emacs/site-lisp"
|
||||
fi
|
||||
|
||||
printf "Checking if emacs is available... "
|
||||
if emacs --quick --batch > /dev/null 2>&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 "Yes.\n"
|
||||
have_emacs=1
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue