mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-27 01:44:21 +00:00
(_): 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:
parent
9c0e765d5a
commit
9d8ec0121c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user