summaryrefslogtreecommitdiff
path: root/source4/lib/popt/SConscript
blob: d9a576a031c6157ccbb25bee1a6d89e32aef9218 (plain)
1
2
3
4
5
6
7
8
9
10
11
#            tastes like -*- python -*-
Import('hostenv')


if hostenv['configure']:
    conf = hostenv.Configure()
    conf.env['HAVE_EXTERNAL_POPT'] = conf.CheckLibWithHeader('popt', 'popt.h', 'c', 'poptGetArgs(NULL);')
    conf.Finish()

popt = hostenv.Library('popt', ['findme.c','popt.c','poptconfig.c','popthelp.c','poptparse.c'])
Export('popt')