X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=648d8771b9198ca02f2fb995c66a461ba336aeff;hp=d56caaddd91cb2db29d92744f1977d232955feda;hb=e2dd4ac00b9979de34bd517fa57de56260d38755;hpb=f89b3d16db90be99c3097c8dac0d95930cdd1f1d diff --git a/configure b/configure index d56caadd..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 <