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.
17
18 This tool is now obsolete. Instead, please use pkg-config with gpg-er‐
19 ror.pc for your new program, or use gpg-error.m4 which uses gpgrt-con‐
20 fig and gpg-error.pc internally.
21
22
24 gpg-error-config accepts the following options:
25
26
27
28 --mt Provide output appropriate for multithreaded programs. --mt is
29 only useful when combined with other options, and must be the
30 first option if present.
31
32
33 --version
34 Print the currently installed version of Libgpg-error on the
35 standard output.
36
37
38 --libs Print the linker flags that are necessary to link a program us‐
39 ing Libgpg-error.
40
41
42 --cflags
43 Print the compiler flags that are necessary to compile a program
44 using Libgpg-error.
45
46
47 --prefix=prefix
48 If specified, use prefix instead of the installation prefix that
49 Libgpg-error was built with when computing the output for the
50 --cflags and --libs options. This option is also used for the
51 exec prefix if --exec-prefix was not specified. This option
52 must be specified before any --libs or --cflags options.
53
54
55 --exec-prefix=prefix
56 If specified, use prefix instead of the installation exec prefix
57 that Libgpg-error was built with when computing the output for
58 the --cflags and --libs options. This option must be specified
59 before any --libs or --cflags options.
60
61
62Libgpg-error 1.47-unknown 2023-07-20 GPG-ERROR-CONFIG(1)