summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index acf6c435..d9c445b3 100644
--- a/config.h.in
+++ b/config.h.in
@@ -243,6 +243,15 @@
`char[]'. */
#undef YYTEXT_POINTER
+#ifdef ENABLE_NLS
+#include <libintl.h>
+#define _(msgid) dgettext("Linux-PAM", msgid)
+#define N_(msgid) msgid
+#else
+#define _(msgid) (msgid)
+#define N_(msgid) msgid
+#endif /* ENABLE_NLS */
+
#ifdef MEMORY_DEBUG
/*
* this is basically a hack - we need to include a semiarbitrary