From 282ed2051d3acb21631474cde7d3ea2eb24756dc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Oct 2001 10:55:29 +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/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/getopt.c b/lib/getopt.c index c66fc8813e..08ba35be36 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) -- 2.30.2