summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-10-02 14:25:40 +0200
committerAndreas Schneider <asn@samba.org>2012-10-04 10:20:35 +0200
commitfb3cf6c24270d22dad8ac9a1c12e8d77c8189f11 (patch)
treeba8b6d4e02f62e076d08e5924a7809beac6800fc /source3/wscript
parent100d38d6e0fae1dc666ae43941570c9f106b73c2 (diff)
downloadsamba-fb3cf6c24270d22dad8ac9a1c12e8d77c8189f11.tar.gz
samba-fb3cf6c24270d22dad8ac9a1c12e8d77c8189f11.tar.bz2
samba-fb3cf6c24270d22dad8ac9a1c12e8d77c8189f11.zip
waf: Build pam_smbpass module only if enabled.
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 765f761ece..e4898efa9b 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -762,6 +762,9 @@ int i; i = PAM_RADIO_TYPE;
conf.DEFINE('WITH_PAM', 1)
conf.DEFINE('WITH_PAM_MODULES', 1)
+ if Options.options.with_pam_smbpass:
+ conf.env.with_pam_smbpass = True
+
seteuid = False
#