path: root/scm/dictrans.scm
authorSergey Poznyakoff <>2015-01-06 19:44:01 (GMT)
committer Sergey Poznyakoff <>2015-01-06 19:44:01 (GMT)
commit5dfd8dd432785ca8d8b6d2c11bac9e110feda52b (patch) (side-by-side diff)
treebfe12bf71b50e7916ab5b957ba216def8c41cbf9 /scm/dictrans.scm
parentc5e668cfd92985ff7e3e4be7c6be8c3ea3e6d57f (diff)
Update for Guile 2.0
* .gitmodules: New file * gint: New module. * (ACLOCAL_AMFLAGS, SUBDIRS): Add gint * Create a placeholder for ChangeLog. * Add gint. * scm/ Add silent rule magic. * src/cgi-bin/ Likewise. * src/ellinika/ Likewise. * xml/ Likewise. * scm/dictrans.scm: Load (ice-9 syncase) only for Guile 1.x * scm/neatrans.scm: Likewise. * src/ellinika/conjugator.scm: Likewise. * src/ellinika/elmorph.c (elstr)<phoneme_count,nsyl>: Change type to size_t. * xml/pl/ Force UTF-8 locale when building html. Add silent rule magic. * xml/ru/ Likewise. * xml/uk/ Likewise.
Diffstat (limited to 'scm/dictrans.scm') (more/less context) (ignore whitespace changes)
1 files changed, 2 insertions, 1 deletions
diff --git a/scm/dictrans.scm b/scm/dictrans.scm
index d76479e..2148929 100644
--- a/scm/dictrans.scm
+++ b/scm/dictrans.scm
@@ -90,7 +90,8 @@
(ellinika xlat)
(ice-9 getopt-long))
-(use-syntax (ice-9 syncase))
+(if (= (string->number (major-version)) 1)
+ (use-modules (ice-9 syncase)))
(define compile-only #f)
(define cleanup-option #f)

Return to:

Send suggestions and report system problems to the System administrator.