Mesa (9.1): configure.ac: Build dricommon for gallium swrast

Andreas Boll ab at kemper.freedesktop.org
Thu Jun 6 07:23:27 UTC 2013


Module: Mesa
Branch: 9.1
Commit: 4ed7e384347268ef2a578dd33326c6940e091dab
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ed7e384347268ef2a578dd33326c6940e091dab

Author: Mike Stroyan <mike at LunarG.com>
Date:   Mon Mar 18 13:34:35 2013 -0600

configure.ac: Build dricommon for gallium swrast

When building dri-swrast, use gallium_check_st to set HAVE_COMMON_DRI.
Commit 07f2dee7 added setting of HAVE_COMMON_DRI in gallium_check_st.
But the dri-swrast case did not use gallium_check_st.
So dri/common was still not built.

v2: set HAVE_COMMON_DRI=yes instead of using gallium_check_st

NOTE: This is a candidate for the 9.1 branch.
      (Depends on 7de78ce5 and 07f2dee)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61821
Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
(cherry picked from commit 962204961def009610e60b23d40a22f064214dc7)

---

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

diff --git a/configure.ac b/configure.ac
index 9ee8b10..fa55ea8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1868,6 +1868,7 @@ if test "x$with_gallium_drivers" != x; then
 
             if test "x$HAVE_ST_DRI" = xyes; then
                 GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS dri-swrast"
+                HAVE_COMMON_DRI=yes
             fi
             if test "x$HAVE_ST_VDPAU" = xyes; then
                 GALLIUM_TARGET_DIRS="$GALLIUM_TARGET_DIRS vdpau-softpipe"




More information about the mesa-commit mailing list