diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 263e996c..1a18305a 100644 --- a/configure.in +++ b/configure.in @@ -437,11 +437,12 @@ AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_man != xno) AM_GNU_GETTEXT_VERSION AM_GNU_GETTEXT([external]) +AC_CHECK_FUNCS(dngettext) AH_VERBATIM([_ZZENABLE_NLS], [#ifdef ENABLE_NLS #include <libintl.h> -#define _(msgid) dgettext("Linux-PAM", msgid) +#define _(msgid) dgettext(PACKAGE, msgid) #define N_(msgid) msgid #else #define _(msgid) (msgid) |