From df9737094ee821289fbf8a0297d34b77587878a4 Mon Sep 17 00:00:00 2001 From: Pauli Nieminen Date: Wed, 17 Mar 2010 22:41:08 +0200 Subject: Check HAVE_RADEON only after checking for atomic operations. Fixes problem that libdrm_radeon was disabled in Makefile even when configure claimed that radeon was enabled. Signed-off-by: Pauli Nieminen --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0f15f7ec..6ef3c614 100644 --- a/configure.ac +++ b/configure.ac @@ -158,8 +158,6 @@ if test "x$NOUVEAU" = xyes; then AC_DEFINE(HAVE_NOUVEAU, 1, [Have nouveau (nvidia) support]) fi -AM_CONDITIONAL(HAVE_RADEON, [test "x$RADEON" = xyes]) - PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no]) if test "x$HAVE_CAIRO" = xyes; then AC_DEFINE(HAVE_CAIRO, 1, [Have cairo support]) @@ -234,6 +232,7 @@ if test "x$INTEL" != "xno" -o "x$RADEON" != "xno"; then fi AM_CONDITIONAL(HAVE_INTEL, [test "x$INTEL" != "xno"]) +AM_CONDITIONAL(HAVE_RADEON, [test "x$RADEON" != "xno"]) AC_ARG_WITH([kernel-source], [AS_HELP_STRING([--with-kernel-source], -- cgit v1.2.3