diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-19 20:06:33 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:55 +1000 |
commit | 5aacacea678b104b9ead9e4ea642c583791282b7 (patch) | |
tree | 87567703746978709fa527bfbc855dd2baf1f713 | |
parent | 8ea03369bcd8ebb351e280222184f6d583640f46 (diff) | |
download | samba-5aacacea678b104b9ead9e4ea642c583791282b7.tar.gz |
build: check for pam headers
-rw-r--r-- | nsswitch/wscript_configure | 5 | ||||
-rw-r--r-- | source4/wscript | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/nsswitch/wscript_configure b/nsswitch/wscript_configure new file mode 100644 index 00000000000..93ab5b107a2 --- /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 659876793fe..06206435f21 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') |