libart2-config - helper script for building with libart2
libart2-config [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir]
The libart2-config tool is used to determine the compiler and linker flags that should be used to compile and link programs that use the libart2 library.
The following options are supported:
--cflags Print the compiler flags that are necessary to compile a program using the specified library.
--exec-prefix=dir If specified, use dir instead of the exec 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.
--libs Print the linker flags that are necessary to link with the specified library.
--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.
--version Print the currently installed version of the library on the standard output.
Example 1: Getting the libart2 library version
example% libart2-config --versionExample 2: Determining the libraries required to link with the libart2 library
example% libart2-config --libs
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
The following files are used by this application:
/usr/bin/libart2-config Executable for libart2 helper script
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWgnome-base-libs-devel Interface stability Volatile
pkg-config(1), libart_lgpl_2(3)
This man page was originally written by Chris Waters (xtifr@debian.org) for Debian GNU/Linux. Rewritten by Brian Cameron, Sun Microsystems, using information from the orbit2-config(1) man page, by Dick Porter (dick@acm.org) and Elliot Lee (sopwith@redhat.com). libart2 specific text was written by Christian Marillat (marillat@debian.org) for Debian GNU/Linux.
| SunOS 5.11 | libart2-config (1) | 10 Jan 2003 |