diff options
author | Ira Cooper <ira@samba.org> | 2014-07-17 18:04:35 -0400 |
---|---|---|
committer | Ira Cooper <ira@samba.org> | 2014-08-09 18:26:16 +0200 |
commit | f46b79bdb8824c7c95dee0a282b2c852091bcfce (patch) | |
tree | a6c9d893923f8d7b5a83c1e8585a30b6b969a85a /wscript | |
parent | cdbcb7bb4b2363d459e0228f8a7a5457a736b007 (diff) | |
download | samba-f46b79bdb8824c7c95dee0a282b2c852091bcfce.tar.gz |
third_party/iniparser: Initial support for iniparser.
This is the initial support for iniparser, as well the basic
third_party framework.
Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -120,6 +120,15 @@ def configure(conf): raise Utils.WafError('Python version 3.x is not supported by Samba yet') conf.RECURSE('dynconfig') + + if conf.CHECK_FOR_THIRD_PARTY(): + conf.RECURSE('third_party/iniparser/src') + else: + if not conf.CHECK_INIPARSER(): + raise Utils.WafError('iniparser development packages have not been found.\nIf third_party is installed, check that it is in the proper place.') + else: + conf.define('USING_SYSTEM_INIPARSER', 1) + conf.RECURSE('lib/ldb') if Options.options.with_system_mitkrb5: @@ -146,7 +155,6 @@ def configure(conf): conf.RECURSE('lib/socket_wrapper') conf.RECURSE('lib/uid_wrapper') conf.RECURSE('lib/popt') - conf.RECURSE('lib/iniparser/src') conf.RECURSE('lib/subunit/c') conf.RECURSE('libcli/smbreadline') conf.RECURSE('lib/crypto') |