configure: Fix matching for dri driver to actually work
The shell case statement obviously only evaluates the first matching block. Thanks to Julien Cristau for spotting the bug.
This commit is contained in:
@@ -797,7 +797,9 @@ case $DRI_DIRS in
|
||||
*i915*|*i965*)
|
||||
PKG_CHECK_MODULES([INTEL], [libdrm_intel])
|
||||
;;
|
||||
esac
|
||||
|
||||
case $DRI_DIRS in
|
||||
*radeon*|*r200*|*r300*|*r600*)
|
||||
PKG_CHECK_MODULES([LIBDRM_RADEON],
|
||||
[libdrm_radeon libdrm >= $LIBDRM_RADEON_REQUIRED],
|
||||
|
Reference in New Issue
Block a user