[Mesa-dev] [PATCH 2/2] configure: Always default to --enable-driglx-direct
Jon TURNEY
jon.turney at dronecode.org.uk
Tue Jun 3 06:14:11 PDT 2014
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>
---
configure.ac | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/configure.ac b/configure.ac
index d2adb15..af081b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -896,26 +896,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
--
1.8.5.5
More information about the mesa-dev
mailing list