summaryrefslogtreecommitdiff
path: root/source4/lib/popt/SConscript
blob: 64faff772c3617ddf7d6755da5f248ae7d28bd66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Import('hostenv')
#            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')