From efdebbc4e82b2b43318383c5959d82fdb0dd5840 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 11 Jun 2018 09:29:49 +1000 Subject: [PATCH] configure.ac: bump libdrm requirement to 2.4.68 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Had a stale libdrm sitting around which gave me errors, both fixed with the .68 version. libweston/pixel-formats.c:291:13: error: ‘DRM_FORMAT_NV24’ undeclared here (not in a function); did you mean ‘DRM_FORMAT_NV21’? .format = DRM_FORMAT_NV24, ^~~~~~~~~~~~~~~ DRM_FORMAT_NV21 libweston/pixel-formats.c:296:13: error: ‘DRM_FORMAT_NV42’ undeclared here (not in a function); did you mean ‘DRM_FORMAT_NV12’? .format = DRM_FORMAT_NV42, ^~~~~~~~~~~~~~~ DRM_FORMAT_NV12 Signed-off-by: Peter Hutterer Acked-by: Daniel Stone Reviewed-by: Emil Velikov Reviewed-by: Pekka Paalanen --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2a62b62ae..39168e205 100644 --- a/configure.ac +++ b/configure.ac @@ -113,7 +113,7 @@ AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate]) # check for libdrm as a build-time dependency only # libdrm 2.4.30 introduced drm_fourcc.h. -PKG_CHECK_MODULES(LIBDRM, [libdrm >= 2.4.30], [], [AC_MSG_ERROR([ +PKG_CHECK_MODULES(LIBDRM, [libdrm >= 2.4.68], [], [AC_MSG_ERROR([ libdrm is a hard build-time dependency for libweston core, but a sufficient version was not found. However, libdrm is not a runtime dependency unless you have features