(ENABLE_NLS): Include libintl.h and define _ to gettext. FILEUTILS-3_13c
authorJim Meyering <jim@meyering.net>
Mon, 2 Sep 1996 16:18:48 +0000 (16:18 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 2 Sep 1996 16:18:48 +0000 (16:18 +0000)
lib/rpmatch.c

index d3ea353..eeda0fd 100644 (file)
@@ -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