Lines Matching defs:DRI2
615 AC_ARG_ENABLE(dri2, AS_HELP_STRING([--enable-dri2], [Build DRI2 extension (default: auto)]), [DRI2=$enableval], [DRI2=auto])
719 DRI2=no
725 DRI2=no
1001 if test "x$AIGLX" = xyes -a "x$GLX" = xyes -a \( "x$DRI" = xyes -o "x$DRI2" = xyes \); then
1024 case "$DRI2,$HAVE_DRI2PROTO" in
1026 AC_MSG_ERROR([DRI2 requested, but dri2proto not found.])
1029 AC_DEFINE(DRI2, 1, [Build DRI2 extension])
1030 DRI2=yes
1034 AM_CONDITIONAL(DRI2, test "x$DRI2" = xyes)
1036 if test "x$DRI" = xyes || test "x$DRI2" = xyes; then
1043 if test "x$DRI2" = xyes; then
1049 #error DRI2 extension not available.
1055 AC_DEFINE(DRI2_AIGLX, 1, [Build DRI2 AIGLX loader])
1058 AC_MSG_NOTICE([DRI2 AIGLX disabled, __DRI_DRI2 not defined in dri_interface.h.])