From 9c81b8f5b5d7bc987f73e8ef01a81e61205e58ee Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 8 Jan 2020 22:51:42 +0100 Subject: [PATCH] configure.ac: KMS support also depends on dri2 Kernel modesettings support also depends on dri2, see http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46 Fix #479 Signed-off-by: Bernd Kuhls [Patch retrieved (with a small update of commit message) from: https://git.buildroot.net/buildroot/tree/package/x11r7/xserver_xorg-server/1.20.6/0001-modesettings-needs-dri2.patch] Signed-off-by: Fabrice Fontaine --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 96e918ad9..14f936c62 100644 --- a/configure.ac +++ b/configure.ac @@ -1947,7 +1947,7 @@ if test "x$XORG" = xyes; then XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS" fi - if test "x$DRM" = xyes; then + if test "x$DRM" = xyes -a "x$DRI2" = xyes; then XORG_DRIVER_MODESETTING=yes fi