From de76b89dc1039e2f7d6c6b229a8950156b0e5c94 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 17 Oct 2019 13:22:26 +0200 Subject: Add conf.check_pkg and conf.check_function methods --- extras/autowaf.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'extras') 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)) -- cgit v1.2.1