diff options
author | Andreas Schneider <asn@samba.org> | 2012-10-02 14:25:40 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-10-04 10:20:35 +0200 |
commit | fb3cf6c24270d22dad8ac9a1c12e8d77c8189f11 (patch) | |
tree | ba8b6d4e02f62e076d08e5924a7809beac6800fc /source3/wscript | |
parent | 100d38d6e0fae1dc666ae43941570c9f106b73c2 (diff) | |
download | samba-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/wscript | 3 |
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 # |