User Commands gphoto2-port-config(1)
NAME
gphoto2-port-config - return meta information about
installed version of libgphoto2_port(3).
SYNOPSIS
gphoto2-port-config [--prefix=DIR] [--libs] [--cflags] [--
help] [--version]
DESCRIPTION
gphoto2-port-config is a convenience script which retrieves
information about the installed version oflibgphoto2_port(3) on your system. gphoto2-port-config is
typically used to compile and link againstlibgphoto2_port(3). The following example shows how to use
gphoto2-port-config in a Makefile:
program: program.ccc program.c `gphoto2-port-config --cflags --libs`
The output is similar to that produced by pkg-config(1).
OPTIONS The following options are supported:--cflags
Prints pre-processor and compile flags required to com-
pile with libgphoto2_port(3) on the command line.
--help
Displays help and usage information.--libs
Identical to --cflags option but only prints the link
flags.--prefix=DIR
Specify a different prefix from the defaultlibgphoto2_port(3). (default is/usr).
SunOS 5.11 Last change: 01 Aug 2008 1
User Commands gphoto2-port-config(1)
--version
Displays version of libgphoto2_port(3) installed on your
system. FILES The following files are used by this application:/usr/bin/gphoto2-port-conEfxiegcutable for installed library
helper scriptATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWgnome-camera-devel |
|_____________________________|_____________________________|
| Interface stability | Volatile ||_____________________________|_____________________________|
SEE ALSO
attributes(5), pkg-config(1), libgphoto2_port(3)
NOTES Written by Matt Keenan Sun Microsystems Inc., 2008.SunOS 5.11 Last change: 01 Aug 2008 2