From: Jim Meyering Date: Sun, 21 Oct 2001 10:55:29 +0000 (+0000) Subject: (_): Honor the setting of ENABLE_NLS. Otherwise, X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282ed2051d3acb21631474cde7d3ea2eb24756dc;p=pspp (_): 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/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)