another round of compiler warning fixes
[ardour.git] / libs / plugins / reasonablesynth.lv2 / wscript
index 797418c37f01b155cc10bf812503bde3ad86fc4a..db0bf0af8a371cbe480651fb8e12a3d961cca584 100644 (file)
@@ -3,6 +3,7 @@ import os
 import re
 import shutil
 import waflib.extras.autowaf as autowaf
+from waflib import Options
 
 # Mandatory variables
 top = '.'
@@ -14,10 +15,9 @@ def options(opt):
 def configure(conf):
     conf.load('compiler_c')
     autowaf.configure(conf)
-    autowaf.set_c99_mode(conf)
     if Options.options.lv2:
-        autowaf.check_pkg(conf, 'lv2', atleast_version='1.4.0',
-                uselib_store='LV2_1_4_0')
+        autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0',
+                uselib_store='LV2_1_0_0')
 
 def build(bld):
     bundle = 'reasonablesynth.lv2'
@@ -40,7 +40,7 @@ def build(bld):
                   name         = 'reasonablesynth',
                   target       = '../../LV2/%s/reasonablesynth' % bundle,
                   install_path = '${LV2DIR}/%s' % bundle,
-                  use          = 'LV2_1_4_0'
+                  use          = 'LV2_1_0_0'
                   )
         obj.env.cshlib_PATTERN = module_pat