1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/lib/popt/wscript

19 lines
529 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
2010-03-17 09:22:54 +03:00
import Options
def configure(conf):
conf.CHECK_HEADERS('float.h')
if conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h'):
conf.define('USING_SYSTEM_POPT', 1)
2010-03-17 09:22:54 +03:00
def build(bld):
if bld.CONFIG_SET('USING_SYSTEM_POPT'):
return
bld.SAMBA_LIBRARY('popt',
source='findme.c popt.c poptconfig.c popthelp.c poptparse.c',
cflags='-DDBL_EPSILON=__DBL_EPSILON__',
private_library=True)