Hello
While working on a similar script I noticed that we do not runheaderscheck as part of the meson test suite, and that some requiredsettings in Makefile.global aren't populated properly with meson.
The attached patch solves both issues.