Module: Mesa
Branch: master
Commit: bd526ec9e1becae467fabbbe45076bb20cd12601
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd526ec9e1becae467fabbbe45076bb20cd12601

Author: Jon TURNEY <[email protected]>
Date:   Fri May  9 13:54:09 2014 +0100

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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Matt Turner <[email protected]>

---

 configure.ac |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/configure.ac b/configure.ac
index bb12a2a..1525b20 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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to