diff options
author | Andy Wingo <wingo@pobox.com> | 2009-06-03 18:22:39 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2009-06-03 22:20:55 +0200 |
commit | ee001750269b34179a90aa5c0dc90bd0ffdb8869 (patch) | |
tree | a2ff599513d198154dd959f1fadba49ce05f2a44 /am/guilec | |
parent | 0fb81f95b0222c5ba49efd3e36cf797df54c0863 (diff) |
implement autocompilation
* am/guilec (.scm.go): Set GUILE_AUTO_COMPILE=0 when compiling individual
files, and remove the mkdir -p as compile-file takes care of that now.
* libguile/load.c (do_try_autocompile, autocompile_catch_handler)
(scm_try_autocompile, scm_init_load): Implement autocompilation.
* libguile/script.c (scm_shell_usage, scm_compile_shell_switches): Add
--autocompile / --no-autocompile command-line options, and support for
the GUILE_AUTO_COMPILE environment variable, defaulting to
autocompilation enabled.
Diffstat (limited to 'am/guilec')
-rw-r--r-- | am/guilec | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -11,5 +11,4 @@ CLEANFILES = $(GOBJECTS) SUFFIXES = .scm .go .scm.go: - $(MKDIR_P) `dirname $@` - $(top_builddir)/meta/uninstalled-env guile-tools compile -o "$@" "$<" + GUILE_AUTO_COMPILE=0 $(top_builddir)/meta/uninstalled-env guile-tools compile -o "$@" "$<" |