summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-11-12 15:10:38 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-11-12 15:10:38 -0500
commit28ac76a7e23694462f73e2b7e9e92f21d09902e0 (patch)
tree47e1ef6dc047be1043e65a245d74d10b9de1df18
parent6c1b5b1d486a4d831c9d3960010f4ad334b91a3b (diff)
config: Fix configure script substitution.
-rw-r--r--configure.ac3
-rw-r--r--sly/config.scm.in2
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 853a051..7708392 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,9 +15,8 @@ AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
# Prepare a version of $datadir that does not contain references to
# shell variables.
sly_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`"
-sly_datadir="`eval eval echo $datadir | sed -e "s|NONE|$guix_prefix|g"`"
+sly_datadir="`eval eval echo $datadir | sed -e "s|NONE|$sly_prefix|g"`"
AC_SUBST([sly_datadir])
-AC_SUBST([sly_prefix])
GUILE_PROGS([2.0.11])
GUILE_MODULE_REQUIRED([sdl sdl])
diff --git a/sly/config.scm.in b/sly/config.scm.in
index 3a455cf..433860d 100644
--- a/sly/config.scm.in
+++ b/sly/config.scm.in
@@ -27,7 +27,7 @@
%libgslcblas))
(define %datadir
- (or (getenv "SLY_DATADIR") "@sly_prefix@@sly_datadir@/sly"))
+ (or (getenv "SLY_DATADIR") "@sly_datadir@/sly"))
(define %libfreeimage
"@LIBFREEIMAGE@")