Make --no-site-lisp work for --enable-locallisppath elements
authorGlenn Morris <rgm@gnu.org>
Sat, 30 Jun 2012 21:10:50 +0000 (14:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 30 Jun 2012 21:10:50 +0000 (14:10 -0700)
commitca26824cb07d494481a14fea1642d38ad6c2a9e4
treec0a3d299f228fd444741729ea0549c1927f96582
parent9ff8f76bbca43e021f842b24493885f1c034f6a4
Make --no-site-lisp work for --enable-locallisppath elements
without "site-lisp" in the name.
Ref http://debbugs.gnu.org/10208#25, point iii).

* configure.in (standardlisppath): New output variable.
(lisppath): Use standardlisppath.
* Makefile.in (standardlisppath): New, set by configure.
(epaths-force): Use standardlisppath and locallisppath rather than lisppath.

* src/epaths.in (PATH_SITELOADSEARCH): New.
* src/lread.c (init_lread): Use PATH_SITELOADSEARCH.

* nt/paths.h (PATH_SITELOADSEARCH): New.

Fixes: debbugs:11658
ChangeLog
Makefile.in
configure.in
lisp/loadup.el
nt/ChangeLog
nt/paths.h
src/ChangeLog
src/epaths.in
src/lread.c