diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2009-09-17 15:13:51 +0300 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-09-17 10:56:59 -0400 |
commit | 2c46bafcb77c4125a27c18ad6ca2f6de5f143a2d (patch) | |
tree | 941324843efa4fbec2f5a1a1e05d9525172987e9 /configure.ac | |
parent | ee9f6d802988a4d7f7985687036db854f4a14fe5 (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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 66f76aa3..9d769eab 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 |