X-Git-Url: https://jxself.org/git/?p=mudsync.git;a=blobdiff_plain;f=configure.ac;h=2fb1d62d5976afa66a92516c2581d3a37490e301;hp=542b4599f70aa53ab875862cfa86b9e06a3a8759;hb=669edc75ebfbb547053f4aa0a67be6c3754ccb65;hpb=7b2886381596de9b115aeedbac4787e8f0bb483a diff --git a/configure.ac b/configure.ac index 542b459..2fb1d62 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ -AC_INIT([mudsync], [0.1.0], [cwebber@dustycloud.org]) +AC_INIT([mudsync], [0.1.0-pre], [cwebber@dustycloud.org]) -PKG_CHECK_MODULES([GUILE], [guile-2.0]) +PKG_CHECK_MODULES([GUILE], [guile-2.2]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) @@ -10,7 +10,13 @@ m4_ifdef([GUILE_PROGS], GUILE_PROGS -AC_CONFIG_FILES([Makefile]) -AC_CONFIG_FILES([env], [chmod +x env]) +dnl Prepare a version of $datadir that does not contain references to +dnl shell variables. (Borrowed from Sly, which borrowed from Guix...) +package_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`" +package_datadir="`eval eval echo $datadir | sed -e "s|NONE|$package_prefix|g"`" +AC_SUBST([package_datadir]) + + +AC_CONFIG_FILES([Makefile mudsync/package-config.scm]) AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) AC_OUTPUT