From b590595c334ea947f3174f588ff36585972323ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Mar 2011 22:47:10 +0000 Subject: Remove old waf file (broken intermediary revision). git-svn-id: http://svn.drobilla.net/sord/trunk@58 3d64ff67-21c5-427c-a301-fe4f08042e5a --- wscript | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 5d43765..9a95d16 100644 --- a/wscript +++ b/wscript @@ -1,6 +1,6 @@ #!/usr/bin/env python -import autowaf -import Options +import waflib.Options as Options +from waflib.extras import autowaf as autowaf # Version of this package (even if built as a child) SORD_VERSION = '0.1.0' @@ -31,7 +31,7 @@ def configure(conf): autowaf.configure(conf) autowaf.display_header('Sord configuration') - conf.check_tool('compiler_cc') + conf.load('compiler_cc') conf.env.append_value('CFLAGS', '-std=c99') autowaf.check_pkg(conf, 'glib-2.0', uselib_store='GLIB', @@ -46,13 +46,13 @@ def configure(conf): dump = Options.options.dump.split(',') all = 'all' in dump if all or 'iter' in dump: - conf.define('SORD_DEBUG_ITER', 1) + autowaf.define(conf, 'SORD_DEBUG_ITER', 1) if all or 'search' in dump: - conf.define('SORD_DEBUG_SEARCH', 1) + autowaf.define(conf, 'SORD_DEBUG_SEARCH', 1) if all or 'write' in dump: - conf.define('SORD_DEBUG_WRITE', 1) + autowaf.define(conf, 'SORD_DEBUG_WRITE', 1) - conf.define('SORD_VERSION', SORD_VERSION) + autowaf.define(conf, 'SORD_VERSION', SORD_VERSION) conf.write_config_header('sord-config.h', remove=False) autowaf.display_msg(conf, "Utilities", str(conf.env['BUILD_UTILS'])) -- cgit v1.2.1