This MR improves the consistency and feature parity between meson build system and autotools. Improvements in meson are a follows:
- INPUTTHREAD is now consistent with autotools. Also fixes missing pthread detection.
- The configuration macros are consistently defined with value (e.g.
#define FOO 1instead of
- Unit tests are now compiled without LTO which is broken in certain configurations.