summaryrefslogtreecommitdiffstats
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
commitc75c76aa3c6564b3720b6bda40c19ca9ba95648c (patch)
tree1ac1533b8b55cbb1c74666023277056b4cf487d9 /wscript
parent4f47cd0f7a225af480a9b0c13dd65884b9e2e601 (diff)
downloadmatriseq.lv2-c75c76aa3c6564b3720b6bda40c19ca9ba95648c.tar.gz
matriseq.lv2-c75c76aa3c6564b3720b6bda40c19ca9ba95648c.tar.bz2
matriseq.lv2-c75c76aa3c6564b3720b6bda40c19ca9ba95648c.zip
Update to r74/autowaf (Add autowaf.set_c99_mode()).
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/matriseq@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 135755c..23d326f 100644
--- a/wscript
+++ b/wscript
@@ -16,13 +16,9 @@ def options(opt):
def configure(conf):
conf.load('compiler_c')
autowaf.configure(conf)
+ autowaf.set_c99_mode(conf)
autowaf.display_header('Matriseq 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.0', uselib_store='LV2')
autowaf.check_pkg(conf, 'naub-0', atleast_version='0.0.0', uselib_store='NAUB')