third_party/iniparser: Initial support for iniparser.
[samba.git] / buildtools / wafsamba / samba_third_party.py
1 # functions to support third party libraries
2
3 from Configure import conf
4 import sys, Logs, os
5 from samba_bundled import *
6
7 @conf
8 def CHECK_FOR_THIRD_PARTY(conf):
9     return os.path.exists('third_party')
10
11 Build.BuildContext.CHECK_FOR_THIRD_PARTY = CHECK_FOR_THIRD_PARTY
12
13 @conf
14 def CHECK_INIPARSER(conf):
15     return conf.CHECK_BUNDLED_SYSTEM('iniparser', checkfunctions='iniparser_load', headers='iniparser.h')