+2011-11-27 Bruno Haible <bruno@clisp.org>
+
+ Speed up configure a bit.
+ * configure.ac: Don't invoke AM_PATH_LISPDIR if the user specified
+ --without-emacs.
+ Based on a patch by DJ Lucas <dj@linuxfromscratch.org>.
+
2011-06-03 Bruno Haible <bruno@clisp.org>
Update after gl_PROG_ANSI_CXX changed in gnulib.
gt_GLOBAL_SYMBOL_PIPE
dnl Check for Emacs and where to install .elc files.
-AM_PATH_LISPDIR
dnl Sometimes Emacs is badly installed. Allow the user to work around it.
AC_ARG_WITH([emacs],
[ --without-emacs do not use Emacs, don't install po-mode],
EMACS=no
fi
fi
+dnl If $EMACS = no, we won't install any Emacs Lisp (*.el) files,
+dnl therefore it's useless to determine $(lispdir).
+if test "$EMACS" != no; then
+ AM_PATH_LISPDIR
+fi
aclocaldir='${datadir}/aclocal'
AC_SUBST([aclocaldir])