[Mesa-dev] [PATCH 3/6] configure: compact ppc/sparc DRI_DIRS handling

Emil Velikov emil.l.velikov at gmail.com
Tue Feb 11 06:52:03 PST 2014


Both arches have the same list of dri_dirs.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 configure.ac | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6d3e780..3f34555 100644
--- a/configure.ac
+++ b/configure.ac
@@ -993,14 +993,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
-- 
1.8.5.4



More information about the mesa-dev mailing list