s3: Fix vfs_xattr_tdb.c
[Samba/gebeck_regimport.git] / lib / iniparser / src / wscript
blobc66f2980486971b5625d192eafaf5ac7e1d94a40
1 #!/usr/bin/env python
3 import Options
5 def configure(conf):
6 conf.CHECK_HEADERS('float.h')
8 if conf.CHECK_BUNDLED_SYSTEM('iniparser', checkfunctions='iniparser_load', headers='iniparser.h'):
9 conf.define('USING_SYSTEM_INIPARSER', 1)
11 def build(bld):
12 if bld.CONFIG_SET('USING_SYSTEM_INIPARSER'):
13 return
15 bld.SAMBA_LIBRARY('iniparser',
16 source='''../../iniparser_build/iniparser.c
17 ../../iniparser_build/dictionary.c
18 ../../iniparser_build/strlib.c''',
19 cflags='',
20 deps='replace',
21 private_library=True)