summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2010-03-17 22:41:08 +0200
committerPauli Nieminen <suokkos@gmail.com>2010-03-17 22:43:26 +0200
commitdf9737094ee821289fbf8a0297d34b77587878a4 (patch)
tree9a4181ed500187e4d5ea997cdf66bd561c5fedd3
parentef36c9a3b2828f5a11feda9e4d2708bf3a4a7a52 (diff)
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 <suokkos@gmail.com>
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 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],