ctdb-scripts: Reformat script with "shfmt -w -p -i 0 -fn"
[Samba.git] / third_party / wscript
bloba17c15bcaa7ef4b57e108f402c51d1afba2f90ec
1 #!/usr/bin/env python
3 from waflib import Options
5 def configure(conf):
6 conf.RECURSE('cmocka')
7 conf.RECURSE('popt')
8 if not conf.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'):
9 conf.RECURSE('aesni-intel')
10 if conf.CONFIG_GET('ENABLE_SELFTEST'):
11 conf.RECURSE('socket_wrapper')
12 conf.RECURSE('nss_wrapper')
13 conf.RECURSE('resolv_wrapper')
14 conf.RECURSE('uid_wrapper')
15 if Options.options.with_pam:
16 conf.RECURSE('pam_wrapper')
19 def build(bld):
20 bld.RECURSE('cmocka')
21 bld.RECURSE('popt')
22 if not bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'):
23 bld.RECURSE('aesni-intel')
24 if bld.CONFIG_GET('SOCKET_WRAPPER'):
25 bld.RECURSE('socket_wrapper')
26 if bld.CONFIG_GET('NSS_WRAPPER'):
27 bld.RECURSE('nss_wrapper')
28 if bld.CONFIG_GET('RESOLV_WRAPPER'):
29 bld.RECURSE('resolv_wrapper')
30 if bld.CONFIG_GET('UID_WRAPPER'):
31 bld.RECURSE('uid_wrapper')
32 if bld.CONFIG_GET('PAM_WRAPPER'):
33 bld.RECURSE('pam_wrapper')