summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 52aaac514..364c6148e 100644
--- a/meson.build
+++ b/meson.build
@@ -353,12 +353,17 @@ if build_xsecurity
endif
endif
+build_xv = get_option('xv')
+build_xvmc = get_option('xvmc')
+if not build_xv
+ build_xvmc = false
+endif
+
# XXX: Allow configuration of these.
build_apm = false
build_acpi = false
build_mitshm = true
build_xselinux = false
-build_xv = true
build_dga = false
build_xf86vidmode = xf86vidmodeproto_dep.found()