summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/decoders.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/decoders.m4 b/m4/decoders.m4
index d8e3ac571..203d651b5 100644
--- a/m4/decoders.m4
+++ b/m4/decoders.m4
@@ -113,6 +113,9 @@ AC_DEFUN([XINE_DECODER_PLUGINS], [
[test x"$withval" != x"no" && with_imagemagick="yes"])
if test x"$with_imagemagick" != x"no"; then
PKG_CHECK_MODULES([WAND], [Wand], [have_imagemagick=yes], [have_imagemagick=no])
+ if test "x$with_imagemagick" = 'xno'; then
+ PKG_CHECK_MODULES([WAND], [MagickWand], [have_imagemagick=yes], [have_imagemagick=no])
+ fi
if test x"$with_imagemagick" = x"yes" && test x"$have_imagemagick" = x"no"; then
AC_MSG_ERROR([ImageMagick support requested, but ImageMagick not found])
fi