From 465bca88f750c019f79f7da3b6c0d840b7d06d1e Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Fri, 14 Dec 2018 18:47:28 +0100 Subject: jpeg-utils: ImageMagick 7 adaptations MagickWand comes with a couple of incompatible API changes in version 7. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') 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])) + -- cgit v1.2.3