diff --git a/wiki/unix/index.m4 b/wiki/unix/index.m4 index ee5eb53..f00cf78 100644 --- a/wiki/unix/index.m4 +++ b/wiki/unix/index.m4 @@ -37,6 +37,8 @@ include(`multitasking.m4') include(`pci.m4') +include(`pkg-config.m4') + include(`telepathy.m4') include(`wifi.m4') diff --git a/wiki/unix/pkg-config.m4 b/wiki/unix/pkg-config.m4 index 41ac434..873c298 100644 --- a/wiki/unix/pkg-config.m4 +++ b/wiki/unix/pkg-config.m4 @@ -1,10 +1,18 @@ -

pkg-config

- +_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)') +')

-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.

-The relevant manual pages on NetBSD are pkgconf(1), pc(5), and pkg.m4(7). +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.