Mesa (master): configure: set HAVE_COMMON_DRI when building only swrast

Vinson Lee vlee at kemper.freedesktop.org
Thu Oct 3 23:52:57 UTC 2013


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

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Thu Oct  3 23:23:20 2013 +0100

configure: set HAVE_COMMON_DRI when building only swrast

With commit cb1febb07, I have incorrectly removed HAVE_COMMON_DRI
assuming that swrast does not need to build the translations for
driconf options, as effectively swrast/drisw does not use them.

With the incoming unification work of dri and drisw, it makes
sense just to revert the offending hunk.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70057
Reported-by: Vinson Lee <vlee at freedesktop.org>
Tested-by: Vinson Lee <vlee at freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

---

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

diff --git a/configure.ac b/configure.ac
index e7c8223..9546163 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1823,6 +1823,7 @@ if test "x$with_gallium_drivers" != x; then
 
             if test "x$enable_dri" = xyes; then
                 GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS dri-swrast"
+                HAVE_COMMON_DRI=yes
             fi
             if test "x$enable_vdpau" = xyes; then
                 GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS vdpau-softpipe"




More information about the mesa-commit mailing list