diff options
author | Glenn Morris <rgm@gnu.org> | 2012-06-30 14:10:50 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-06-30 14:10:50 -0700 |
commit | ca26824cb07d494481a14fea1642d38ad6c2a9e4 (patch) | |
tree | c0a3d299f228fd444741729ea0549c1927f96582 /lisp/loadup.el | |
parent | 9ff8f76bbca43e021f842b24493885f1c034f6a4 (diff) |
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
Diffstat (limited to 'lisp/loadup.el')
-rw-r--r-- | lisp/loadup.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el index 3568171897..11e5f1e583 100644 --- a/lisp/loadup.el +++ b/lisp/loadup.el @@ -44,6 +44,10 @@ ;; Add subdirectories to the load-path for files that might get ;; autoloaded when bootstrapping. +;; This is because PATH_DUMPLOADSEARCH is just "../lisp". +;; Note that we reset load-path below just before dumping, +;; since lread.c:init_lread checks for changes to load-path +;; in deciding whether to modify it. (if (or (equal (nth 3 command-line-args) "bootstrap") (equal (nth 4 command-line-args) "bootstrap") (equal (nth 3 command-line-args) "unidata-gen.el") |