fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1 @@
#warning Make sure this is not fatal
@@ -0,0 +1,22 @@
project('test default options', 'c',
default_options: {
'bool': true,
'int': 42,
'str': 'foo',
'array': ['foo'],
'werror': true,
},
)
assert(get_option('bool') == true)
assert(get_option('int') == 42)
assert(get_option('str') == 'foo')
assert(get_option('array') == ['foo'])
assert(get_option('werror') == true)
cc = meson.get_compiler('c')
# MSVC does not support #warning
if cc.get_id() != 'msvc'
static_library('foo', 'lib.c', override_options: {'werror': false})
endif
@@ -0,0 +1,4 @@
option('bool', type: 'boolean', value: false)
option('int', type: 'integer', value: 0)
option('str', type: 'string', value: 'bar')
option('array', type: 'array', value: ['bar'])