summaryrefslogtreecommitdiffstats
path: root/config.tests/alsa
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-11-27 14:36:50 +0100
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-11-27 22:41:13 +0000
commit3b322323d036ae2fc9f685bfc74d1ebcd5532159 (patch)
tree23ca7e011bd84f48b9bb7815e5e7b19a82ec6cfd /config.tests/alsa
parent9b5a67d810a1aafb9afbb0861ef016f3fcaf903f (diff)
alsa: Relax ALSA version checks for 1.1.x to be detected.
Relax the check for SND_LIB_MINOR and SND_LIB_SUBMINOR so that ALSA 1.1.x is not considered older than 1.0.10. QtMultimedia builds fine with ALSA 1.1. Change-Id: If697c34cc7d9bbe2f2a3413d0c25ac4de4e93b34 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'config.tests/alsa')
-rw-r--r--config.tests/alsa/alsatest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.tests/alsa/alsatest.cpp b/config.tests/alsa/alsatest.cpp
index a9f9c2494..1b59cb17b 100644
--- a/config.tests/alsa/alsatest.cpp
+++ b/config.tests/alsa/alsatest.cpp
@@ -32,7 +32,7 @@
****************************************************************************/
#include <alsa/asoundlib.h>
-#if (!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10))
+#if (!(SND_LIB_MAJOR == 1 && (SND_LIB_MINOR > 0 || SND_LIB_SUBMINOR >= 10)))
#error "Alsa version found too old, require >= 1.0.10"
#endif