[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: automake: do not use -Q with em
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: automake: do not use -Q with emacs invocations. |
Date: |
Tue, 27 Sep 2022 21:04:31 -0400 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=cea8158fb8e0432f30c46c90151aee0a0b1aa594
The following commit(s) were added to refs/heads/master by this push:
new cea8158fb automake: do not use -Q with emacs invocations.
cea8158fb is described below
commit cea8158fb8e0432f30c46c90151aee0a0b1aa594
Author: Richard Hopkins <emacs@unbit.co.uk>
AuthorDate: Tue Sep 27 18:04:20 2022 -0700
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.
---
NEWS | 3 ++-
doc/automake.texi | 2 +-
m4/lispdir.m4 | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/NEWS b/NEWS
index 406c5f1ec..89187669c 100644
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,8 @@ New in 1.17:
levels.
- When compiling Emacs Lisp files, emacs is run with --no-site-file to
- disable user config files that might hang or access the terminal.
+ disable user config files that might hang or access the terminal;
+ and -Q is not used, since its support and behavior varies.
- Emacs Lisp compilations respects silent make output.
diff --git a/doc/automake.texi b/doc/automake.texi
index 21c49645e..48744e24f 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -13350,7 +13350,7 @@ instance, here is how @code{AM_PATH_LISPDIR}
(@pxref{Emacs Lisp})
computes @samp{$(lispdir)}:
@example
-$EMACS -batch -Q --no-site-file -eval '(while load-path
+$EMACS -batch -no-site-file -eval '(while load-path
(princ (concat (car load-path) "\n"))
(setq load-path (cdr load-path)))' >conftest.out
lispdir=`sed -n
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;}'
\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: automake: do not use -Q with emacs invocations.,
Karl Berry <=