Bug 467: waf configure enables python after detecting pybindgen is missing

This commit is contained in:
Gustavo J. A. M. Carneiro
2009-01-12 18:45:03 +00:00
parent 6986ca18f8
commit 7568facca0

View File

@@ -151,6 +151,7 @@ def configure(conf):
Logs.warn("pybindgen missing => no python bindings")
conf.report_optional_feature("python", "Python Bindings", False,
"PyBindGen missing")
return
else:
out = subprocess.Popen([conf.env['PYTHON'], "-c",
"import pybindgen.version; "