3 from waflib
import Options
7 conf
.define('USING_SYSTEM_POPT', 1)
10 conf
.CHECK_HEADERS('float.h')
11 conf
.CHECK_FUNCS('stpcpy')
12 conf
.CHECK_LIB('iconv', shlib
=True)
15 if bld
.CONFIG_SET('USING_SYSTEM_POPT'):
18 cflags
= '-DPACKAGE="popt" -DPOPT_SYSCONFDIR="%s"' % bld
.env
.SYSCONFDIR
19 bld
.SAMBA_LIBRARY('popt',
20 source
='popt.c poptconfig.c popthelp.c poptint.c poptparse.c',