Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/paths.h.in Mon Aug 13 10:30:37 2007 +0200 @@ -0,0 +1,87 @@ +/* Hey Emacs, this is -*- C -*- code! */ + +/* Synched up with: Not synched with FSF. */ + +/* Think twice before editing this file. Generated automatically by configure. + + The file startup.el guesses at reasonable values for load-path, exec-path, + and lock-directory. This means that if you move emacs and its associated + sub-tree to a different place in the filesystem, or to a different machine, + you won't have to do anything for it to work. + + If you define the paths in this file then they will take precedence over + any value generated by the heuristic in startup.el. The hardcoded paths + will be checked to see if they are valid, in which case they will be used. + Otherwise the editor will attempt to make its normal guess. + + See the NEWS file for a description of the heuristic used to locate the lisp + and exec directories at startup time. If you are looking at this file + because you are having trouble, then you would be much better off arranging + for those heuristics to succeed than defining the paths in this file. + + ** Let me say that again. If you're editing this file, you're making + ** a mistake. Re-read the section on installation in ../etc/NEWS. + + If it defines anything, this file should define some subset of the following: + + PATH_PREFIX The default value of `prefix-directory'. This is the + default root for everything. + + PATH_LOADSEARCH The default value of `load-path'. + + PATH_PACKAGEPATH The default value of `package-path'. + + PATH_SITE The default location of site-specific Lisp files. + + PATH_EXEC The default value of `exec-directory' and `exec-path'. + (exec-path also contains the value of whatever is in + the PATH environment variable.) + + PATH_DATA The default value of `data-directory'. This + is where architecture-independent files are + searched for. + + PATH_LOCK The name of the directory that contains lock files + with which we record what files are being modified in + Emacs. This directory should be writable by everyone. + If this is specified, the string must end with a slash! + + PATH_INFO This is where the info documentation is installed. + + PATH_INFOPATH The default value of `Info-directory-list'. + These are additional places info files are searched + for. */ + +#define PATH_PREFIX "@prefix@" + +#ifdef LISPDIR_USER_DEFINED +#define PATH_LOADSEARCH "@LISPDIR@" +#endif + +#ifdef PACKAGE_PATH_USER_DEFINED +#define PATH_PACKAGEPATH "@PACKAGE_PATH@" +#endif + +#ifdef SITELISPDIR_USER_DEFINED +#define PATH_SITE "@SITELISPDIR@" +#endif + +#ifdef ARCHLIBDIR_USER_DEFINED +#define PATH_EXEC "@ARCHLIBDIR@" +#endif + +#ifdef ETCDIR_USER_DEFINED +#define PATH_DATA "@ETCDIR@" +#endif + +#ifdef LOCKDIR_USER_DEFINED +#define PATH_LOCK "@LOCKDIR@" +#endif + +#ifdef INFODIR_USER_DEFINED +#define PATH_INFO "@INFODIR@" +#endif + +#ifdef INFOPATH_USER_DEFINED +#define PATH_INFOPATH "@INFOPATH@" +#endif