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