summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorIra Cooper <ira@samba.org>2014-07-22 21:34:17 -0700
committerIra Cooper <ira@samba.org>2014-08-09 18:26:17 +0200
commit38de110b02ff7e622d6394e12d99c3e01568db3e (patch)
tree8fad8fd60021300e6b300f17bd520018ef9aacc6 /buildtools
parent8cc966747df8531eb0afc8870dac29a306fb4352 (diff)
downloadsamba-38de110b02ff7e622d6394e12d99c3e01568db3e.tar.gz
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>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_third_party.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_third_party.py b/buildtools/wafsamba/samba_third_party.py
index b62bcc8ec51..408d5579a7e 100644
--- a/buildtools/wafsamba/samba_third_party.py
+++ b/buildtools/wafsamba/samba_third_party.py
@@ -33,3 +33,9 @@ def CHECK_ZLIB(conf):
implied_deps='replace')
Build.BuildContext.CHECK_ZLIB = CHECK_ZLIB
+
+@conf
+def CHECK_POPT(conf):
+ return conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h')
+
+Build.BuildContext.CHECK_POPT = CHECK_POPT