gnurdf-config1
Get information about a libgnurdf installation
Usage
gnurdf-config [options]
Overview
gnurdf-config displays information about a previous libgnurdf installation.
Options
-
--help -
Displays the available options.
-
--version -
Outputs version information about the installed libgnurdf.
-
--cflags -
What set of CFLAGS that was used when libgnurdf 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 libgnurdf.
-
--prefix[=DIR] -
If specified, use DIR instead of the installation prefix that libgnurdf 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 libgnurdf was built with when computing the output for the --cflags and --libs options.
Examples
What is the path to the libgnurdf header files?
echo `gnurdf-config --prefix`/include
What is the path to libgnurdf?
echo `gnurdf-config --prefix`/lib
What other linker options do I need when I link with libgnurdf?
gnurdf-config --libs
What's the installed libgnurdf version?
gnurdf-config --version