From 0b709a46f29426427b3092467e9cf2df58d3db2c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Oct 2001 13:39:12 +0000 Subject: [PATCH] (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls. --- lib/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/regex.c b/lib/regex.c index 1840b03ef..560a59447 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 -- 2.11.0