diff options
author | Jim Meyering <jim@meyering.net> | 2001-10-21 13:39:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-10-21 13:39:12 +0000 |
commit | 2a1279c26df5d1eb4fa7da27c034909a96055e01 (patch) | |
tree | ef719cc36bb7668940984845a44d562aea94e39b /lib | |
parent | 9ff208503cb58602bbb6ac89c9d4d4015a5c04df (diff) | |
download | coreutils-2a1279c26df5d1eb4fa7da27c034909a96055e01.tar.xz |
(_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regex.c b/lib/regex.c index 1840b03ef..560a59447 100644 --- 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 |