[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 13/18] website-build: configure: make realpath and tar req
From: |
Adrien 'neox' Bourmault |
Subject: |
Re: [PATCH v1 13/18] website-build: configure: make realpath and tar requirement work. |
Date: |
Mon, 27 May 2024 15:19:41 +0200 |
User-agent: |
Evolution 3.48.4 |
Le samedi 25 mai 2024 à 20:25 +0200, Denis 'GNUtoo' Carikli a écrit :
> Before this change, we wanted to require realpath and tar and we check
> for both but it didn't fail if they are not found.
>
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
> ---
> website-build/configure.ac | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/website-build/configure.ac b/website-build/configure.ac
> index 3036ee5..43d3300 100644
> --- a/website-build/configure.ac
> +++ b/website-build/configure.ac
> @@ -68,8 +68,13 @@ AC_ARG_WITH([untitled-path],
> AM_CONDITIONAL( [WANT_UNTITLED_PATH], [test x"$UNTITLED_PATH" != x""])
>
> # Check dependencies
> -AC_CHECK_PROG([REALPATH], [realpath], [realpath])
> -AC_CHECK_PROG([TAR], [tar], [tar])
> +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_TAR], [tar], [tar])
> +AS_IF([test x"$FOUND_TAR" = x""],
> + [AC_MSG_ERROR([tar was not found in PATH ($PATH)])])
>
> AS_IF([test x"$guix" = x"yes"],
> [AC_CHECK_PROG([FOUND_GUIX], [guix], [guix])
> @@ -147,11 +152,6 @@ AS_IF([test x"$guix" = x"yes"],
> [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)])])
> -
> AC_CHECK_PROG([FOUND_TAIL], [tail], [tail])
> AS_IF([test x"$FOUND_TAIL" = x""],
> [AC_MSG_ERROR(
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
signature.asc
Description: This is a digitally signed message part
- Re: [PATCH v1 08/18] website-build: check.sh: make it pass shellcheck., (continued)
- [PATCH v1 11/18] website-build: Makefile: default to help target., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 09/18] website-build: build.sh: make it pass shellcheck., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 12/18] website-build: README: fix introduction., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 10/18] website-build: targets: rename targets to use build, serve and publish., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 13/18] website-build: configure: make realpath and tar requirement work., Denis 'GNUtoo' Carikli, 2024/05/25
- Re: [PATCH v1 13/18] website-build: configure: make realpath and tar requirement work.,
Adrien 'neox' Bourmault <=
- [PATCH v1 14/18] website-build: configure: require awk., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 15/18] website-build: serve.sh: help: fix program name., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 16/18] website-build: check.sh: help: fix program name., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 18/18] website-build: check.sh: start adding tests for site/., Denis 'GNUtoo' Carikli, 2024/05/25
- [PATCH v1 17/18] website-build: serve.sh: remove the need for random temporary directory., Denis 'GNUtoo' Carikli, 2024/05/25