aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 21:14:20 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 21:14:20 +0000
commit95e60167daade2ad3890812df8ca7e76b1340118 (patch)
tree1e5b373be798cbcc449af0b4e7ff37140b134be0 /wscript
parent99dfcd47b413d9a2c0d69ba639292656aeb545c5 (diff)
downloadjalv-95e60167daade2ad3890812df8ca7e76b1340118.tar.gz
jalv-95e60167daade2ad3890812df8ca7e76b1340118.tar.bz2
jalv-95e60167daade2ad3890812df8ca7e76b1340118.zip
Update to r74/autowaf (Add autowaf.set_c99_mode()).
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4625 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 1 insertions, 5 deletions
diff --git a/wscript b/wscript
index 7e640b1..0f85fc2 100644
--- a/wscript
+++ b/wscript
@@ -27,13 +27,9 @@ def configure(conf):
conf.load('compiler_cxx')
conf.line_just = 52
autowaf.configure(conf)
+ autowaf.set_c99_mode(conf)
autowaf.display_header('Jalv Configuration')
- if conf.env.MSVC_COMPILER:
- conf.env.append_unique('CFLAGS', ['-TP', '-MD'])
- else:
- conf.env.append_unique('CFLAGS', '-std=c99')
-
autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.7', uselib_store='LV2')
autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',
atleast_version='0.14.0', mandatory=True)