From: Jon TURNEY Date: Fri, 9 May 2014 12:54:09 +0000 (+0100) Subject: configure: Always default to --enable-driglx-direct X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd526ec9e1becae467fabbbe45076bb20cd12601;p=mesa.git configure: Always default to --enable-driglx-direct Always default to --enable-driglx-direct, now that will build driswrast, but won't try to use dri[123] on platforms which don't have that. Signed-off-by: Jon TURNEY Reviewed-by: Emil Velikov Reviewed-by: Matt Turner --- diff --git a/configure.ac b/configure.ac index bb12a2a9414..1525b20f9a8 100644 --- a/configure.ac +++ b/configure.ac @@ -902,26 +902,12 @@ if test "x$enable_dri" = xyes; then fi fi -dnl Direct rendering or just indirect rendering -case "$host_os" in -gnu*) - dnl Disable by default on GNU/Hurd - driglx_direct_default="no" - ;; -cygwin*) - dnl Disable by default on cygwin - driglx_direct_default="no" - ;; -*) - driglx_direct_default="yes" - ;; -esac AC_ARG_ENABLE([driglx-direct], [AS_HELP_STRING([--disable-driglx-direct], [disable direct rendering in GLX and EGL for DRI \ @<:@default=auto@:>@])], [driglx_direct="$enableval"], - [driglx_direct="$driglx_direct_default"]) + [driglx_direct="yes"]) dnl dnl libGL configuration per driver