autobuild: rename the "samba4-libs" target to "samba-libs"
[Samba.git] / lib / popt / wscript
blob7fd15ed53a20075be387e60c11e4e0905add9756
1 #!/usr/bin/env python
3 import Options
5 def configure(conf):
6 conf.CHECK_HEADERS('float.h')
8 if conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h'):
9 conf.define('USING_SYSTEM_POPT', 1)
11 def build(bld):
12 if bld.CONFIG_SET('USING_SYSTEM_POPT'):
13 return
15 bld.SAMBA_LIBRARY('popt',
16 source='findme.c popt.c poptconfig.c popthelp.c poptparse.c',
17 cflags='-DDBL_EPSILON=__DBL_EPSILON__',
18 private_library=True)