diff options
Diffstat (limited to 'source4/auth/SConscript')
-rw-r--r-- | source4/auth/SConscript | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/auth/SConscript b/source4/auth/SConscript index 298092834b..34cff89bb3 100644 --- a/source4/auth/SConscript +++ b/source4/auth/SConscript @@ -6,7 +6,12 @@ hostenv.StaticLibrary('auth_winbind.c') hostenv.StaticLibrary('auth_domain.c') hostenv.StaticLibrary('auth_developer.c') hostenv.StaticLibrary('auth_unix.c') + +conf = hostenv.Configure() +have_pam = conf.CheckLibWithHeader('pam', 'security/pam_appl.h', 'c', 'pam_start') +conf.Finish() + hostenv.StaticLibrary('pam_errors.c') hostenv.StaticLibrary('auth',['auth.c','auth_util.c','auth_sam_reply.c','ntlm_check.c']) -SConscript(dirs=['ntlmssp','kerberos','gensec'],exports='hostenv') +SConscript(dirs=['ntlmssp','kerberos','gensec']) |