summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2018-12-14 18:47:28 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2018-12-14 18:47:28 +0100
commit465bca88f750c019f79f7da3b6c0d840b7d06d1e (patch)
tree8fbac24fac15485709c0f679fd43faa1bf94b4c2 /configure.ac
parent4d9387931268151bf30dd3d4e1e4435288acb5da (diff)
downloadcataract-465bca88f750c019f79f7da3b6c0d840b7d06d1e.tar.xz
jpeg-utils: ImageMagick 7 adaptations
MagickWand comes with a couple of incompatible API changes in version 7.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7add77b..cd52d75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,6 +124,10 @@ AC_MSG_CHECKING(for MagickWand)
magick_wand_version=`$PKG_CONFIG --modversion MagickWand`
AC_MSG_RESULT(yes (version $magick_wand_version))
+PKG_CHECK_EXISTS([MagickWand >= 7],
+ AC_DEFINE(HAVE_IMAGEMAGICK_7, 1,
+ [Define to 1 if ImageMagick 7 is available]))
+