`load' doesn't cause the compiler to be loaded in some cases
authorAndy Wingo <wingo@pobox.com>
Tue, 16 Feb 2010 20:11:27 +0000 (21:11 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 16 Feb 2010 20:15:40 +0000 (21:15 +0100)
commit04af4c4c5221c082905d52eb5ad3829ed681d097
tree2a8b1cb93aaab9c146d7b6ec37d1305066497774
parent2bfa4d5ccd3294988c0e64ec464493a4e9facd1d
`load' doesn't cause the compiler to be loaded in some cases

* module/system/base/compile.scm (compiled-file-name): Add a comment.
* module/ice-9/boot-9.scm (load): Avoid loading up (system base compile)
  just to compute an autocompiled file name. Fixes the issue whereby
  guile-tools snarf-check-and-output-texi was inadvertantly loading up
  srfi-1, and thereby a stale library, just to see if guile-tools itself
  had a compiled version.

  Not sure what the right unit test is here, other than vigilance.
module/ice-9/boot-9.scm
module/system/base/compile.scm