summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index d9b4646db0..706b932dbf 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -660,6 +660,10 @@ return 0;
if conf.env.with_iconv:
conf.DEFINE('HAVE_ICONV', 1)
+ if Options.options.with_pam:
+ conf.CHECK_HEADERS('security/pam_appl.h security/pam_modules.h pam/pam_modules.h', together=True)
+ conf.CHECK_FUNCS_IN('pam_start', 'pam', checklibc=True, headers='security/pam_appl.h')
+
seteuid = False
if not seteuid:
seteuid = conf.CHECK_CODE('''