summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 17:53:41 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:44 +1000
commit71b5f97cd0e4346901da4d0361dcde3f98c19210 (patch)
treebe2758f5cd0c82b5f8d4c7192eb54aa746257272
parentbbb85a26ebfd276225a809ee363b50fa0c724b1b (diff)
downloadsamba-71b5f97cd0e4346901da4d0361dcde3f98c19210.tar.gz
samba-71b5f97cd0e4346901da4d0361dcde3f98c19210.tar.bz2
samba-71b5f97cd0e4346901da4d0361dcde3f98c19210.zip
build: check for pam
-rw-r--r--source4/auth/wscript_configure2
-rw-r--r--source4/wscript1
2 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/wscript_configure b/source4/auth/wscript_configure
new file mode 100644
index 0000000000..f12a343098
--- /dev/null
+++ b/source4/auth/wscript_configure
@@ -0,0 +1,2 @@
+conf.CHECK_HEADERS('security/pam_appl.h')
+conf.CHECK_FUNCS_IN('pam_start', 'pam')
diff --git a/source4/wscript b/source4/wscript
index bb1ae41b66..38bf29c99a 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -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')