Mercurial > hg > octave-nkf > gnulib-hg
changeset 3554:1803dd7eede3
(_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 21 Oct 2001 10:55:29 +0000 |
parents | 1135363fd994 |
children | ba37e5f7ca41 |
files | lib/getopt.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <libintl.h> # ifndef _ # define _(msgid) gettext (msgid)