Mesa (master): Default to --disable-gallium-r300 if not --with-driver=dri

Marek Olšák mareko at kemper.freedesktop.org
Mon May 2 15:35:41 UTC 2011


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

Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Fri Apr 29 12:52:10 2011 +0100

Default to --disable-gallium-r300 if not --with-driver=dri

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Signed-off-by: Marek Olšák <maraeo at gmail.com>

---

 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3b05ca3..54d9c29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1784,6 +1784,13 @@ AC_ARG_ENABLE([gallium-r300],
         [build gallium r300 @<:@default=build DRI driver only@:>@])],
     [enable_gallium_r300="$enableval"],
     [enable_gallium_r300=auto])
+
+if test "$mesa_driver" != dri ; then
+    if test "x$enable_gallium_r300" = xauto; then
+      enable_gallium_r300=no
+    fi
+fi
+
 if test "x$enable_gallium_r300" != xno; then
     if test "x$MESA_LLVM" = x0; then
         case "$host_cpu" in




More information about the mesa-commit mailing list