configure.ac: define LIBDRM_INTEL_REQUIRED
authorTormod Volden <debian.tormod@gmail.com>
Tue, 25 Jan 2011 21:25:18 +0000 (13:25 -0800)
committerBrian Paul <brianp@vmware.com>
Wed, 26 Jan 2011 01:53:00 +0000 (18:53 -0700)
To have the LIBDRM* requirements in one place

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
configure.ac

index 1c6edb75bc899e318dedd0064280796f2b6ac280..a331174bd972a6d25e0882a2c43cf5930cd65769 100644 (file)
@@ -20,6 +20,7 @@ AC_CANONICAL_HOST
 dnl Versions for external dependencies
 LIBDRM_REQUIRED=2.4.23
 LIBDRM_RADEON_REQUIRED=2.4.23
+LIBDRM_INTEL_REQUIRED=2.4.23
 DRI2PROTO_REQUIRED=2.1
 GLPROTO_REQUIRED=1.4.11
 LIBDRM_XORG_REQUIRED=2.4.23
@@ -997,7 +998,7 @@ AC_SUBST([DRI_LIB_DEPS])
 
 case $DRI_DIRS in
 *i915*|*i965*)
-    PKG_CHECK_MODULES([INTEL], [libdrm_intel >= 2.4.23])
+    PKG_CHECK_MODULES([INTEL], [libdrm_intel >= $LIBDRM_INTEL_REQUIRED])
     ;;
 esac