From 2a1279c26df5d1eb4fa7da27c034909a96055e01 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Oct 2001 13:39:12 +0000 Subject: (_): 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(-) (limited to 'lib') 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 -- cgit v1.2.3-70-g09d2