13711N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
13711N/A<!--ArborText, Inc., 1988-1999, v.4002-->
13711N/A<!--ARC : LSARC 2008/207 GNOME 2.22-->
13711N/A<!ENTITY suncopy "Copyright (c) 2008, Sun Microsystems, Inc.
13711N/AAll Rights Reserved.">
13711N/A<!ENTITY cmd "gpg-error-config">
13711N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
13711N/A%commonents;
13711N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
13711N/A%booktitles;
13711N/A]>
13711N/A<?Pub UDT _bookmark _target>
13711N/A<?Pub Inc>
13711N/A<refentry id="gpg-error-config-1">
13711N/A<!-- %Z%%M% %I% %E% SMI; -->
13741N/A<refmeta><refentrytitle>&cmd;</refentrytitle><manvolnum>1</manvolnum>
13711N/A<refmiscinfo class="date">10 Jan 2008</refmiscinfo>
13711N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
13711N/A<refmiscinfo class="software">&release;</refmiscinfo>
13711N/A<refmiscinfo class="arch">generic</refmiscinfo>
13711N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
13711N/A</refmeta>
13741N/A<indexterm><primary>&cmd;</primary></indexterm><indexterm><primary>
13711N/Ahelper script for building with <filename>libgpg-error</filename></primary></indexterm>
13741N/A<refnamediv id="gpg-error-config-1-name"><refname>&cmd;</refname><refpurpose>
13711N/Ahelper script for building with <filename>libgpg-error</filename></refpurpose>
13711N/A</refnamediv>
13711N/A<refsynopsisdiv id="gpg-error-config-1-synp"><title>&synp-tt;</title>
13711N/A<cmdsynopsis><command>&cmd;</command><arg choice="opt"><option>-version</option></arg>
13711N/A<arg choice="opt"><option>-prefix=<replaceable>dir</replaceable></option></arg>
13711N/A<arg choice="opt"><option>-cflags</option></arg><arg choice="opt"><option>
13711N/A-libs</option></arg><arg choice="opt"><option>-exec-prefix=<replaceable>dir
13711N/A</replaceable></option></arg>
13711N/A</cmdsynopsis></refsynopsisdiv>
13711N/A<refsect1 id="gpg-error-config-1-desc"><title>&desc-tt;</title>
13711N/A<para>The <command>&cmd;</command> tool is used to determine the compiler
13711N/Aand linker flags that should be used to compile and link programs that use
13711N/Athe <filename>libgpg-error</filename> library.</para>
13711N/A</refsect1>
13711N/A<refsect1 id="gpg-error-config-1-opts"><title>&opts-tt;</title>
13711N/A<para>The following options are supported:</para>
13711N/A<variablelist termlength="medium"><varlistentry><term><option>-cflags</option></term>
13711N/A<listitem><para>Print the compiler flags that are necessary to compile a program
13711N/Ausing the specified library.</para>
13711N/A</listitem></varlistentry>
13711N/A<varlistentry><term><option>-exec-prefix=<replaceable>dir</replaceable></option></term>
13711N/A<listitem><para>If specified, use <replaceable>dir</replaceable> instead of
13711N/Athe <literal>exec</literal> installation prefix that the library was built
13711N/Awith, when computing the output for the <option>-cflags</option> and <option>
13711N/A-libs</option> options. This option must be specified before any <option>
13711N/A-libs</option> or <option>-cflags</option> options.</para>
13711N/A</listitem></varlistentry>
13711N/A<varlistentry><term><option>-libs</option></term><listitem><para>Print the
13711N/Alinker flags that are necessary to link with the specified library.</para>
13711N/A</listitem></varlistentry>
13711N/A<varlistentry><term><option>-prefix=<replaceable>dir</replaceable></option></term>
13711N/A<listitem><para>If specified, use <replaceable>dir</replaceable> instead of
13711N/Athe installation prefix that the library was built with, when computing the
13711N/Aoutput for the <option>-cflags</option> and <option>-libs</option> options.
13711N/AThis option must be specified before any <option>-libs</option> or <option>
13711N/A-cflags</option> options. This option is also used for the <literal>exec</literal>
13711N/Aprefix if the <option>-exec-prefix</option> option is not specified.
13711N/A</para>
13711N/A</listitem></varlistentry>
13711N/A<varlistentry><term><option>-version</option></term><listitem><para>Print
13711N/Athe currently installed version of the library on the standard output.</para>
13711N/A</listitem></varlistentry>
13711N/A</variablelist></refsect1>
13711N/A<refsect1 id="gpg-error-config-1-exam"><title>&exam-tt;</title>
13711N/A<example role="example"><title>Getting the libgpg-error library version</title>
13711N/A<para><screen>example% <userinput>&cmd; --version</userinput></screen></para>
13711N/A</example>
13711N/A<example role="example"><title>Determining the libraries required to link
13711N/Awith the libgpg-error library</title>
13711N/A<para><screen>example% <userinput>&cmd; --libs</userinput></screen></para>
13711N/A</example>
13711N/A</refsect1>
13711N/A<refsect1 id="gpg-error-config-1-exit"><title>&exit-tt;</title>
13711N/A<para>The following exit values are returned:</para>
13711N/A<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
13711N/A<listitem><para>Application exited successfully</para>
13711N/A</listitem></varlistentry>
13711N/A<varlistentry><term><returnvalue>>0</returnvalue></term><listitem><para>Application
13711N/Aexited with failure</para>
13711N/A</listitem></varlistentry>
13711N/A</variablelist></refsect1>
13711N/A<refsect1 id="gpg-error-config-1-file"><title>&file-tt;</title>
13711N/A<para>The following files are used by this application:</para>
13711N/A<variablelist termlength="wide"><varlistentry><term><filename>/usr/bin/&cmd;</filename>
13711N/A</term><listitem><para>Executable for <filename>libgpg-error</filename> helper
13711N/Ascript</para>
13711N/A</listitem></varlistentry>
13711N/A</variablelist></refsect1>
13711N/A
13711N/A<refsect1 id="gpg-error-config-1-attr"><title>&attr-tt;</title>
13711N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
13711N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
13711N/Afor descriptions of the following attributes:</para>
13711N/A<informaltable frame="all">
13711N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
13711N/A<colspec colname="COLSPEC1" colwidth="1*">
13711N/A<thead>
13711N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
13711N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
13711N/A</thead>
13711N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>library/security/libgpg-error
13711N/A</para></entry></row>
13711N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
13711N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
13711N/A</tbody>
13711N/A</tgroup>
13711N/A</informaltable>
13711N/A</refsect1>
13711N/A<refsect1 id="gpg-error-config-1-also"><title>&also-tt;</title>
13711N/A<!--Reference to another man page-->
13711N/A<!--Reference to a Help manual-->
13711N/A<!--Reference to a book.-->
13711N/A<para>
13711N/A<citerefentry><refentrytitle>gpg-error</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
13711N/A<citerefentry><refentrytitle>libgpg-error</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
13711N/A<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
13711N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
13711N/A</para>
13711N/A<refsect1>
13711N/A<para>
13711N/AWritten by Jeff Cai, Sun Microsystems Inc., 2008.
13711N/A</para>
13711N/A</refsect1>
13711N/A</refsect1>
13711N/A</refentry>