summaryrefslogtreecommitdiff
path: root/ctftilde/configure.ac
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2024-05-18 01:00:12 +0200
committerW. Kosior <koszko@koszko.org>2024-05-18 01:00:22 +0200
commit2b55cf92033ed02cabd545540241585e05f1fbb0 (patch)
tree9da86016dea518287552b56aaf457da970d4220f /ctftilde/configure.ac
downloadAGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.tar.gz
AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.zip
Initial commit.
Diffstat (limited to 'ctftilde/configure.ac')
-rw-r--r--ctftilde/configure.ac35
1 files changed, 35 insertions, 0 deletions
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 <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