blob: 2c50ad4a8b2c55e0974829132bbfe1ff7e340ceb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# functions to support third party libraries
from Configure import conf
import sys, Logs, os
from samba_bundled import *
@conf
def CHECK_FOR_THIRD_PARTY(conf):
return os.path.exists('third_party')
Build.BuildContext.CHECK_FOR_THIRD_PARTY = CHECK_FOR_THIRD_PARTY
@conf
def CHECK_INIPARSER(conf):
return conf.CHECK_BUNDLED_SYSTEM('iniparser', checkfunctions='iniparser_load', headers='iniparser.h')
|