audiofile-config - helper script for building with audiofile
audiofile-config [--version] [--prefix=dir] [--cflags] [--libs] [--exec-prefix=dir]
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.
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.
Example 1: Getting the audiofile library version
example% audiofile-config --versionExample 2: Determining the libraries required to link with the audiofile library
example% audiofile-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/audiofile-config Executable for audiofile helper script.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWgnome-audio-devel Interface stability Volatile
pkg-config(1), libaudiofile(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)
| SunOS 5.11 | audiofile-config (1) | 7 Jan 2003 |