build: fix build with gpfs support - add missing dependency to samba-debug
[Samba.git] / third_party / popt / wscript
blobe81572c7b71cb21251d24b5e47bedc0cd7f3b09c
1 #!/usr/bin/env python
3 import Options
5 def configure(conf):
6 conf.CHECK_HEADERS('float.h')
8 if conf.CHECK_POPT():
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 allow_warnings=True,
19 private_library=True)