GLX: check glproto version
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 11 Jan 2010 22:28:10 +0000 (17:28 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 11 Jan 2010 22:30:41 +0000 (17:30 -0500)
This was a silent dependency before, but now we really need 1.4.11 for
INTEL_swap_event support, so check for it.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
configure.ac

index 33437f54f89db5519f3c2d7b6638af8eb4ef3fa8..b3887231137d80ed1bd6600ced006c022ab41fd7 100644 (file)
@@ -21,6 +21,7 @@ dnl Versions for external dependencies
 LIBDRM_REQUIRED=2.4.15
 LIBDRM_RADEON_REQUIRED=2.4.17
 DRI2PROTO_REQUIRED=2.2
+GLPROTO_REQUIRED=1.4.11
 
 dnl Check for progs
 AC_PROG_CPP
@@ -577,6 +578,7 @@ dri)
     PKG_CHECK_MODULES([DRI2PROTO], [dri2proto >= $DRI2PROTO_REQUIRED])
     GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED"
     DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED"
+    PKG_CHECK_MODULES([GLPROTO], [glproto >= $GLPROTO_REQUIRED])
 
     # find the DRI deps for libGL
     if test "$x11_pkgconfig" = yes; then