'\" te .TH gpg-error-config 1 "10 Jan 2008" "SunOS 5.11" "User Commands" .SH "NAME" gpg-error-config \- helper script for building with \fBlibgpg-error\fR .SH "SYNOPSIS" .PP \fBgpg-error-config\fR [-\fB-version\fR] [-\fB-prefix=\fIdir\fR\fR] [-\fB-cflags\fR] [-\fB-libs\fR] [-\fB-exec-prefix=\fIdir\fR\fR] .SH "DESCRIPTION" .PP The \fBgpg-error-config\fR tool is used to determine the compiler and linker flags that should be used to compile and link programs that use the \fBlibgpg-error\fR library\&. .SH "OPTIONS" .PP The following options are supported: .sp .ne 2 .mk \fB-\fB-cflags\fR\fR .in +24n .rt Print the compiler flags that are necessary to compile a program using the specified library\&. .sp .sp 1 .in -24n .sp .ne 2 .mk \fB-\fB-exec-prefix=\fIdir\fR\fR\fR .in +24n .rt If specified, use \fIdir\fR instead of the \fBexec\fR installation prefix that the library was built with, when computing the output for the -\fB-cflags\fR and -\fB-libs\fR options\&. This option must be specified before any -\fB-libs\fR or -\fB-cflags\fR options\&. .sp .sp 1 .in -24n .sp .ne 2 .mk \fB-\fB-libs\fR\fR .in +24n .rt Print the linker flags that are necessary to link with the specified library\&. .sp .sp 1 .in -24n .sp .ne 2 .mk \fB-\fB-prefix=\fIdir\fR\fR\fR .in +24n .rt If specified, use \fIdir\fR instead of the installation prefix that the library was built with, when computing the output for the -\fB-cflags\fR and -\fB-libs\fR options\&. This option must be specified before any -\fB-libs\fR or -\fB-cflags\fR options\&. This option is also used for the \fBexec\fR prefix if the -\fB-exec-prefix\fR option is not specified\&. .sp .sp 1 .in -24n .sp .ne 2 .mk \fB-\fB-version\fR\fR .in +24n .rt Print the currently installed version of the library on the standard output\&. .sp .sp 1 .in -24n .SH "EXAMPLES" .PP \fBExample 1: Getting the libgpg-error library version\fR .PP .PP .nf example% \fBgpg-error-config --version\fR .fi .PP \fBExample 2: Determining the libraries required to link with the libgpg-error library\fR .PP .PP .nf example% \fBgpg-error-config --libs\fR .fi .SH "EXIT STATUS" .PP The following exit values are returned: .sp .ne 2 .mk \fB\fB0\fR\fR .in +9n .rt Application exited successfully .sp .sp 1 .in -9n .sp .ne 2 .mk \fB\fB>0\fR\fR .in +9n .rt Application exited with failure .sp .sp 1 .in -9n .SH "FILES" .PP The following files are used by this application: .sp .ne 2 .mk \fB\fB/usr/bin/gpg-error-config\fR \fR .in +32n .rt Executable for \fBlibgpg-error\fR helper script .sp .sp 1 .in -32n .SH "ATTRIBUTES" .PP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS tab() allbox; cw(2.750000i)| cw(2.750000i) lw(2.750000i)| lw(2.750000i). ATTRIBUTE TYPEATTRIBUTE VALUE Availabilitylibrary/security/libgpg-error Interface stabilityVolatile .TE .sp .SH "SEE ALSO" .PP \fBgpg-error\fR(1), \fBlibgpg-error\fR(3), \fBpkg-config\fR(1), \fBattributes\fR(5) .SH "" .PP Written by Jeff Cai, Sun Microsystems Inc\&., 2008\&. ...\" created by instant / solbook-to-man, Wed 18 Dec 2013, 18:59 ...\" LSARC 2008/207 GNOME 2.22