X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=configure.ac;h=004fec1707fda3025ed61a80509bb19435bf7453;hp=301321f8ef59f710f837cedf8f1c65dbb78a2008;hb=refs%2Fheads%2Fmaster;hpb=2425363fe06d00cebd8f9c8ec9ae0a8c61716958 diff --git a/configure.ac b/configure.ac index 301321f..ed3eba0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,19 @@ -AC_INIT([8sync], [0.1.dev], [cwebber@dustycloud.org]) +AC_INIT([8sync], [0.4.2], [cwebber@dustycloud.org]) -PKG_CHECK_MODULES([GUILE], [guile-2.0]) +AC_CANONICAL_HOST + +GUILE_PKG([3.0 2.2]) +guilemoduledir="${datarootdir}/guile/site/$GUILE_EFFECTIVE_VERSION" +guileobjectdir="${libdir}/guile/$GUILE_EFFECTIVE_VERSION/site-ccache" +AC_SUBST([guilemoduledir]) +AC_SUBST([guileobjectdir]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +m4_ifdef([GUILE_PROGS], + [], + [AC_ERROR(could not locate guile aclocal macros)]) + GUILE_PROGS AC_CONFIG_FILES([Makefile])