From: Kristian Høgsberg Date: Thu, 7 Jan 2010 15:29:29 +0000 (-0500) Subject: configure: Fix matching for dri driver to actually work X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27fe7a7303d93bc38df1f3c2861d07af3e82546d;p=mesa.git 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. --- 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],