build: check for pam
authorAndrew Tridgell <tridge@samba.org>
Sun, 7 Mar 2010 06:53:41 +0000 (17:53 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:44 +0000 (20:26 +1000)
source4/auth/wscript_configure [new file with mode: 0644]
source4/wscript

diff --git a/source4/auth/wscript_configure b/source4/auth/wscript_configure
new file mode 100644 (file)
index 0000000..f12a343
--- /dev/null
@@ -0,0 +1,2 @@
+conf.CHECK_HEADERS('security/pam_appl.h')
+conf.CHECK_FUNCS_IN('pam_start', 'pam')
index bb1ae41b665fb7f6c657674f55b4c5f1734638f8..38bf29c99a9b0d983982f2f2d2c8f05f4d99416b 100644 (file)
@@ -28,6 +28,7 @@ def configure(conf):
     conf.sub_config('ntvfs/sysdep')
     conf.sub_config('../lib/util')
     conf.sub_config('../lib/zlib')
+    conf.sub_config('auth')
 
     conf.DEFINE('CONFIG_H_IS_FROM_SAMBA', 1)
     conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib  #source4/include #lib/socket_wrapper #lib/talloc #lib/replace #lib/event')