summaryrefslogtreecommitdiffstats
path: root/server/external/pam.m4
diff options
context:
space:
mode:
Diffstat (limited to 'server/external/pam.m4')
-rw-r--r--server/external/pam.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/server/external/pam.m4 b/server/external/pam.m4
new file mode 100644
index 000000000..f99a2e69b
--- /dev/null
+++ b/server/external/pam.m4
@@ -0,0 +1,5 @@
+AC_SUBST(PAM_LIBS)
+
+AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h security/pam_modules.h)
+
+AC_CHECK_LIB(pam, pam_get_item, [ PAM_LIBS="-lpam" ])