From: Theodore Ts'o Date: Sat, 18 Oct 2014 13:13:09 +0000 (-0400) Subject: debugfs: fix build on systems that don't have gettext built-in X-Git-Tag: v1.43-WIP-2015-05-18~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=831aa869e8b1b287ca921e7ae181a4cdca839099;p=thirdparty%2Fe2fsprogs.git debugfs: fix build on systems that don't have gettext built-in Debugfs (unlike all of the other programs in e2fsprogs) is not set up to use translated strings. So when building misc/plausible.c for debugfs, we need to disable NLS. Signed-off-by: Theodore Ts'o --- diff --git a/misc/nls-enable.h b/misc/nls-enable.h index a91dcc13a..2f62c01f7 100644 --- a/misc/nls-enable.h +++ b/misc/nls-enable.h @@ -1,4 +1,4 @@ -#ifdef ENABLE_NLS +#if defined(ENABLE_NLS) && !defined(DEBUGFS) #include #include #define _(a) (gettext (a))