sparc: add DRI drivers for sparc patch from Fedora
authorDave Airlie <airlied@redhat.com>
Thu, 12 Jun 2008 02:06:50 +0000 (12:06 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Jun 2008 02:06:50 +0000 (12:06 +1000)
configure.ac

index f289501a9515e2e1739fe63bf7d873398adef5f7..f5cf33ce8cb57cd69aa5fa8ed2eb6396a897f1be 100644 (file)
@@ -645,6 +645,12 @@ if test "$mesa_driver" = dri; then
                 DRI_DIRS="mach64 r128 r200 r300 radeon tdfx swrast"
             fi
             ;;
+        sparc*)
+            # Build only the drivers for cards that exist on sparc`
+            if test "x$DRI_DIRS" = x; then
+                DRI_DIRS="mach64 r128 r200 r300 radeon ffb"
+            fi
+            ;;
         esac
         ;;
     freebsd* | dragonfly*)