$OpenBSD: patch-config_m4,v 1.1 2015/11/06 20:37:34 sthen Exp $
--- config.m4.orig	Fri Nov  6 18:01:27 2015
+++ config.m4	Fri Nov  6 18:02:55 2015
@@ -50,7 +50,7 @@ if test $PHP_IMAGICK != "no"; then
       AC_MSG_ERROR(Cannot locate header file magick-wand.h)
     fi	
   elif test "$IMAGEMAGICK_VERSION_MASK" -gt 6008000; then
-    if test -r $WAND_DIR/include/ImageMagick-6/wand/magick-wand.h; then
+    if test -r $WAND_DIR/include/ImageMagick/wand/magick-wand.h; then
       AC_MSG_RESULT(found in $WAND_DIR/include/ImageMagick-6/wand/magick-wand.h)
     else
         AC_MSG_ERROR(Cannot locate header file magick-wand.h)
