summaryrefslogtreecommitdiff
path: root/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'wscript_build')
-rw-r--r--wscript_build18
1 files changed, 8 insertions, 10 deletions
diff --git a/wscript_build b/wscript_build
index ad790ca506..717d8b0a1a 100644
--- a/wscript_build
+++ b/wscript_build
@@ -95,7 +95,6 @@ bld.RECURSE('libcli/smb')
bld.RECURSE('libcli/util')
bld.RECURSE('libcli/cldap')
bld.RECURSE('lib/subunit/c')
-bld.RECURSE('source4/kdc')
bld.RECURSE('lib/smbconf')
bld.RECURSE('lib/async_req')
bld.RECURSE('libcli/security')
@@ -112,17 +111,16 @@ bld.RECURSE('libcli/registry')
bld.RECURSE('source4/lib/policy')
bld.RECURSE('libcli/named_pipe_auth')
-if bld.CONFIG_SET("USING_SYSTEM_KRB5"):
- if bld.CONFIG_SET("HEIMDAL_KRB5_CONFIG") and bld.CONFIG_SET("KRB5_CONFIG"):
- if bld.CONFIG_GET("HEIMDAL_KRB5_CONFIG") != bld.CONFIG_GET("KRB5_CONFIG"):
- # When both HEIMDAL_KRB5_CONFIG and KRB5_CONFIG are set and not equal,
- # it means one is Heimdal-specific (krb5-config.heimdal, for example)
- # and there is system heimdal
- bld.PROCESS_SEPARATE_RULE('system_heimdal')
+if bld.CONFIG_GET('KRB5_VENDOR') in (None, 'heimdal'):
+ if bld.CONFIG_GET("HEIMDAL_KRB5_CONFIG") and bld.CONFIG_GET("USING_SYSTEM_KRB5"):
+ # When both HEIMDAL_KRB5_CONFIG and KRB5_CONFIG are set and not equal,
+ # it means one is Heimdal-specific (krb5-config.heimdal, for example)
+ # and there is system heimdal
+ bld.PROCESS_SEPARATE_RULE('system_heimdal')
else:
- bld.PROCESS_SEPARATE_RULE('system_krb5')
+ bld.PROCESS_SEPARATE_RULE('embedded_heimdal')
else:
- bld.PROCESS_SEPARATE_RULE('embedded_heimdal')
+ bld.PROCESS_SEPARATE_RULE('system_mitkrb5')
bld.RECURSE('libcli/smbreadline')
bld.RECURSE('codepages')