ec440efecffd3cffb10071007e5f4c1a9be89128
[haunt.git] / configure.ac
1 dnl -*- Autoconf -*-
2
3 AC_INIT(Haunt, 0.2.3)
4 AC_CONFIG_SRCDIR(haunt)
5 AC_CONFIG_AUX_DIR([build-aux])
6 AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign])
7 AM_SILENT_RULES([yes])
8
9 AC_CONFIG_FILES([Makefile example/Makefile website/Makefile haunt/config.scm])
10 AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
11 AC_CONFIG_FILES([test-env], [chmod +x test-env])
12 AC_CONFIG_FILES([scripts/haunt], [chmod +x scripts/haunt])
13
14 GUILE_PKG([2.2 2.0])
15 GUILE_PROGS
16
17 dnl Guile-reader is needed for Skribe support
18 GUILE_MODULE_AVAILABLE([have_guile_reader], [(system reader)])
19 AM_CONDITIONAL([HAVE_GUILE_READER], [test "x$have_guile_reader" = "xyes"])
20
21 GUILE_MODULE_AVAILABLE([have_guile_commonmark], [(commonmark)])
22 AM_CONDITIONAL([HAVE_GUILE_COMMONMARK], [test "x$have_guile_commonmark" = "xyes"])
23
24 AC_OUTPUT