X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=configure.ac;h=564cb5da8b40bffb1e779a6d9e940c78232ae0ee;hb=1214247667d138e2fa1748f4f270e5fc80010377;hp=1fa0ea4454153e63f67575c4447bdac7386e8a30;hpb=5e364ce7e096f4e35e4c8b2d5eec79c56ac1b32e;p=petitboot 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