[Mesa-dev] [PATCH 3/4] configure: error out when building xa only with swrast

Emil Velikov emil.l.velikov at gmail.com
Mon Feb 24 15:05:37 PST 2014


Building to provide accelration using swrast does not make
sense.

Note: update your build script to explicitly mention svga
in the gallium drivers list, if you are building the vmwgfx
xa library.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 6db3c1d..d98dca9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1234,6 +1234,9 @@ dnl
 dnl XA configuration
 dnl
 if test "x$enable_xa" = xyes; then
+    if test "x$gallium_drivers" = xswrast; then
+       AC_MSG_ERROR([Building xa requires at least one non swrast gallium driver])
+    fi
     GALLIUM_STATE_TRACKERS_DIRS="xa $GALLIUM_STATE_TRACKERS_DIRS"
     enable_gallium_loader=yes
     enable_gallium_drm_loader=yes
-- 
1.9.0



More information about the mesa-dev mailing list