Initial commit.
[software/mumi.git] / configure.ac
1 dnl -*- Autoconf -*-
2
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])
6 AM_SILENT_RULES([yes])
7
8 GUILE_PKG([2.2])
9 GUILE_PROGS
10 if test "x$GUILD" = "x"; then
11 AC_MSG_ERROR(['guild' binary not found; please check your guile-2.2 installation.])
12 fi
13
14
15 guilemoduledir="${datarootdir}/guile/site/${GUILE_EFFECTIVE_VERSION}"
16 AC_SUBST([guilemoduledir])
17 AC_SUBST([GUILE_EFFECTIVE_VERSION])
18
19 dnl Substitute placeholders to generate these target files
20 AC_CONFIG_FILES([Makefile])
21 AC_CONFIG_FILES([mumi/config.scm])
22 AC_CONFIG_FILES([scripts/mumi], [chmod +x scripts/mumi])
23 AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
24
25 AC_OUTPUT