aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-08-16 08:56:18 +0100
committerSergei Trofimovich <slyich@gmail.com>2023-08-25 08:13:19 +0100
commit77bd338125cde583ecdfb9fd69619bcd2baf15c2 (patch)
tree15b24291742422334fbbc8f81c381d6fe4617428 /configure.ac
parent81d5593e32ef06e749ab8c591111d37b95c42e01 (diff)
downloadpam-77bd338125cde583ecdfb9fd69619bcd2baf15c2.tar.gz
pam-77bd338125cde583ecdfb9fd69619bcd2baf15c2.tar.bz2
pam-77bd338125cde583ecdfb9fd69619bcd2baf15c2.zip
pam_start.c: call bindtextdomain() to expose Linux-PAM locales
Without the change locales are not visible to applications using PAM if PAM library is installed into a --prefix= different from the default one.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7565a830..39124d87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -676,6 +676,7 @@ AM_CONDITIONAL(ENABLE_GENERATE_PDF, test -n "$FO2PDF")
AM_GNU_GETTEXT_VERSION([0.18.3])
AM_GNU_GETTEXT([external])
+AC_CHECK_FUNCS(bindtextdomain)
AC_CHECK_FUNCS(dngettext)
AH_BOTTOM([#ifdef ENABLE_NLS