diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2020-01-08 22:51:42 +0100 |
---|---|---|
committer | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2020-11-25 06:41:28 +0000 |
commit | 9c81b8f5b5d7bc987f73e8ef01a81e61205e58ee (patch) | |
tree | 6bcdabccc2c114226bcf120f94cc58b345e1d2a7 | |
parent | 682167475c1930f80a68de58e522ac08dbb35fa8 (diff) |
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 <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 <fontaine.fabrice@gmail.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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 |