summaryrefslogtreecommitdiff
path: root/pkg-config.1
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-06-25 11:50:34 +0000
committerDan Nicholson <dbn.lists@gmail.com>2013-09-21 07:58:02 -0700
commit9f6541134153fa6e8393fc339438a527bb0fbd4d (patch)
tree4ef78fe1403a0045a7a78a0249fe59e873555ed0 /pkg-config.1
parent50c2867f4a6981e085c721d936c96f174f11f415 (diff)
downloadpkg-config-9f6541134153fa6e8393fc339438a527bb0fbd4d.tar.gz
Add missing options to manual
Freedesktop #66155 (https://bugs.freedesktop.org/show_bug.cgi?id=66155)
Diffstat (limited to 'pkg-config.1')
-rw-r--r--pkg-config.120
1 files changed, 18 insertions, 2 deletions
diff --git a/pkg-config.1 b/pkg-config.1
index 3bf69d1..3ee869f 100644
--- a/pkg-config.1
+++ b/pkg-config.1
@@ -9,10 +9,13 @@ pkg-config \- Return metainformation about installed libraries
.SH SYNOPSIS
.PP
.B pkg-config
-[\-\-modversion] [\-\-version] [\-\-help] [\-\-print-errors]
+[\-\-modversion] [\-\-version] [\-\-help]
+[\-\-atleast-pkgconfig-version=VERSION]
+[\-\-print-errors] [\-\-short-errors]
[\-\-silence-errors] [\-\-errors-to-stdout] [\-\-debug]
[\-\-cflags] [\-\-libs] [\-\-libs-only-L]
[\-\-libs-only-l] [\-\-cflags-only-I]
+[\-\-libs-only-other] [\-\-cflags-only-other]
[\-\-variable=VARIABLENAME]
[\-\-define-variable=VARIABLENAME=VARIABLEVALUE]
[\-\-print-variables]
@@ -71,6 +74,9 @@ Displays the version of
.I pkg-config
and terminates.
.TP
+.I "--atleast-pkgconfig-version=VERSION"
+Requires at least the given version of pkg-config.
+.TP
.I "--help"
Displays a help message and terminates.
.TP
@@ -86,6 +92,9 @@ alone (to just print errors encountered locating modules on the
command line) or with other options. The PKG_CONFIG_DEBUG_SPEW
environment variable overrides this option.
.TP
+.I "--short-errors"
+Print short error messages.
+.TP
.I "--silence-errors"
If one or more of the modules on the command line, or their
dependencies, are not found, or if an error occurs in parsing a
@@ -119,7 +128,10 @@ line.
.I "--cflags-only-I"
This prints the -I part of "--cflags". That is, it defines the header
search path but doesn't specify anything else.
-.TP
+.TP
+.I "--cflags-only-other"
+This prints parts of "--cflags" not covered by "--cflags-only-I".
+.TP
.I "--libs"
This option is identical to "--cflags", only it prints the link
flags. As with "--cflags", duplicate flags are merged (maintaining
@@ -136,6 +148,10 @@ the command line. Note that the union of "--libs-only-l" and
"--libs-only-L" may be smaller than "--libs", due to flags such as
-rdynamic.
.TP
+.I "--libs-only-other"
+This prints the parts of "--libs" not covered by "--libs-only-L" and
+"--libs-only-l", such as "--pthread".
+.TP
.I "--variable=VARIABLENAME"
This returns the value of a variable defined in a package's \fI.pc\fP
file. Most packages define the variable "prefix", for example, so you