- # fftw disabled, use ooura
- ctx.msg('Checking for FFT implementation', 'ooura')
- pass
-
- if (Options.options.enable_jack == True):
- ctx.check_cfg(package = 'jack', atleast_version = '0.15.0',
- args = '--cflags --libs')
-
- if (Options.options.enable_lash == True):
- ctx.check_cfg(package = 'lash-1.0', atleast_version = '0.5.0',
- args = '--cflags --libs', uselib_store = 'LASH')
-
- # swig
- if (Options.options.enable_swig == True):
- try:
- ctx.find_program('swig', var='SWIG')
- except ctx.errors.ConfigurationError:
- ctx.to_log('swig was not found, not looking for (ignoring)')
-
- if ctx.env['SWIG']:
- ctx.check_tool('swig')
- ctx.check_swig_version()
-
- # python
- if ctx.find_program('python'):
- ctx.check_tool('python')
- ctx.check_python_version((2,4,2))
- ctx.check_python_headers()