Mesa (master): GLX: check glproto version

Jesse Barnes jbarnes at kemper.freedesktop.org
Mon Jan 11 22:30:45 UTC 2010


Module: Mesa
Branch: master
Commit: f2f83d9a7891428ea7c784a75bd9e2968fdf00ae
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f2f83d9a7891428ea7c784a75bd9e2968fdf00ae

Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date:   Mon Jan 11 17:28:10 2010 -0500

GLX: check glproto version

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 at virtuousgeek.org>

---

 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 33437f5..b388723 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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




More information about the mesa-commit mailing list