~ salmonella-environment-setup (master) 224382333c81f2865c21d71ee6410e6bec068232


commit 224382333c81f2865c21d71ee6410e6bec068232
Author:     Mario Domenech Goulart <mario@parenteses.org>
AuthorDate: Sun Nov 22 11:22:18 2020 +0100
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Sun Nov 22 11:22:18 2020 +0100

    conf/common/chicken-5.scm: support CHICKEN 5

diff --git a/conf/common/chicken-5.scm b/conf/common/chicken-5.scm
index ecbae7d..00023c7 100644
--- a/conf/common/chicken-5.scm
+++ b/conf/common/chicken-5.scm
@@ -1,3 +1,13 @@
+(import scheme)
+(cond-expand
+  (chicken-4
+   (import chicken files))
+  (chicken-5
+   (import (chicken pathname)
+           (chicken process-context)))
+  (else
+   (error "Unsupported CHICKEN version.")))
+
 (chicken-release 5)
 
 (chicken-bootstrap-prefix (get-environment-variable "CHICKEN_5_PREFIX"))
Trap