From f709ef6b0e0fa29df4c7e1f9181aaff82105f674 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Wed, 20 Sep 2023 14:44:37 +0200 Subject: [PATCH] configure.ac: bail out if guix and sed are not detected Signed-off-by: Denis 'GNUtoo' Carikli --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 1364e97..2211909 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,12 @@ AC_PROG_MKDIR_P AM_INIT_AUTOMAKE([foreign]) AC_CHECK_PROG([GUIX], [guix], [guix]) +AS_IF([test x"$GUIX" = x""], + [AC_MSG_ERROR([guix was not found in PATH ($PATH)])]) + AC_CHECK_PROG([SED], [sed], [sed]) +AS_IF([test x"$SED" = x""], + [AC_MSG_ERROR([sed was not found in PATH ($PATH)])]) AC_SUBST([DOMAIN], []) AC_SUBST([ENABLE_WIREGUARD], [])