X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=a6f5dfa2ca2b894da29ff4bd93ef96a3266587ab;hp=ea22587b24ff257bfe8d2b2dff3e27e7d9d2f2f2;hb=87eb477ba546c47083f678bb7fa3d433cb591090;hpb=32fb3c420a408ccfd20301f0c527c4259bf721cc diff --git a/configure b/configure index ea22587b..a6f5dfa2 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