lisp: better support of VPATH builds
authorJack Kelly <jack@jackkelly.name>
Thu, 5 Jul 2012 16:50:37 +0000 (18:50 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 6 Jul 2012 07:32:36 +0000 (09:32 +0200)
commit0451b0bc8bc991dc4f19d43a7aad82a0a509758e
treec0628273fd6d3eeee9ecc51ed398edb29a7a74e8
parent6eefb0a0bcce8c474fe10e7d4e5ace0e2ce57253
lisp: better support of VPATH builds

Fixes automake bug#11806.

* lib/am/lisp.am: Pass the value of '$(abs_srcdir)' to the
elisp-compile script in the environment.
* lib/elisp-comp: Add the vale of '$abs_srcdir' to the emacs
load-path.
* t/lisp-pr11806.sh: New test.
* t/list-of-tests.mk: Add it.

Copyright-paperwork-exempt: yes
Co-authored-by: Stefano Lattarini <stefano.lattarini@gnu.org>
Reported-by: Makoto Fujiwara <makoto@ki.nu>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/lisp.am
lib/elisp-comp
t/lisp-pr11806.sh [new file with mode: 0755]
t/list-of-tests.mk