This commit is contained in:
dtb 2022-11-24 12:54:57 -05:00
parent ca9cfe7045
commit c064f56a84
2 changed files with 16 additions and 6 deletions

View File

@ -37,6 +37,8 @@ include(`multitasking.m4')
include(`pci.m4')
include(`pkg-config.m4')
include(`telepathy.m4')
include(`wifi.m4')

View File

@ -1,10 +1,18 @@
<H2 ID="pkg-config">pkg-config</H2>
<UL>
<LI><A HREF="pkg-config">https://en.wikipedia.org/wiki/Pkg-config</A> (Wikipedia)</LI>
</UL>
_header(`pkg-config')
_bibliography(`
_bentr(`_link(`Guide to pkg-config', `https://people.freedesktop.org/~dbn/pkg-config-guide.html')')
_bentr(`_link(`pkgconf', `https://github.com/pkgconf/pkgconf') (GitHub)')
_bentr(`_link(`pkg-config', `https://www.freedesktop.org/wiki/Software/pkg-config/')')
_bentr(`_link(`pkg-config', `https://en.wikipedia.org/wiki/Pkg-config') (Wikipedia)')
')
<P>
pkg-config provides a way to link to libraries independent of a particular system's directory heirarchy.
pkg-config is the querying interface to the _man(`pc(5)') file format,
which stores metadata relating to the file locations of key files for a language compiler or interpreter.
Its purpose is to facilitate library linking, particularly for C and C++,
without knowledge of where exactly a library's files are stored,
which can vary dramatically between system and package manager.
</P>
<P>
The relevant manual pages on NetBSD are <CODE>pkgconf(1)</CODE>, <CODE>pc(5)</CODE>, and <CODE>pkg.m4(7)</CODE>.
Another implementation of pkg-config, _man(`pkgconf(1)'), is the default on _ref(`#netbsd').
_man(`pkgconf(1)') comes with _man(`pkg.m4(7)'), macros for GNU autoconf.
</P>