Not too long ago, the dri3 code was living in src/glx, which in itself was guarded by HAVE_DRI_GLX. As the name suggests we didn't dive into the folder when dri was disabled, thus we missed that dri3 does not consider/honour --enable-dri.
Fixes: 6bd9ba7d074 "loader: Add dri3 helper" Cc: Pali Rohár <pali.ro...@gmail.com> Reported-by: Pali Rohár <pali.ro...@gmail.com> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 91fdfe5..809b7e5 100644 --- a/configure.ac +++ b/configure.ac @@ -767,6 +767,11 @@ linux*) dri3_default=no ;; esac + +if test "x$enable_dri" = xno; then + dri3_default=no +fi + AC_ARG_ENABLE([dri3], [AS_HELP_STRING([--enable-dri3], [enable DRI3 @<:@default=auto@:>@])], -- 2.6.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev