~ubuntu-branches/ubuntu/quantal/imagemagick/quantal

« back to all changes in this revision

Viewing changes to magick/Magick-config.1

  • Committer: Bazaar Package Importer
  • Author(s): Muharem Hrnjadovic
  • Date: 2009-06-04 13:01:13 UTC
  • mfrom: (1.1.5 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090604130113-my9114jxmafpwew3
Tags: 7:6.5.1.0-1.1ubuntu1
* Merge from debian unstable, remaining changes:
  - (Build-)depend on libltdl7-dev instead of libltdl3-dev (the armel buildds
    currently have both available).
  - Don't build-dep on librsvg, it brings in excessive dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
use:
25
25
 
26
26
.nf
27
 
  Magick-config --version
 
27
  Magick-config \-\-version
28
28
.fi
29
29
  
30
30
To compile a program that calls the 
32
32
Application Programmer Interface, use:
33
33
 
34
34
.nf
35
 
  cc `Magick-config --cflags --cppflags --ldflags --libs` program.c
 
35
  cc `Magick-config \-\-cflags \-\-cppflags \-\-ldflags \-\-libs` program.c
36
36
.fi
37
37
 
38
38
.SH OPTIONS
39
39
.TP
40
 
.B --cflags
 
40
.B \-\-cflags
41
41
Print the compiler flags that were used to compile 
42
42
.BR libMagick .
43
43
.TP
44
 
.B --cppflags
 
44
.B \-\-cppflags
45
45
Print the preprocessor flags that are needed to find the
46
46
.B ImageMagick
47
47
C include files and defines to ensure that the ImageMagick data structures match between
48
48
your program and the installed libraries.
49
49
.TP
50
 
.B --exec-prefix
 
50
.B \-\-exec-prefix
51
51
Print the directory under which target specific binaries and executables are installed.
52
52
.TP
53
 
.B --ldflags
 
53
.B \-\-ldflags
54
54
Print the linker flags that are needed to link with the
55
55
.B ImageMagick
56
56
library.
57
57
.TP
58
 
.B --libs
 
58
.B \-\-libs
59
59
Print the linker flags that are needed to link a program with
60
60
.BR libMagick .
61
61
.TP
62
 
.B --version
 
62
.B \-\-version
63
63
Print the version of the
64
64
.B ImageMagick
65
65
distribution to standard output.