build: fixed the build without sasl libraries
[nivanova/samba-autobuild/.git] / source4 / auth / wscript_configure
1 conf.CHECK_HEADERS('security/pam_appl.h')
2 conf.CHECK_FUNCS_IN('pam_start', 'pam')
3
4 if (conf.CHECK_HEADERS('sasl/sasl.h') and
5     conf.CHECK_FUNCS_IN('sasl_client_init', 'sasl2')):
6     conf.DEFINE('HAVE_SASL', 1)