1GPG-ERROR-CONFIG(1) GnuPG GPG-ERROR-CONFIG(1)
2
3
4
6 gpg-error-config - Script to get information about the installed ver‐
7 sion of libgpg-error
8
10 gpg-error-config [options]
11
12
14 gpg-error-config is a tool that is used to configure to determine the
15 compiler and linker flags that should be used to compile and link pro‐
16 grams that use Libgpg-error. It is also used internally to the .m4
17 macros for GNU autoconf that are included with Libgpg-error.
18
19
21 gpg-error-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.31 2019-05-11 GPG-ERROR-CONFIG(1)