From b83449d39ed09ec3defae3e0743da1a4b3f2a156 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 17 Sep 2016 01:04:53 +0200 Subject: [PATCH] python/lib/moresetuptools.py: check if rubberband can be found --- python/lib/moresetuptools.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py index 906b8712..d39897c2 100644 --- a/python/lib/moresetuptools.py +++ b/python/lib/moresetuptools.py @@ -73,6 +73,7 @@ def add_local_aubio_sources(ext): packages = ['libavcodec', 'libavformat', 'libavutil', 'libavresample', 'jack', 'sndfile', 'samplerate', + 'rubberband', #'fftw3f', ] add_packages(packages, ext=ext) @@ -87,6 +88,8 @@ def add_local_aubio_sources(ext): ext.define_macros += [('HAVE_SNDFILE', 1)] if 'samplerate' in ext.libraries: ext.define_macros += [('HAVE_SAMPLERATE', 1)] + if 'rubberband' in ext.libraries: + ext.define_macros += [('HAVE_RUBBERBAND', 1)] if 'fftw3f' in ext.libraries: ext.define_macros += [('HAVE_FFTW3F', 1)] ext.define_macros += [('HAVE_FFTW3', 1)] -- 2.11.0