From 565e4c61a837aa0357e2edfadedf48acdfe1d651 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 19 Oct 2011 11:45:38 +0200 Subject: [PATCH] build-sys: verify gettext is present in autogen.sh Signed-off-by: Sami Kerola --- autogen.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/autogen.sh b/autogen.sh index 4e3d4995..6699630c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -15,6 +15,12 @@ test -f top.c || { DIE=1 } +(autopoint --version) < /dev/null > /dev/null 2>&1 || { + echo "You must have autopoint installed to generate util-linux build system." + echo "The autopoint command is part of the GNU gettext package." + DIE=1 +} + (autoconf --version) < /dev/null > /dev/null || { echo "You must have autoconf installed to generate procps-ng build system." DIE=1 @@ -45,6 +51,7 @@ if test ${DIE} -ne 0; then fi echo "Generate build-system by:" +echo " autopoint: $(autopoint --version | head -1)" echo " aclocal: $(aclocal --version | head -1)" echo " autoconf: $(autoconf --version | head -1)" echo " autoheader: $(autoheader --version | head -1)"