1GPGRT-CONFIG(1) GnuPG GPGRT-CONFIG(1)
2
3
4
6 gpgrt-config - Script to get information about the installed version of
7 libgpg-error
8
10 gpgrt-config [options]
11
12
14 gpgrt-config is a tool that is used to configure to determine the com‐
15 piler and linker flags that should be used to compile and link programs
16 that use Libgpg-error. It is also used internally to the .m4 macros for
17 GNU autoconf that are included with Libgpg-error.
18
19
21 gpgrt-config accepts the following options:
22
23
24
25 --mt Provide output appropriate for multithreaded programs. --mt is
26 only useful when combined with other options, and must be the
27 first option if present.
28
29
30 --version
31 Print the currently installed version of Libgpg-error on the
32 standard output.
33
34
35 --libs Print the linker flags that are necessary to link a program
36 using Libgpg-error.
37
38
39 --cflags
40 Print the compiler flags that are necessary to compile a program
41 using Libgpg-error.
42
43
44 --prefix=prefix
45 If specified, use prefix instead of the installation prefix that
46 Libgpg-error was built with when computing the output for the
47 --cflags and --libs options. This option is also used for the
48 exec prefix if --exec-prefix was not specified. This option
49 must be specified before any --libs or --cflags options.
50
51
52 --exec-prefix=prefix
53 If specified, use prefix instead of the installation exec prefix
54 that Libgpg-error was built with when computing the output for
55 the --cflags and --libs options. This option must be specified
56 before any --libs or --cflags options.
57
58
59Libgpg-error 1.33 2019-01-08 GPGRT-CONFIG(1)