aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-10-12 12:51:30 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-10-12 12:51:30 +0000
commitb9adce2fb5cee4badd6f0599b105da252c8855ac (patch)
tree2c87ddb4aaac35dbd7c9d0f1aaa4f1ffcc786b6f
parent725f1a235c0716f802fae6439f8c5b3551d05d11 (diff)
downloadellinika-b9adce2fb5cee4badd6f0599b105da252c8855ac.tar.gz
ellinika-b9adce2fb5cee4badd6f0599b105da252c8855ac.tar.bz2
Avoid duplicating elements in %load-path
git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@217 941c8c0f-9102-463b-b60b-cd22ce0e6858
-rw-r--r--configure.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index b025426..d3edac8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,9 +33,14 @@ LIBS="$LIBS $ra_cv_lib_mysqlclient"
AC_SUBST(GUILE_BINDIR)
GUILE_BINDIR=`guile-config info bindir`
-# FIXME: This is not always needed
-AC_SUBST(UPDPATH)
-UPDPATH="(set! %load-path (cons \\\"\$\$s\\\" %load-path))"
+case `guile -c "(display (member \"$GUILE_SITE\" %load-path))(newline)"` in
+\#f) GUILE_COMMENT=;;
+*) GUILE_COMMENT=";;" ;;
+esac
+
+AC_SUBST(GUILE_COMMENT)
+AC_SUBST(GUILE_SITE)
+
CGIDIR='$(prefix)/cgi-bin'
AC_ARG_WITH(cgi-bin,

Return to:

Send suggestions and report system problems to the System administrator.