3 # Configure options script for re-calling MagickCore compilation options
4 # required to use the MagickCore library.
9 libdir=${exec_prefix}/lib
10 includedir=${prefix}/include/ImageMagick
13 Usage: Magick-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
15 if test $# -eq 0; then
17 echo "Example: gcc \`Magick-config --cflags --cppflags\` -o core core.c \`Magick-config --ldflags --libs\`" 1>&2
21 while test $# -gt 0; do
23 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
43 echo "-I${includedir} -fopenmp"
46 echo '-g -O2 -pthread'
49 echo '-I/usr/local/include/ImageMagick'
52 echo '-L/usr/local/lib '
55 echo "-L${libdir} -lMagickCore -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -ldjvulibre -lfftw3 -lfontconfig -lwmf -lwmflite -lXext -lXt -lSM -lICE -lX11 -lbz2 -pthread -lrsvg-2 -lm -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread -lltdl"