gphoto2-port-config(1) 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 of libgphoto2_port(3) on your system.
gphoto2-port-config is typically used to compile and link against libgphoto2_port(3). The following example shows how to use gphoto2-port-
config in a Makefile:
program: program.c
cc 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 compile 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 default libgphoto2_port(3). (default is/usr).
--version
Displays version of libgphoto2_port(3) installed on your system.
FILES
The following files are used by this application:
/usr/bin/gphoto2-port-coExecutable 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 ALSO attributes(5), pkg-config(1), libgphoto2_port(3)NOTES
Written by Matt Keenan Sun Microsystems Inc., 2008.
SunOS 5.11 01 Aug 2008 gphoto2-port-config(1)
Check Out this Related Man Page
audiofile-config(1) User Commands audiofile-config(1)NAME
audiofile-config - helper script for building with audiofile
SYNOPSIS
audiofile-config [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir]
DESCRIPTION
The audiofile-config tool enables you to specify which compiler and linker flags should be used to compile and link programs that use the
audiofile library.
OPTIONS
The following options are supported:
--version Print the currently installed version of the library on the standard output.
--prefix=dir If specified, use dir instead of the installation prefix that the library was built with, when computing the output
for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. This
option is also used for the exec prefix, if the --exec-prefix option is not specified.
--cflags Print the compiler flags that are necessary to compile a program using the specified library.
--libs Print the linker flags that are necessary to link with the specified library.
--exec-prefix=dir If specified, use dir instead of the installation exec prefix that the library was built with, when computing the
output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options.
EXAMPLES
Example 1: Getting the audiofile library version
example% audiofile-config --version
Example 2: Determining the libraries required to link with the audiofile library
example% audiofile-config --libs
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/audiofile-config Executable for audiofile helper script.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-audio-devel |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO pkg-config(1), libaudiofile(3), attributes(5)NOTES
This man page was originally written by Chris Waters (xtifr@debian.org) for Debian GNU/Linux. Rewritten by Brian Cameron, Sun Microsystems
Inc., using information from the orbit2-config(1) man page, by Dick Porter (dick@acm.org) and Elliot Lee (sopwith@redhat.com)
SunOS 5.11 7 Jan 2003 audiofile-config(1)