summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-13 04:25:17 +0000
committerEmil Velikov <[email protected]>2014-03-31 12:21:30 +0100
commite62b7d38a1d9901e1c8b2cb79b815835cf767740 (patch)
tree2e03b2832de7b6ae09109248f30d0fa1a0f10e73
parent3dc174e85e4d81a37b053183142e87afb93eb4bf (diff)
configure: autodetect video state-trackers when non swrast driver is present
It makes little sense to enable the vdpau, xvmc and omx state-trackers as they do not make use of (don't work with) the software driver. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d7dbd1ede72..3055de67a7e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1273,7 +1273,7 @@ AM_CONDITIONAL(HAVE_OPENVG, test "x$enable_openvg" = xyes)
dnl
dnl Gallium G3DVL configuration
dnl
-if test -n "$with_gallium_drivers"; then
+if test -n "$with_gallium_drivers" && ! echo "$with_gallium_drivers" | grep -q 'swrast'; then
if test "x$enable_xvmc" = xauto; then
PKG_CHECK_EXISTS([xvmc], [enable_xvmc=yes], [enable_xvmc=no])
fi