s4 dns: Actually handle the update request
[Samba/gebeck_regimport.git] / lib / tdb_compat / wscript
blob574e67e8ef4929ed4de7b62134f30c379adb93b4
1 #!/usr/bin/env python
3 import Options
5 def set_options(opt):
6 opt.RECURSE('lib/tdb2')
7 opt.RECURSE('lib/tdb')
9 def configure(conf):
10 conf.env.BUILD_TDB2 = getattr(Options.options, 'BUILD_TDB2', False)
12 if conf.env.BUILD_TDB2:
13 conf.RECURSE('lib/tdb2')
14 else:
15 conf.RECURSE('lib/tdb')
16 conf.RECURSE('lib/ccan')
18 def build(bld):
19 bld.RECURSE('lib/ccan')
20 if bld.env.BUILD_TDB2:
21 bld.RECURSE('lib/tdb2')
22 else:
23 bld.RECURSE('lib/tdb')
24 bld.SAMBA_LIBRARY('tdb_compat',
25 source='tdb_compat.c',
26 deps='replace tdb ccan',
27 private_library=True)