summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2014-05-09 13:54:09 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-05-14 23:27:27 +0100
commitd32ee3d6eb1a194133c57c072fe06989e5b95412 (patch)
tree53b9ab97d2f202a2c14779157eff4b0afb55dc26
parent7d98af2cbed93f6534cb4eb1f80c8a97a332ad2a (diff)
Always default to --enable-driglx-direct
Always default to --enable-driglx-direct, now it will build driswrast, but won't try to use dri2 on platforms which don't have that.
-rw-r--r--configure.ac16
1 files changed, 1 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index 129fab559d..bada47c8b9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -868,26 +868,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