On 10/29/21 09:13, Thomas Huth wrote: > If sys/soundcard.h is available, it is currently not possible to > disable OSS with the --disable-oss or --without-default-features > configure switches. Improve the check in meson.build to fix this. > > Fixes: 87430d5b13 ("configure, meson: move audio driver detection to Meson") > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > meson.build | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
> oss = not_found > -if not get_option('oss').auto() or have_system > +if get_option('oss').enabled() or (get_option('oss').auto() and have_system) Shouldn't this be 'if have_system and (enabled or auto)' ? > if not cc.has_header('sys/soundcard.h') > # not found > elif targetos == 'netbsd' >