projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
129e2eb
)
(_): Honor the setting of ENABLE_NLS. Otherwise,
author
Jim Meyering
<jim@meyering.net>
Sun, 21 Oct 2001 10:55:29 +0000
(10:55 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 21 Oct 2001 10:55:29 +0000
(10:55 +0000)
this code would end up calling gettext even in packages built
with --disable-nls.
lib/getopt.c
patch
|
blob
|
history
diff --git
a/lib/getopt.c
b/lib/getopt.c
index c66fc8813e2ac3f8dc7c9f2d643ccfb26367a55b..08ba35be363777fd12e79d7442ff9e15f1aa278c 100644
(file)
--- 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)