Reference

gnurdf-config(1)

Get information about a libgnurdf installation

NAME

gnurdf-config - Get information about a libgnurdf installation

SYNOPSIS

gnurdf-config [options]

DESCRIPTION

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