X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=648d8771b9198ca02f2fb995c66a461ba336aeff;hp=7db537e41fb4d909fb98c22582e3d24f13689f88;hb=e2dd4ac00b9979de34bd517fa57de56260d38755;hpb=649b1609a166c4b176b5afb6e4053eb5a88a07d9 diff --git a/configure b/configure index 7db537e4..648d8771 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 < /dev/null 2>&1 +if ${CC} -o compat/have_getline compat/have_getline.c > /dev/null 2>&1 then printf "Yes.\n" have_getline=1 @@ -249,7 +258,7 @@ else printf "No (will use our own instead).\n" have_getline=0 fi -rm -f config/have_getline +rm -f compat/have_getline cat <