[PATCH] configure: Add test for msgfmt
Geoff Levand
geoff at infradead.org
Tue May 1 11:26:10 AEST 2018
Signed-off-by: Geoff Levand <geoff at infradead.org>
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 566742c..1fa0ea4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,9 @@ AM_INIT_AUTOMAKE
AC_GNU_SOURCE
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.18.1)
+if test -z "$($MSGFMT --version)"; then
+ AC_MSG_ERROR([[Please install gettext]])
+fi
LT_INIT
AM_SILENT_RULES([yes])
--
2.14.1
More information about the Petitboot
mailing list