Don't check for SLV2 if Lilv is found
authorDavid Robillard <d@drobilla.net>
Mon, 16 May 2011 17:12:57 +0000 (17:12 +0000)
committerDavid Robillard <d@drobilla.net>
Mon, 16 May 2011 17:12:57 +0000 (17:12 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9522 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/wscript

index 1b344d34eff40974c156101cc4bfed787adffc3b..6425e71bf482738530e254445fb5e53e3f8dbf2d 100644 (file)
@@ -248,9 +248,10 @@ def configure(conf):
     autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV', atleast_version='0.0.0', mandatory=False)
     if conf.env['HAVE_LILV']:
         autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL', atleast_version='0.2.0', mandatory=False)
-    autowaf.check_pkg(conf, 'slv2', uselib_store='SLV2', atleast_version='0.6.4', mandatory=False)
-    if conf.env['HAVE_SLV2']:
-        autowaf.check_pkg(conf, 'rasqal', uselib_store='RASQAL', atleast_version='0.9.14', mandatory=False)
+    else:
+        autowaf.check_pkg(conf, 'slv2', uselib_store='SLV2', atleast_version='0.6.4', mandatory=False)
+        if conf.env['HAVE_SLV2']:
+            autowaf.check_pkg(conf, 'rasqal', uselib_store='RASQAL', atleast_version='0.9.14', mandatory=False)
     autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH', mandatory=False)
     autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT', atleast_version='1.12.0', mandatory=False)
     autowaf.check_pkg(conf, 'ogg', uselib_store='OGG', atleast_version='1.1.2')