From: Jim Meyering Date: Sun, 21 Oct 2001 13:39:12 +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=0b709a46f29426427b3092467e9cf2df58d3db2c;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/regex.c b/lib/regex.c index 1840b03ef7..560a594476 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