From 9d8ec0121c4152f24de0085d8577ef2e10fc2a0c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Oct 2001 10:55:29 +0000 Subject: (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls. --- lib/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/getopt.c b/lib/getopt.c index c66fc8813..08ba35be3 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -78,7 +78,7 @@ #ifndef _ /* This is for other GNU distributions with internationalized messages. */ -# if defined HAVE_LIBINTL_H || defined _LIBC +# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifndef _ # define _(msgid) gettext (msgid) -- cgit v1.2.3-54-g00ecf