diff options
author | Dave Airlie <[email protected]> | 2017-02-02 14:27:50 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-02-03 09:38:15 +1000 |
commit | b457f67495169a392ac41fdd1c80cda82ce3ab99 (patch) | |
tree | 12a8acde791333a6c002a10fac4de4e2e1c6afa4 | |
parent | 37a6f48ceb952193e4654e88f97ea7ff2bbd8882 (diff) |
configure.ac: explicitly require libdrm for dri classic drivers.
Although this might come from somewhere else require it explicitly.
Reviewed-by: Chad Versace <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
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]) ;; |