Mesa (mesa_7_6_branch): configure.ac: fix for libdrm_radeon API changes.

Dave Airlie airlied at kemper.freedesktop.org
Mon Dec 21 16:46:21 PST 2009


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

Author: Fabio Pedretti <fabio.ped at libero.it>
Date:   Tue Dec 22 10:43:35 2009 +1000

configure.ac: fix for libdrm_radeon API changes.

---

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

diff --git a/configure.ac b/configure.ac
index 5fe3a94..dfc8e1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,7 @@ AC_CANONICAL_HOST
 
 dnl Versions for external dependencies
 LIBDRM_REQUIRED=2.4.3
+LIBDRM_RADEON_REQUIRED=2.4.17
 DRI2PROTO_REQUIRED=1.99.3
 
 dnl Check for progs
@@ -577,7 +578,7 @@ dri)
     GL_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED dri2proto >= $DRI2PROTO_REQUIRED"
     DRI_PC_REQ_PRIV="libdrm >= $LIBDRM_REQUIRED"
 
-    PKG_CHECK_MODULES([LIBDRM_RADEON], [libdrm_radeon], HAVE_LIBDRM_RADEON=yes, HAVE_LIBDRM_RADEON=no)
+    PKG_CHECK_MODULES([LIBDRM_RADEON], [libdrm_radeon libdrm >= $LIBDRM_RADEON_REQUIRED], HAVE_LIBDRM_RADEON=yes, HAVE_LIBDRM_RADEON=no)
 
     if test "$HAVE_LIBDRM_RADEON" = yes; then
 	RADEON_CFLAGS="-DHAVE_LIBDRM_RADEON=1 $LIBDRM_RADEON_CFLAGS"



More information about the mesa-commit mailing list