2 .TH libart2-config 1 "10 Jan 2003" "SunOS 5.11" "User Commands"
4 libart2-config \- helper script for building with \fBlibart2\fR
7 \fBlibart2-config\fR [-\fB-version\fR] [-\fB-prefix=\fIdir\fR\fR] [-\fB-cflags\fR] [-\fB-libs\fR] [-\fB-exec-prefix=\fIdir\fR\fR]
10 The \fBlibart2-config\fR tool is used to determine the compiler
11 and linker flags that should be used to compile and link programs that use
12 the \fBlibart2\fR library\&.
15 The following options are supported:
22 Print the compiler flags that are necessary to compile a program using the
30 \fB-\fB-exec-prefix=\fIdir\fR\fR\fR
33 If specified, use \fIdir\fR instead of the
34 \fBexec\fR installation prefix that the library was built with,
35 when computing the output for the -\fB-cflags\fR and
36 -\fB-libs\fR options\&. This option must be specified before any
37 -\fB-libs\fR or -\fB-cflags\fR options\&.
47 Print the linker flags that are necessary to link with the specified library\&.
54 \fB-\fB-prefix=\fIdir\fR\fR\fR
57 If specified, use \fIdir\fR instead of the installation
58 prefix that the library was built with, when computing the output for the
59 -\fB-cflags\fR and -\fB-libs\fR options\&. This option must
60 be specified before any -\fB-libs\fR or -\fB-cflags\fR
61 options\&. This option is also used for the \fBexec\fR prefix if the
62 -\fB-exec-prefix\fR option is not specified\&.
72 Print the currently installed version of the library on the standard output\&.
78 \fBExample 1: Getting the libart2 library version\fR
82 example% \fBlibart2-config --version\fR
85 \fBExample 2: Determining the libraries required to link with the libart2 library\fR
89 example% \fBlibart2-config --libs\fR
93 The following exit values are returned:
100 Application exited successfully
110 Application exited with failure
116 The following files are used by this application:
120 \fB\fB/usr/bin/libart2-config\fR\fR
123 Executable for \fBlibart2\fR helper script
130 \fBlibart_lgpl_2\fR(3),
134 This man page was originally written by Chris Waters (xtifr@debian\&.org) for
135 Debian GNU/Linux\&. Rewritten by Brian Cameron, Sun Microsystems Inc\&., using
137 \fBorbit2-config\fR(1)
138 man page, by Dick Porter (dick@acm\&.org) and Elliot Lee (sopwith@redhat\&.com)\&.
139 \fBlibart2\fR\(emspecific text was written by Christian
140 Marillat (marillat@debian\&.org) for Debian GNU/Linux\&.
141 ...\" created by instant / solbook-to-man, Tue 27 Jan 2015, 17:22