components/gnome/libcroco/files/croco-0.6-config.1
changeset 7862 875bb3f441a5
equal deleted inserted replaced
7861:8b7335f2b6cf 7862:875bb3f441a5
       
     1 .TH croco-0\&.6-config 1 "7 Apr 2017" "SunOS 5.11" "User Commands"
       
     2 .SH "NAME"
       
     3 croco-0\&.6-config \- helper script for building with libcroco
       
     4 .SH "SYNOPSIS"
       
     5 .PP
       
     6 \fBcroco-0\&.6-config\fR [\fB\-\-cflags\fR] [\fB\-\-exec-prefix=\fIdir\fR\fR] [\fB\-\-help\fR] [\fB\-\-libs\fR] [\fB\-\-prefix=\fIdir\fR\fR] [\fB\-\-version\fR]
       
     7 .SH "DESCRIPTION"
       
     8 .PP
       
     9 The \fBcroco-0\&.6-config\fR tool enables you to specify which compiler
       
    10 and linker flags should be used to compile and link programs that use the
       
    11 .BR libcroco-0\&.6 (3lib)
       
    12 library\&.
       
    13 .PP
       
    14 The \fBcroco-0\&.6-config\fR tool is provided for backwards compatibility,
       
    15 but use of it has been deprecated in favor of using the \fBpkg-config\fR(1)
       
    16 tool with the operand \fIlibcroco-0.6\fR.
       
    17 .SH "OPTIONS"
       
    18 .PP
       
    19 The following options are supported:
       
    20 .TP 4
       
    21 .B \-\-cflags
       
    22 Print the compiler flags that are necessary to compile a program
       
    23 using the specified library\&.
       
    24 .TP 4
       
    25 .B \-\-exec-prefix=\fIdir\fR
       
    26 If specified, use \fB\fIdir \fR\fRinstead
       
    27 of the installation \fBexec\fR prefix that the library was
       
    28 built with, when computing the output for the \fB\-\-cflags\fR and \fB\-\-libs\fR options\&. This option must be specified before any \fB\-\-libs\fR or \fB\-\-cflags\fR options\&.
       
    29 .TP 4
       
    30 .B \-\-help
       
    31 Display usage information\&.
       
    32 .TP 4
       
    33 .B \-\-libs
       
    34 Print the linker flags that are necessary to link with the specified library\&.
       
    35 .TP 4
       
    36 \fB\-\-prefix=\fIdir\fR\fR
       
    37 If specified, use \fB\fIdir\fR\fR
       
    38 instead of the installation prefix that the library was built with, when
       
    39 computing the output for the \fB\-\-cflags\fR and \fB\-\-libs\fR options\&.
       
    40 This option must be specified before any \fB\-\-libs\fR or \fB\-\-cflags\fR
       
    41 options\&. This option is also used for the \fBexec\fR prefix, if the
       
    42 \fB\-\-exec-prefix\fR option is not specified\&.
       
    43 .TP 4
       
    44 .B \-\-version
       
    45 Print
       
    46 the currently installed version of the library on the standard output\&.
       
    47 .SH "EXAMPLES"
       
    48 .PP
       
    49 .B "Example 1: Getting the libcroco version"
       
    50 .PP
       
    51 .PP
       
    52 .nf
       
    53 example% \fBcroco-0\&.6-config --version\fR
       
    54 
       
    55  \fI-or-\fR
       
    56 
       
    57 example% \fBpkg-config --modversion libcroco-0.6\fR
       
    58 .fi
       
    59 .PP
       
    60 .B "Example 2: Determining the libraries required to link with libcroco"
       
    61 .PP
       
    62 .PP
       
    63 .nf
       
    64 example% \fBcroco-0\&.6-config --libs\fR
       
    65 
       
    66  \fI-or-\fR
       
    67 
       
    68 example% \fBpkg-config --libs libcroco-0.6\fR
       
    69 .fi
       
    70 .SH "FILES"
       
    71 .TP 30
       
    72 .B /usr/bin/croco-0\&.6-config
       
    73 helper script for 32-bit libcroco
       
    74 .TP 30
       
    75 .B /usr/bin/64/croco-0\&.6-config
       
    76 helper script for 64-bit libcroco
       
    77 .SH "EXIT STATUS"
       
    78 .PP
       
    79 The following exit values are returned:
       
    80 .TP 9
       
    81 .B 0
       
    82 Application exited successfully
       
    83 .TP 9
       
    84 .B >0
       
    85 Application
       
    86 exited with failure
       
    87 .SH "SEE ALSO"
       
    88 .PP
       
    89 .BR pkg-config (1),
       
    90 .BR libcroco-0\&.6 (3lib),
       
    91 .BR attributes (7)
       
    92 .SH "NOTES"
       
    93 .PP
       
    94 This man page was originally written by Chris Waters (xtifr@debian\&.org)
       
    95 for Debian GNU/Linux\&. Rewritten by Brian Cameron, Sun Microsystems Inc\&.,
       
    96 using information from the \fBorbit2-config\fR(1)  man page, by Dick Porter
       
    97 (dick@acm\&.org) and Elliot Lee (sopwith@redhat\&.com)