summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-01-20 16:19:08 +0100
committerChristian König <christian.koenig@amd.com>2016-03-08 13:00:04 +0100
commit37402aa4c6216eec5f60ebef8a8f24fcbd61f646 (patch)
tree1b9445279ac570b084ae9c932a56553e65a66ab5 /configure.ac
parente148a3b6e9e5c5cd941b70edb67e82058a8187a5 (diff)
downloadexternal_mesa3d-37402aa4c6216eec5f60ebef8a8f24fcbd61f646.zip
external_mesa3d-37402aa4c6216eec5f60ebef8a8f24fcbd61f646.tar.gz
external_mesa3d-37402aa4c6216eec5f60ebef8a8f24fcbd61f646.tar.bz2
st/mesa: conditionally enable GL_NV_vdpau_interop
Only enable it when we compile the state tracker as well. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3b77030..49be147 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1735,6 +1735,7 @@ AM_CONDITIONAL(HAVE_ST_XVMC, test "x$enable_xvmc" = xyes)
if test "x$enable_vdpau" = xyes; then
PKG_CHECK_MODULES([VDPAU], [vdpau >= $VDPAU_REQUIRED])
gallium_st="$gallium_st vdpau"
+ DEFINES="$DEFINES -DHAVE_ST_VDPAU"
fi
AM_CONDITIONAL(HAVE_ST_VDPAU, test "x$enable_vdpau" = xyes)