Fix bug #14513 with --enable-locallisppath not working on MS-Windows.
[bpt/emacs.git] / src / epaths.in
CommitLineData
f7dbcf3c 1/* Hey Emacs, this is -*- C -*- code! */
95df8112 2/*
ab422c4d
PE
3Copyright (C) 1993, 1995, 1997, 1999, 2001-2013 Free Software
4Foundation, Inc.
2bb58df3
GM
5
6This file is part of GNU Emacs.
7
b9b1cc14 8GNU Emacs is free software: you can redistribute it and/or modify
2bb58df3 9it under the terms of the GNU General Public License as published by
b9b1cc14
GM
10the Free Software Foundation, either version 3 of the License, or
11(at your option) any later version.
2bb58df3
GM
12
13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
b9b1cc14
GM
19along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20
f7dbcf3c 21
ca26824c
GM
22/* Together with PATH_SITELOADSEARCH, this gives the default value of
23 load-path, which is the search path for the Lisp function "load".
24 Configure (using "make epaths-force") sets this to
25 ${standardlisppath}, which typically has a value like:
5b43da69
GM
26 <datadir>/emacs/VERSION/lisp:<datadir>/emacs/VERSION/leim
27 where datadir is eg /usr/local/share.
ca26824c
GM
28*/
29#define PATH_LOADSEARCH "/usr/local/share/emacs/lisp"
30
31
32/* Like PATH_LOADSEARCH, but contains the non-standard pieces.
6c0a9ed1
RC
33 These are the site-lisp directories. Configure sets this to
34 ${locallisppath}, which typically defaults to something like:
ca26824c 35 <datadir>/emacs/VERSION/site-lisp:<datadir>/emacs/site-lisp
6c0a9ed1 36 but can be overridden by the --enable-locallisppath argument.
ca26824c
GM
37 This is combined with PATH_LOADSEARCH to make the default load-path.
38 If the --no-site-lisp option is used, this piece is excluded.
5b43da69 39*/
ca26824c
GM
40#define PATH_SITELOADSEARCH "/usr/local/share/emacs/site-lisp"
41
f7dbcf3c 42
5b43da69
GM
43/* Like PATH_LOADSEARCH, but used only during the build process
44 when Emacs is dumping. Configure (using "make epaths-force") sets
45 this to $buildlisppath, which normally has the value: <srcdir>/lisp.
46*/
7d8d6e4e 47#define PATH_DUMPLOADSEARCH "../lisp"
f7dbcf3c
JB
48
49/* The extra search path for programs to invoke. This is appended to
50 whatever the PATH environment variable says to set the Lisp
51 variable exec-path and the first file name in it sets the Lisp
52 variable exec-directory. exec-directory is used for finding
53 executables and other architecture-dependent files. */
5b43da69 54#define PATH_EXEC "/usr/local/libexec/emacs"
f7dbcf3c
JB
55
56/* Where Emacs should look for its architecture-independent data
9e7b7d21 57 files, like the NEWS file. The lisp variable data-directory
f7dbcf3c 58 is set to this value. */
5b43da69 59#define PATH_DATA "/usr/local/share/emacs/etc"
f7dbcf3c 60
509c11e1
RS
61/* Where Emacs should look for X bitmap files.
62 The lisp variable x-bitmap-file-path is set based on this value. */
63#define PATH_BITMAPS "/usr/include/X11/bitmaps"
64
9e7b7d21
KH
65/* Where Emacs should look for its docstring file. The lisp variable
66 doc-directory is set to this value. */
5b43da69 67#define PATH_DOC "/usr/local/share/emacs/etc"
9e7b7d21 68
ed61592a
JB
69/* Where the configuration process believes the info tree lives. The
70 lisp variable configure-info-directory gets its value from this
71 macro, and is then used to set the Info-default-directory-list. */
59f763e7 72#define PATH_INFO "/usr/local/share/info"
f9021bb5 73
4c8416c7
RS
74/* Where Emacs should store game score files. */
75#define PATH_GAME "/usr/local/var/games/emacs"
76
f9021bb5
RS
77/* Where Emacs should look for the application default file. */
78#define PATH_X_DEFAULTS "/usr/lib/X11/%L/%T/%N%C%S:/usr/lib/X11/%l/%T/%N%C%S:/usr/lib/X11/%T/%N%C%S:/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S"
ab5796a9 79