leakbug-config1
Get information about a libleakbug installation
Usage
leakbug-config [options]
Overview
leakbug-config displays information about a previous libleakbug installation.
Options
-
--help -
Displays the available options.
-
--version -
Outputs version information about the installed libleakbug.
-
--cflags -
What set of CFLAGS that was used when libleakbug was built. This is mostly a debug option that serves no particular use to most people.
-
--libs -
Shows the complete set of libs and other linker options you will need in order to link your application with libleakbug.
-
--prefix[=DIR] -
If specified, use DIR instead of the installation prefix that libleakbug was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified.
-
--exec-prefix[=DIR] -
If specified, use DIR instead of the installation exec prefix that libleakbug was built with when computing the output for the --cflags and --libs options.
Examples
What is the path to the libleakbug header files?
echo `leakbug-config --prefix`/include
What is the path to libleakbug?
echo `leakbug-config --prefix`/lib
What other linker options do I need when I link with libleakbug?
leakbug-config --libs
What's the installed libleakbug version?
leakbug-config --version
Releases
3 releases since Debian 3.0 (Woody); the text changed 1 time.