projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9a210f
)
configure: Fix matching for dri driver to actually work
author
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 7 Jan 2010 15:29:29 +0000
(10:29 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 7 Jan 2010 15:44:44 +0000
(10:44 -0500)
The shell case statement obviously only evaluates the first matching
block. Thanks to Julien Cristau for spotting the bug.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index d3fbd0271322a4de49ef2e94a7b97bf9082aa5be..d8af5ea9ef98b3e398cedbff1b2bf093b23fc2b5 100644
(file)
--- 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],