>From 6afd482e905aec048333fdd72579a08478a3f27a Mon Sep 17 00:00:00 2001
From: =?utf-8?q?R=C3=A9mi=20Cardona?= <remi.cardona@lri.fr>
Date: Mon, 17 Nov 2008 09:56:49 +0100
Subject: [PATCH] drop unused HAVE_LIBDRM_2_2

---
 configure.ac            |    3 ---
 include/dix-config.h.in |    3 ---
 2 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4bea8ac..3713050 100644
--- a/configure.ac
+++ b/configure.ac
@@ -861,9 +861,6 @@ AM_CONDITIONAL(DRI2, test "x$DRI2" == xyes)
 
 if test "x$DRI" = xyes || test "x$DRI2" = xyes; then
 	PKG_CHECK_MODULES([LIBDRM], [libdrm >= 2.3.0])
-	PKG_CHECK_EXISTS(libdrm >= 2.2.0,
-			 [AC_DEFINE([HAVE_LIBDRM_2_2], 1,
-			 [Has version 2.2 (or newer) of the drm library])])
 	AC_SUBST(LIBDRM_CFLAGS)
 	AC_SUBST(LIBDRM_LIBS)
 fi
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 5739a05..65b5950 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -121,9 +121,6 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
-/* Define to 1 if you have version 2.2 (or newer) of the drm library */
-#undef HAVE_LIBDRM_2_2
-
 /* Have Quartz */
 #undef XQUARTZ
 
-- 
1.6.0.3

