going through scm_shell not necessary to get autocompilation
authorAndy Wingo <wingo@pobox.com>
Tue, 30 Mar 2010 08:28:51 +0000 (10:28 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 30 Mar 2010 08:28:51 +0000 (10:28 +0200)
commit655aadf4b09c40f4c7854e4325e8809fcb7cb36b
tree017df62a086bf96344e2cb15f68fd814b3fd2349
parent0eedfa5cab71cef05e2b9f06d6286d3b8f04ca59
going through scm_shell not necessary to get autocompilation

* libguile/load.c (scm_init_load): Initialize %load-should-autocompile
  from the environment variable here, so that apps that don't go through
  scm_shell get autocompilation.

* libguile/script.c (scm_compile_shell_switches): Explicitly enable or
  disable autocompilation here, if told to do so.
libguile/load.c
libguile/script.c