From: Jim Meyering Date: Sun, 21 Oct 2001 13:39:12 +0000 (+0000) Subject: (_): Honor the setting of ENABLE_NLS. Otherwise, X-Git-Tag: FILEUTILS-4_1_1~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a1279c26df5d1eb4fa7da27c034909a96055e01;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/regex.c b/lib/regex.c index 1840b03ef7..560a594476 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -91,7 +91,7 @@ # endif /* This is for other GNU distributions with internationalized messages. */ -# if HAVE_LIBINTL_H || defined _LIBC +# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifdef _LIBC # undef gettext