summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-01-07 10:29:29 -0500
committerKristian Høgsberg <[email protected]>2010-01-07 10:44:44 -0500
commit27fe7a7303d93bc38df1f3c2861d07af3e82546d (patch)
tree2c15a730b18595e8e06cd66df5954eda671c0519 /configure.ac
parentc9a210f15887b5b28eb8a9445597194fa6c82833 (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d3fbd027132..d8af5ea9ef9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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],