Lines Matching defs:DRI2
324 [Disable DRI2 support [[default=yes]]]),
325 [DRI2=$enableval],
326 [DRI2=yes])
537 if test "x$DRI2" != "xno"; then
538 PKG_CHECK_MODULES(DRI2, [dri2proto >= 2.6], [have_dri2=$DRI], [have_dri2=no])
576 AC_MSG_CHECKING([whether to include DRI2 support])
577 AM_CONDITIONAL(DRI2, test "x$have_dri2" != "xno")
580 AC_DEFINE(HAVE_DRI2,1,[Enable DRI2 driver support])
581 str="DRI2"
588 if test "x$DRI" = "xyes" -a "x$DRI2" != "xno" -a "x$KMS" = "xyes"; then
589 AC_MSG_ERROR([DRI2 requested but prerequisites not found])
592 # UXA doesn't build without DRI2 headers, too late to fix