User Commands libgcrypt-config(1)
NAME
libgcrypt-config - helper script for building with libgcrypt
SYNOPSIS
libgcrypt-config [--version] [--prefix=dir] [--cflags] [--
libs] [--exec-prefix=dir] [--api-version] [--algorithms]
DESCRIPTION
The libgcrypt-config tool is used to determine the compiler
and linker flags that should be used to compile and link programs that use the libgcrypt library. OPTIONS The following options are supported:--cflags Print the compiler flags that are
necessary to compile a program using the specified library.--exec-prefix=dir If specified, use dir instead of the
exec installation prefix that thelibrary was built with, when comput-
ing the output for the --cflags and
--libs options. This option must be
specified before any --libs or --
cflags options.--libs Print the linker flags that are
necessary to link with the specified library.--prefix=dir If specified, use dir instead of the
installation prefix that the library was built with, when computing theoutput for the --cflags and --libs
options. This option must be speci-
fied before any --libs or --cflags
options. This option is also usedfor the exec prefix if the --exec-
prefix option is not specified.--version Print the currently installed ver-
sion of the library on the standard output.SunOS 5.11 Last change: 10 Jan 2008 1
User Commands libgcrypt-config(1)
--api-version Print the currently installed ver-
sion of the api on the standard out-
put.--algorithms Print the currently installed algo-
rithms the library contains on the standard output.EXAMPLES
Example 1: Getting the libgcrypt library versionexample% libgcrypt-config --version
Example 2: Determining the libraries required to link with the libgcrypt libraryexample% libgcrypt-config --libs
EXIT STATUS The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES The following files are used by this application:/usr/bin/libgcrypt-config Executable for libgcrypt
helper scriptATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 10 Jan 2008 2
User Commands libgcrypt-config(1)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWlibgcrypt-devel |
|_____________________________|_____________________________|
| Interface stability | Volatile ||_____________________________|_____________________________|
SEE ALSO
libgcrypt(3), pkg-config(1), attributes(5)
Written by Jeff Cai, Sun Microsystems Inc., 2008.SunOS 5.11 Last change: 10 Jan 2008 3