projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28c4e9
)
meson: Add a sanity check regarding echo cancellers
author
Arnaud Rebillout
<arnaud.rebillout@collabora.com>
Fri, 19 Oct 2018 11:44:20 +0000
(18:44 +0700)
committer
Arun Raghavan
<arun@arunraghavan.net>
Thu, 27 Dec 2018 11:55:56 +0000
(17:25 +0530)
Taken straight out of the configure.ac file.
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
08dec64
..
3cc31d0
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-319,6
+319,12
@@
if webrtc_dep.found()
cdata.set('HAVE_WEBRTC', 1)
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
configure_file(output : 'config.h', configuration : cdata)