From 65465d56c1bf943113518a5b2f57b3170213bab9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 2 Jul 2009 18:38:38 +1000 Subject: radeon: fix up configure check better --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 7535625f..8cf69c1c 100644 --- a/configure.ac +++ b/configure.ac @@ -120,7 +120,6 @@ if test "$DRI" = yes; then CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $CFLAGS" AC_CHECK_HEADER(xf86drmMode.h,[DRM_MODE=yes],[DRM_MODE=no],[#include #include ]) -# 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]) @@ -254,7 +253,7 @@ CPPFLAGS="$SAVE_CPPFLAGS" AM_CONDITIONAL(USE_EXA, test "x$USE_EXA" = xyes) -AM_CONDITIONAL(XF86DRM_MODE, test "x$DRM_MODE" = xyes) +AM_CONDITIONAL(XF86DRM_MODE, test "x$LIBDRM_RADEON" = xyes) if test "x$XSERVER_LIBPCIACCESS" = xyes; then PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.8.0]) -- cgit v1.2.3