Mesa (master): configure: Always default to --enable-driglx-direct
Jon TURNEY
jturney at kemper.freedesktop.org
Tue Jun 10 09:36:17 UTC 2014
Module: Mesa
Branch: master
Commit: bd526ec9e1becae467fabbbe45076bb20cd12601
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bd526ec9e1becae467fabbbe45076bb20cd12601
Author: Jon TURNEY <jon.turney at dronecode.org.uk>
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 <jon.turney at dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
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
More information about the mesa-commit
mailing list