From cdd22dfa3ff6bba4afd29ac6e462f1e95eabf4c2 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Mon, 11 Nov 2024 22:07:38 +0100 Subject: [PATCH] website: configure.ac: always check for printf. In the Makefile we have the following: help: @printf "%s\n\t%s\n\t%s\n\t%s\n\t%s\n\t%s\n\t%s\n" \ [...] This rule is valid reguardless of the '--without-guix' configure option, so we need to also check if printf is present when using guix to build the website. Signed-off-by: Denis 'GNUtoo' Carikli Acked-by: Adrien Bourmault --- website/configure.ac | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/website/configure.ac b/website/configure.ac index 235cb04..788dc5f 100644 --- a/website/configure.ac +++ b/website/configure.ac @@ -86,6 +86,10 @@ AC_CHECK_PROG([FOUND_AWK], [awk], [awk]) AS_IF([test x"$FOUND_AWK" = x""], [AC_MSG_ERROR([awk was not found in PATH ($PATH)])]) +AC_CHECK_PROG([FOUND_PRINTF], [printf], [printf]) +AS_IF([test x"$FOUND_PRINTF" = x""], + [AC_MSG_ERROR([printf was not found in PATH ($PATH)])]) + AC_CHECK_PROG([FOUND_REALPATH], [realpath], [realpath]) AS_IF([test x"$FOUND_REALPATH" = x""], [AC_MSG_ERROR([realpath was not found in PATH ($PATH)])]) @@ -168,11 +172,6 @@ AS_IF([test x"$guix" = x"yes"], [AC_MSG_ERROR( [pandoc was not found in PATH ($PATH)])]) - AC_CHECK_PROG([FOUND_PRINTF], [printf], [printf]) - AS_IF([test x"$FOUND_PRINTF" = x""], - [AC_MSG_ERROR( - [printf was not found in PATH ($PATH)])]) - AC_CHECK_PROG([FOUND_TAIL], [tail], [tail]) AS_IF([test x"$FOUND_TAIL" = x""], [AC_MSG_ERROR(