Merge from trunk.
[bpt/emacs.git] / src / epaths.in
1 /* Hey Emacs, this is -*- C -*- code! */
2 /*
3 Copyright (C) 1993, 1995, 1997, 1999, 2001-2013 Free Software Foundation, Inc.
4
5 This file is part of GNU Emacs.
6
7 GNU Emacs is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 GNU Emacs is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
20
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:
25 <datadir>/emacs/VERSION/lisp where datadir is eg /usr/local/share.
26 */
27 #define PATH_LOADSEARCH "/usr/local/share/emacs/lisp"
28
29
30 /* Like PATH_LOADSEARCH, but contains the non-standard pieces.
31 These are the site-lisp directories. Configure sets this to
32 ${locallisppath}, which typically defaults to something like:
33 <datadir>/emacs/VERSION/site-lisp:<datadir>/emacs/site-lisp
34 but can be overridden by the --enable-locallisppath argument.
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.
37 */
38 #define PATH_SITELOADSEARCH "/usr/local/share/emacs/site-lisp"
39
40
41 /* Like PATH_LOADSEARCH, but used only during the build process
42 when Emacs is dumping. Configure (using "make epaths-force") sets
43 this to $buildlisppath, which normally has the value: <srcdir>/lisp.
44 */
45 #define PATH_DUMPLOADSEARCH "../lisp"
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. */
52 #define PATH_EXEC "/usr/local/libexec/emacs"
53
54 /* Where Emacs should look for its architecture-independent data
55 files, like the NEWS file. The lisp variable data-directory
56 is set to this value. */
57 #define PATH_DATA "/usr/local/share/emacs/etc"
58
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
63 /* Where Emacs should look for its docstring file. The lisp variable
64 doc-directory is set to this value. */
65 #define PATH_DOC "/usr/local/share/emacs/etc"
66
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. */
70 #define PATH_INFO "/usr/local/share/info"
71
72 /* Where Emacs should store game score files. */
73 #define PATH_GAME "/usr/local/var/games/emacs"
74
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"
77