keyutils meson regression in 8.1.0

Host environment

  • Operating system: Arch Linux
  • OS/kernel version: 6.4.11
  • Architecture: x86_64
  • QEMU flavor: qemu-system-x86_64
  • QEMU version: 8.1.0

Description of problem

keyutils is no longer found by meson during the build.

commit 0db0fbb5 appears to be buggy:

$ grep KEYUTILS config-host.h
#undef CONFIG_KEYUTILS

Steps to reproduce

  1. Have keyutils installed
  2. Build QEMU 8.1.0
  3. Note that keyutils is no longer linked into the build

Thanks