third_party/heimdal_build: Use ‘is’ to compare with singletons
[Samba.git] / third_party / wscript
blobe95bc3194ce00a4d77d1188bc7d98cab473d948e
1 #!/usr/bin/env python
3 from waflib import Options
5 def configure(conf):
6 conf.RECURSE('cmocka')
7 conf.RECURSE('popt')
8 if conf.CONFIG_GET('ENABLE_SELFTEST'):
9 conf.RECURSE('socket_wrapper')
10 conf.RECURSE('nss_wrapper')
11 conf.RECURSE('resolv_wrapper')
12 conf.RECURSE('uid_wrapper')
13 if Options.options.with_pam:
14 conf.RECURSE('pam_wrapper')
17 def build(bld):
18 bld.RECURSE('cmocka')
19 bld.RECURSE('popt')
20 if bld.CONFIG_GET('SOCKET_WRAPPER'):
21 bld.RECURSE('socket_wrapper')
22 if bld.CONFIG_GET('NSS_WRAPPER'):
23 bld.RECURSE('nss_wrapper')
24 if bld.CONFIG_GET('RESOLV_WRAPPER'):
25 bld.RECURSE('resolv_wrapper')
26 if bld.CONFIG_GET('UID_WRAPPER'):
27 bld.RECURSE('uid_wrapper')
28 if bld.CONFIG_GET('PAM_WRAPPER'):
29 bld.RECURSE('pam_wrapper')