https://github.com/ImageMagick/ImageMagick/issues/585
diff --git a/configure b/configure
index 68650f1..8e2e476 100755
--- a/configure
+++ b/configure
@@ -1221,7 +1221,7 @@
with_openexr
with_pango
with_png
-with_LibRaw
+with_raw
with_rsvg
with_tiff
with_webp
@@ -4530,7 +4530,7 @@
MAGICK_VERSION=7.0.6-2
-MAGICK_GIT_REVISION=20448:9871b4ad7:20170715
+MAGICK_GIT_REVISION=20502:955bd1008:20170718
# Substitute library versioning
@@ -33715,9 +33715,9 @@
# Check for the Raw delegate library.
#
-# Check whether --with-LibRaw was given.
-if test "${with_LibRaw+set}" = set; then :
- withval=$with_LibRaw; with_raw=$withval
+# Check whether --with-raw was given.
+if test "${with_raw+set}" = set; then :
+ withval=$with_raw; with_raw=$withval
else
with_raw='yes'
fi
diff --git a/configure.ac b/configure.ac
index e12e56a..d11a107 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2598,7 +2598,7 @@
#
# Check for the Raw delegate library.
#
-AC_ARG_WITH([LibRaw],
+AC_ARG_WITH([raw],
[AC_HELP_STRING([--without-raw],
[disable Raw support])],
[with_raw=$withval],