1GTK+(1) 1.2.10 GTK+(1)
2
3
4
6 gtk-config - script to get information about the installed version of
7 GTK+
8
10 gtk-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs]
11 [--cflags]
12
14 gtk-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 GTK+. It is also used internally to the .m4 macros for GNU
17 autoconf that are included with GTK+.
18
20 gtk-config accepts the following options:
21
22 --version
23 Print the currently installed version of GTK+ on the standard
24 output.
25
26 --libs Print the linker flags that are necessary to link a GTK+ pro‐
27 gram.
28
29 --cflags
30 Print the compiler flags that are necessary to compile a GTK+
31 program.
32
33 --prefix=PREFIX
34 If specified, use PREFIX instead of the installation prefix
35 that GTK+ was built with when computing the output for the
36 --cflags and --libs options. This option is also used for the
37 exec prefix if --exec-prefix was not specified. This option
38 must be specified before any --libs or --cflags options.
39
40 --exec-prefix=PREFIX
41 If specified, use PREFIX instead of the installation exec pre‐
42 fix that GTK+ was built with when computing the output for the
43 --cflags and --libs options. This option must be specified
44 before any --libs or --cflags options.
45
47 gimp(1), gimptool(1)
48
50 Copyright © 1998 Owen Taylor
51
52 Permission to use, copy, modify, and distribute this software and its
53 documentation for any purpose and without fee is hereby granted, pro‐
54 vided that the above copyright notice appear in all copies and that
55 both that copyright notice and this permission notice appear in sup‐
56 porting documentation.
57
58
59
60Version 25 October 1998 GTK+(1)