aboutsummaryrefslogtreecommitdiff
path: root/src/skribilo.in
diff options
context:
space:
mode:
authorLudovic Courtès2007-10-28 21:44:49 +0100
committerLudovic Courtès2007-10-28 21:44:49 +0100
commit6bd5090e62617ff29ab6ca507752b2b3fb1137ef (patch)
tree1e9000f43c9b475decf27e4491872aab30e697a7 /src/skribilo.in
parent8f7249c988868886fea57d3f231079a2df846728 (diff)
downloadskribilo-6bd5090e62617ff29ab6ca507752b2b3fb1137ef.tar.gz
skribilo-6bd5090e62617ff29ab6ca507752b2b3fb1137ef.tar.lz
skribilo-6bd5090e62617ff29ab6ca507752b2b3fb1137ef.zip
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@"'.
Diffstat (limited to 'src/skribilo.in')
-rwxr-xr-xsrc/skribilo.in17
1 files changed, 5 insertions, 12 deletions
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 <ludovic.courtes@laas.fr>
+# Copyright 2005, 2006, 2007 Ludovic Courtès <ludo@gnu.org>
#
#
# 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