1253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Dd July 13, 2015
2253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Dt MAGICKCORE-CONFIG 1
3253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Os
4253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Sh NAME
5253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nm MagickCore-config
6253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nd get information about the installed version of ImageMagick
7253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Sh SYNOPSIS
8253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nm MagickCore-config
9253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Op Fl -cflags
10253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Op Fl -cppflags
11253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Op Fl -exec-prefix
12253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Op Fl -ldflags
13253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Op Fl -libs
14253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Op Fl -prefix
15253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Op Fl -version
16253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Sh DESCRIPTION
17253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyThe
18253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nm MagickCore-config
19253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyutility prints the compiler and linker flags required
20253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyto compile and link programs that use the
21253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nm ImageMagick "Core"
223ed852eea50f9d4cd633efb8c2b054b8e33c253cristyApplication Programmer Interface.
23253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Pp
24253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyThe following options are available:
25253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Bl -tag -width Fl
26253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.It Fl -cppflags , -cflags , -cxxflags
27253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyPrint the compiler flags that are needed to find the
28253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Xr ImageMagick 1
293ed852eea50f9d4cd633efb8c2b054b8e33c253cristyC include files and defines to ensure that the ImageMagick data structures match between
303ed852eea50f9d4cd633efb8c2b054b8e33c253cristyyour program and the installed libraries.
31253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.It Fl -prefix , -exec-prefix
323ed852eea50f9d4cd633efb8c2b054b8e33c253cristyPrint the directory under which target specific binaries and executables are installed.
33253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.It Fl -ldflags , -libs
343ed852eea50f9d4cd633efb8c2b054b8e33c253cristyPrint the linker flags that are needed to link with the
35253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Xr ImageMagick 1
363ed852eea50f9d4cd633efb8c2b054b8e33c253cristylibrary.
37253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.It Fl -version
383ed852eea50f9d4cd633efb8c2b054b8e33c253cristyPrint the version of the
39253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Xr ImageMagick 1
403ed852eea50f9d4cd633efb8c2b054b8e33c253cristydistribution to standard output.
41253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.It Fl -coder-path
42253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyPrint the path where the
43253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Xr ImageMagick 1
44253b699fffac72e2ecc02ed1435d1f68018ca6c8cristycoder modules are installed.
45253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.It Fl -filter-path
46253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyPrint the path where the
47253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Xr ImageMagick 1
48253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyfilter modules are installed.
49253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.El
50253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Sh EXAMPLES
51253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyTo print the version of the installed distribution of
52253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nm ImageMagick
53253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyuse:
54253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy
55253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Dl MagickCore-config --version
56253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.sp
57253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyTo compile a program that calls the
58253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Xr ImageMagick 1
59253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyApplication Programmer Interface, use:
60253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy
61253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Dl cc `MagickCore-config --cppflags --ldflags` program.c
62253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Sh SEE ALSO
63253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Xr ImageMagick 1
64253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Sh LICENSE
65253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nm ImageMagick
66253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyis licensed with the Apache license 2.0. See
67253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyhttp://www.imagemagick.org/script/license.php for more details.
68253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Sh AUTHORS
69253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.An -nosplit
70253b699fffac72e2ecc02ed1435d1f68018ca6c8cristyThe
71253b699fffac72e2ecc02ed1435d1f68018ca6c8cristy.Nm ImageMagick
72253b699fffac72e2ecc02ed1435d1f68018ca6c8cristysuite and this manual page where written by
7349069c3a034eb1a50cc6450966dbabc9d6a26582cristy.An Cristy, ImageMagick Studio LLC <development-team@imagemagick.org>.
74