summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2009-12-07 22:04:20 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2009-12-07 22:04:20 (GMT)
commit322db8410bf7609f072837d554e7256dc385265b (patch)
tree2145f6cf6e2637bc20e6f633073ac3d916e80b0a /config.tests
parente22ca6088407987cb69ccd03f162b431d5c2bf99 (diff)
downloadQt-322db8410bf7609f072837d554e7256dc385265b.zip
Qt-322db8410bf7609f072837d554e7256dc385265b.tar.gz
Qt-322db8410bf7609f072837d554e7256dc385265b.tar.bz2
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 1307c4e..f1092f8 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;
}