projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32dae2b
)
(_): Honor the setting of ENABLE_NLS. Otherwise,
author
Jim Meyering
<jim@meyering.net>
Sun, 21 Oct 2001 13:39:12 +0000
(13:39 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 21 Oct 2001 13:39:12 +0000
(13:39 +0000)
this code would end up calling gettext even in packages built
with --disable-nls.
lib/regex.c
patch
|
blob
|
history
diff --git
a/lib/regex.c
b/lib/regex.c
index 1840b03ef7e0ff464f0c47841f05c7d9b98fd461..560a5944761dec0fa85b0b9b362103cd983e5f45 100644
(file)
--- a/
lib/regex.c
+++ b/
lib/regex.c
@@
-91,7
+91,7
@@
# endif
/* This is for other GNU distributions with internationalized messages. */
-# if
HAVE_LIBINTL_H
|| defined _LIBC
+# if
(HAVE_LIBINTL_H && ENABLE_NLS)
|| defined _LIBC
# include <libintl.h>
# ifdef _LIBC
# undef gettext