aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b5a11dd..52612c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,8 @@ fi
AS_IF([ pkg-config MagickWand ],
AC_DEFINE(HAVE_MAGICKWAND, [1], [Define if MagickWand is available]))
+AS_IF([ pkg-config "MagickWand < 7" ],
+ AC_DEFINE(HAVE_MAGICKWAND_LEGACY, [1], [Define if a legacy (prior to version 7) MagickWand is available]))
AM_CONDITIONAL([IS_GIT_REPO], [test -d '.git'])