configure.ac
1 | dnl -*- Autoconf -*- |
2 | |
3 | AC_INIT([Guile-fediverse], [0.1.0], |
4 | [julien@lepiller.eu], [guile-fediverse], |
5 | [https://framagit.org/tyreunom/guile-fediverse]) |
6 | |
7 | AC_CONFIG_AUX_DIR([build-aux]) |
8 | AM_INIT_AUTOMAKE([foreign color-tests -Wall -Wno-portability]) |
9 | AM_SILENT_RULES([yes]) |
10 | |
11 | dnl We require pkg.m4 (from pkg-config) and guile.m4 (from Guile.) |
12 | dnl Make sure they are available. |
13 | m4_pattern_forbid([PKG_CHECK_MODULES]) |
14 | m4_pattern_forbid([GUILE_PKG]) |
15 | |
16 | GUILE_PKG([3.0 2.2 2.0]) |
17 | GUILE_PROGS |
18 | |
19 | GUILE_MODULE_AVAILABLE([have_guile_json], [(json)]) |
20 | if test "x$have_guile_json" != "xyes"; then |
21 | AC_MSG_ERROR([Guile-Json could not be found; please install it.]) |
22 | fi |
23 | |
24 | GUILE_MODULE_AVAILABLE([have_guile_jsonld], [(jsonld json)]) |
25 | if test "x$have_guile_jsonld" != "xyes"; then |
26 | AC_MSG_ERROR([Guile-JsonLD could not be found; please install it.]) |
27 | fi |
28 | |
29 | AC_CONFIG_FILES([Makefile]) |
30 | AC_CONFIG_FILES([env], [chmod +x env]) |
31 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) |
32 | |
33 | AC_OUTPUT |
34 |