build-sys: be verbose about missing gettext

Reported-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2021-06-09 15:54:09 +02:00
parent 98a586f672
commit 67735475db
1 changed files with 6 additions and 0 deletions

View File

@ -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."