Alexandre Lision | ddd731e | 2014-01-31 11:50:08 -0500 | [diff] [blame] | 1 | .\" 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 |
| 22 | commoncpp-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 |
| 33 | is a tool that is used to configure to determine the compiler and |
| 34 | linker flags that should be used to compile and link programs that use the |
| 35 | .BR common c++ |
| 36 | library. |
| 37 | .IR Note : |
| 38 | .B commoncpp-config |
| 39 | is provided for compatibility with legacy software only. Current |
| 40 | projects should use |
| 41 | .B pkg-config |
| 42 | instead! |
| 43 | .SH OPTIONS |
| 44 | .TP |
| 45 | .B --version |
| 46 | Print the currently installed version of |
| 47 | .B common c++ |
| 48 | on the standard output. |
| 49 | .TP |
| 50 | .B --includes |
| 51 | Print the include directory for |
| 52 | .BR common c++ |
| 53 | headers |
| 54 | .TP |
| 55 | .B --libs |
| 56 | Print the linker flags that are necessary to link a program with |
| 57 | .BR common c++ |
| 58 | .TP |
| 59 | .B --cflags |
| 60 | Print the compiler flags that are necessary to compile a program with |
| 61 | .BR common c++ |
| 62 | .TP |
| 63 | .BI --prefix= PREFIX |
| 64 | If specified, use |
| 65 | .I PREFIX |
| 66 | instead of the installation prefix that |
| 67 | .B common c++ |
| 68 | was built with when computing the output for the |
| 69 | .B --cflags |
| 70 | and |
| 71 | .B --libs |
| 72 | options. This option is also used for the exec prefix if |
| 73 | .B --exec-prefix |
| 74 | was not specified. This option must be specified before any |
| 75 | .B --libs |
| 76 | or |
| 77 | .B --cflags |
| 78 | options. |
| 79 | .TP |
| 80 | .BI --exec-prefix= PREFIX |
| 81 | If specified, use |
| 82 | .I PREFIX |
| 83 | instead of the installation exec prefix that |
| 84 | .B common c++ |
| 85 | was built with when computing the output for the |
| 86 | .B --cflags |
| 87 | and |
| 88 | .B --libs |
| 89 | options. This option must be specified before any |
| 90 | .B --libs |
| 91 | or |
| 92 | .B --cflags |
| 93 | options. |
| 94 | .SH "SEE ALSO" |
| 95 | .IR pkg-config (1). |
| 96 | .SH AUTHOR |
| 97 | .B commoncpp-config |
| 98 | was written by David Sugar <dyfet@gnutelephony.org>. |
| 99 | .SH COPYRIGHT |
| 100 | Copyright \(co 2009 David Sugar, Tycho Softworks. |
| 101 | .br |
| 102 | This is free software; see the source for copying conditions. There is NO |
| 103 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 104 | PURPOSE. |
| 105 | |