From 1a6e4dc8257bf1ac64b356411dfd55e757b8e221 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Mon, 11 Nov 2024 22:07:36 +0100 Subject: [PATCH] website: configure.ac: check for sed. In the Makefile we have the following: index.html: index.html.tmpl sed -e "s#WEBSITE_PREFIX#$(WEBSITE_PREFIX)#g" "$^" > "$@" so we need to make sure that 'sed' is available. Signed-off-by: Denis 'GNUtoo' Carikli Acked-by: Adrien Bourmault --- website/configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/configure.ac b/website/configure.ac index 74d7326..3883d3a 100644 --- a/website/configure.ac +++ b/website/configure.ac @@ -90,6 +90,10 @@ AC_CHECK_PROG([FOUND_REALPATH], [realpath], [realpath]) AS_IF([test x"$FOUND_REALPATH" = x""], [AC_MSG_ERROR([realpath was not found in PATH ($PATH)])]) +AC_CHECK_PROG([FOUND_SED], [sed], [sed]) +AS_IF([test x"$FOUND_SED" = x""], + [AC_MSG_ERROR([sed was not found in PATH ($PATH)])]) + AC_CHECK_PROG([FOUND_TAR], [tar], [tar]) AS_IF([test x"$FOUND_TAR" = x""], [AC_MSG_ERROR([tar was not found in PATH ($PATH)])])