0
|
1 |
'\" t
|
|
2 |
.\"
|
|
3 |
.\" Modified to remove references to utilities/functions not included
|
|
4 |
.\" in Solaris, to add Solaris stability classification, and to add
|
|
5 |
.\" note about source availability ([email protected]).
|
|
6 |
.\"
|
|
7 |
.TH GLIB 1 "16 December 1998" Version 1.2.10
|
|
8 |
.SH NAME
|
|
9 |
glib-config - script to get information about the installed version of GLib
|
|
10 |
.SH SYNOPSIS
|
|
11 |
.B glib-config [\-\-prefix\fI[=DIR]\fP] [\-\-exec\-prefix\fI[=DIR]\fP] [\-\-version] [\-\-libs] [\-\-cflags] [LIBRARIES]
|
|
12 |
.SH DESCRIPTION
|
|
13 |
.PP
|
|
14 |
\fIglib-config\fP is a tool that is used to configure to determine
|
|
15 |
the compiler and linker flags that should be used to compile
|
|
16 |
and link programs that use \fIGLib\fP. It is also used internally
|
|
17 |
to the .m4 macros for GNU autoconf that are included with \fIGLib\fP.
|
|
18 |
.
|
|
19 |
.SH OPTIONS
|
|
20 |
.l
|
|
21 |
\fIglib-config\fP accepts the following options:
|
|
22 |
.TP 8
|
|
23 |
.B LIBRARIES
|
|
24 |
\fIGLib\fP has three libraries 'glib', 'gmodule' and 'gthread'. If you specify one of
|
|
25 |
them, only the appropriate things for that library will be printed.
|
|
26 |
.TP 8
|
|
27 |
.B \-\-version
|
|
28 |
Print the currently installed version of \fIGLib\fP on the standard output.
|
|
29 |
.TP 8
|
|
30 |
.B \-\-libs
|
|
31 |
Print the linker flags that are necessary to link a \fIGLib\fP program.
|
|
32 |
.TP 8
|
|
33 |
.B \-\-cflags
|
|
34 |
Print the compiler flags that are necessary to compile a \fIGLib\fP program.
|
|
35 |
.TP 8
|
|
36 |
.B \-\-prefix=PREFIX
|
|
37 |
If specified, use PREFIX instead of the installation prefix that \fIGLib\fP
|
|
38 |
was built with when computing the output for the \-\-cflags and
|
|
39 |
\-\-libs options. This option is also used for the exec prefix
|
|
40 |
if \-\-exec\-prefix was not specified. This option must be specified
|
|
41 |
before any \-\-libs or \-\-cflags options.
|
|
42 |
.TP 8
|
|
43 |
.B \-\-exec\-prefix=PREFIX
|
|
44 |
If specified, use PREFIX instead of the installation exec prefix that
|
|
45 |
\fIGLib\fP was built with when computing the output for the \-\-cflags
|
|
46 |
and \-\-libs options. This option must be specified before any
|
|
47 |
\-\-libs or \-\-cflags options.
|
|
48 |
|
|
49 |
.SH SEE ALSO
|
|
50 |
.BR gtk-config (1)
|
|
51 |
.\"
|
|
52 |
.\" Begin Sun update - remove references not present on Solaris
|
|
53 |
.\" .BR gimp (1),
|
|
54 |
.\" .BR gimptool (1)
|
|
55 |
.\" End Sun update
|
|
56 |
.\"
|
|
57 |
.SH COPYRIGHT
|
|
58 |
Copyright \(co 1998 Owen Taylor
|
|
59 |
|
|
60 |
Permission to use, copy, modify, and distribute this software and its
|
|
61 |
documentation for any purpose and without fee is hereby granted,
|
|
62 |
provided that the above copyright notice appear in all copies and that
|
|
63 |
both that copyright notice and this permission notice appear in
|
|
64 |
supporting documentation.
|
|
65 |
.\" Begin Sun update
|
|
66 |
.SH ATTRIBUTES
|
|
67 |
See
|
|
68 |
.BR attributes (5)
|
|
69 |
for descriptions of the following attributes:
|
|
70 |
.sp
|
|
71 |
.TS
|
|
72 |
box;
|
|
73 |
cbp-1 | cbp-1
|
|
74 |
l | l .
|
|
75 |
ATTRIBUTE TYPE ATTRIBUTE VALUE
|
|
76 |
=
|
11
|
77 |
Availability library/glib1
|
0
|
78 |
=
|
|
79 |
Interface Stability External
|
|
80 |
.TE
|
|
81 |
.SH NOTES
|
|
82 |
Source for glib is available on http://opensolaris.org.
|
|
83 |
.\" End Sun update
|