diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-08-04 14:56:27 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-08-04 15:12:20 +0200 |
commit | 56cd2dda0edcc4089954fd560712d762b80cebe5 (patch) | |
tree | 8d4fb8f608a2677762467ad95e3c25580ffbc754 /doc | |
parent | 1ee9c78b296198bcec16bd9a9f01511ded9780e0 (diff) | |
download | automake-56cd2dda0edcc4089954fd560712d762b80cebe5.tar.gz |
elisp: honour AM_ELCFLAFS and ELCFLAGS in byte-compilation
* lib/am/lisp.am (.el.elc): Add "$(AM_ELCFLAFS) $(ELCFLAGS)"
to the emacs command line.
* t/lisp-flags.sh: New test.
* t/list-of-tests.mk: Add it.
* doc/automake.texi (Emacs Lisp): Update.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/automake.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/automake.texi b/doc/automake.texi index a34b40151..d2bc574e5 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -7469,7 +7469,10 @@ Lisp sources are not distributed by default. You can prefix the distributed. Automake will byte-compile all Emacs Lisp source files using the Emacs -found by @code{AM_PATH_LISPDIR}, if any was found. +found by @code{AM_PATH_LISPDIR}, if any was found. When performing such +byte-compilation, the flags specified in the (developer-reserved) +@code{AM_ELCFLAGS} and (user-reserved) @code{ELCFLAGS} make variables +will be passed to the Emacs invocation. Byte-compiled Emacs Lisp files are not portable among all versions of Emacs, so it makes sense to turn this off if you expect sites to have |