1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/third_party/popt/wscript
Ira Cooper 38de110b02 third_party/popt: Initial support for popt.
ctdb, ldb, and samba are supported builds for third_party popt.

Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2014-08-09 18:26:17 +02:00

20 lines
505 B
Python

#!/usr/bin/env python
import Options
def configure(conf):
conf.CHECK_HEADERS('float.h')
if conf.CHECK_POPT():
conf.define('USING_SYSTEM_POPT', 1)
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__',
allow_warnings=True,
private_library=True)