Before, if --disable-dri was set we were still testing the libdrm version for r300, r600, vmware/svga.
Cc: "10.4, 10.5" <mesa-sta...@lists.freedesktop.org> --- I'm not an autoconf expert, so there might be a better way of doing this. --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c2d775e..4b4aff0 100644 --- a/configure.ac +++ b/configure.ac @@ -787,7 +787,11 @@ AC_ARG_ENABLE([gallium-tests], # Option for Gallium drivers # Keep this in sync with the --with-gallium-drivers help string default value -GALLIUM_DRIVERS_DEFAULT="r300,r600,svga,swrast" +if test "x$enable_dri" = xyes; then + GALLIUM_DRIVERS_DEFAULT="r300,r600,svga,swrast" +else + GALLIUM_DRIVERS_DEFAULT="swrast" +fi AC_ARG_WITH([gallium-drivers], [AS_HELP_STRING([--with-gallium-drivers@<:@=DIRS...@:>@], -- 1.9.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev