summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-17 13:22:26 +0200
committerDavid Robillard <d@drobilla.net>2019-10-17 13:22:26 +0200
commitde76b89dc1039e2f7d6c6b229a8950156b0e5c94 (patch)
treee254ba5b36f329225c8b089474ce2cf8cecaa6e1
parent43c8805769a5f94618ad38a9bfeacdfc38dfdb60 (diff)
downloadautowaf-de76b89dc1039e2f7d6c6b229a8950156b0e5c94.tar.gz
autowaf-de76b89dc1039e2f7d6c6b229a8950156b0e5c94.tar.bz2
autowaf-de76b89dc1039e2f7d6c6b229a8950156b0e5c94.zip
Add conf.check_pkg and conf.check_function methods
-rw-r--r--extras/autowaf.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/autowaf.py b/extras/autowaf.py
index f687f9a..2ceb014 100644
--- a/extras/autowaf.py
+++ b/extras/autowaf.py
@@ -128,6 +128,12 @@ class ConfigureContext(Configure.ConfigurationContext):
super(ConfigureContext, self).store()
+ def check_pkg(self, *args, **kwargs):
+ return check_pkg(self, *args, **kwargs)
+
+ def check_function(self, *args, **kwargs):
+ return check_function(self, *args, **kwargs)
+
def build_path(self, path='.'):
"""Return `path` within the build directory"""
return str(self.path.get_bld().make_node(path))