summaryrefslogtreecommitdiff
path: root/ctftilde/configure.ac
blob: 13ce183374d4a1f13ee199f6cc0f8ad42f99d78f (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
31
32
33
34
35
# SPDX-License-Identifier: CC0-1.0
#
# Copyright (C) 2023 Wojtek Kosior <koszko@koszko.org>

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

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

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

GUILE_PKG([3.0])
GUILE_PROGS

GUILE_MODULE_REQUIRED([cantius])
GUILE_MODULE_REQUIRED([htmlprag])

AC_PATH_PROG([CONVERT], [convert])
AC_ARG_VAR([CONVERT], [Convert tool from ImageMagick suite]
[(default: search for `convert' in PATH)])

AC_PATH_PROG([INKSCAPE], [inkscape])
AC_ARG_VAR([INKSCAPE], [Inkscape vector graphics program command]
[(default: search for `inkscape' in PATH)])

AC_CONFIG_AUX_DIR([autotools-aux])

AM_INIT_AUTOMAKE([-Wall -Werror foreign])

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

[cp "$srcdir"/gen-pre-inst-config-scm .]

AC_OUTPUT