changeset 3064:fa5466904709

* paths.h (PATH_INFO): New path, to edited by the configuration process. * callproc.c (Vconfigure_info_directory): New variable, used internally by build process. (syms_of_callproc): DEFVAR it and initialize it.
author Jim Blandy <jimb@redhat.com>
date Tue, 25 May 1993 06:38:43 +0000
parents 75cf6b53fe6d
children fff06093b756
files src/callproc.c src/epaths.in
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue May 25 06:25:07 1993 +0000
+++ b/src/callproc.c	Tue May 25 06:38:43 1993 +0000
@@ -65,6 +65,7 @@
 #define max(a, b) ((a) > (b) ? (a) : (b))
 
 Lisp_Object Vexec_path, Vexec_directory, Vdata_directory;
+Lisp_Object Vconfigure_info_directory;
 
 Lisp_Object Vshell_file_name;
 
@@ -704,6 +705,13 @@
     "Directory of architecture-independent files that come with GNU Emacs,\n\
 intended for Emacs to use.");
 
+  DEFVAR_LISP ("configure-info-directory", &Vconfigure_info_directory,
+    "For internal use by the build procedure only.\n\
+This is the name of the directory in which the build procedure installed\n\
+Emacs's info files; the default value for Info-default-directory-list\n\
+includes this.");
+  Vconfigure_info_directory = build_string (PATH_INFO);
+
   DEFVAR_LISP ("process-environment", &Vprocess_environment,
     "List of environment variables for subprocesses to inherit.\n\
 Each element should be a string of the form ENVVARNAME=VALUE.\n\
--- a/src/epaths.in	Tue May 25 06:25:07 1993 +0000
+++ b/src/epaths.in	Tue May 25 06:38:43 1993 +0000
@@ -27,3 +27,9 @@
    should be writable by everyone.  THE STRING MUST END WITH A
    SLASH!!!  */
 #define PATH_LOCK "/usr/local/lib/emacs/lock/"
+
+/* Where the configuration process believes the info tree lives.  The
+   lisp variable configure-info-directory gets its value from this
+   macro, and is then used to set the Info-default-directory-list.  */
+#define PATH_INFO "/usr/local/info"
+