summaryrefslogtreecommitdiffstats
path: root/imagick-incl.patch
blob: 2f5f2363b2fa5fb207120e02fcff00f6c008ce3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- imagick-3.1.0RC2/config.m4	2012-05-30 22:21:12.000000000 +0200
+++ imagick-3.1.0RC2/config.m4	2013-03-13 13:55:38.292504304 +0100
@@ -52,7 +52,9 @@
   else	
     AC_MSG_CHECKING(for MagickWand.h header file)
 
-    if test -r $WAND_DIR/include/ImageMagick/wand/MagickWand.h; then
+    if test -r $WAND_DIR/include/ImageMagick-6/wand/MagickWand.h; then
+      AC_MSG_RESULT(found in $WAND_DIR/include/ImageMagick-6/wand/MagickWand.h)
+    elif test -r $WAND_DIR/include/ImageMagick/wand/MagickWand.h; then
       AC_MSG_RESULT(found in $WAND_DIR/include/ImageMagick/wand/MagickWand.h)
     else
       AC_MSG_ERROR(Cannot locate header file MagickWand.h)