1 # Based on the examples from the scons wiki
3 def CheckPKGConfig(context, version):
4 context.Message('Checking for pkg-config... ')
5 ret = context.TryAction('pkg-config --atleast-pkgconfig-version=%s' % version)[0]
9 def CheckPackage(context, name):
10 context.Message('Checking for %s... ' % name)
11 ret = context.TryAction('pkg-config --exists \'%s\'' % name)[0]