diff mbox

[PROPOSAL] configure.ac: Simplify LIBDRM_RADEON_REQUIRED and introduce LIBDRM_INTEL_REQUIRED variable

Message ID 2d0a357f1003230616p5e8f05e2ocb81a8657e38f149@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sedat Dilek March 23, 2010, 1:16 p.m. UTC
None
diff mbox

Patch

From 21274e40e2fa99c925da46759ddfe9569040b0d9 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <sedat.dilek@gmail.com>
Date: Tue, 23 Mar 2010 14:11:03 +0100
Subject: [PATCH 2/2] configure.ac: Introduce LIBDRM_INTEL_REQUIRED variable

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

diff --git a/configure.ac b/configure.ac
index 7de5b31..02c403a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,7 @@  AC_CANONICAL_HOST
 
 dnl Versions for external dependencies
 LIBDRM_REQUIRED=2.4.15
+LIBDRM_INTEL_REQUIRED=2.4.19
 LIBDRM_RADEON_REQUIRED=2.4.17
 DRI2PROTO_REQUIRED=2.1
 GLPROTO_REQUIRED=1.4.11
@@ -830,7 +831,7 @@  AC_SUBST([DRI_LIB_DEPS])
 
 case $DRI_DIRS in
 *i915*|*i965*)
-    PKG_CHECK_MODULES([INTEL], [libdrm_intel >= 2.4.19])
+    PKG_CHECK_MODULES([INTEL], [libdrm_intel >= LIBDRM_INTEL_REQUIRED])
     ;;
 esac
 
-- 
1.7.0.3