276
|
1 /* Hey Emacs, this is -*- C -*- code! */
|
|
2
|
|
3 /* Synched up with: Not synched with FSF. */
|
|
4
|
|
5 /* Think twice before editing this file. Generated automatically by configure.
|
|
6
|
|
7 The file startup.el guesses at reasonable values for load-path, exec-path,
|
|
8 and lock-directory. This means that if you move emacs and its associated
|
|
9 sub-tree to a different place in the filesystem, or to a different machine,
|
|
10 you won't have to do anything for it to work.
|
|
11
|
|
12 If you define the paths in this file then they will take precedence over
|
|
13 any value generated by the heuristic in startup.el. The hardcoded paths
|
|
14 will be checked to see if they are valid, in which case they will be used.
|
|
15 Otherwise the editor will attempt to make its normal guess.
|
|
16
|
|
17 See the NEWS file for a description of the heuristic used to locate the lisp
|
|
18 and exec directories at startup time. If you are looking at this file
|
|
19 because you are having trouble, then you would be much better off arranging
|
|
20 for those heuristics to succeed than defining the paths in this file.
|
|
21
|
|
22 ** Let me say that again. If you're editing this file, you're making
|
|
23 ** a mistake. Re-read the section on installation in ../etc/NEWS.
|
|
24
|
|
25 If it defines anything, this file should define some subset of the following:
|
|
26
|
280
|
27 PATH_PROGNAME The name of the Emacs variant that's running.
|
|
28
|
|
29 PATH_VERSION The version id of the Emacs variant that's running.
|
|
30
|
278
|
31 PATH_EXEC_PREFIX The value of --exec-prefix.
|
|
32
|
|
33 PATH_PREFIX The value of --prefix.
|
276
|
34
|
|
35 PATH_LOADSEARCH The default value of `load-path'.
|
|
36
|
388
|
37 PATH_MODULESEARCH The default value of `module-load-path'.
|
|
38
|
276
|
39 PATH_PACKAGEPATH The default value of `package-path'.
|
|
40
|
|
41 PATH_SITE The default location of site-specific Lisp files.
|
|
42
|
388
|
43 PATH_SITE_MODULES The default location of site-specific modules.
|
|
44
|
276
|
45 PATH_EXEC The default value of `exec-directory' and `exec-path'.
|
|
46 (exec-path also contains the value of whatever is in
|
|
47 the PATH environment variable.)
|
|
48
|
|
49 PATH_DATA The default value of `data-directory'. This
|
|
50 is where architecture-independent files are
|
|
51 searched for.
|
|
52
|
|
53 PATH_LOCK The name of the directory that contains lock files
|
|
54 with which we record what files are being modified in
|
|
55 Emacs. This directory should be writable by everyone.
|
|
56 If this is specified, the string must end with a slash!
|
|
57
|
|
58 PATH_INFO This is where the info documentation is installed.
|
|
59
|
|
60 PATH_INFOPATH The default value of `Info-directory-list'.
|
|
61 These are additional places info files are searched
|
|
62 for. */
|
|
63
|
280
|
64 #define PATH_PROGNAME "@PROGNAME@"
|
|
65
|
|
66 #define PATH_VERSION "@version@"
|
|
67
|
398
|
68 #ifdef EXEC_PREFIX_USER_DEFINED
|
278
|
69 #define PATH_EXEC_PREFIX "@EXEC_PREFIX@"
|
398
|
70 #endif
|
278
|
71
|
398
|
72 #ifdef PREFIX_USER_DEFINED
|
278
|
73 #define PATH_PREFIX "@PREFIX@"
|
398
|
74 #endif
|
276
|
75
|
|
76 #ifdef LISPDIR_USER_DEFINED
|
|
77 #define PATH_LOADSEARCH "@LISPDIR@"
|
|
78 #endif
|
|
79
|
388
|
80 #ifdef MODULEDIR_USER_DEFINED
|
|
81 #define PATH_MODULESEARCH "@MODULEDIR@"
|
|
82 #endif
|
|
83
|
|
84 #ifdef SITELISPDIR_USER_DEFINED
|
|
85 #define PATH_SITE "@SITELISPDIR@"
|
|
86 #endif
|
|
87
|
|
88 #ifdef SITEMODULEDIR_USER_DEFINED
|
|
89 #define PATH_SITE_MODULES "@SITEMODULEDIR@"
|
|
90 #endif
|
|
91
|
276
|
92 #ifdef PACKAGE_PATH_USER_DEFINED
|
|
93 #define PATH_PACKAGEPATH "@PACKAGE_PATH@"
|
|
94 #endif
|
|
95
|
|
96 #ifdef ARCHLIBDIR_USER_DEFINED
|
|
97 #define PATH_EXEC "@ARCHLIBDIR@"
|
|
98 #endif
|
|
99
|
|
100 #ifdef ETCDIR_USER_DEFINED
|
|
101 #define PATH_DATA "@ETCDIR@"
|
|
102 #endif
|
|
103
|
|
104 #ifdef LOCKDIR_USER_DEFINED
|
|
105 #define PATH_LOCK "@LOCKDIR@"
|
|
106 #endif
|
|
107
|
398
|
108 #ifdef DOCDIR_USER_DEFINED
|
|
109 #define PATH_DOC "@DOCDIR@"
|
|
110 #endif
|
|
111
|
276
|
112 #ifdef INFODIR_USER_DEFINED
|
|
113 #define PATH_INFO "@INFODIR@"
|
|
114 #endif
|
|
115
|
|
116 #ifdef INFOPATH_USER_DEFINED
|
|
117 #define PATH_INFOPATH "@INFOPATH@"
|
|
118 #endif
|