blob: 7b4a118f39f9e7da9a6fe631eab17253ef2252ed [file] [log] [blame]
Werner Lemberg232bd942014-12-30 21:44:51 +01001.TH FREETYPE-CONFIG 1 "December 2014" "FreeType 2.5.5"
Werner Lemberg3e5a3742014-01-06 07:53:10 +01002.
3.
4.SH NAME
5.
6freetype-config \- Get information about a libfreetype installation
7.
8.
9.SH SYNOPSIS
10.
11.B freetype-config
12.RI [ options ]
13.
14.
15.SH DESCRIPTION
16.
17.B freetype-config
18returns information needed for compiling and linking programs with the
19FreeType library, such as linker flags and compilation parameters.
20.
21Alternatively, it can be used to query information about the
22FreeType library version installed on the system, such as the
23installation (directory path) prefix or the FreeType version number.
24.
25.PP
26This program is part of the FreeType package.
27.
28.
29.SH OPTIONS
30.
31There are two types of options: output/display selection options, and
32path override options.
33.
34.
35.SS Output selection options
36.
37Only one of the output selection options should be given at each program
38invocation.
39.
40.TP
41.B \-\-prefix
42Return the prefix value of the installed FreeType library (the default
43prefix will be `/usr' in most cases for distribution-installed
44packages).
45.
46.TP
47.B \-\-exec-prefix
48Return the executable prefix value of the installed FreeType library
49(will often be the same as the prefix value).
50.
51.TP
52.B \-\-ftversion
53Return the FreeType version number.
54.
55.TP
56.B \-\-version
57Return the `libtool version' of the FreeType library.
58.
59.TP
60.B \-\-libtool
61Return the library name for linking with libtool.
62.
63.TP
64.B \-\-libs
65Return compiler flags for linking with the installed FreeType library.
66.
67.TP
68.B \-\-cflags
69Return compiler flags for compiling against the installed FreeType library.
70.
Werner Lemberg93ebcbd2014-03-03 07:13:45 +010071.TP
72.B \-\-static
73Make command line options display flags for static linking.
74.
Werner Lemberg3e5a3742014-01-06 07:53:10 +010075.
76.SS Path override options
77.
78These affect any selected output option, except the libtool version
79returned by `--version'.
80.
81.TP
82.BI \-\-prefix= PREFIX
83Override `--prefix' value with
84.IR PREFIX .
85.
86.TP
87.BI \-\-exec-prefix= EPREFIX
88Override `--exec-prefix' value with
89.IR EPREFIX .
90.
91.
Werner Lemberg476a7662014-03-01 16:26:05 +010092.SH BUGS
93In case the libraries FreeType links to are located in non-standard
94directories, the output from option
95.B \-\-libs
96might be incomplete.
97It is thus recommended to use the
98.BR pkg-config (1)
99interface instead, which is able to correctly resolve all dependencies.
100.
101.
102.SH AUTHOR
103.
104This manual page was contributed by Nis Martensen <nis.martensen@web.de>,
105with further refinements from the FreeType team.
106.
107.
Werner Lemberg3e5a3742014-01-06 07:53:10 +0100108.\" eof