Last change
on this file since 13362 was
13362,
checked in by Jim Ursetto, 12 years ago
|
ssax: remove STRING from standard bindings, allows Unicode entities
|
File size:
688 bytes
|
Line | |
---|
1 | (define has-exports? (string>=? (chicken-version) "2.310")) |
---|
2 | |
---|
3 | (define (dynld-name fn) |
---|
4 | (make-pathname #f fn ##sys#load-dynamic-extension) ) |
---|
5 | |
---|
6 | (compile -s -O2 -d0 |
---|
7 | ,@(if has-exports? '(-check-imports -emit-exports ssax-core.exports) '()) |
---|
8 | ssax-core.scm) |
---|
9 | |
---|
10 | (compile -s -O2 -d0 |
---|
11 | ,@(if has-exports? '(-check-imports -emit-exports ssax-utils.exports) '()) |
---|
12 | ssax-utils.scm) |
---|
13 | |
---|
14 | (install-extension 'ssax |
---|
15 | `("ssax.scm" |
---|
16 | ,(dynld-name "ssax-core") |
---|
17 | ,(dynld-name "ssax-utils") |
---|
18 | "ssax.html" ) |
---|
19 | `((version 4.9.8) |
---|
20 | (syntax) |
---|
21 | ,@(if has-exports? `((exports "ssax-core.exports" "ssax-utils.exports")) '()) |
---|
22 | (documentation "ssax.html") |
---|
23 | (require-at-runtime ssax-core ssax-utils) ) ) |
---|
Note: See
TracBrowser
for help on using the repository browser.