diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | scm/dictrans.scm | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -1,5 +1,9 @@ 2004-10-12 Sergey Poznyakoff <gray@Mirddin.farlep.net> + * configure.ac: Avoid duplicating elements in %load-path + * scm/Makefile.am (dictrans.sed): Updated rule + * scm/dictrans.scm: Updated + * configure.ac: Use the new MU_CHECK_GUILE. * cgi-bin/Makefile.am: Create a separate sed program file. * cgi-bin/dict.cgi.in: Use modules from gamma diff --git a/scm/dictrans.scm b/scm/dictrans.scm index e84c116..ec87ad8 100644 --- a/scm/dictrans.scm +++ b/scm/dictrans.scm @@ -80,7 +80,9 @@ ;;;; <X>string</X>* ;;;; <T ID="string" />* ;;;; </NODE> -;=UPDPATH= + +;;; Tailor this statement to your needs if necessary. +;=GUILE_COMMENT=;(set! %load-path (cons "=GUILE_SITE=" %load-path)) (use-modules (xmltools xmltrans) (gamma sql) @@ -104,7 +106,8 @@ (define input-files '()) (define sysconf-dir "=SYSCONFDIR=") - +(define config-file-name "ellinika.conf") + ;;; Load the site defaults (let ((rc-file (string-append sysconf-dir "/" config-file-name))) (if (file-exists? rc-file) |