Skip to content

pkg.m4.in: PKG_CHECK_MODULES provides modversion

Projects using PKG_CHECK_MODULES wants to add compilation information to their binaries, as part of the compilation information the projects wants to disclose dependency versions. Currently, the projects have to resolve dependency versions themselves when using pkg-config.

With this patch PKG_CHECK_MODULES now defines a $PKG_VERSION variable that represents --modversion.

Merge request reports