aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-10 19:58:55 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2011-07-10 20:39:13 +0300
commit218818d2366c1ed01b4ded1b12faf299eaf93859 (patch)
tree3bc649b77cdef2dddf47e057c1cb1a474a1114d6 /src/Makefile.am
parente906e318c552d89fdd7d56045cc0fe15a5853547 (diff)
downloadidest-218818d2366c1ed01b4ded1b12faf299eaf93859.tar.gz
idest-218818d2366c1ed01b4ded1b12faf299eaf93859.tar.bz2
Search for Guile files in the %load-path. Implement startup files.
* NEWS: Document Guile startup files. * src/Makefile.am (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/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1d51cfa..ed125b6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -39,3 +39,7 @@ DISTCLEANFILES=
39sitedir = @GUILE_SITE@/$(PACKAGE) 39sitedir = @GUILE_SITE@/$(PACKAGE)
40site_DATA= 40site_DATA=
41include ../gint/gint.mk 41include ../gint/gint.mk
42
43AM_CPPFLAGS=\
44 -DGUILE_SITE=\"@GUILE_SITE@\"\
45 -DPKG_SITE=\"$(sitedir)\" \ No newline at end of file

Return to:

Send suggestions and report system problems to the System administrator.