blob: c50f824034f2876802e82a26d8872b09f99011ca [file] [log] [blame]
Alexandre Lisionddd731e2014-01-31 11:50:08 -05001.\" ucommon-config - script to get information about common c++ library
2.\" Copyright (c) 2009 David Sugar <dyfet@gnutelephony.org>
3.\"
4.\" This manual page is free software; you can redistribute it and/or modify
5.\" it under the terms of the GNU General Public License as published by
6.\" the Free Software Foundation; either version 3 of the License, or
7.\" (at your option) any later version.
8.\"
9.\" This program is distributed in the hope that it will be useful,
10.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
11.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12.\" GNU General Public License for more details.
13.\"
14.\" You should have received a copy of the GNU General Public License
15.\" along with this program; if not, write to the Free Software
16.\" Foundation, Inc.,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17.\"
18.\" This manual page is written especially for Debian GNU/Linux.
19.\"
20.TH commoncpp-config "1" "July 2009" "GNU Common C++ Configuration" "GNU Telephony"
21.SH NAME
22commoncpp-config \- script to get information about common c++ library
23.SH SYNOPSIS
24.B commoncpp-config
25.BI [--prefix[= DIR ]]
26.BI [--exec-prefix[= DIR ]]
27.B [--version]
28.B [--cflags]
29.B [--libs]
30.B [--includes]
31.SH DESCRIPTION
32.B commoncpp-config
33is a tool that is used to configure to determine the compiler and
34linker flags that should be used to compile and link programs that use the
35.BR common c++
36library.
37.IR Note :
38.B commoncpp-config
39is provided for compatibility with legacy software only. Current
40projects should use
41.B pkg-config
42instead!
43.SH OPTIONS
44.TP
45.B --version
46Print the currently installed version of
47.B common c++
48on the standard output.
49.TP
50.B --includes
51Print the include directory for
52.BR common c++
53headers
54.TP
55.B --libs
56Print the linker flags that are necessary to link a program with
57.BR common c++
58.TP
59.B --cflags
60Print the compiler flags that are necessary to compile a program with
61.BR common c++
62.TP
63.BI --prefix= PREFIX
64If specified, use
65.I PREFIX
66instead of the installation prefix that
67.B common c++
68was built with when computing the output for the
69.B --cflags
70and
71.B --libs
72options. This option is also used for the exec prefix if
73.B --exec-prefix
74was not specified. This option must be specified before any
75.B --libs
76or
77.B --cflags
78options.
79.TP
80.BI --exec-prefix= PREFIX
81If specified, use
82.I PREFIX
83instead of the installation exec prefix that
84.B common c++
85was built with when computing the output for the
86.B --cflags
87and
88.B --libs
89options. This option must be specified before any
90.B --libs
91or
92.B --cflags
93options.
94.SH "SEE ALSO"
95.IR pkg-config (1).
96.SH AUTHOR
97.B commoncpp-config
98was written by David Sugar <dyfet@gnutelephony.org>.
99.SH COPYRIGHT
100Copyright \(co 2009 David Sugar, Tycho Softworks.
101.br
102This is free software; see the source for copying conditions. There is NO
103warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
104PURPOSE.
105