From af42fc724e794aeb3b26eb0e8df453a5abd5c640 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 29 Dec 2015 10:16:54 +0100 Subject: [PATCH] drm: fix importing of libdrm We need to link against libdrm to use its functions. Signed-off-by: Enrico Weigelt, metux IT consult Reviewed-by: Bryce Harrington --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2ce19599e..a3cf31106 100644 --- a/configure.ac +++ b/configure.ac @@ -296,7 +296,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(beos, BeOS/Zeta, no, [ dnl =========================================================================== CAIRO_ENABLE_SURFACE_BACKEND(drm, DRM, no, [ - drm_REQUIRES="libudev >= 136" + drm_REQUIRES="libudev >= 136, libdrm >= 2.4" PKG_CHECK_MODULES(drm, $drm_REQUIRES, , [use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"]) ])