diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2018-12-19 18:59:49 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2019-01-25 21:15:32 -0400 |
| commit | 5e4437237365373ddb90abae7d7a62ecb36034e2 (patch) | |
| tree | 424c1f8fae7fe4d2ff9cf283d2bfe0079bf56afb | |
| parent | fac155815cfaa3b151a196643c90f5a1820348e3 (diff) | |
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.
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
