animal-config1
Get information about the installed version of animal
Usage
animal-config [--cflags]
[--cppflags]
[--exec-prefix]
[--ldflags]
[--libs]
[--prefix]
[--version]
Overview
animal-config prints the compiler and linker flags required to compile and link programs that use the animal Application Programmer Interface.
Examples
To print the version of the installed distribution of animal, use:
animal-config --version
To compile a program that calls the animal Application Programmer Interface, use:
cc `animal-config --cflags --cppflags --ldflags --libs` program.c
Options
-
--cflags -
Print the compiler flags that were used to compile
libanimal.
-
--cppflags -
Print the preprocessor flags that are needed to find the
animalC include files and defines to ensure that the animal data structures match between your program and the installed libraries.
-
--exec-prefix -
Print the directory under which target specific binaries and executables are installed.
-
--ldflags -
Print the linker flags that are needed to link with the
animallibrary.
-
--libs -
Print the linker flags that are needed to link a program with
libanimal.
-
--version -
Print the version of the
animaldistribution to standard output.