mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
meson: Add a sanity check regarding echo cancellers
Taken straight out of the configure.ac file. Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
parent
b28c4e9aea
commit
5a6e45f5b4
1 changed files with 6 additions and 0 deletions
|
|
@ -319,6 +319,12 @@ if webrtc_dep.found()
|
||||||
cdata.set('HAVE_WEBRTC', 1)
|
cdata.set('HAVE_WEBRTC', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Some sanity checks
|
||||||
|
|
||||||
|
if not speex_dep.found() and not webrtc_dep.found() and not get_option('adrian-aec')
|
||||||
|
error('At least one echo canceller implementation must be available!')
|
||||||
|
endif
|
||||||
|
|
||||||
# Now generate config.h from everything above
|
# Now generate config.h from everything above
|
||||||
configure_file(output : 'config.h', configuration : cdata)
|
configure_file(output : 'config.h', configuration : cdata)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue