3 AC_INIT([mumi], [m4_translit(m4_esyscmd([cat VERSION]),m4_newline)])
4 AC_CONFIG_AUX_DIR([build-aux])
5 AM_INIT_AUTOMAKE([gnu color-tests -Wall -Wno-portability foreign])
10 if test "x$GUILD" = "x"; then
11 AC_MSG_ERROR(['guild' binary not found; please check your guile-2.2 installation.])
14 GUILE_MODULE_AVAILABLE([have_guile_debbugs], [(debbugs soap)])
15 if test "x$have_guile_debbugs" != "xyes"; then
16 AC_MSG_ERROR([Guile-Debbugs is missing; please install it.])
19 GUILE_MODULE_AVAILABLE([have_guile_email], [(email email)])
20 if test "x$have_guile_email" != "xyes"; then
21 AC_MSG_ERROR([guile-email is missing; please install it.])
24 guilemoduledir="${datarootdir}/guile/site/${GUILE_EFFECTIVE_VERSION}"
25 AC_SUBST([guilemoduledir])
26 AC_SUBST([GUILE_EFFECTIVE_VERSION])
28 dnl Substitute placeholders to generate these target files
29 AC_CONFIG_FILES([Makefile])
30 AC_CONFIG_FILES([mumi/config.scm])
31 AC_CONFIG_FILES([scripts/mumi], [chmod +x scripts/mumi])
32 AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])