changeset 20372:a34253b1d0bb

(ENABLE_NLS): Include libintl.h and define _ to gettext.
author Jim Meyering <jim@meyering.net>
date Mon, 02 Sep 1996 16:18:48 +0000
parents 6bfee8980a87
children da70b4d65a74
files lib/rpmatch.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/rpmatch.c	Sun Sep 01 19:02:26 1996 +0000
+++ b/lib/rpmatch.c	Mon Sep 02 16:18:48 1996 +0000
@@ -26,8 +26,11 @@
 
 #include <regex.h>
 
-#ifndef _
-# define _(String) String
+#if ENABLE_NLS
+# include <libintl.h>
+# define _(Text) gettext (Text)
+#else
+# define _(Text) Text
 #endif
 
 static int