path: root/src/
authorSergey Poznyakoff <>2011-07-10 16:58:55 (GMT)
committer Sergey Poznyakoff <>2011-07-10 17:39:13 (GMT)
commit218818d2366c1ed01b4ded1b12faf299eaf93859 (patch) (side-by-side diff)
tree3bc649b77cdef2dddf47e057c1cb1a474a1114d6 /src/
parente906e318c552d89fdd7d56045cc0fe15a5853547 (diff)
Search for Guile files in the %load-path. Implement startup files.
* NEWS: Document Guile startup files. * src/ (AM_CPPFLAGS): Define GUILE_SITE and PKG_SITE. * src/guile.c (guile_load): Second argument controls whether to search for the file in the %load-path. (load_path_prepend,try_file) (load_startup_file): New functions. (guile_init): Load startup files. Unless guile_script contains directory separators, look it up in the %load-path.
Diffstat (limited to 'src/') (more/less context) (ignore whitespace changes)
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ b/src/
index 1d51cfa..ed125b6 100644
--- a/src/
+++ b/src/
@@ -39,3 +39,7 @@ DISTCLEANFILES=
sitedir = @GUILE_SITE@/$(PACKAGE)
include ../gint/
+ -DPKG_SITE=\"$(sitedir)\" \ No newline at end of file

Return to:

Send suggestions and report system problems to the System administrator.