comparison src/paths.h.in @ 276:6330739388db r21-0b36

Import from CVS: tag r21-0b36
author cvs
date Mon, 13 Aug 2007 10:30:37 +0200
parents
children 90d73dddcdc4
comparison
equal deleted inserted replaced
275:a68ae4439f57 276:6330739388db
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
27 PATH_PREFIX The default value of `prefix-directory'. This is the
28 default root for everything.
29
30 PATH_LOADSEARCH The default value of `load-path'.
31
32 PATH_PACKAGEPATH The default value of `package-path'.
33
34 PATH_SITE The default location of site-specific Lisp files.
35
36 PATH_EXEC The default value of `exec-directory' and `exec-path'.
37 (exec-path also contains the value of whatever is in
38 the PATH environment variable.)
39
40 PATH_DATA The default value of `data-directory'. This
41 is where architecture-independent files are
42 searched for.
43
44 PATH_LOCK The name of the directory that contains lock files
45 with which we record what files are being modified in
46 Emacs. This directory should be writable by everyone.
47 If this is specified, the string must end with a slash!
48
49 PATH_INFO This is where the info documentation is installed.
50
51 PATH_INFOPATH The default value of `Info-directory-list'.
52 These are additional places info files are searched
53 for. */
54
55 #define PATH_PREFIX "@prefix@"
56
57 #ifdef LISPDIR_USER_DEFINED
58 #define PATH_LOADSEARCH "@LISPDIR@"
59 #endif
60
61 #ifdef PACKAGE_PATH_USER_DEFINED
62 #define PATH_PACKAGEPATH "@PACKAGE_PATH@"
63 #endif
64
65 #ifdef SITELISPDIR_USER_DEFINED
66 #define PATH_SITE "@SITELISPDIR@"
67 #endif
68
69 #ifdef ARCHLIBDIR_USER_DEFINED
70 #define PATH_EXEC "@ARCHLIBDIR@"
71 #endif
72
73 #ifdef ETCDIR_USER_DEFINED
74 #define PATH_DATA "@ETCDIR@"
75 #endif
76
77 #ifdef LOCKDIR_USER_DEFINED
78 #define PATH_LOCK "@LOCKDIR@"
79 #endif
80
81 #ifdef INFODIR_USER_DEFINED
82 #define PATH_INFO "@INFODIR@"
83 #endif
84
85 #ifdef INFOPATH_USER_DEFINED
86 #define PATH_INFOPATH "@INFOPATH@"
87 #endif