diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2015-09-26 13:08:04 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2015-09-26 15:02:36 -0700 |
commit | b51cd2165d8e1478fa6b67115e5a79c432b39c9b (patch) | |
tree | 66d69967003b678e89925982f765b93484f95978 /pkg-config-guide.html | |
parent | 7e8b0bf6d9e003fe9877fac55ce31205d2433e18 (diff) | |
download | pkg-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-guide.html')
-rw-r--r-- | pkg-config-guide.html | 4 |
1 files changed, 4 insertions, 0 deletions
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.</p> <ul> + <li><b>PKG_PREREQ(MIN-VERSION)</b>: Ensures that the version of the + <tt>pkg-config</tt> <tt>autoconf</tt> macros in use is at least + <tt>MIN-VERSION</tt>.</li> + <li><b>PKG_PROG_PKG_CONFIG([MIN-VERSION])</b>: Locates the <tt>pkg-config</tt> tool on the system and checks the version for compatibility.</li> |