summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-01-27 11:50:13 -0500
committerAdam Jackson <ajax@redhat.com>2016-01-27 12:54:11 -0500
commitbc4b234d6f4b7b211f7a9750a97524e9652d0e6e (patch)
tree6e10ee57dd8b763f6d66fdf68e193992a2011706
parent0b95625cecc7dc2cb6aff61edbc8366e8ffd516f (diff)
modesetting: Require sufficiently new libdrm
Bugzilla: https://bugs.freedesktop.org/93883 Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Julien Cristau <jcristau@debian.org> (cherry picked from commit bf23db42a4e5943129501223a47b48884cdeb62f)
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 070b63ab4..a9b6954c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2035,8 +2035,7 @@ if test "x$XORG" = xyes; then
if test "x$DRM" = xyes; then
dnl 2.4.46 is required for cursor hotspot support.
- PKG_CHECK_EXISTS(libdrm >= 2.4.46)
- XORG_DRIVER_MODESETTING=yes
+ PKG_CHECK_EXISTS(libdrm >= 2.4.46, XORG_DRIVER_MODESETTING=yes, XORG_DRIVER_MODESETTING=no)
fi
AC_SUBST([XORG_LIBS])