summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Grandbois <brett.grandbois@opengear.com>2018-05-11 11:12:28 +1000
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2018-05-14 15:36:17 +1000
commit80c9b417ea3e450c00aac0e93072b85a2c96a484 (patch)
tree41c102fd90cafcc9755eba8e4349ade61b333e7a
parent17d9d54a46beab44db751b9bcf7f289b9bf101cf (diff)
downloadtalos-petitboot-80c9b417ea3e450c00aac0e93072b85a2c96a484.zip
talos-petitboot-80c9b417ea3e450c00aac0e93072b85a2c96a484.tar.gz
configure: only test for msgfmt if NLS enabled
in environments where --disable-nls is specified msgfmt is unnecessary and therefore may not be available Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1fa0ea4..564cb5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ AM_INIT_AUTOMAKE
AC_GNU_SOURCE
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION(0.18.1)
-if test -z "$($MSGFMT --version)"; then
+if test "$USE_NLS" = "yes" -a -z "$($MSGFMT --version)"; then
AC_MSG_ERROR([[Please install gettext]])
fi
LT_INIT
OpenPOWER on IntegriCloud