summaryrefslogtreecommitdiff
path: root/config.tests
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@digia.com>2013-06-11 13:19:19 +0200
committerAndy Nichols <andy.nichols@digia.com>2013-06-11 13:24:28 +0200
commitb8643f09f5a562af47b8b2fa9f65c9a74f11511c (patch)
treea404f2a91a6aff979658f163c8d5ebaf502f9bb9 /config.tests
parentbb69e8e1bd71513d11b523bb51d353d0fb59d83d (diff)
downloadqtwayland-b8643f09f5a562af47b8b2fa9f65c9a74f11511c.tar.gz
Update wayland config test to look for at least 1.1
Change-Id: I1bfdb3f2ade0f1a640bd0e876130b844e2797137 Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/wayland/main.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/config.tests/wayland/main.cpp b/config.tests/wayland/main.cpp
index e247df3f..de4e9edb 100644
--- a/config.tests/wayland/main.cpp
+++ b/config.tests/wayland/main.cpp
@@ -43,12 +43,15 @@
int main()
{
#if WAYLAND_VERSION_MAJOR < 1
-# error Wayland 1.0.3 or higher required
+# error Wayland 1.1.0 or higher required
#endif
-#if WAYLAND_VERSION_MINOR == 0
-# if WAYLAND_VERSION_MICRO < 3
-# error Wayland 1.0.3 or higher required
-# endif
+#if WAYLAND_VERSION_MINOR < 1
+# error Wayland 1.1.0 or higher required
#endif
+#if WAYLAND_VERSION_MINOR < 2
+//# if WAYLAND_VERSION_MICRO < 0
+//# error Wayland 1.1.0 or higher required
+//# endif
+# endif
return 0;
}