From 6bd5090e62617ff29ab6ca507752b2b3fb1137ef Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 28 Oct 2007 21:44:49 +0100 Subject: Add configure `--with-guilemoduledir' option. * configure.ac: Add support for `--with-guilemoduledir'. * */Makefile.am (guilemoduledir): Don't override the configure-provided value. * src/skribilo.in: Add `-L "@guilemoduledir@"'. --- src/skribilo.in | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'src/skribilo.in') diff --git a/src/skribilo.in b/src/skribilo.in index 8d49f84..1240be0 100755 --- a/src/skribilo.in +++ b/src/skribilo.in @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2005, 2006 Ludovic Courtès +# Copyright 2005, 2006, 2007 Ludovic Courtès # # # This program is free software; you can redistribute it and/or modify @@ -20,19 +20,12 @@ # The `skribilo' executable. -# Note: In Guile 1.8+ (or 1.9), when Guile is run in batch mode with -# `--debug', it produces a clean stack trace when an exception is -# raised and uncaught. On earlier versions, it behaves as if -# `--debug' had not been passed, not displaying a stack trace. See -# http://lists.gnu.org/archive/html/guile-devel/2006-01/msg00022.html -# for details. -# -# In any case, don't pass `--debug' by default (for performance -# reason). When needed, the use should explicitly set the `GUILE' -# environment variable to, e.g., "guile --debug". +# Don't pass `--debug' by default (for performance reason). When +# needed, the use should explicitly set the `GUILE' environment +# variable to, e.g., "guile --debug". main='(module-ref (resolve-module '\''(skribilo)) '\'main')' -exec ${GUILE-@GUILE@} -c " +exec ${GUILE-@GUILE@} -L "@guilemoduledir@" -c " (use-modules (skribilo condition)) (call-with-skribilo-error-catch -- cgit v1.2.3