diff options
author | Jim Meyering <jim@meyering.net> | 1996-09-02 16:18:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-09-02 16:18:48 +0000 |
commit | 57592bb00e83828692f4e3413ee73974b8e092f0 (patch) | |
tree | 4d75c8f8770dfd53fb26f8239ca25683a483a07e | |
parent | d4fc1b970ce45ca13b96b504394f6fb4c47f8e0b (diff) | |
download | coreutils-57592bb00e83828692f4e3413ee73974b8e092f0.tar.xz |
(ENABLE_NLS): Include libintl.h and define _ to gettext.
-rw-r--r-- | lib/rpmatch.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index d3ea353be..eeda0fd60 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -26,8 +26,11 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <regex.h> -#ifndef _ -# define _(String) String +#if ENABLE_NLS +# include <libintl.h> +# define _(Text) gettext (Text) +#else +# define _(Text) Text #endif static int |