[Mesa-dev] Patch: check for updated version of libdrm

Adenilson Cavalcanti savagobr at yahoo.com
Mon Dec 20 10:05:26 PST 2010


Friends

Trying to compile mesa this weekend failed at one of the Intel drivers (IIRC, a missing enumeration was to blame).

Compiling and installing libdrm from git repository solved the issue, but I believe that the autotools buildsystem should check for the correct version at configure time (and fail if not found).

Environment: pre-installed libdrm 2.4.21 (drm from repository is at version 2.4.23)

This really simple patch does this:

adenilson at macblack:~/apps/mesa$ git diff configure.ac
diff --git a/configure.ac b/configure.ac
index bd81775..c17c0f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,11 +18,11 @@ AC_CONFIG_AUX_DIR([bin])
 AC_CANONICAL_HOST
 
 dnl Versions for external dependencies
-LIBDRM_REQUIRED=2.4.15
-LIBDRM_RADEON_REQUIRED=2.4.17
+LIBDRM_REQUIRED=2.4.23
+LIBDRM_RADEON_REQUIRED=2.4.23
 DRI2PROTO_REQUIRED=2.1
 GLPROTO_REQUIRED=1.4.11
-LIBDRM_XORG_REQUIRED=2.4.17
+LIBDRM_XORG_REQUIRED=2.4.23
 LIBKMS_XORG_REQUIRED=1.0.0
 
 dnl Check for progs


Best regards


Adenilson


      


More information about the mesa-dev mailing list