From 5aacacea678b104b9ead9e4ea642c583791282b7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 19 Mar 2010 20:06:33 +1100 Subject: build: check for pam headers --- nsswitch/wscript_configure | 5 +++++ source4/wscript | 1 + 2 files changed, 6 insertions(+) create mode 100644 nsswitch/wscript_configure 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') -- cgit