From d38e0af8b61ebd1ce5748a878eeb6158d0229671 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 20 Dec 2022 13:15:05 +0100 Subject: Remove bootstrap.css and build CSS from SCSS sources. --- configure.ac | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 22bfb71..3fac7da 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,23 @@ AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([gnu color-tests -Wall -Wno-portability foreign]) AM_SILENT_RULES([yes]) +dnl Check for required programmes and store their full path in the +dnl given variables. The variables are used to substitute +dnl placeholders in the scripts. + +dnl The variables only need to be set manually when they cannot be +dnl found via the PATH environment variable. +AC_DEFUN([find_or_override_prog], +[AC_ARG_VAR($1, override location of $2 executable)dnl +AS_IF([test -z "$$1"],dnl + [AC_PATH_PROG([$1], [$2], no)dnl + if test x"$$1" == x"no" ; then + AC_MSG_ERROR([Could not find $2.]) + fi + ],dnl + [AC_MSG_NOTICE([Using $$1 as $2 executable.])])]) +find_or_override_prog([SASSC], [sassc]) + GUILE_PKG([3.0 2.2]) GUILE_PROGS if test "x$GUILD" = "x"; then -- cgit v1.2.3