summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-06 23:18:22 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-03-09 11:07:35 (GMT)
commitd2be9be63d2b1120c4ec0c3c445075a7311ef523 (patch)
tree527012471c1c114bd8d7a0e235c50a8ef6da7c66
parent203c30796e232faaf3a7de19090657bf3e7db16a (diff)
downloadbuildroot-d2be9be63d2b1120c4ec0c3c445075a7311ef523.tar.gz
buildroot-d2be9be63d2b1120c4ec0c3c445075a7311ef523.tar.bz2
autoconf: don't try to build Emacs files
When building autoconf for the target, we already passed EMACS="no" to prevent autoconf from building Emacs mode files. But we weren't doing that when building autoconf for the host. This causes problems when 'emacs' is not really emacs, but a sort of clone like Jove. So we also pass EMACS="no" when building host-autoconf to avoid autoconf ./configure script from detecting emacs and then use it to build .elc files from .el source code. Reported-by: Spielmann Werner <Werner.Spielmann@swarovski.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/autoconf/autoconf.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk
index 0c36b66..daac1f2 100644
--- a/package/autoconf/autoconf.mk
+++ b/package/autoconf/autoconf.mk
@@ -15,7 +15,7 @@ AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
AUTOCONF_DEPENDENCIES = host-m4 perl
-HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
+HOST_AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no
HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool