From 35f6eed742fa8d9ede8bd781fbd89a0212815de4 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 3 Feb 2014 21:05:19 +0000 Subject: [PATCH] configure: compact ppc/sparc DRI_DIRS handling Both arches have the same list of dri_dirs. Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- configure.ac | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 5b3e007bf18..ee6d253664b 100644 --- a/configure.ac +++ b/configure.ac @@ -990,14 +990,8 @@ if test "x$enable_dri" = xyes; then fi case "$host_cpu" in - powerpc*) - # Build only the drivers for cards that exist on PowerPC. - if test "x$DRI_DIRS" = "xyes"; then - DRI_DIRS="r200 radeon swrast" - fi - ;; - sparc*) - # Build only the drivers for cards that exist on sparc + powerpc* | sparc*) + # Build only the drivers for cards that exist on PowerPC/sparc if test "x$DRI_DIRS" = "xyes"; then DRI_DIRS="r200 radeon swrast" fi -- 2.30.2