Lines Matching defs:DRI2
338 [Disable DRI2 support [[default=yes]]]),
339 [DRI2=$enableval],
340 [DRI2=yes])
535 if test "x$DRI2" != "xno"; then
536 PKG_CHECK_MODULES(DRI2, [dri2proto >= 2.6], [have_dri2=$DRI], [have_dri2=no])
574 AC_MSG_CHECKING([whether to include DRI2 support])
575 AM_CONDITIONAL(DRI2, test "x$have_dri2" != "xno")
578 AC_DEFINE(HAVE_DRI2,1,[Enable DRI2 driver support])
579 dri_msg="$dri_msg DRI2"
581 if test "x$DRI" = "xyes" -a "x$DRI2" != "xno" -a "x$KMS" = "xyes"; then
582 AC_MSG_ERROR([DRI2 requested but prerequisites not found])
585 # UXA doesn't build without DRI2 headers, too late to fix