libgcrypt-config(1)

libgcrypt-config1

Script to get information about the installed version of libgcrypt.

Usage

libgcrypt-config [--prefix [=DIR]] [--exec-prefix [=DIR]] [--version] [--libs] [--cflags] [LIBRARIES]

Overview

libgcrypt-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use libgcrypt. It is also used internally to the .m4 macros for GNU autoconf that are included with libgcrypt.

Options

libgcrypt-config accepts the following options:

--version

Print the currently installed version of libgcrypt on the standard output.

--libs

Print the linker flags that are necessary to link a libgcrypt program.

--cflags

Print the compiler flags that are necessary to compile a libgcrypt program.

--prefix=PREFIX

If specified, use PREFIX instead of the installation prefix that libgcrypt was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs or --cflags options.

--exec-prefix=PREFIX

If specified, use PREFIX instead of the installation exec prefix that libgcrypt was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options.

Releases

11 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–4.0
  2. 5.0–12

From libgcrypt20-dev 1.10.1-3+deb12u1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.