summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-15 22:47:10 +0000
committerDavid Robillard <d@drobilla.net>2011-03-15 22:47:10 +0000
commitb590595c334ea947f3174f588ff36585972323ca (patch)
treea9db3dd53eb3a387c50397be4ae0bae2fa08bce6
parent9040ad42f5260638d1a54bb6339c8f3658864044 (diff)
downloadsord-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
l---------waf1
-rw-r--r--wscript14
2 files changed, 7 insertions, 8 deletions
diff --git a/waf b/waf
deleted file mode 120000
index cf2d494..0000000
--- a/waf
+++ /dev/null
@@ -1 +0,0 @@
-autowaf/waf \ No newline at end of file
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']))