diff options
author | David Robillard <d@drobilla.net> | 2019-10-17 13:22:26 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-17 13:22:26 +0200 |
commit | de76b89dc1039e2f7d6c6b229a8950156b0e5c94 (patch) | |
tree | e254ba5b36f329225c8b089474ce2cf8cecaa6e1 /extras | |
parent | 43c8805769a5f94618ad38a9bfeacdfc38dfdb60 (diff) | |
download | autowaf-de76b89dc1039e2f7d6c6b229a8950156b0e5c94.tar.gz autowaf-de76b89dc1039e2f7d6c6b229a8950156b0e5c94.tar.bz2 autowaf-de76b89dc1039e2f7d6c6b229a8950156b0e5c94.zip |
Add conf.check_pkg and conf.check_function methods
Diffstat (limited to 'extras')
-rw-r--r-- | extras/autowaf.py | 6 |
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)) |