configure: Set DRI1 to autodiscover

We only need DRI1 to support UMS on i810, but modern Xservers don't
support DRI1 and the support infrastructure is no longer being shipped
on some distributions.  Gracefully fail if we can't compile the DRI1
code blocks for i810.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson
2018-05-12 09:54:11 +01:00
parent e7bfc90653
commit 3594772150

View File

@@ -316,9 +316,9 @@ AC_ARG_ENABLE(dri,
[DRI=auto])
AC_ARG_ENABLE(dri1,
AS_HELP_STRING([--disable-dri1],
[Disable DRI1 support [[default=yes]]]),
[Disable DRI1 support [[default=auto]]]),
[DRI1=$enableval],
[DRI1=yes])
[DRI1=auto])
AC_ARG_ENABLE(dri2,
AS_HELP_STRING([--disable-dri2],
[Disable DRI2 support [[default=yes]]]),