configure: compact ppc/sparc DRI_DIRS handling
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 3 Feb 2014 21:05:19 +0000 (21:05 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 18 Feb 2014 00:00:13 +0000 (00:00 +0000)
Both arches have the same list of dri_dirs.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
configure.ac

index 5b3e007bf188f5fe904a110c288970fedcc1b72a..ee6d253664b9e1341521fcc58167bffa9a991033 100644 (file)
@@ -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