From 8557f6aed0609493456af330d15a55a6fcf15727 Mon Sep 17 00:00:00 2001 From: nobled Date: Sun, 18 Jul 2010 14:32:23 +0000 Subject: [PATCH] Disable direct rendering on GNU/Hurd The Hurd kernel doesn't have DRM yet. --- configure.ac | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9625913..877cc14 100644 --- a/configure.ac +++ b/configure.ac @@ -558,12 +558,21 @@ else fi dnl Direct rendering or just indirect rendering +case "$host_os" in +gnu*) + dnl Disable by default on GNU/Hurd + driglx_direct_default="no" + ;; +*) + driglx_direct_default="yes" + ;; +esac AC_ARG_ENABLE([driglx-direct], [AS_HELP_STRING([--disable-driglx-direct], [enable direct rendering in GLX and EGL for DRI \ - @<:@default=enabled@:>@])], + @<:@default=auto@:>@])], [driglx_direct="$enableval"], - [driglx_direct="yes"]) + [driglx_direct="$driglx_direct_default"]) dnl dnl libGL configuration per driver -- 1.5.4.3