gpg-error-config.1 revision 13741
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-->
13634N/A<!--ARC : LSARC 2008/207 GNOME 2.22-->
10139N/A<!ENTITY suncopy "Copyright (c) 2008, Sun Microsystems, Inc.
10139N/AAll Rights Reserved.">
10139N/A<!ENTITY cmd "gpg-error-config">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
11904N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub Inc>
10139N/A<refentry id="gpg-error-config-1">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
11904N/A<refmeta><refentrytitle>&cmd;</refentrytitle><manvolnum>1</manvolnum>
10139N/A<refmiscinfo class="date">10 Jan 2008</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>
10139N/A<indexterm><primary>&cmd;</primary></indexterm><indexterm><primary>
10139N/Ahelper script for building with <filename>libgpg-error</filename></primary></indexterm>
10139N/A<refnamediv id="gpg-error-config-1-name"><refname>&cmd;</refname><refpurpose>
10139N/Ahelper script for building with <filename>libgpg-error</filename></refpurpose>
10139N/A</refnamediv>
10139N/A<refsynopsisdiv id="gpg-error-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>
10139N/A<refsect1 id="gpg-error-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>libgpg-error</filename> library.</para>
10139N/A</refsect1>
10139N/A<refsect1 id="gpg-error-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</listitem></varlistentry>
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</listitem></varlistentry>
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>
11904N/A</listitem></varlistentry>
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>
10139N/Aprefix if the <option>-exec-prefix</option> option is not specified.
10139N/A</para>
10139N/A</listitem></varlistentry>
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</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gpg-error-config-1-exam"><title>&exam-tt;</title>
10139N/A<example role="example"><title>Getting the libgpg-error library version</title>
10139N/A<para><screen>example% <userinput>&cmd; --version</userinput></screen></para>
10139N/A</example>
10139N/A<example role="example"><title>Determining the libraries required to link
10139N/Awith the libgpg-error library</title>
10139N/A<para><screen>example% <userinput>&cmd; --libs</userinput></screen></para>
10139N/A</example>
10139N/A</refsect1>
10139N/A<refsect1 id="gpg-error-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</listitem></varlistentry>
10139N/A<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
10139N/Aexited with failure</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="gpg-error-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>libgpg-error</filename> helper
10139N/Ascript</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A
10139N/A<refsect1 id="gpg-error-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<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
13623N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
10139N/A<row><entry><para>Availability</para></entry><entry><para>SUNWgpg-error
10139N/A</para></entry></row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
10139N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
10139N/A<refsect1 id="gpg-error-config-1-also"><title>&also-tt;</title>
10139N/A<!--Reference to another man page-->
11904N/A<!--Reference to a Help manual-->
11905N/A<!--Reference to a book.-->
11905N/A<para>
10139N/A<citerefentry><refentrytitle>gpg-error</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
10139N/A<citerefentry><refentrytitle>libgpg-error</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
10139N/A<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11904N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
10139N/A</para>
10139N/A<refsect1>
<para>
Written by Jeff Cai, Sun Microsystems Inc., 2008.
</para>
</refsect1>
</refsect1>
</refentry>