From b51cd2165d8e1478fa6b67115e5a79c432b39c9b Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Sat, 26 Sep 2015 13:08:04 -0700 Subject: [PATCH] m4: Add PKG_PREREQ version checking macro While PKG_PROG_PKG_CONFIG checks the version of pkg-config available at build time, it doesn't check the version of the pkg-config macros being used. PKG_PREREQ (like AC_PREREQ or LT_PREREQ) can be used to check the version of the macros in use when configure is being generated by the developer. https://bugs.freedesktop.org/show_bug.cgi?id=89267 --- pkg-config-guide.html | 4 ++++ pkg-config.1 | 6 ++++++ pkg.m4.in | 21 +++++++++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/pkg-config-guide.html b/pkg-config-guide.html index 16c43e2..c666fe5 100644 --- a/pkg-config-guide.html +++ b/pkg-config-guide.html @@ -342,6 +342,10 @@ $ pkg-config --modversion hello projects.