aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
blob: 3c946b03441798dd615021497f635ce88b72ce0d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# SPDX-License-Identifier: CC0-1.0
#
# Copyright (C) 2023 Wojtek Kosior <koszko@koszko.org>

AC_INIT([cantius], [0.1], [koszko@koszko.org])

AC_CONFIG_SRCDIR([src/guile/cantius.scm])

m4_pattern_forbid([^GUILE_])
m4_pattern_allow([^GUILE_PKG_ERRORS$])

GUILE_PKG([3.0])
GUILE_PROGS

GUILE_MODULE_REQUIRED([fibers])
GUILE_MODULE_REQUIRED([srfi srfi-146])
GUILE_MODULE_REQUIRED([srfi srfi-128])

AC_PATH_PROG([GUILE_TEST_DRIVER], [guile-test-driver])
AC_ARG_VAR([GUILE_TEST_DRIVER], [The test driver command from Myra test utils]
[(default: search for `guile-test-driver' in PATH)])

AC_CONFIG_AUX_DIR([autotools-aux])

AM_INIT_AUTOMAKE([-Wall -Werror foreign])

AC_CONFIG_FILES([Makefile src/guile/Makefile tests/guile/Makefile])
AX_ADD_GUILE_PRE_INST_ENV()

AC_OUTPUT