On 01/17/2012 03:09 PM, Matt Turner wrote:
On Tue, Jan 17, 2012 at 5:51 PM, Ian Romanick<i...@freedesktop.org> wrote:
On 01/17/2012 12:58 PM, Matt Turner wrote:
--- a/configure.ac
+++ b/configure.ac
@@ -1292,6 +1292,11 @@ case $DRI_DIRS in
PKG_CHECK_MODULES([INTEL], [libdrm_intel>= $LIBDRM_INTEL_REQUIRED])
case $DRI_DIRS in
+ *i915*)
+ HAVE_I915_DRI=yes;
+ ;;
+ esac
+ case $DRI_DIRS in
Why are these in separate case statements?
Because otherwise --with-dri-drivers=i915,i965 would only enable i915.
If there's another way to do this, I'm okay with it.
He's basically using it as a pattern match, not a real case statement.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev