]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: be verbose about missing gettext
authorKarel Zak <kzak@redhat.com>
Wed, 9 Jun 2021 13:54:09 +0000 (15:54 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 9 Jun 2021 13:54:09 +0000 (15:54 +0200)
Reported-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
autogen.sh

index 3625b2da9125a105b0f5b6846dfb0075cbf93acc..b8f8eb6af3cdae7eccb1796e2b087a82d39736e9 100755 (executable)
@@ -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."