From: Jim Meyering Date: Sun, 21 Oct 2001 09:01:24 +0000 (+0000) Subject: (_): Honor the setting of ENABLE_NLS. Otherwise, X-Git-Tag: FILEUTILS-4_1_1~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f67d26ec050b146a60ad52a87fc5743e2291aec;p=thirdparty%2Fcoreutils.git (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls. --- diff --git a/lib/obstack.c b/lib/obstack.c index 7b1206c13f..0244da3839 100644 --- a/lib/obstack.c +++ b/lib/obstack.c @@ -459,7 +459,7 @@ _obstack_memory_used (h) /* Define the error handler. */ # ifndef _ -# if defined HAVE_LIBINTL_H || defined _LIBC +# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifndef _ # define _(Str) gettext (Str)