diff options
author | David Robillard <d@drobilla.net> | 2011-03-15 22:47:10 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-15 22:47:10 +0000 |
commit | b590595c334ea947f3174f588ff36585972323ca (patch) | |
tree | a9db3dd53eb3a387c50397be4ae0bae2fa08bce6 /wscript | |
parent | 9040ad42f5260638d1a54bb6339c8f3658864044 (diff) | |
download | sord-b590595c334ea947f3174f588ff36585972323ca.tar.gz sord-b590595c334ea947f3174f588ff36585972323ca.tar.bz2 sord-b590595c334ea947f3174f588ff36585972323ca.zip |
Remove old waf file (broken intermediary revision).
git-svn-id: http://svn.drobilla.net/sord/trunk@58 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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'])) |