summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xautogen.sh7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 289a979f9..e26f6277e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-12 Pekka Enberg <penberg@kernel.org>
+
+ * autogen.sh:
+ Check that gettext.m4 is installed.
+
2013-03-09 Pekka Enberg <penberg@kernel.org>
* .gitignore: Exclude autogen-generated files.
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