GraphicsMagick-Config(1)GraphicsMagick-Config(1)NAMEGraphicsMagick-config - get information about the installed version of
GraphicsMagick
SYNOPSISGraphicsMagick-config [--cflags] [--cppflags] [--exec-prefix]
[--ldflags] [--libs] [--prefix] [--version]
DESCRIPTIONGraphicsMagick-config prints the compiler and linker flags required to
compile and link programs that use the GraphicsMagick Application Pro‐
grammer Interface.
EXAMPLES
To print the version of the installed distribution of GraphicsMagick,
use:
GraphicsMagick-config--version
To compile a program that calls the GraphicsMagick Application Program‐
mer Interface, use:
cc `GraphicsMagick-config --cflags --cppflags --ldflags --libs` program.c
OPTIONS--cflags
Print the compiler flags that were used to compile libMagick.
--cppflags
Print the preprocessor flags that are needed to find the Graph‐
icsMagick C include files and defines to ensure that the Graph‐
icsMagick 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 Graphic‐
sMagick library.
--libs Print the linker flags that are needed to link a program with
libGraphicsMagick.
--version
Print the version of the GraphicsMagick distribution to standard
output.
COPYRIGHT
Copyright (C) 2002 GraphicsMagick Group
Copyright (C) 2002 ImageMagick Studio
AUTHORS
Bob Friesenhahn
GraphicsMagick 4 December 2002 GraphicsMagick-Config(1)