configure: enable dri3 only for linux
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 21 Mar 2014 18:09:36 +0000 (18:09 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 31 Mar 2014 11:11:37 +0000 (12:11 +0100)
commit23740ed031f4a5fb308e03a4d239ab3db31fffd9
treeff3d9b5483518da86f8e05535c429177ddd30ed2
parentec4b8d16971b8860e14355f241ddcb2f82d5a5ee
configure: enable dri3 only for linux

Currently only linux can make use of dri3, so it would make sense to
enable it explicitly for the platform.
Drop a duplicated libudev check while we're at it.

v3: Properly handle dri3 and reword commit message.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76377
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
configure.ac