* Makefile.in (libpath.h): Omit trailing slash from path. We
authorJim Blandy <jimb@red-bean.com>
Thu, 5 Sep 1996 16:49:23 +0000 (16:49 +0000)
committerJim Blandy <jimb@red-bean.com>
Thu, 5 Sep 1996 16:49:23 +0000 (16:49 +0000)
commita0f52599f3d0dfe1f36ea33a0c5ecd4471d185d7
treebf6cd54ef7d62048a085b0c98cbba68ff05f77f9
parent3cab83923638aa05c64bffda3cb4a0be2fd95497
* Makefile.in (libpath.h): Omit trailing slash from path.  We
shouldn't require it of users, so why put it here?

Move code to initialize and search %load-path from ice-9 to C
code, so we can use the load-path to find the ice-9 boot code;
this makes it easier to run Guile without installing it.  See
corresponding changes in guile/Makefile.in.
* feature.c: Move stuff concerned with the load path to load.c.
(scm_compiled_library_path): Deleted.
Don't #include libpath.h here.
* feature.h: Don't mention scm_compiled_library_path.
* load.c: #include "libpath.h" here, as well as <sys/types.h>,
<sys/stat.h>, and <unistd.h> (if present).
(R_OK): #define if the system hasn't deigned to.
(scm_loc_load_path): New variable.
(scm_init_load_path, scm_sys_search_load_path,
scm_sys_try_load_path): New functions.
(scm_init_load): Initialize scm_loc_load_path to point to the
value cell of the Scheme %load-path variable.
* load.h: Add declarations for scm_sys_search_load_path,
scm_sys_try_load_path.
* Makefile.in (feature.o, load.o): Dependencies updated.
libguile/Makefile.in