root/other-projects/trunk/mac-binaries/intel/bin/MagickWand-config @ 17620

Revision 17620, 1.5 KB (checked in by max, 11 years ago)

Adding ImageMagick? 6.4.4 for Intel Mac that can process JPEG2000 files by default.

Line 
1#!/bin/sh
2#
3# Configure options script for re-calling MagickWand compilation options
4# required to use the MagickWand library.
5#
6
7prefix=/home/max/imMacOs/im
8exec_prefix=${prefix}
9libdir=${exec_prefix}/lib
10includedir=${prefix}/include/ImageMagick
11
12usage="\
13Usage: MagickWand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
14
15if test $# -eq 0; then
16      echo "${usage}" 1>&2
17      echo "Example: gcc \`MagickWand-config --cflags --cppflags\` -o wand wand.c \`MagickWand-config --ldflags --libs\`" 1>&2
18      exit 1
19fi
20
21while test $# -gt 0; do
22  case "$1" in
23    -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
24    *) optarg= ;;
25  esac
26  case $1 in
27    --prefix=*)
28      prefix=$optarg
29      ;;
30    --prefix)
31      echo $prefix
32      ;;
33    --exec-prefix=*)
34      exec_prefix=$optarg
35      ;;
36    --exec-prefix)
37      echo $exec_prefix
38      ;;
39    --version)
40      echo '6.4.4 Q16 '
41      ;;
42    --cflags)
43      echo "-I${includedir} "
44      ;;
45    --cxxflags)
46      echo '-g -O2 -Wall -W -D_THREAD_SAFE'
47      ;;
48    --cppflags)
49      echo '-I/home/max/imMacOs/im/include/ImageMagick'
50      ;;
51    --ldflags)
52      echo '-L/home/max/imMacOs/im/lib -L/home/max/imMacOs/im/tmp/lib -L/home/max/imMacOs/ImageMagick-6.4.4/magick -L/home/max/imMacOs/ImageMagick-6.4.4/wand -L/usr/X11/lib -lfreetype -lz -Wl,-framework,CoreServices,-framework,ApplicationServices'
53      ;;
54    --libs)
55      echo "-L${libdir} -lMagickWand -lMagickCore"
56      ;;
57    *)
58      echo "${usage}" 1>&2
59      exit 1
60      ;;
61  esac
62  shift
63done
64
Note: See TracBrowser for help on using the browser.