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/AAll Rights Reserved.">
10139N/A<!ENTITY cmd "libart2-config">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
10139N/A]>
10139N/A<refentry id="libart2-config-1">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
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>
10139N/A</refmeta>
17616N/A<indexterm><primary>&cmd;</primary></indexterm>
17616N/A<indexterm><primary>helper script for building with <filename>libart2</filename></primary></indexterm>
17616N/A<refnamediv id="libart2-config-1-name"><refname>&cmd;</refname>
17616N/A<refpurpose>helper script for building with <filename>libart2</filename></refpurpose>
10139N/A</refnamediv>
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</replaceable></option></arg>
10139N/A</cmdsynopsis></refsynopsisdiv>
17616N/A
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>
17616N/A
10139N/A<refsect1 id="libart2-config-1-opts"><title>&opts-tt;</title>
17616N/A<para>
17616N/AThe following options are supported:
17616N/A</para>
17616N/A<variablelist termlength="medium">
17616N/A<varlistentry>
17616N/A<term><option>-cflags</option></term>
17616N/A<listitem><para>
17616N/APrint the compiler flags that are necessary to compile a program using the
17616N/Aspecified library.
17616N/A</para></listitem></varlistentry>
17616N/A<varlistentry>
17616N/A<term><option>-exec-prefix=<replaceable>dir</replaceable></option></term>
17616N/A<listitem><para>
17616N/AIf specified, use <replaceable>dir</replaceable> instead of the
17616N/A<literal>exec</literal> installation prefix that the library was built with,
17616N/Awhen computing the output for the <option>-cflags</option> and
17616N/A<option>-libs</option> options. This option must be specified before any
17616N/A<option>-libs</option> or <option>-cflags</option> options.
17616N/A</para></listitem></varlistentry>
17616N/A<varlistentry>
17616N/A<term><option>-libs</option></term>
17616N/A<listitem><para>
17616N/APrint the linker flags that are necessary to link with the specified library.
17616N/A</para></listitem></varlistentry>
17616N/A<varlistentry>
17616N/A<term><option>-prefix=<replaceable>dir</replaceable></option></term>
17616N/A<listitem><para>
17616N/AIf specified, use <replaceable>dir</replaceable> instead of the installation
17616N/Aprefix that the library was built with, when computing the output for the
17616N/A<option>-cflags</option> and <option>-libs</option> options. This option must
17616N/Abe specified before any <option>-libs</option> or <option>-cflags</option>
17616N/Aoptions. This option is also used for the <literal>exec</literal> prefix if the
17616N/A<option>-exec-prefix</option> option is not specified.
10139N/A</para>
10139N/A</listitem></varlistentry>
17616N/A<varlistentry>
17616N/A<term><option>-version</option></term>
17616N/A<listitem><para>
17616N/APrint the currently installed version of the library on the standard output.
17616N/A</para></listitem></varlistentry>
17616N/A</variablelist>
17616N/A</refsect1>
17616N/A
10139N/A<refsect1 id="libart2-config-1-exam"><title>&exam-tt;</title>
10139N/A<example role="example"><title>Getting the libart2 library version</title>
17616N/A<para><screen>
17616N/Aexample% <userinput>&cmd; --version</userinput>
17616N/A</screen></para></example>
17616N/A
17616N/A<example role="example">
17616N/A<title>Determining the libraries required to link with the libart2 library</title>
17616N/A<para><screen>
17616N/Aexample% <userinput>&cmd; --libs</userinput>
17616N/A</screen></para>
10139N/A</example>
10139N/A</refsect1>
17616N/A
10139N/A<refsect1 id="libart2-config-1-exit"><title>&exit-tt;</title>
17616N/A<para>
17616N/AThe following exit values are returned:
17616N/A</para>
17616N/A<variablelist termlength="xtranarrow">
17616N/A<varlistentry>
17616N/A<term><returnvalue>0</returnvalue></term>
17616N/A<listitem><para>
17616N/AApplication exited successfully
17616N/A</para></listitem></varlistentry>
17616N/A<varlistentry>
17616N/A<term><returnvalue>>0</returnvalue></term>
17616N/A<listitem><para>
17616N/AApplication exited with failure
17616N/A</para></listitem></varlistentry>
17616N/A</variablelist>
17616N/A</refsect1>
17616N/A
10139N/A<refsect1 id="libart2-config-1-file"><title>&file-tt;</title>
17616N/A<para>
17616N/AThe following files are used by this application:
17616N/A</para>
17616N/A
17616N/A<variablelist termlength="wide"><varlistentry>
17616N/A<term><filename>/usr/bin/&cmd;</filename></term>
17616N/A<listitem><para>
17616N/AExecutable for <filename>libart2</filename> helper script
17616N/A</para></listitem></varlistentry>
17616N/A</variablelist>
17616N/A</refsect1>
17616N/A
10139N/A<refsect1 id="libart2-config-1-attr"><title>&attr-tt;</title>
17616N/A<para>
17616N/ASee
17616N/A<olink targetdocent="REFMAN5" localinfo="attributes-5">
17616N/A<citerefentry><refentrytitle>attributes</refentrytitle>
17616N/A<manvolnum>5</manvolnum></citerefentry></olink>
17616N/Afor descriptions of the following attributes:
17616N/A</para>
17616N/A
10139N/A<informaltable frame="all">
17616N/A<tgroup cols="2" colsep="1" rowsep="1">
17616N/A<colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
17616N/A<row>
17616N/A<entry align="center" valign="middle">ATTRIBUTE TYPE</entry>
17616N/A<entry align="center" valign="middle">ATTRIBUTE VALUE</entry>
17616N/A</row>
10139N/A</thead>
10139N/A<tbody>
17616N/A<row>
17616N/A<entry><para>Availability</para></entry>
17616N/A<entry><para>SUNWlibart-devel</para></entry>
17616N/A</row>
17616N/A<row>
17616N/A<entry colname="COLSPEC0"><para>Interface stability</para></entry>
17616N/A<entry colname="COLSPEC1"><para>Volatile</para></entry>
17616N/A</row>
17616N/A</tbody></tgroup></informaltable>
10139N/A</refsect1>
17616N/A
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-->
10139N/A<!--Reference to a book.-->
11905N/A<para>
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>
11905N/A</para>
10139N/A</refsect1>
17616N/A
10139N/A<refsect1 id="libart2-config-1-note"><title>&note-tt;</title>
17616N/A<para>
17616N/AThis man page was originally written by Chris Waters (xtifr@debian.org) for
17616N/ADebian GNU/Linux. Rewritten by Brian Cameron, Sun Microsystems Inc., using
17616N/Ainformation from the
17616N/A<citerefentry><refentrytitle>orbit2-config</refentrytitle>
17616N/A<manvolnum>1</manvolnum></citerefentry>
17616N/Aman page, by Dick Porter (dick@acm.org) and Elliot Lee (sopwith@redhat.com).
17616N/A<filename>libart2</filename>&mdash;specific text was written by Christian
17616N/AMarillat (marillat@debian.org) for Debian GNU/Linux.
10139N/A</para>
10139N/A</refsect1>
10139N/A</refentry>