pkgconf is generally preferred over pkg-config
pkgconf is a modern drop-in replacement for pkg-config. Build systems like CMake, Meson, and Autotools all support pkgconf to help them find dependencies if the package has pkgconf files.
Installing pkgconf:
- Linux: apt install pkgconf
- macOS: brew install pkgconf