summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-08 00:39:40 -0500
committerMike Frysinger <vapier@gentoo.org>2022-02-08 22:44:42 -0500
commit5c9e117c5f1366a301a62ff70c33405a9aa23921 (patch)
treed70cf65232de09c4045d11f7c65764fdec79027b /lib
parent24a28a24e32b1195ca5fc9f2d1303bc0368fe18b (diff)
downloadautomake-5c9e117c5f1366a301a62ff70c33405a9aa23921.tar.gz
elisp: run emacs with --no-site-file
Fixes automake bug https://bugs.gnu.org/21547. If users have interactive site file logic, the lispdir probing can hang, as can the compilation of elisp files. Use --no-site-file to disable loading any of that possible user logic. * NEWS: Note emacs --no-site-file change. * doc/automake.texi: Run emacs with --no-site-file. * lib/am/lisp.am: Likewise. * m4/lispdir.m4: Likewise.
Diffstat (limited to 'lib')
-rw-r--r--lib/am/lisp.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/am/lisp.am b/lib/am/lisp.am
index 45c58a6da..746f01679 100644
--- a/lib/am/lisp.am
+++ b/lib/am/lisp.am
@@ -38,7 +38,7 @@ endif %?INSTALL%
esac; \
## Emacs byte-compilation won't create this automatically, sadly.
test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
- $(EMACS) --batch \
+ $(EMACS) --batch --no-site-file \
$(AM_ELCFLAGS) $(ELCFLAGS) \
$$am__subdir_includes -L $(builddir) -L $(srcdir) \
--eval '$(am__emacs_byte_compile_setup)' \