Mesa (master): configure: compact ppc/sparc DRI_DIRS handling

Emil Velikov evelikov at kemper.freedesktop.org
Tue Feb 18 00:07:39 UTC 2014


Module: Mesa
Branch: master
Commit: 35f6eed742fa8d9ede8bd781fbd89a0212815de4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=35f6eed742fa8d9ede8bd781fbd89a0212815de4

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Mon Feb  3 21:05:19 2014 +0000

configure: compact ppc/sparc DRI_DIRS handling

Both arches have the same list of dri_dirs.

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

---

 configure.ac |   10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5b3e007..ee6d253 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




More information about the mesa-commit mailing list