summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nsswitch/wscript_configure5
-rw-r--r--source4/wscript1
2 files changed, 6 insertions, 0 deletions
diff --git a/nsswitch/wscript_configure b/nsswitch/wscript_configure
new file mode 100644
index 0000000000..93ab5b107a
--- /dev/null
+++ b/nsswitch/wscript_configure
@@ -0,0 +1,5 @@
+conf.CHECK_HEADERS('nss.h nss_common.h ns_api.h')
+
+conf.CHECK_HEADERS('security/pam_appl.h')
+conf.CHECK_FUNCS_IN('pam_start', 'pam')
+conf.CHECK_HEADERS('security/pam_modules.h pam/pam_modules.h')
diff --git a/source4/wscript b/source4/wscript
index 659876793f..06206435f2 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -59,6 +59,7 @@ def configure(conf):
conf.sub_config('../lib/util/charset')
conf.sub_config('auth')
conf.sub_config('../lib/nss_wrapper')
+ conf.sub_config('../nsswitch')
conf.sub_config('../lib/socket_wrapper')
conf.sub_config('../lib/uid_wrapper')
conf.sub_config('../lib/popt')