summaryrefslogtreecommitdiff
path: root/pkg-config.1
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2015-09-26 13:08:04 -0700
committerDan Nicholson <dbn.lists@gmail.com>2015-09-26 15:02:36 -0700
commitb51cd2165d8e1478fa6b67115e5a79c432b39c9b (patch)
tree66d69967003b678e89925982f765b93484f95978 /pkg-config.1
parent7e8b0bf6d9e003fe9877fac55ce31205d2433e18 (diff)
downloadpkg-config-b51cd2165d8e1478fa6b67115e5a79c432b39c9b.tar.gz
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
Diffstat (limited to 'pkg-config.1')
-rw-r--r--pkg-config.16
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg-config.1 b/pkg-config.1
index 74bb70a..11e6292 100644
--- a/pkg-config.1
+++ b/pkg-config.1
@@ -423,6 +423,12 @@ VARIABLE-PREFIX will simply use the _LIBS and _CFLAGS variables set from
the previous usage without calling \fIpkg-config\fP again.
.\"
.TP
+.I "PKG_PREREQ(MIN-VERSION)"
+Checks that the version of the pkg-config autoconf macros in use is at
+least MIN-VERSION. This can be used to ensure a particular pkg-config
+macro will be available.
+.\"
+.TP
.I "PKG_PROG_PKG_CONFIG([MIN-VERSION])"
Defines the PKG_CONFIG variable to the best pkg-config available,