(define (load-ffi-quietly)
(if (not (name->package '(FFI)))
(let ((kernel (lambda ()
- (fluid-let ((load/suppress-loading-message? #t))
+ (fluid-let ((load-option/suppress-loading-message? #t))
(load-option 'FFI)))))
(if (nearest-cmdl/batch-mode?)
(kernel)
(declare (usual-integrations))
\f
+(define load-option/suppress-loading-message? #f)
+
(define (load-option name #!optional no-error?)
(let ((no-error? (and (not (default-object? no-error?)) no-error?)))
(define (notifier option)
(named-lambda (notify port)
- (write-string "Loading " port)
- (write-string (symbol-name option) port)
- (write-string " option" port)))
+ (if (not load-option/suppress-loading-message?)
+ (begin
+ (write-string "Loading " port)
+ (write-string (symbol-name option) port)
+ (write-string " option" port)))))
(define (load-entry entry)
(with-notification
compile-shim
link-shim
install-shim
- install-load-option)
+ install-load-option
+ load-option/suppress-loading-message?)
(initialization (initialize-package!)))
(define-package (runtime program-copier)