'\" te
.TH libart2-config 1 "10 Jan 2003" "SunOS 5.11" "User Commands"
.SH "NAME"
libart2-config \- helper script for building with \fBlibart2\fR
.SH "SYNOPSIS"
.PP
\fBlibart2-config\fR [-\fB-version\fR] [-\fB-prefix=\fIdir\fR\fR] [-\fB-cflags\fR] [-\fB-libs\fR] [-\fB-exec-prefix=\fIdir\fR\fR]
.SH "DESCRIPTION"
.PP
The \fBlibart2-config\fR tool is used to determine the compiler
and linker flags that should be used to compile and link programs that use
the \fBlibart2\fR library\&.
.SH "OPTIONS"
.PP
The following options are supported:
.sp
.ne 2
.mk
\fB-\fB-cflags\fR\fR
.in +24n
.rt
Print the compiler flags that are necessary to compile a program using the
specified library\&.
.sp
.sp 1
.in -24n
.sp
.ne 2
.mk
\fB-\fB-exec-prefix=\fIdir\fR\fR\fR
.in +24n
.rt
If specified, use \fIdir\fR instead of the
\fBexec\fR installation prefix that the library was 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\&.
.sp
.sp 1
.in -24n
.sp
.ne 2
.mk
\fB-\fB-libs\fR\fR
.in +24n
.rt
Print the linker flags that are necessary to link with the specified library\&.
.sp
.sp 1
.in -24n
.sp
.ne 2
.mk
\fB-\fB-prefix=\fIdir\fR\fR\fR
.in +24n
.rt
If specified, use \fIdir\fR instead of the installation
prefix that the library was 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\&. This option is also used for the \fBexec\fR prefix if the
-\fB-exec-prefix\fR option is not specified\&.
.sp
.sp 1
.in -24n
.sp
.ne 2
.mk
\fB-\fB-version\fR\fR
.in +24n
.rt
Print the currently installed version of the library on the standard output\&.
.sp
.sp 1
.in -24n
.SH "EXAMPLES"
.PP
\fBExample 1: Getting the libart2 library version\fR
.PP
.PP
.nf
example% \fBlibart2-config --version\fR
.fi
.PP
\fBExample 2: Determining the libraries required to link with the libart2 library\fR
.PP
.PP
.nf
example% \fBlibart2-config --libs\fR
.fi
.SH "EXIT STATUS"
.PP
The following exit values are returned:
.sp
.ne 2
.mk
\fB\fB0\fR\fR
.in +9n
.rt
Application exited successfully
.sp
.sp 1
.in -9n
.sp
.ne 2
.mk
\fB\fB>0\fR\fR
.in +9n
.rt
Application exited with failure
.sp
.sp 1
.in -9n
.SH "FILES"
.PP
The following files are used by this application:
.sp
.ne 2
.mk
\fB\fB/usr/bin/libart2-config\fR\fR
.in +32n
.rt
Executable for \fBlibart2\fR helper script
.sp
.sp 1
.in -32n
.SH "SEE ALSO"
.PP
\fBpkg-config\fR(1),
\fBlibart_lgpl_2\fR(3),
\fBattributes\fR(5)
.SH "NOTES"
.PP
This man page was originally written by Chris Waters (xtifr@debian\&.org) for
Debian GNU/Linux\&. Rewritten by Brian Cameron, Sun Microsystems Inc\&., using
information from the
\fBorbit2-config\fR(1)
man page, by Dick Porter (dick@acm\&.org) and Elliot Lee (sopwith@redhat\&.com)\&.
\fBlibart2\fR\(emspecific text was written by Christian
Marillat (marillat@debian\&.org) for Debian GNU/Linux\&.
...\" created by instant / solbook-to-man, Tue 27 Jan 2015, 17:22