13738N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
13738N/A<!--ArborText, Inc., 1988-1999, v.4002-->
13738N/A<!--ARC : LSARC 2001/201 GNOME 2.X on Solaris-->
13738N/A<!ENTITY cmd "gphoto2-port-config">
13738N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
13738N/A%commonents;
13738N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
13738N/A%booktitles;
13738N/A<!ENTITY suncopy "Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.">
13738N/A]>
13738N/A<?Pub UDT _bookmark _target>
13738N/A<?Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip
13738N/A laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen bsol>
13738N/A<?Pub Inc>
13738N/A<refentry id="gphoto2-port-config-1">
13738N/A<!-- %Z%%M% %I% %E% SMI; -->
13741N/A<refmeta><refentrytitle>&cmd;</refentrytitle><manvolnum>1</manvolnum>
13738N/A<refmiscinfo class="date">01 Aug 2008</refmiscinfo>
13738N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
13738N/A<refmiscinfo class="software">&release;</refmiscinfo>
13738N/A<refmiscinfo class="arch">generic</refmiscinfo>
13738N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
13738N/A</refmeta>
13741N/A<indexterm><primary>&cmd;</primary></indexterm><indexterm><primary>return
13738N/Ameta information about installed version of libgphoto2_port(3).</primary></indexterm>
13741N/A<refnamediv id="gphoto2-port-config-1-name"><refname>&cmd;</refname><refpurpose>
13738N/Areturn meta information about installed version of libgphoto2_port(3).</refpurpose></refnamediv>
13738N/A<refsynopsisdiv id="gphoto2-port-config-1-synp"><title>&synp-tt;</title>
13738N/A<cmdsynopsis><command>&cmd;</command>
13738N/A<arg choice="opt"><option>-prefix=<replaceable>DIR</replaceable></option></arg>
13738N/A<arg choice="opt"><option>-libs</option></arg>
13738N/A<arg choice="opt"><option>-cflags</option></arg>
13738N/A<arg choice="opt"><option>-help</option></arg>
13738N/A<arg choice="opt"><option>-version</option></arg>
13738N/A</cmdsynopsis></refsynopsisdiv>
13738N/A<refsect1 id="gphoto2-port-config-1-desc"><title>&desc-tt;</title>
13738N/A<para>
13738N/A<command>&cmd;</command> is a convenience script which retrieves information
13738N/Aabout the installed version of libgphoto2_port(3) on your system.
13738N/A<command>&cmd;</command> is typically used to compile and link against
13738N/Alibgphoto2_port(3). The following example shows how to use
13738N/A<command>&cmd;</command> in a Makefile:
13738N/A</para>
13738N/A<literallayout>program: program.c
13738N/A cc program.c `&cmd; --cflags --libs`</literallayout>
13738N/A<para>
13738N/AThe output is similar to that produced by pkg-config(1).
13738N/A</para>
13738N/A<refsect1 id="gphoto2-port-config-1-opts"><title>&opts-tt;</title>
13738N/A<para>The following options are supported:</para>
13738N/A<variablelist termlength="wholeline">
13738N/A
13738N/A<varlistentry>
13738N/A<term><option>-cflags</option></term>
13738N/A<listitem><para>
13738N/APrints pre-processor and compile flags required to compile with libgphoto2_port(3)
13738N/Aon the command line.
13738N/A</para>
13738N/A</listitem></varlistentry>
13738N/A
13738N/A<varlistentry>
13738N/A<term><option>-help</option></term>
13738N/A<listitem><para>
13738N/ADisplays help and usage information.
13738N/A</para>
13738N/A</listitem></varlistentry>
13738N/A
13738N/A<varlistentry>
13738N/A<term><option>-libs</option></term>
13738N/A<listitem><para>
13738N/AIdentical to <option>-cflags</option> option but only prints the link flags.
13738N/A</para>
13738N/A</listitem></varlistentry>
13738N/A
13738N/A<varlistentry>
13738N/A<term><option>-prefix=DIR</option></term>
13738N/A<listitem><para>
13738N/ASpecify a different prefix from the default libgphoto2_port(3). (default is/usr).
13738N/A</para>
13738N/A</listitem></varlistentry>
13738N/A
13738N/A<varlistentry>
13738N/A<term><option>-version</option></term>
13738N/A<listitem><para>
13738N/ADisplays version of libgphoto2_port(3) installed on your system.
13738N/A</para>
13738N/A</listitem></varlistentry>
13738N/A</variablelist></refsect1>
13738N/A
13738N/A<refsect1 id="gphoto2-port-config-1-file"><title>&file-tt;</title>
13738N/A<para>The following files are used by this application:</para>
13738N/A<variablelist termlength="medium">
13738N/A<varlistentry>
13738N/A<term><filename>/usr/bin/&cmd;</filename></term>
13738N/A<listitem><para>
13738N/AExecutable for installed library helper script
13738N/A</para>
13738N/A</listitem></varlistentry>
13738N/A</variablelist></refsect1>
13738N/A<refsect1 id="gphoto2-port-config-1-attr"><title>&attr-tt;</title>
13738N/A<para>
13738N/ASee <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
13738N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
13738N/Afor descriptions of the following attributes:
13738N/A</para>
13738N/A<informaltable frame="all">
13738N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
13738N/A<colspec colname="COLSPEC1" colwidth="1*">
13738N/A<thead>
13738N/A<row><entry align="center" valign="middle"><para>ATTRIBUTE TYPE</para></entry>
13738N/A<entry align="center" valign="middle"><para>ATTRIBUTE VALUE</para></entry>
13738N/A</row>
13738N/A</thead>
13738N/A<tbody>
13740N/A<row><entry><para>Availability</para></entry><entry><para>SUNWgnome-camera-devel
13738N/A</para></entry></row>
13738N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
13738N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
13738N/A</tbody>
13738N/A</tgroup>
13738N/A</informaltable>
13738N/A</refsect1>
13738N/A<refsect1 id="gphoto2-port-config-1-also"><title>&also-tt;</title>
13738N/A<!--Reference to another man page-->
13738N/A<!--Reference to a Help manual-->
13738N/A<!--Reference to a book.-->
13738N/A<para>
13738N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
13738N/A<citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
13738N/A<citerefentry><refentrytitle>libgphoto2_port</refentrytitle><manvolnum>3</manvolnum></citerefentry>
13738N/A</para>
13738N/A</refsect1>
13738N/A<refsect1 id="gphoto2-port-config-1-note"><title>&note-tt;</title>
13738N/A<para>
13738N/AWritten by Matt Keenan Sun Microsystems Inc., 2008.
13738N/A</para>
13738N/A</refsect1>
13738N/A</refentry>