The facility for REQUIREing asdf modules was missing

This commit is contained in:
jgarcia 2008-02-02 21:54:43 +00:00
parent a59f90871a
commit 8edb65a501

View file

@ -1309,5 +1309,18 @@ output to *VERBOSE-OUT*. Returns the shell's exit code."
(pushnew 'module-provide-asdf sb-ext:*module-provider-functions*)
(pushnew 'contrib-sysdef-search *system-definition-search-functions*))
;; Hook into ECL's require/provide
#+ecl
(progn
(defun module-provide-asdf (name)
(handler-bind ((style-warning #'muffle-warning))
(let* ((*verbose-out* (make-broadcast-stream))
(system (asdf:find-system name nil)))
(when system
(asdf:operate 'asdf:load-op name)
t))))
#+win32 (push '("asd" . si::load-source) si::*load-hooks*)
(pushnew 'module-provide-asdf ext:*module-provider-functions*))
(provide 'asdf)