[Glamor] [PATCH 2/3] Choose version 8 of mesa and 2.4.30 for libdrm as minimum versions

Gaetan Nadon memsize at videotron.ca
Mon Dec 16 17:16:59 PST 2013


Glamor requires mesa at 7.1 (Aug 2008) but requires libdrm at 2.4.23 which
only became available Dec 2010. Perhaps this was a typo as mesa 7.11 was
introduced in July 2011.

If we move the timeline six months later, we get mesa 8.0 (OpenGL 3.0)
in Feb 2012 and libdrm 2.4.30 in Jan 2012. This allows us to skip the
test for drm_fourcc header file.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index e57401f..ad94d43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,7 +56,7 @@ PKG_PROG_PKG_CONFIG
 PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10])
 PKG_CHECK_MODULES(DRI2, [dri2proto >= 2.6])
 
-LIBGL="gl >= 7.1.0"
+LIBGL="gl >= 8"
 LIBPIXMAN="pixman-1 >= 0.21.8"
 LIBGLESV2="glesv2"
 
@@ -123,12 +123,7 @@ fi
 #     Configuration for LIBDRM
 # ---------------------------------------------------------------------
 
-PKG_CHECK_MODULES([LIBDRM], [libdrm >= 2.4.23])
-
-# DRI3 support requires drm_fourcc.h which includes the surface formats
-AC_MSG_CHECKING([for LIBDRM >= 2.4.30])
-PKG_CHECK_EXISTS([libdrm >= 2.4.30], [have_libdrm30=yes], [have_libdrm30=no])
-AC_MSG_RESULT([$have_libdrm30])
+PKG_CHECK_MODULES([LIBDRM], [libdrm >= 2.4.30])
 
 # ---------------------------------------------------------------------
 #     Configuration for Glamor EGL
@@ -180,7 +175,6 @@ AC_ARG_ENABLE(glamor-dri3,
 have_dri3=yes
 if test "x$have_egl" = xno ||
    test "x$have_egl9_2" = xno ||
-   test "x$have_libdrm30" = xno ||
    test "x$have_gbm" = xno ||
    test "x$have_gbm9" = xno; then
     have_dri3=no;
-- 
1.7.9.5



More information about the Glamor mailing list