From 1bfead41b5e7bb1e4034d54c18e4fadb4c5449dc Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 27 Sep 2024 02:10:01 +0200 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 --- 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)])])