From 71b5f97cd0e4346901da4d0361dcde3f98c19210 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Mar 2010 17:53:41 +1100 Subject: build: check for pam --- source4/auth/wscript_configure | 2 ++ source4/wscript | 1 + 2 files changed, 3 insertions(+) create mode 100644 source4/auth/wscript_configure 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') -- cgit