From 2b55cf92033ed02cabd545540241585e05f1fbb0 Mon Sep 17 00:00:00 2001 From: "W. Kosior" Date: Sat, 18 May 2024 01:00:12 +0200 Subject: Initial commit. --- ctftilde/configure.ac | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ctftilde/configure.ac (limited to 'ctftilde/configure.ac') diff --git a/ctftilde/configure.ac b/ctftilde/configure.ac new file mode 100644 index 0000000..13ce183 --- /dev/null +++ b/ctftilde/configure.ac @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: CC0-1.0 +# +# Copyright (C) 2023 Wojtek Kosior + +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 -- cgit v1.2.3