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 <GNUtoo@cyberdimension.org> Acked-by: Adrien Bourmault <neox@gnu.org>
This commit is contained in:
parent
378e9c5ef8
commit
cdd22dfa3f
|
@ -86,6 +86,10 @@ AC_CHECK_PROG([FOUND_AWK], [awk], [awk])
|
||||||
AS_IF([test x"$FOUND_AWK" = x""],
|
AS_IF([test x"$FOUND_AWK" = x""],
|
||||||
[AC_MSG_ERROR([awk was not found in PATH ($PATH)])])
|
[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])
|
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)])])
|
||||||
|
@ -168,11 +172,6 @@ AS_IF([test x"$guix" = x"yes"],
|
||||||
[AC_MSG_ERROR(
|
[AC_MSG_ERROR(
|
||||||
[pandoc was not found in PATH ($PATH)])])
|
[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])
|
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(
|
||||||
|
|
Loading…
Reference in New Issue