1 .TH GLIB 1 "16 December 1998" Version @VERSION@
3 glib-config - script to get information about the installed version of GLib
5 .B glib-config [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-cflags] [LIBRARIES]
8 \fIglib-config\fP is a tool that is used to configure to determine
9 the compiler and linker flags that should be used to compile
10 and link programs that use \fIGLib\fP. It is also used internally
11 to the .m4 macros for GNU autoconf that are included with \fIGLib\fP.
15 \fIglib-config\fP accepts the following options:
18 \fIGLib\fP has three libraries 'glib', 'gmodule' and 'gthread'. If you specify one of
19 them, only the appropriate things for that library will be printed.
22 Print the currently installed version of \fIGLib\fP on the standard output.
25 Print the linker flags that are necessary to link a \fIGLib\fP program.
28 Print the compiler flags that are necessary to compile a \fIGLib\fP program.
31 If specified, use PREFIX instead of the installation prefix that \fIGLib\fP
32 was built with when computing the output for the \-\-cflags and
33 \-\-libs options. This option is also used for the exec prefix
34 if \-\-exec\-prefix was not specified. This option must be specified
35 before any \-\-libs or \-\-cflags options.
37 .B \-\-exec\-prefix=PREFIX
38 If specified, use PREFIX instead of the installation exec prefix that
39 \fIGLib\fP was built with when computing the output for the \-\-cflags
40 and \-\-libs options. This option must be specified before any
41 \-\-libs or \-\-cflags options.
47 Copyright \(co 1998 Owen Taylor
49 Permission to use, copy, modify, and distribute this software and its
50 documentation for any purpose and without fee is hereby granted,
51 provided that the above copyright notice appear in all copies and that
52 both that copyright notice and this permission notice appear in
53 supporting documentation.