text stringlengths 0 834k |
|---|
=head4 --exists |
Return success (0) if the package exists in the search path. |
=head4 --with-path=PATH |
Prepend C<PATH> to the list of search paths containing C<.pc> files. |
This option can be specified multiple times with different paths, and they will |
all be added. |
=head4 --env-only |
Using this option, B<only> paths specified in C<PKG_CONFIG_PATH> are recognized |
and any hard-coded defaults are ignored. |
=head4 --guess-paths |
Invoke C<gcc> and C<ld> to determine default linker and include paths. Default |
paths will be excluded from explicit -L and -I flags. |
=head4 --define-variable=VARIABLE=VALUE |
Define a variable, overriding any such variable definition in the .pc file, and |
allowing your value to interpolate with subsequent uses. |
=head4 --variable=VARIABLE |
This returns the value of a variable defined in a package's .pc file. |
=head4 --print-variables |
Print all defined variables found in the .pc files. |
=head4 --version |
The target version of C<pkg-config> emulated by this script |
=head4 --real-version |
The actual version of this script |
=head4 --debug |
Print debugging information |
=head4 --silence-errors |
Turn off errors. This is the default for non-libs/cflag/modversion |
arguments |
=head4 --print-errors |
Print errors to STDERR and takes precedence over |
C<--silence-errors> |
=head4 --short-errors |
Ignored, but recognized for compatibility. |
=head4 --errors-to-stdout |
Print errors to STDOUT and takes precedence over |
C<--print-errors> |
=head3 ENVIRONMENT |
the C<PKG_CONFIG_PATH> and C<PKG_CONFIG_LIBDIR> variables are honored and used |
as a colon-delimited (semicolon-delimited on Windows) list of directories with |
contain C<.pc> files. |
Other environment variables recongized by both C<pkg-config> and L<PkgConfig> |
include: |
=over 4 |
=item PKG_CONFIG_ALLOW_SYSTEM_CFLAGS |
=item PKG_CONFIG_ALLOW_SYSTEM_LIBS |
=back |
If L<Win32API::Registry> is installed, on Windows (but not Cygwin) L<PkgConfig> |
will also consult these registry keys. The names are ignored, but the values |
are paths containing C<.pc> files. |
=over 4 |
=item HKEY_CURRENT_USER\Software\pkgconfig\PKG_CONFIG_PATH |
=item HKEY_LOCAL_MACHINE\Software\pkgconfig\PKG_CONFIG_PATH |
=back |
Registry support should be considered somewhat experimental, subject to change |
in the future, though not without good reason. The rationale for this caveat |
is that this feature is documented in several places, but I have yet to find |
a working version that implements this feature. |
=head2 MODULE OPTIONS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.