configure: compact ppc/sparc DRI_DIRS handling

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>
This commit is contained in:
Emil Velikov 2014-02-03 21:05:19 +00:00
parent 65e67b9bf7
commit 35f6eed742
1 changed files with 2 additions and 8 deletions

View 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