From efc85c0c6887c7713442d17f8f6eb9e28fe5ea3f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 27 Nov 2011 14:10:32 +0100 Subject: Speed up configure a bit. --- gettext-tools/configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gettext-tools/configure.ac') diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index 81037b3..8db84d3 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -288,7 +288,6 @@ dnl Check for nm output filter that yields the exported symbols. 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], @@ -301,6 +300,11 @@ if test "$EMACS" != no; then 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]) -- cgit v1.1