On 08/05/2017 18:13, Eric Anholt wrote:
Jon Turney <jon.turney-grjqepx9rppajuda+fb...@public.gmane.org> writes:

Signed-off-by: Jon Turney <jon.turney-grjqepx9rppajuda+fb...@public.gmane.org>
---
 meson.build       | 11 ++++++++++-
 meson_options.txt |  3 +++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index c7c9c79c3..5f30b996c 100644
--- a/meson.build
+++ b/meson.build
@@ -251,6 +251,16 @@ if libdrm_dep.found()
   build_modesetting = dependency('libdrm', version: '>= 2.4.46', required: 
false).found()
 endif

+build_xv = false
+if get_option('xv') == 'auto'
+    if (host_machine.system() != 'windows' and
+        host_machine.system() != 'cygwin')
+        build_xv = true
+    endif
+else
+    build_xv = get_option('xv') == 'yes'
+endif

Optional XV seems a bit silly to me.  Could we just do something
like:

build_xv = build_xorg || build_dmx || build_ephyr?

I'm all for reducing the number of configuration options :)

I think I'll just drop this patch.

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to