summaryrefslogtreecommitdiffstats
path: root/gettext-tools/configure.ac
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-11-27 14:10:32 +0100
committerBruno Haible <bruno@clisp.org>2011-11-27 14:10:32 +0100
commitefc85c0c6887c7713442d17f8f6eb9e28fe5ea3f (patch)
tree06d4f9c5d8a3fe892912681c0c0f75ef5e9b653b /gettext-tools/configure.ac
parent69881b2a05c4a1dfa6fbb77146aa4885625fcff3 (diff)
downloadexternal_gettext-efc85c0c6887c7713442d17f8f6eb9e28fe5ea3f.zip
external_gettext-efc85c0c6887c7713442d17f8f6eb9e28fe5ea3f.tar.gz
external_gettext-efc85c0c6887c7713442d17f8f6eb9e28fe5ea3f.tar.bz2
Speed up configure a bit.
Diffstat (limited to 'gettext-tools/configure.ac')
-rw-r--r--gettext-tools/configure.ac6
1 files changed, 5 insertions, 1 deletions
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])