From 67735475db2e6da5668f4c21a8736bd3539737aa Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 9 Jun 2021 15:54:09 +0200 Subject: [PATCH] build-sys: be verbose about missing gettext Reported-by: Qais Yousef Signed-off-by: Karel Zak --- autogen.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/autogen.sh b/autogen.sh index 3625b2da91..b8f8eb6af3 100755 --- a/autogen.sh +++ b/autogen.sh @@ -67,6 +67,12 @@ test -f sys-utils/mount.c || { DIE=1 } +[ -x "$(command -v gettext)" -o -x "$(command -v xgettext)" ] || { + echo + echo "You need have [x]gettext binary installed to update po/ stuff." + echo +} + if ! (bison --version) < /dev/null > /dev/null 2>&1; then echo echo "You must have bison installed to build the util-linux." -- 2.47.3