| Current File : //usr/man/man1/libgcrypt-config.1 |
'\" te
.TH libgcrypt-config 1 "10 Jan 2008" "SunOS 5.11" "User Commands"
.SH "NAME"
libgcrypt-config \- helper script for building with \fBlibgcrypt\fR
.SH "SYNOPSIS"
.PP
\fBlibgcrypt-config\fR [-\fB-version\fR] [-\fB-prefix=\fIdir\fR\fR] [-\fB-cflags\fR] [-\fB-libs\fR] [-\fB-exec-prefix=\fIdir\fR\fR] [-\fB-api-version\fR] [-\fB-algorithms\fR]
.SH "DESCRIPTION"
.PP
The \fBlibgcrypt-config\fR tool is used to determine the compiler
and linker flags that should be used to compile and link programs that use
the \fBlibgcrypt\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
.sp
.ne 2
.mk
\fB-\fB-api-version\fR\fR
.in +24n
.rt
Print
the currently installed version of the api on the standard output\&.
.sp
.sp 1
.in -24n
.sp
.ne 2
.mk
\fB-\fB-algorithms\fR\fR
.in +24n
.rt
Print
the currently installed algorithms the library contains on the standard output\&.
.sp
.sp 1
.in -24n
.SH "EXAMPLES"
.PP
\fBExample 1: Getting the libgcrypt library version\fR
.PP
.PP
.nf
example% \fBlibgcrypt-config --version\fR
.fi
.PP
\fBExample 2: Determining the libraries required to link
with the libgcrypt library\fR
.PP
.PP
.nf
example% \fBlibgcrypt-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/libgcrypt-config\fR \fR
.in +32n
.rt
Executable for \fBlibgcrypt\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
AvailabilitySUNWlibgcrypt-devel
Interface stabilityVolatile
.TE
.sp
.SH "SEE ALSO"
.PP
\fBlibgcrypt\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/354 libgcrypt