summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index adb8f0c94..df0095faf 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -34,6 +34,13 @@ if $have_libtool ; then : ; else
DIE=1
fi
+if [ ! -e $(aclocal --print-ac-dir)/gettext.m4 ] ; then
+ echo
+ echo "You must have gettext package and, if applicable to your"
+ echo "system, gettext-devel package installed to compile $PROJECT."
+ DIE=1
+fi
+
if test "$DIE" -eq 1; then
exit 1
fi