mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 05:06:37 +02:00
Supporting gauche install path.
This commit is contained in:
parent
0438ad792e
commit
8c84a00840
1 changed files with 8 additions and 1 deletions
|
@ -27,10 +27,12 @@
|
|||
(chibi (list 'chibi))
|
||||
(else (find "chibi-scheme" 'chibi)))
|
||||
(find "foment" 'foment)
|
||||
(find "gosh" 'gauche)
|
||||
(find "guile" 'guile)
|
||||
(find "sagittarius" 'sagittarius)))
|
||||
|
||||
(define (conf-selected-implementations cfg)
|
||||
(let ((requested (conf-get-list cfg 'implementations '(all)))
|
||||
(let ((requested (conf-get-list cfg 'implementations '(chibi)))
|
||||
(available (available-implementations cfg)))
|
||||
(if (memq 'all requested)
|
||||
available
|
||||
|
@ -790,6 +792,11 @@
|
|||
(if share-dir
|
||||
(cons share-dir (delete share-dir dirs))
|
||||
dirs)))
|
||||
((gauche)
|
||||
(let ((dir (process->string '(gauche-config "--sitelibdir"))))
|
||||
(and (string? dir) (> 0 (string-length dir))
|
||||
(eqv? #\/ (string-ref dir 0))
|
||||
dir)))
|
||||
((guile)
|
||||
(let ((path
|
||||
(guile-eval
|
||||
|
|
Loading…
Add table
Reference in a new issue