diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-04-28 06:56:55 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-04-28 06:56:55 +0000 |
| commit | 851cdc362c11c9475f6a8f1c493c2f550c15555c (patch) | |
| tree | 870ff741e9a70bcc722f0b0427e07388a978c38d /INSTALL | |
| parent | 938663ec4cf89443437d3f8997875a0711ff888a (diff) | |
| download | tipidee-851cdc362c11c9475f6a8f1c493c2f550c15555c.tar.gz | |
Move to new system, support pkg-config
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'INSTALL')
| -rw-r--r-- | INSTALL | 35 |
1 files changed, 31 insertions, 4 deletions
@@ -6,13 +6,13 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.3.0 or later: https://skarnet.org/software/skalibs/ - - (optional but recommended): s6-networking version 2.7.0.4 or later: + - skalibs version 2.14.4.0 or later: https://skarnet.org/software/skalibs/ + - (optional but recommended): s6-networking version 2.7.1.0 or later: https://skarnet.org/software/s6-networking/ This software will run on any operating system that implements -POSIX.1-2008, available at: - https://pubs.opengroup.org/onlinepubs/9699919799/ +POSIX.1-2024, available at: + https://pubs.opengroup.org/onlinepubs/9799919799/ * Standard usage @@ -29,6 +29,33 @@ libraries in /usr/lib. off them. +* pkg-config + ---------- + + pkg-config is a tool used by some Linux and BSD distributions, providing +a registry to store policy information about libraries exported by a +software package; that is supposed to make it easier to build software +depending on these libraries, by having a tool to automatically extract +the various flags to pass to the compiler and linker in order to correctly +build against these libraries. + This package supports pkg-config, but you need to explicitly ask for it: + - To use the pkg-config tool to *read* information from the registry and +use it to build *this* package: --with-pkgconfig[=PROG]. This assumes +PROG supports the pkg-config interface (as the popular pkgconf +implementation does). If PROG is not supplied, the PKG_CONFIG environment +variable is used to find the program to use, and if empty/unset, it defaults +to pkg-config. + - To build a .pc file for each library exported by this package, and then +install it to the pkg-config registry, in other words to *write* information +so that other software can use pkg-config to build against this package, +use --enable-pkgconfig. + + pkg-config and slashpackage (see below) configure options can be set +together, but the slashpackage convention provides its own installation +policies that generally make it unnecessary to use pkg-config. You +probably should not mix both. + + * Customization ------------- |
