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 <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-09-27 02:12:30 +02:00
parent 1bfead41b5
commit ec0b56ae69
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 4 additions and 5 deletions

View File

@ -90,6 +90,10 @@ AC_CHECK_PROG([FOUND_REALPATH], [realpath], [realpath])
AS_IF([test x"$FOUND_REALPATH" = x""], AS_IF([test x"$FOUND_REALPATH" = x""],
[AC_MSG_ERROR([realpath was not found in PATH ($PATH)])]) [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]) AC_CHECK_PROG([FOUND_SED], [sed], [sed])
AS_IF([test x"$FOUND_SED" = x""], AS_IF([test x"$FOUND_SED" = x""],
[AC_MSG_ERROR([sed was not found in PATH ($PATH)])]) [AC_MSG_ERROR([sed was not found in PATH ($PATH)])])
@ -169,11 +173,6 @@ AS_IF([test x"$guix" = x"yes"],
[AC_MSG_ERROR( [AC_MSG_ERROR(
[printf was not found in PATH ($PATH)])]) [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]) AC_CHECK_PROG([FOUND_TAIL], [tail], [tail])
AS_IF([test x"$FOUND_TAIL" = x""], AS_IF([test x"$FOUND_TAIL" = x""],
[AC_MSG_ERROR( [AC_MSG_ERROR(