summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2009-09-17 15:13:51 +0300
committerAlex Deucher <alexdeucher@gmail.com>2009-09-17 10:56:59 -0400
commit2c46bafcb77c4125a27c18ad6ca2f6de5f143a2d (patch)
tree941324843efa4fbec2f5a1a1e05d9525172987e9
parentee9f6d802988a4d7f7985687036db854f4a14fe5 (diff)
Fix configuration to disable KMS if not finding libdrm_radeon.
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.
-rw-r--r--configure.ac2
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