summaryrefslogtreecommitdiffstats
path: root/require.scm
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <tb@debian.org>2006-10-24 17:45:55 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:37 -0800
commit9759d086b03352d87bb7b536132d3ef731cdbc3c (patch)
treec6b54bef66f3006b9aefb6a7aac2a474ad282a92 /require.scm
parent97fc07b2d8896b869db55827900f24e6528a9bd6 (diff)
downloadslib-9759d086b03352d87bb7b536132d3ef731cdbc3c.tar.gz
slib-9759d086b03352d87bb7b536132d3ef731cdbc3c.zip
Import Debian changes 3a4-2debian/3a4-2
slib (3a4-2) unstable; urgency=low * guile.init (library-vicinity): Set default location of slib to /usr/share/slib instead of /usr/lib/slib. * RScheme.init (library-vicinity): Likewise. * require.scm: Work around the fact that scm versions < 5e3 set *features* but not slib:features.
Diffstat (limited to 'require.scm')
-rw-r--r--require.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/require.scm b/require.scm
index 31d922d..d9edb91 100644
--- a/require.scm
+++ b/require.scm
@@ -19,6 +19,13 @@
;@
(define *slib-version* "3a4")
+;;;; Accommodate scm versions < 5e3 which set *features* but not
+;;;; slib:features
+;;;; -- tb@debian.org, 10/24/2006
+(if (and (eq? (scheme-implementation-type) 'SCM)
+ (not (defined? slib:features)))
+ (define slib:features *features*))
+
;;;; MODULES
;@
(define *catalog* #f)