+ conf.env['BUILD_CORECRAPPITA'] = any('coreaudio' in b for b in backends)
+
+ if conf.env['BUILD_CORECRAPPITA'] and conf.env['BUILD_WAVESBACKEND']:
+ print("Coreaudio + Waves Backend are mutually exclusive")
+ sys.exit(1)
+
+ if sys.platform != 'darwin' and conf.env['BUILD_CORECRAPPITA']:
+ print("Coreaudio backend is only available for OSX")
+ sys.exit(1)
+
+ if re.search ("linux", sys.platform) != None and Options.options.dist_target != 'mingw' and conf.env['BUILD_WAVESBACKEND']:
+ print("Waves Backend is not for Linux")
+ sys.exit(1)
+
+ if re.search ("linux", sys.platform) == None and conf.env['BUILD_ALSABACKEND']:
+ print("ALSA Backend is only available on Linux")
+ sys.exit(1)