projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c042911
)
(_): Honor the setting of ENABLE_NLS. Otherwise,
author
Jim Meyering
<jim@meyering.net>
Sun, 21 Oct 2001 09:01:24 +0000
(09:01 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 21 Oct 2001 09:01:24 +0000
(09:01 +0000)
this code would end up calling gettext even in packages built
with --disable-nls.
lib/obstack.c
patch
|
blob
|
history
diff --git
a/lib/obstack.c
b/lib/obstack.c
index 7b1206c13fed7fa500cc8e8c254d5391a1caf905..0244da3839954d5af8381cb945d5060ca0b4c08f 100644
(file)
--- a/
lib/obstack.c
+++ b/
lib/obstack.c
@@
-459,7
+459,7
@@
_obstack_memory_used (h)
\f
/* Define the error handler. */
# ifndef _
-# if
defined HAVE_LIBINTL_H
|| defined _LIBC
+# if
(HAVE_LIBINTL_H && ENABLE_NLS)
|| defined _LIBC
# include <libintl.h>
# ifndef _
# define _(Str) gettext (Str)