diff options
author | Dave Airlie <airlied@redhat.com> | 2009-07-02 14:55:45 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-07-02 14:55:45 +1000 |
commit | 4d24a9d2c0be0c025266cc8cdf7e8d7bb065cdb1 (patch) | |
tree | cf9f8bd895d9e53cb47aa076a2bb239548dd53be | |
parent | 9bcd3ae7966eb7a17b922bcd33e0d6f016245614 (diff) |
radeon: enable KMS build
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 2d3ac4b9..7535625f 100644 --- a/configure.ac +++ b/configure.ac @@ -118,13 +118,13 @@ if test "$DRI" = yes; then save_CFLAGS="$CFLAGS" CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $CFLAGS" -#AC_CHECK_HEADER(xf86drmMode.h,[DRM_MODE=yes],[DRM_MODE=no],[#include <stdint.h> + AC_CHECK_HEADER(xf86drmMode.h,[DRM_MODE=yes],[DRM_MODE=no],[#include <stdint.h> #include <stdlib.h>]) - DRM_MODE = no +# DRM_MODE = no if test "x$DRM_MODE" = xyes; then PKG_CHECK_MODULES(LIBDRM_RADEON, [xorg-server >= 1.6 libdrm_radeon], [LIBDRM_RADEON=yes], [LIBDRM_RADEON=no]) - + if test "x$LIBDRM_RADEON" = xyes; then AC_DEFINE(XF86DRM_MODE,1,[DRM kernel modesetting]) AC_DEFINE(RADEON_DRI2, 1,[Enable DRI2 code]) |