summaryrefslogtreecommitdiff
path: root/env.in
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2015-11-22 11:29:09 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2015-11-22 11:29:09 -0600
commit2425363fe06d00cebd8f9c8ec9ae0a8c61716958 (patch)
tree1e111634f186abfac225366455b9c53fc594b14d /env.in
parent302b13a687285471ba67d62553639519adfb4da8 (diff)
download8sync-2425363fe06d00cebd8f9c8ec9ae0a8c61716958.tar.gz
Adding automake stuff
Diffstat (limited to 'env.in')
-rw-r--r--env.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/env.in b/env.in
new file mode 100644
index 0000000..a681bdc
--- /dev/null
+++ b/env.in
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+## Also borrowed from guile-opengl, which is GPLv3+
+
+GUILE_LOAD_PATH=@abs_top_srcdir@:$GUILE_LOAD_PATH
+if test "@abs_top_srcdir@" != "@abs_top_builddir@"; then
+ GUILE_LOAD_PATH=@abs_top_builddir@:$GUILE_LOAD_PATH
+fi
+GUILE_LOAD_COMPILED_PATH=@abs_top_builddir@:$GUILE_LOAD_PATH
+PATH=@abs_top_builddir@/bin:$PATH
+
+export GUILE_LOAD_PATH
+export GUILE_LOAD_COMPILED_PATH
+export PATH
+
+exec "$@"