gphoto2-config(1) User Commands gphoto2-config(1)NAMEgphoto2-config - return meta information about installed version of
libgphoto2(3).
SYNOPSISgphoto2-config [--prefix=DIR] [--libs] [--cflags] [--help] [--version]
DESCRIPTIONgphoto2-config is a convenience script which retrieves information
about the installed version of libgphoto2(3) on your system.
gphoto2-config is typically used to compile and link against libg‐
photo2(3). The following example shows how to use gphoto2-config in a
Makefile:
program: program.c
cc program.c `gphoto2-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 compile with
libgphoto2(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 default libgphoto2(3). (default
is/usr).
--version
Displays version of libgphoto2(3) installed on your system.
FILES
The following files are used by this application:
/usr/bin/gphoto2-config Executable for installed library helper script
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │SUNWgnome-camera-devel │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOattributes(5), pkg-config(1), libgphoto2(3)NOTES
Written by Matt Keenan Sun Microsystems Inc., 2008.
SunOS 5.11 01 Aug 2008 gphoto2-config(1)