summaryrefslogtreecommitdiff
path: root/m4/lispdir.m4
diff options
context:
space:
mode:
authorRichard Hopkins <emacs@unbit.co.uk>2022-09-27 18:04:20 -0700
committerKarl Berry <karl@freefriends.org>2022-09-27 18:04:20 -0700
commitcea8158fb8e0432f30c46c90151aee0a0b1aa594 (patch)
tree5dc2f82f444c41242d46918c06bb418bd4d4b5c9 /m4/lispdir.m4
parentd4801dffecfb7ed2beb0815853f89a720aac0fbc (diff)
downloadautomake-cea8158fb8e0432f30c46c90151aee0a0b1aa594.tar.gz
automake: do not use -Q with emacs invocations.
This change is for https://bugs.gnu.org/58102. (By the way, the previous two commits were for bugs 58026 (silent .elc compilation) and 58025 (load bytecomp), respectively, but I forgot to mention them.) * m4/lispdir.m4 (AM_PATH_LISPDIR): omit -Q option. Also (from karl), use -no-site-file (one hyphen) for consistency with the other options. * NEWS: mention this. * doc/automake.texi (Hard-Coded Install Paths): likewise.
Diffstat (limited to 'm4/lispdir.m4')
-rw-r--r--m4/lispdir.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/lispdir.m4 b/m4/lispdir.m4
index 6f9b89d2c..a60095c3f 100644
--- a/m4/lispdir.m4
+++ b/m4/lispdir.m4
@@ -34,7 +34,7 @@ AC_DEFUN([AM_PATH_LISPDIR],
# which is non-obvious for non-emacs users.
# Redirecting /dev/null should help a bit; pity we can't detect "broken"
# emacsen earlier and avoid running this altogether.
- AC_RUN_LOG([$EMACS -batch -Q --no-site-file -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out])
+ AC_RUN_LOG([$EMACS -batch -no-site-file -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out])
am_cv_lispdir=`sed -n \
-e 's,/$,,' \
-e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \