diff options
author | Geoff Levand <geoff@infradead.org> | 2018-04-30 18:26:10 -0700 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-05-01 11:30:14 +1000 |
commit | 5e364ce7e096f4e35e4c8b2d5eec79c56ac1b32e (patch) | |
tree | f08890351f55872c2a42fdd6d42e571c6fe9388c | |
parent | 9a5c9c9331f0c0c539cad423a4654015598b0d9d (diff) | |
download | talos-petitboot-5e364ce7e096f4e35e4c8b2d5eec79c56ac1b32e.tar.gz talos-petitboot-5e364ce7e096f4e35e4c8b2d5eec79c56ac1b32e.zip |
configure: Add test for msgfmt
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
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]) |