libreboot-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lbwww-build][PATCH v1 2/5] configure.ac: Depend on grep


From: Denis 'GNUtoo' Carikli
Subject: [lbwww-build][PATCH v1 2/5] configure.ac: Depend on grep
Date: Mon, 3 Apr 2023 17:21:05 +0200

The grep command is required by untitled: If we remove grep in the
guix shell and that we run make build, we end up with the following
error:
    Cleaning generated files from site: 'lbwww'
    ./build: line 530: grep: command not found
    ./build: line 530: grep: command not found
    ./build: line 530: grep: command not found
    www/lbwww/site.cfg does not specify DOMAIN. Exiting
    make: *** [Makefile:585: build] Error 1

So it is a good idea to check for make as the build.sh script can also
be used manually without Guix.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 953fd69..aea8f7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@ AC_SUBST([LBWWW_GIT_FOUND], [])
 AC_CHECK_PROG([CAT], [cat], [cat])
 AC_CHECK_PROG([CP], [cp], [cp])
 AC_CHECK_PROG([CURL], [curl], [curl])
+AC_CHECK_PROG([GREP], [grep], [grep])
 AC_CHECK_PROG([GUIX], [guix], [guix])
 AC_CHECK_PROG([PRINTF], [printf], [printf])
 AC_CHECK_PROG([REALPATH], [realpath], [realpath])
-- 
2.39.1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]