summaryrefslogtreecommitdiff
path: root/source4/lib/popt
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-19 22:01:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:28 -0500
commit069e498da2a03bd253a2fcf2b7ff13f266ab63b4 (patch)
tree640f3f77f4a16577c5deab17c4c9216da51bd179 /source4/lib/popt
parent700120068620f32f7affb479dc5986544afed643 (diff)
downloadsamba-069e498da2a03bd253a2fcf2b7ff13f266ab63b4.tar.gz
samba-069e498da2a03bd253a2fcf2b7ff13f266ab63b4.tar.bz2
samba-069e498da2a03bd253a2fcf2b7ff13f266ab63b4.zip
r10330: Add SConscript to more subsystems. Some of the tdb tools build now.
Start on custom Samba scons tools (for handling proto generation, pidl, etc) (This used to be commit 4bffe4435944fffa3f9680b5a2fe63f2bdd98003)
Diffstat (limited to 'source4/lib/popt')
-rw-r--r--source4/lib/popt/SConscript5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/popt/SConscript b/source4/lib/popt/SConscript
index 580de92023..fd13edc42f 100644
--- a/source4/lib/popt/SConscript
+++ b/source4/lib/popt/SConscript
@@ -1,5 +1,10 @@
# tastes like -*- python -*-
Import('hostenv')
+
+conf = Configure(hostenv)
+conf.env['HAVE_EXTERNAL_POPT'] = conf.CheckLibWithHeader('popt', 'popt.h', 'c', 'poptGetArgs(NULL);')
+conf.Finish()
+
popt = hostenv.StaticLibrary('popt', ['findme.c','popt.c','poptconfig.c','popthelp.c','poptparse.c'])
Export('popt')