diff --git a/configure b/configure
index c6186c3..3bcbd67 100755
--- a/configure
+++ b/configure
@@ -4387,7 +4387,7 @@
MAGICK_VERSION=7.0.0-0
-MAGICK_SVN_REVISION=18754M
+MAGICK_SVN_REVISION=18759:18761M
# Substitute library versioning
@@ -30308,6 +30308,17 @@
LCMS_CFLAGS="$LCMS2_CFLAGS"
LCMS_LIBS="$LCMS2_LIBS"
CFLAGS="$LCMS2_CFLAGS $CFLAGS"
+ ac_fn_c_check_header_mongrel "$LINENO" "lcms2/lcms2.h" "ac_cv_header_lcms2_lcms2_h" "$ac_includes_default"
+if test "x$ac_cv_header_lcms2_lcms2_h" = xyes; then :
+ have_lcms_header='yes'
+fi
+
+
+ if test "$have_lcms_header" = 'yes'; then
+
+$as_echo "#define HAVE_LCMS2_LCMS2_H 1" >>confdefs.h
+
+ fi
else
pkg_failed=no
@@ -30388,7 +30399,17 @@
$as_echo "#define LCMS_VERSION_1 1" >>confdefs.h
CFLAGS="$LCMS_CFLAGS $CFLAGS"
- fi
+ ac_fn_c_check_header_mongrel "$LINENO" "lcms/lcms.h" "ac_cv_header_lcms_lcms_h" "$ac_includes_default"
+if test "x$ac_cv_header_lcms_lcms_h" = xyes; then :
+ have_lcms_header='yes'
+fi
+
+
+ if test "$have_lcms_header" = 'yes'; then
+
+$as_echo "#define HAVE_LCMS_LCMS_H 1" >>confdefs.h
+
+ fi
fi
if test "$have_lcms" = 'yes'; then
@@ -38774,8 +38795,7 @@
JBIG --with-jbig=$with_jbig $have_jbig
JPEG v1 --with-jpeg=$with_jpeg $have_jpeg
JPEG-2000 --with-jp2=$with_jp2 $have_jp2
- LCMS v1 --with-lcms=$with_lcms $have_lcms
- LCMS v2 --with-lcms2=$with_lcms2 $have_lcms2
+ LCMS --with-lcms=$with_lcms $have_lcms
LIBJPEG2 --with-openjp2=$with_openjp2 $have_openjp2
LQR --with-lqr=$with_lqr $have_lqr
LTDL --with-ltdl=$with_ltdl $have_ltdl
@@ -38861,8 +38881,7 @@
JBIG --with-jbig=$with_jbig $have_jbig
JPEG v1 --with-jpeg=$with_jpeg $have_jpeg
JPEG-2000 --with-jp2=$with_jp2 $have_jp2
- LCMS v1 --with-lcms=$with_lcms $have_lcms
- LCMS v2 --with-lcms2=$with_lcms2 $have_lcms2
+ LCMS --with-lcms=$with_lcms $have_lcms
LIBJPEG2 --with-openjp2=$with_openjp2 $have_openjp2
LQR --with-lqr=$with_lqr $have_lqr
LTDL --with-ltdl=$with_ltdl $have_ltdl