version 1.6, 2006/11/28 08:11:04 |
version 1.7, 2006/11/29 14:58:32 |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl -debug |
.It Cm --atleast-pkgconfig-version Ar version |
Enable internal development and debugging messages. |
|
.It Fl -help |
|
Print a help message and exit. |
|
.It Fl -usage |
|
Print a help message and exit. |
|
.It Fl -list-all |
|
List all installed packages and exit. |
|
.It Fl -version |
|
Print version of |
|
.Nm |
|
and exit. |
|
.It Fl -errors-to-stdout |
|
Direct error messages to stdout rather than stderr. |
|
.It Fl -print-errors |
|
Print error messages and exit with an error when errors occur. |
|
This is the default. |
|
.It Fl -silence-errors |
|
Do not print error messages, just exit with an error. |
|
.It Fl -atleast-pkgconfig-version Ar version |
|
Exit with error if the version of |
Exit with error if the version of |
.Nm |
.Nm |
is greater than or equal to the specified version. |
is greater than or equal to the specified version. |
.It Fl -cflags |
.It Cm --atleast-version Ar version |
|
Exit with error if the specified package's version is not greater than |
|
or equal to the specified version. |
|
.It Cm --cflags |
Return all compiler flags required to compile against the package. |
Return all compiler flags required to compile against the package. |
.It Fl -cflags-only-I |
.It Cm --cflags-only-I |
Return only the include path flags required to compile against the package. |
Return only the include path flags required to compile against the package. |
.It Fl -cflags-only-other |
.It Cm --cflags-only-other |
Return all compiler flags, other than the include path flags, required to |
Return all compiler flags, other than the include path flags, required to |
compile against the package. |
compile against the package. |
.It Fl -libs |
.It Cm --debug |
|
Enable internal development and debugging messages. |
|
.It Cm --errors-to-stdout |
|
Direct error messages to stdout rather than stderr. |
|
.It Cm --exists |
|
Return true if all the specified packages are installed. |
|
This is the default if no other option is given. |
|
.It Cm --help |
|
Print a help message and exit. |
|
.It Cm --libs |
Return all linker flags required to linker against the package. |
Return all linker flags required to linker against the package. |
.It Fl -libs-only-l |
.It Cm --libs-only-l |
Return only the library (-lwhatever) flags required to link against |
Return only the library (-lwhatever) flags required to link against |
the package. |
the package. |
.It Fl -libs-only-L |
.It Cm --libs-only-L |
Return only the library path (-L/path/to/lib) flags required to link |
Return only the library path (-L/path/to/lib) flags required to link |
against the package. |
against the package. |
.It Fl -libs-only-other |
.It Cm --libs-only-other |
Return linker flags, other than the library and path flags, required to |
Return linker flags, other than the library and path flags, required to |
compile against the package. |
compile against the package. |
.It Fl -exists |
.It Cm --list-all |
Return true if all the specified packages are installed. |
List all installed packages and exit. |
This is the default if no other option is given. |
.It Cm --modversion |
.It Fl -uninstalled |
|
Allow packages not controlled by |
|
.Nm |
|
to be used. |
|
.It Fl -static |
|
Return the compiler and/or linker flags required for static linking. |
|
.It Fl -atleast-version Ar version |
|
Exit with error if the specified package's version is not greater than |
|
or equal to the specified version. |
|
.It Fl -modversion |
|
Fetch package version. |
Fetch package version. |
If no package is given, |
If no package is given, |
.Nm |
.Nm |
returns its own version. |
returns its own version. |
.It Fl -variable Ar name |
.It Cm --print-errors |
|
Print error messages and exit with an error when errors occur. |
|
This is the default. |
|
.It Cm --silence-errors |
|
Do not print error messages, just exit with an error. |
|
.It Cm --static |
|
Return the compiler and/or linker flags required for static linking. |
|
.It Cm --uninstalled |
|
Allow packages not controlled by |
|
.Nm |
|
to be used. |
|
.It Cm --usage |
|
Print a help message and exit. |
|
.It Cm --variable Ar name |
Fetch the value of the named variable. |
Fetch the value of the named variable. |
|
.It Cm --version |
|
Print version of |
|
.Nm |
|
and exit. |
.El |
.El |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
.Bl -tag -width PKG_CONFIG_PATH |
.Bl -tag -width PKG_CONFIG_PATH |