smbd: Use msghdr.[ch] in vfs_aio_fork
[metze/samba/wip.git] / third_party / wscript_build
1 #!/usr/bin/env python
2
3 import os
4
5 # work out what python external libraries we need to install
6 external_libs = {
7     "dns.resolver": "dnspython/dns",
8     }
9
10 list = []
11
12 for module, package in external_libs.items():
13     try:
14         __import__(module)
15     except ImportError:
16         list.append(package)
17
18 for e in list:
19     bld.INSTALL_WILDCARD('${PYTHONARCHDIR}/samba/third_party', e + '/**/*', flat=False,
20                          exclude='*.pyc', trim_path=os.path.dirname(e))
21
22 bld.SAMBA_GENERATOR('third_party_init_py',
23                     rule='touch ${TGT}',
24                     target='empty_file')
25
26 bld.INSTALL_FILES('${PYTHONARCHDIR}/samba/third_party', 'empty_file', destname='__init__.py')
27 bld.RECURSE('zlib')
28 bld.RECURSE('popt')