source: trunk/server/lib/popt/wscript@ 902

Last change on this file since 902 was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 547 bytes
Line 
1#!/usr/bin/env python
2
3import Options
4
5def configure(conf):
6 conf.CHECK_HEADERS('float.h')
7
8 if conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h'):
9 conf.define('USING_SYSTEM_POPT', 1)
10
11def build(bld):
12 if bld.CONFIG_SET('USING_SYSTEM_POPT'):
13 return
14
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)
Note: See TracBrowser for help on using the repository browser.