summaryrefslogtreecommitdiffstats
path: root/source4/auth/wscript_configure
blob: 1d26cde139822e0f8f87ae13348c404ede7ab996 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env python

conf.CHECK_HEADERS('security/pam_appl.h')
conf.CHECK_FUNCS_IN('pam_start', 'pam', checklibc=True)

if (conf.CHECK_HEADERS('sasl/sasl.h') and
    conf.CHECK_FUNCS_IN('sasl_client_init', 'sasl2')):
    conf.DEFINE('HAVE_SASL', 1)