X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fbackends%2Fwscript;h=833d831e27670d7abf368846941974c6bb665cd6;hb=bcd33a23814d9b86b09ebe930cc201f395b486fb;hp=547f7eb4fc43175f6b74d3538e699614469b1780;hpb=aeda6cbea9746e60284275a0a4c5d7dc60ad751b;p=ardour.git diff --git a/libs/backends/wscript b/libs/backends/wscript index 547f7eb4fc..833d831e27 100644 --- a/libs/backends/wscript +++ b/libs/backends/wscript @@ -9,34 +9,6 @@ import re top = '.' out = 'build' -def backend_list(): - if Options.options.program_name == 'Ardour': - # Ardour - backends = [ 'jack' ] - - if Options.options.build_dummy: - backends += [ 'dummy' ] - - if Options.options.build_alsabackend: - if re.search ("linux", sys.platform) != None: - backends += [ 'alsa' ] - - else: - # Not Ardour - if re.search ("linux", sys.platform) != None: - # Can't build this till the ALSA backend is merged because of a dependency (on Linux) on a shared utility library - # created for the ALSA backend and JACK. - # backends = [ 'jack' ] - backends = [ ] - else: - backends = [ ] - - if sys.platform == 'darwin' or sys.platform == 'mingw' or sys.platform == 'msvc' or Options.options.dist_target == 'mingw': - if Options.options.build_wavesbackend: - backends += [ 'wavesaudio' ] - - return backends - def options(opt): autowaf.set_options(opt) @@ -48,9 +20,7 @@ def configure(conf): autowaf.set_recursive() autowaf.configure(conf) - backends = backend_list() - conf.env['BACKENDS'] = backends - + backends = conf.env['BACKENDS'] for i in backends: sub_config_and_use(conf, i)