summaryrefslogtreecommitdiff
path: root/lib/rpmatch.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-09-02 16:18:48 +0000
committerJim Meyering <jim@meyering.net>1996-09-02 16:18:48 +0000
commit57592bb00e83828692f4e3413ee73974b8e092f0 (patch)
tree4d75c8f8770dfd53fb26f8239ca25683a483a07e /lib/rpmatch.c
parentd4fc1b970ce45ca13b96b504394f6fb4c47f8e0b (diff)
downloadcoreutils-57592bb00e83828692f4e3413ee73974b8e092f0.tar.xz
(ENABLE_NLS): Include libintl.h and define _ to gettext.
Diffstat (limited to 'lib/rpmatch.c')
-rw-r--r--lib/rpmatch.c7
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