summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 7a030482f20fef1a0e0b2d5a98ee4e968cde63ae (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
dnl disfluid, implementation of the Solid specification
dnl Copyright (C) 2020, 2021  Vivien Kraus

dnl This program is free software: you can redistribute it and/or modify
dnl it under the terms of the GNU Affero General Public License as
dnl published by the Free Software Foundation, either version 3 of the
dnl License, or (at your option) any later version.

dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU Affero General Public License for more details.

dnl You should have received a copy of the GNU Affero General Public License
dnl along with this program.  If not, see <https://www.gnu.org/licenses/>.

AC_INIT([disfluid], m4_esyscmd([bash ./get-version]), [vivien@planete-kraus.eu])
AC_CONFIG_SRCDIR([src/libwebidoidc.c])
AM_INIT_AUTOMAKE([subdir-objects])
AM_SILENT_RULES([yes])

AC_ARG_ENABLE([--enable-indent-check],
  [When running tests, also check that the source code is indented])
AC_SUBST([RELEASE_DATE], m4_esyscmd([bash ./get-release]))

AM_CONDITIONAL([INDENT_CHECK_ENABLED], [test "x$enable_indent_check" = "xyes"])
AC_PROG_CC
AM_MISSING_PROG([SNARF], [guile-snarf])
AM_MISSING_PROG([HELP2MAN], [help2man])
AM_MISSING_PROG([INDENT], [indent])
AM_MISSING_PROG([G_IR_SCANNER], [g-ir-scanner])
AM_MISSING_PROG([G_IR_COMPILER], [g-ir-compiler])
AM_MISSING_PROG([VAPIGEN], [vapigen])
AM_PROG_VALAC
LT_INIT
AC_CONFIG_HEADERS([config.h])
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.20])
GUILE_PKG([3.0])
GUILE_PROGS
GUILE_SITE_DIR
PKG_CHECK_MODULES([NETTLE], [nettle])
PKG_CHECK_MODULES([HOGWEED], [hogweed])
PKG_CHECK_MODULES([GUILE], [guile-$GUILE_EFFECTIVE_VERSION])
PKG_CHECK_MODULES([GLIB], [glib-2.0])
PKG_CHECK_MODULES([GOBJECT], [gobject-2.0])
PKG_CHECK_MODULES([GIO], [gio-2.0])
GUILE_MODULE_REQUIRED([json])
GUILE_MODULE_REQUIRED([rdf rdf])
GUILE_MODULE_REQUIRED([turtle tordf])
GUILE_MODULE_REQUIRED([turtle fromrdf])
GUILE_MODULE_REQUIRED([nquads tordf])
GUILE_MODULE_REQUIRED([jsonld])
GUILE_MODULE_REQUIRED([gi])
GLIB_GSETTINGS

AC_CONFIG_FILES([vapigen/Makefile Makefile po/Makefile.in man/Makefile eu.planete_kraus.Disfluid.gschema.xml])
AC_CONFIG_FILES([man/reset-env], [chmod +x man/reset-env])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
AC_OUTPUT