[PATCH] Fix configuration to disable KMS if not finding libdrm_radeon.

Pauli Nieminen suokkos at gmail.com
Thu Sep 17 05:13:51 PDT 2009


Most of KMS building was disabled if LIBDRM_RADEON was not detected. But at
least configure was reporting KMS enabled even tough it was realy disabled.
---
 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 66f76aa..9d769ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,6 +146,8 @@ if test "$DRI" = yes; then
 			if test "x$LIBDRM_RADEON" = xyes; then
 			   	AC_DEFINE(XF86DRM_MODE,1,[DRM kernel modesetting])
 				AC_DEFINE(RADEON_DRI2, 1,[Enable DRI2 code])
+                        else
+                                DRM_MODE=no
 			fi
         	fi
 	fi
-- 
1.6.3.3



More information about the xorg-driver-ati mailing list