From c1ef7b14a3e1200817180cfaf6425e9bdf0eb51b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Sep 2011 19:58:05 +0000 Subject: Remove use of waf compat15 tool. Always load waf tools first (prevent smashing of --debug, DATADIR, etc). git-svn-id: svn://localhost/ardour2/branches/3.0@10163 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/sanity_check/wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/sanity_check') diff --git a/tools/sanity_check/wscript b/tools/sanity_check/wscript index fdfd7cfc2c..6bb2274f3f 100644 --- a/tools/sanity_check/wscript +++ b/tools/sanity_check/wscript @@ -1,6 +1,6 @@ #!/usr/bin/env python from waflib.extras import autowaf as autowaf -import Options +from waflib import Options import os # Mandatory variables @@ -11,8 +11,8 @@ def options(opt): autowaf.set_options(opt) def configure(conf): - autowaf.configure (conf) - conf.check_tool('compiler_cxx') + conf.load('compiler_cxx') + autowaf.configure(conf) def build(bld): obj = bld(features = 'cxx cxxprogram') -- cgit v1.2.3