X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=configure;h=ba2057643edea9a37823c9c9ffe3671bd5ad9380;hb=0f3480919728def0c414866f8e635e94650eee82;hp=7db537e41fb4d909fb98c22582e3d24f13689f88;hpb=649b1609a166c4b176b5afb6e4053eb5a88a07d9;p=notmuch diff --git a/configure b/configure index 7db537e4..ba205764 100755 --- a/configure +++ b/configure @@ -175,6 +175,15 @@ else emacs_lispdir='$(prefix)/share/emacs/site-lisp' fi +printf "Checking if emacs is available... " +if emacs --quick --batch > /dev/null 2>&1; then + printf "Yes.\n" + have_emacs=1 +else + printf "No (so will not byte-compile emacs code)\n" + have_emacs=0 +fi + if [ $errors -gt 0 ]; then cat <