summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2009-12-08 08:04:20 +1000
committerKurt Korbatits <kurt.korbatits@nokia.com>2009-12-08 08:04:20 +1000
commit322db8410bf7609f072837d554e7256dc385265b (patch)
tree2145f6cf6e2637bc20e6f633073ac3d916e80b0a /config.tests
parente22ca6088407987cb69ccd03f162b431d5c2bf99 (diff)
Qt fails to build on RHEL 4 and other older Linux versions because of
old ALSA Added alsa version checking in config test, must have >= 1.0.10 to enable. Task-number:QTBUG-6493 Reviewed-by:Justin McPherson
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/unix/alsa/alsatest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.tests/unix/alsa/alsatest.cpp b/config.tests/unix/alsa/alsatest.cpp
index 1307c4e530..f1092f8513 100644
--- a/config.tests/unix/alsa/alsatest.cpp
+++ b/config.tests/unix/alsa/alsatest.cpp
@@ -40,8 +40,11 @@
****************************************************************************/
#include <alsa/asoundlib.h>
+#if(!(SND_LIB_MAJOR == 1 && SND_LIB_MINOR == 0 && SND_LIB_SUBMINOR >= 10))
+#error "Alsa version found too old, require >= 1.0.10"
+#endif
+
int main(int argc,char **argv)
{
- return 0;
}