summaryrefslogtreecommitdiff
path: root/am/guilec
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2009-06-03 18:22:39 +0200
committerAndy Wingo <wingo@pobox.com>2009-06-03 22:20:55 +0200
commitee001750269b34179a90aa5c0dc90bd0ffdb8869 (patch)
treea2ff599513d198154dd959f1fadba49ce05f2a44 /am/guilec
parent0fb81f95b0222c5ba49efd3e36cf797df54c0863 (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/guilec3
1 files changed, 1 insertions, 2 deletions
diff --git a/am/guilec b/am/guilec
index 37f56bd40..796e259c3 100644
--- a/am/guilec
+++ b/am/guilec
@@ -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 "$@" "$<"