diff options
author | Jim Meyering <jim@meyering.net> | 2001-10-21 09:01:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-10-21 09:01:24 +0000 |
commit | 5df25d58712438f63840d7318cbb10ce483af07c (patch) | |
tree | 5dd4d1f04bb4f1f028943c6f67c7f82e840c064e | |
parent | c042911435e30540f0ff37192e1a1c2a96fc0355 (diff) | |
download | gnulib-5df25d58712438f63840d7318cbb10ce483af07c.tar.gz |
(_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
-rw-r--r-- | lib/obstack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/obstack.c b/lib/obstack.c index 7b1206c13f..0244da3839 100644 --- a/lib/obstack.c +++ b/lib/obstack.c @@ -459,7 +459,7 @@ _obstack_memory_used (h) /* 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) |