summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 21:14:40 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 21:14:40 +0000
commitfcaa07ca53ae5a4e586117fa72bd92de903affef (patch)
tree0c14423d6428126fcf9ed9153fe9fe07eb8015bc
parent5cd80685ec4c76b21f0ef2f1d92261b6eb02ed9b (diff)
downloadsord-fcaa07ca53ae5a4e586117fa72bd92de903affef.tar.gz
sord-fcaa07ca53ae5a4e586117fa72bd92de903affef.tar.bz2
sord-fcaa07ca53ae5a4e586117fa72bd92de903affef.zip
Update to r74/autowaf (Add autowaf.set_c99_mode()).
git-svn-id: http://svn.drobilla.net/sord/trunk@243 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rwxr-xr-xwafbin72475 -> 94174 bytes
-rw-r--r--wscript7
2 files changed, 1 insertions, 6 deletions
diff --git a/waf b/waf
index 62ab137..45a6f80 100755
--- a/waf
+++ b/waf
Binary files differ
diff --git a/wscript b/wscript
index 50ed79b..7a0ca4d 100644
--- a/wscript
+++ b/wscript
@@ -46,14 +46,9 @@ def configure(conf):
conf.load('compiler_c')
conf.load('compiler_cxx')
autowaf.configure(conf)
+ autowaf.set_c99_mode(conf)
autowaf.display_header('Sord configuration')
- if conf.env.MSVC_COMPILER:
- conf.env.append_unique('CFLAGS', ['-TP', '-MD'])
- conf.env.append_unique('CXXFLAGS', ['-TP', '-MD'])
- else:
- conf.env.append_unique('CFLAGS', '-std=c99')
-
autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD',
atleast_version='0.14.0', mandatory=True)
autowaf.check_pkg(conf, 'libpcre', uselib_store='PCRE', mandatory=False)