From: Tomi Ollila Date: Wed, 19 Dec 2018 16:59:49 +0000 (+0200) Subject: configure: check that the version of emacs we may have is at least 24 X-Git-Tag: archive/debian/0.29_rc0-1~141 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=5e4437237365373ddb90abae7d7a62ecb36034e2 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. --- diff --git a/configure b/configure index b2200be0..3ae26241 100755 --- a/configure +++ b/configure @@ -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