components/libgpg-error/Solaris/gpg-error-config.1
author Ivo Raisr <ivo.raisr@oracle.com>
Wed, 05 Oct 2016 05:48:14 -0700
branchs11u3-sru
changeset 7128 62fc6d60f3cf
permissions -rw-r--r--
21124720 Move libgpg-error from Desktop to Userland consolidation

'\" te
.\" Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
.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
.SH "SEE ALSO"
.PP
\fBgpg-error\fR(1),
\fBlibgpg-error\fR(3),
\fBpkg-config\fR(1),
\fBattributes\fR(5)
.SH ""
.PP