10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2003, Sun Microsystems, Inc. 10139N/ACopyright (c) 2001, Dick Porter, ACM, and Elliot Lee 10139N/A Copyright (c) 2000, Chris Waters, Debian. 10139N/A<
refentry id="libart2-config-1">
13741N/A<
refmeta><
refentrytitle>&cmd;</
refentrytitle><
manvolnum>1</
manvolnum>
10139N/A<
refmiscinfo class="date">10 Jan 2003</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
13741N/A<
indexterm><
primary>&cmd;</
primary></
indexterm><
indexterm><
primary>
10139N/Ahelper script for building with <
filename>libart2</
filename></
primary></
indexterm>
13741N/A<
refnamediv id="libart2-config-1-name"><
refname>&cmd;</
refname><
refpurpose>
10139N/Ahelper script for building with <
filename>libart2</
filename></
refpurpose>
10139N/A<
refsynopsisdiv id="libart2-config-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command><
arg choice="opt"><
option>-version</
option></
arg>
10139N/A<
arg choice="opt"><
option>-prefix=<
replaceable>dir</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-cflags</
option></
arg><
arg choice="opt"><
option>
10139N/A-libs</
option></
arg><
arg choice="opt"><
option>-exec-prefix=<
replaceable>dir
10139N/A<
refsect1 id="libart2-config-1-desc"><
title>&desc-tt;</
title>
10139N/A<
para>The <
command>&cmd;</
command> tool is used to determine the compiler
10139N/Aand linker flags that should be used to compile and link programs that use
10139N/Athe <
filename>libart2</
filename> library.</
para>
10139N/A<
refsect1 id="libart2-config-1-opts"><
title>&opts-tt;</
title>
10139N/A<
para>The following options are supported:</
para>
10139N/A<
variablelist termlength="medium"><
varlistentry><
term><
option>-cflags</
option></
term>
10139N/A<
listitem><
para>Print the compiler flags that are necessary to compile a program
10139N/Ausing the specified library.</
para>
10139N/A<
varlistentry><
term><
option>-exec-prefix=<
replaceable>dir</
replaceable></
option></
term>
10139N/A<
listitem><
para>If specified, use <
replaceable>dir</
replaceable> instead of
10139N/Athe <
literal>exec</
literal> installation prefix that the library was built
10139N/Awith, when computing the output for the <
option>-cflags</
option> and <
option>
10139N/A-libs</
option> options. This option must be specified before any <
option>
10139N/A-libs</
option> or <
option>-cflags</
option> options.</
para>
10139N/A<
varlistentry><
term><
option>-libs</
option></
term><
listitem><
para>Print the
10139N/Alinker flags that are necessary to link with the specified library.</
para>
10139N/A<
varlistentry><
term><
option>-prefix=<
replaceable>dir</
replaceable></
option></
term>
10139N/A<
listitem><
para>If specified, use <
replaceable>dir</
replaceable> instead of
10139N/Athe installation prefix that the library was built with, when computing the
10139N/Aoutput for the <
option>-cflags</
option> and <
option>-libs</
option> options.
10139N/AThis option must be specified before any <
option>-libs</
option> or <
option>
10139N/A-cflags</
option> options. This option is also used for the <
literal>exec</
literal>
11904N/Aprefix if the <
option>-exec-prefix</
option> option is not specified.
10139N/A<
varlistentry><
term><
option>-version</
option></
term><
listitem><
para>Print
10139N/Athe currently installed version of the library on the standard output.</
para>
10139N/A<
refsect1 id="libart2-config-1-exam"><
title>&exam-tt;</
title>
10139N/A<
example role="example"><
title>Getting the libart2 library version</
title>
10139N/A<
para><
screen>example% <
userinput>&cmd; --version</
userinput></
screen></
para>
10139N/A<
example role="example"><
title>Determining the libraries required to link
10139N/Awith the libart2 library</
title>
10139N/A<
para><
screen>example% <
userinput>&cmd; --libs</
userinput></
screen></
para>
10139N/A<
refsect1 id="libart2-config-1-exit"><
title>&exit-tt;</
title>
10139N/A<
para>The following exit values are returned:</
para>
10139N/A<
variablelist termlength="xtranarrow"><
varlistentry><
term><
returnvalue>0</
returnvalue></
term>
10139N/A<
listitem><
para>Application exited successfully</
para>
10139N/A<
varlistentry><
term><
returnvalue>>0</
returnvalue></
term><
listitem><
para>Application
10139N/A<
refsect1 id="libart2-config-1-file"><
title>&file-tt;</
title>
10139N/A<
para>The following files are used by this application:</
para>
10139N/A<
variablelist termlength="wide"><
varlistentry><
term><
filename>/
usr/
bin/&cmd;</
filename>
10139N/A</
term><
listitem><
para>Executable for <
filename>libart2</
filename> helper
10139N/A<
refsect1 id="libart2-config-1-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWgnome-base-libs-devel
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Volatile</
para></
entry></
row>
10139N/A<
refsect1 id="libart2-config-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 11905N/A<
citerefentry><
refentrytitle>pkg-config</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
11905N/A<
citerefentry><
refentrytitle>libart_lgpl_2</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
11905N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
10139N/A<
refsect1 id="libart2-config-1-note"><
title>¬e-tt;</
title>
10139N/A<
para>This man page was originally written by Chris Waters (xtifr@debian.org)
11933N/Afor Debian
GNU/
Linux. Rewritten by Brian Cameron, Sun Microsystems Inc., using
10139N/Ainformation from the <
citerefentry><
refentrytitle>orbit2-config</
refentrytitle>
10139N/A<
manvolnum>1</
manvolnum></
citerefentry> man page, by Dick Porter (dick@acm.org)
10139N/Aand Elliot Lee (sopwith@redhat.com). <
filename>libart2 </
filename>—specific
10139N/Atext was written by Christian Marillat (marillat@debian.org) for Debian
GNU/
Linux.