From 48ad2278c7a1fc2a9f5520371188911ef044b32c Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sun, 16 Oct 2022 09:36:21 -0500 Subject: [PATCH] wscript: remove some bogus configure options It turns out that wayland-scanner and wayland-protocols are both exposed as configure options in waf meaning you can --enable/--disable them at configure time. This is pretty nonsensical. If you want to control wayland in the build, you should just use --enable-/--disable-wayland. wayland-scanner and wayland-protocols should just be typical checks like in the meson build. --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 5d46507d82..851b1a5c7b 100644 --- a/wscript +++ b/wscript @@ -516,11 +516,11 @@ video_output_features = [ 'deps': 'gbm.h', 'func': check_pkg_config('gbm', '>= 17.1.0'), } , { - 'name': '--wayland-scanner', + 'name': 'wayland-scanner', 'desc': 'wayland-scanner', 'func': check_program('wayland-scanner', 'WAYSCAN') } , { - 'name': '--wayland-protocols', + 'name': 'wayland-protocols', 'desc': 'wayland-protocols', 'func': check_wl_protocols } , {