Commit 9c81b8f5 authored by Fabrice Fontaine's avatar Fabrice Fontaine
Browse files

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's avatarBernd Kuhls <bernd.kuhls@t-online.de>
[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's avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
parent 68216747
Pipeline #234247 passed with stages
in 4 minutes and 42 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment