From ec0b56ae696243702c476fed3f88ea5100755f6e Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 27 Sep 2024 02:12:30 +0200 Subject: [PATCH] website: configure.ac: always check for rm. In the Makefile we have the following: pages/footer-git-commit.include: rm -f $@ [...] This rule is valid reguardless of the '--without-guix' configure option, so we need to also check if rm is present when using guix to build the website. Signed-off-by: Denis 'GNUtoo' Carikli --- website/configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/website/configure.ac b/website/configure.ac index 3883d3a..235cb04 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_RM], [rm], [rm]) +AS_IF([test x"$FOUND_RM" = x""], + [AC_MSG_ERROR([rm 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)])]) @@ -169,11 +173,6 @@ AS_IF([test x"$guix" = x"yes"], [AC_MSG_ERROR( [printf was not found in PATH ($PATH)])]) - AC_CHECK_PROG([FOUND_RM], [rm], [rm]) - AS_IF([test x"$FOUND_RM" = x""], - [AC_MSG_ERROR( - [rm was not found in PATH ($PATH)])]) - AC_CHECK_PROG([FOUND_TAIL], [tail], [tail]) AS_IF([test x"$FOUND_TAIL" = x""], [AC_MSG_ERROR(