From: Karel Zak Date: Wed, 9 Jun 2021 13:54:09 +0000 (+0200) Subject: build-sys: be verbose about missing gettext X-Git-Tag: v2.38-rc1~470 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67735475db2e6da5668f4c21a8736bd3539737aa;p=thirdparty%2Futil-linux.git build-sys: be verbose about missing gettext Reported-by: Qais Yousef Signed-off-by: Karel Zak --- 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."