mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Deal with kissfft >= 130
The kissfft library changed its SONAME and how the various libraries were organized, e.g. the functions for complex and real numbers aren’t in separate libraries anymore. Signed-off-by: Nils Philippsen <nils@tiptoe.de>
This commit is contained in:
parent
da4d16b1f2
commit
c90dc9a647
1 changed files with 9 additions and 3 deletions
|
|
@ -28,9 +28,15 @@ def configure(conf):
|
||||||
mandatory = False,
|
mandatory = False,
|
||||||
):
|
):
|
||||||
# The external qm-dsp might be built without embedded kiss - try to link with it explicitly and check again
|
# The external qm-dsp might be built without embedded kiss - try to link with it explicitly and check again
|
||||||
conf.check_cxx(lib="kiss_fft_double", uselib_store="KISSFFT", mandatory=True)
|
if conf.check_cxx(lib="kissfft-double", uselib_store="KISSFFT", mandatory=False):
|
||||||
conf.check_cxx(lib="kiss_fftr_double", uselib_store="KISSFFTR", mandatory=True)
|
# kissfft ersions >= 130 have changed names (kiss_fft_double -> kissfft-double) and
|
||||||
conf.env.append_value('LIB_QMDSP', conf.env['LIB_KISSFFT'] + conf.env['LIB_KISSFFTR'])
|
# library organization
|
||||||
|
conf.env.append_value('LIB_QMDSP', conf.env['LIB_KISSFFT'])
|
||||||
|
else:
|
||||||
|
# kiss_fft <= 1.3.x
|
||||||
|
conf.check_cxx(lib="kiss_fft_double", uselib_store="KISS_FFT", mandatory=True)
|
||||||
|
conf.check_cxx(lib="kiss_fftr_double", uselib_store="KISS_FFTR", mandatory=True)
|
||||||
|
conf.env.append_value('LIB_QMDSP', conf.env['LIB_KISS_FFT'] + conf.env['LIB_KISS_FFTR'])
|
||||||
|
|
||||||
conf.check_cxx(msg = 'Checking qm-dsp with explicit kiss linking',
|
conf.check_cxx(msg = 'Checking qm-dsp with explicit kiss linking',
|
||||||
features = 'cxx cxxprogram',
|
features = 'cxx cxxprogram',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue