]> git.eshelyaron.com Git - emacs.git/commitdiff
Include a test for required Im version. The exact version isnt known yet so I guess... old-branches/imagemagick
authorJoakim Verona <joakim@verona.se>
Sat, 12 Feb 2011 10:32:30 +0000 (11:32 +0100)
committerJoakim Verona <joakim@verona.se>
Sat, 12 Feb 2011 10:32:30 +0000 (11:32 +0100)
configure
configure.in

index e67071dfd83bafedaf266ad28e9dc8e5d7515aa8..4e1ecd9c2aade724f9ad05fd4fd56d10eed2da2a 100755 (executable)
--- a/configure
+++ b/configure
@@ -9184,7 +9184,8 @@ fi
 HAVE_IMAGEMAGICK=no
 if test "${HAVE_X11}" = "yes"; then
   if test "${with_imagemagick}" != "no"; then
-    IMAGEMAGICK_MODULE="Wand"
+    IMAGEMAGICK_REQUIRED=4.0.5
+    IMAGEMAGICK_MODULE="Wand >= $IMAGEMAGICK_REQUIRED"
 
   succeeded=no
 
index a7317833619d67fd55ace828e18ca33bbd136edc..3b4c48534346e80cff36f7b5b09dc5bee5e49a21 100644 (file)
@@ -1822,7 +1822,8 @@ fi
 HAVE_IMAGEMAGICK=no
 if test "${HAVE_X11}" = "yes"; then
   if test "${with_imagemagick}" != "no"; then
-    IMAGEMAGICK_MODULE="Wand"
+    IMAGEMAGICK_REQUIRED=4.0.5
+    IMAGEMAGICK_MODULE="Wand >= $IMAGEMAGICK_REQUIRED"
     PKG_CHECK_MODULES(IMAGEMAGICK, $IMAGEMAGICK_MODULE, HAVE_IMAGEMAGICK=yes, :)
     AC_SUBST(IMAGEMAGICK_CFLAGS)
     AC_SUBST(IMAGEMAGICK_LIBS)