<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
<!--ArborText, Inc., 1988-1999, v.4002-->
<!--ARC : LSARC 2001/201 GNOME 2.X on Solaris-->
<!ENTITY cmd "gphoto2-port-config">
<!ENTITY % commonents SYSTEM "smancommon.ent">
%commonents;
<!ENTITY % booktitles SYSTEM "booktitles.ent">
%booktitles;
<!ENTITY suncopy "Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.">
]>
<?Pub UDT _bookmark _target>
<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
 laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen bsol>
<?Pub Inc>
<refentry id="gphoto2-port-config-1">
<!-- %Z%%M% %I% %E% SMI; -->
<refmeta><refentrytitle>&cmd;</refentrytitle><manvolnum>1</manvolnum>
<refmiscinfo class="date">01 Aug 2008</refmiscinfo>
<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
<refmiscinfo class="software">&release;</refmiscinfo>
<refmiscinfo class="arch">generic</refmiscinfo>
<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
</refmeta>
<indexterm><primary>&cmd;</primary></indexterm><indexterm><primary>return
meta information about installed version of libgphoto2_port(3).</primary></indexterm>
<refnamediv id="gphoto2-port-config-1-name"><refname>&cmd;</refname><refpurpose>
return meta information about installed version of libgphoto2_port(3).</refpurpose></refnamediv>
<refsynopsisdiv id="gphoto2-port-config-1-synp"><title>&synp-tt;</title>
<cmdsynopsis><command>&cmd;</command>
<arg choice="opt"><option>-prefix=<replaceable>DIR</replaceable></option></arg>
<arg choice="opt"><option>-libs</option></arg>
<arg choice="opt"><option>-cflags</option></arg>
<arg choice="opt"><option>-help</option></arg>
<arg choice="opt"><option>-version</option></arg>
</cmdsynopsis></refsynopsisdiv>
<refsect1 id="gphoto2-port-config-1-desc"><title>&desc-tt;</title>
<para>
<command>&cmd;</command> is a convenience script which retrieves information
about the installed version of libgphoto2_port(3) on your system.
<command>&cmd;</command> is typically used to compile and link against
libgphoto2_port(3). The following example shows how to use
<command>&cmd;</command> in a Makefile:
</para>
<literallayout>program: program.c
	 cc program.c `&cmd; --cflags --libs`</literallayout>
<para>
The output is similar to that produced by pkg-config(1).
</para>
<refsect1 id="gphoto2-port-config-1-opts"><title>&opts-tt;</title>
<para>The following options are supported:</para>
<variablelist termlength="wholeline">

<varlistentry>
<term><option>-cflags</option></term>
<listitem><para>
Prints pre-processor and compile flags required to compile with libgphoto2_port(3) 
on the command line.
</para>
</listitem></varlistentry>

<varlistentry>
<term><option>-help</option></term>
<listitem><para>
Displays help and usage information.
</para>
</listitem></varlistentry>

<varlistentry>
<term><option>-libs</option></term>
<listitem><para>
Identical to <option>-cflags</option> option but only prints the link flags.
</para>
</listitem></varlistentry>

<varlistentry>
<term><option>-prefix=DIR</option></term>
<listitem><para>
Specify a different prefix from the default libgphoto2_port(3). (default is/usr).
</para>
</listitem></varlistentry>

<varlistentry>
<term><option>-version</option></term>
<listitem><para>
Displays version of libgphoto2_port(3) installed on your system.
</para>
</listitem></varlistentry>
</variablelist></refsect1>

<refsect1 id="gphoto2-port-config-1-file"><title>&file-tt;</title>
<para>The following files are used by this application:</para>
<variablelist termlength="medium">
<varlistentry>
<term><filename>/usr/bin/&cmd;</filename></term>
<listitem><para>
Executable for installed library helper script
</para>
</listitem></varlistentry>
</variablelist></refsect1>
<refsect1 id="gphoto2-port-config-1-attr"><title>&attr-tt;</title>
<para>
See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
for descriptions of the following attributes:
</para>
<informaltable frame="all">
<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
<colspec colname="COLSPEC1" colwidth="1*">
<thead>
<row><entry align="center" valign="middle"><para>ATTRIBUTE TYPE</para></entry>
<entry align="center" valign="middle"><para>ATTRIBUTE VALUE</para></entry>
</row>
</thead>
<tbody>
<row><entry><para>Availability</para></entry><entry><para>SUNWgnome-camera-devel
</para></entry></row>
<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
colname="COLSPEC1"><para>Volatile</para></entry></row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="gphoto2-port-config-1-also"><title>&also-tt;</title>
<!--Reference to another man page-->
<!--Reference to a Help manual-->
<!--Reference to a book.-->
<para>
<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>libgphoto2_port</refentrytitle><manvolnum>3</manvolnum></citerefentry>
</para>
</refsect1>
<refsect1 id="gphoto2-port-config-1-note"><title>&note-tt;</title>
<para>
Written by Matt Keenan Sun Microsystems Inc., 2008.
</para>
</refsect1>
</refentry>
