summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')