(_): Honor the setting of ENABLE_NLS. Otherwise,

this code would end up calling gettext even in packages built
with --disable-nls.
This commit is contained in:
Jim Meyering 2001-10-21 10:55:29 +00:00
parent 9c0e765d5a
commit 9d8ec0121c

View File

@ -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 <libintl.h>
# ifndef _
# define _(msgid) gettext (msgid)