From b457f67495169a392ac41fdd1c80cda82ce3ab99 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 2 Feb 2017 14:27:50 +1000 Subject: [PATCH] configure.ac: explicitly require libdrm for dri classic drivers. Although this might come from somewhere else require it explicitly. Reviewed-by: Chad Versace Signed-off-by: Dave Airlie --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index d4302bf5466..73a0fda5f26 100644 --- a/configure.ac +++ b/configure.ac @@ -1700,22 +1700,27 @@ if test -n "$with_dri_drivers"; then DRI_DIRS="$DRI_DIRS $driver" case "x$driver" in xi915) + require_libdrm "i915" HAVE_I915_DRI=yes; PKG_CHECK_MODULES([INTEL], [libdrm_intel >= $LIBDRM_INTEL_REQUIRED]) ;; xi965) + require_libdrm "i965" HAVE_I965_DRI=yes; PKG_CHECK_MODULES([INTEL], [libdrm_intel >= $LIBDRM_INTEL_REQUIRED]) ;; xnouveau) + require_libdrm "nouveau" HAVE_NOUVEAU_DRI=yes; PKG_CHECK_MODULES([NVVIEUX], [libdrm_nouveau >= $LIBDRM_NVVIEUX_REQUIRED]) ;; xradeon) + require_libdrm "radeon" HAVE_RADEON_DRI=yes; PKG_CHECK_MODULES([RADEON], [libdrm_radeon >= $LIBDRM_RADEON_REQUIRED]) ;; xr200) + require_libdrm "r200" HAVE_R200_DRI=yes; PKG_CHECK_MODULES([RADEON], [libdrm_radeon >= $LIBDRM_RADEON_REQUIRED]) ;; -- 2.30.2