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:
parent
65e67b9bf7
commit
35f6eed742
10
configure.ac
10
configure.ac
|
@ -990,14 +990,8 @@ if test "x$enable_dri" = xyes; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$host_cpu" in
|
case "$host_cpu" in
|
||||||
powerpc*)
|
powerpc* | sparc*)
|
||||||
# Build only the drivers for cards that exist on PowerPC.
|
# Build only the drivers for cards that exist on PowerPC/sparc
|
||||||
if test "x$DRI_DIRS" = "xyes"; then
|
|
||||||
DRI_DIRS="r200 radeon swrast"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
sparc*)
|
|
||||||
# Build only the drivers for cards that exist on sparc
|
|
||||||
if test "x$DRI_DIRS" = "xyes"; then
|
if test "x$DRI_DIRS" = "xyes"; then
|
||||||
DRI_DIRS="r200 radeon swrast"
|
DRI_DIRS="r200 radeon swrast"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue