ImageMagick fix for bug#7955.

* configure.in: Require ImageMagick >= 6.2.8.  (Bug#7955)

* etc/NEWS: Mention ImageMagick version.
This commit is contained in:
Glenn Morris 2011-04-11 20:55:07 -07:00
parent d515dc24ca
commit f5b06c3546
3 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2011-04-12 Glenn Morris <rgm@gnu.org>
* configure.in: Require ImageMagick >= 6.2.8. (Bug#7955)
2011-04-09 Paul Eggert <eggert@cs.ucla.edu>
* lib/allocator.c: New file, automatically generated by gnulib.

View file

@ -1805,7 +1805,10 @@ fi
HAVE_IMAGEMAGICK=no
if test "${HAVE_X11}" = "yes"; then
if test "${with_imagemagick}" != "no"; then
IMAGEMAGICK_MODULE="Wand"
## 6.2.8 is the earliest version known to work, but earlier versions
## might work - let us know if you find one.
## 6.0.7 does not work. See bug#7955.
IMAGEMAGICK_MODULE="Wand >= 6.2.8"
PKG_CHECK_MODULES(IMAGEMAGICK, $IMAGEMAGICK_MODULE, HAVE_IMAGEMAGICK=yes, :)
AC_SUBST(IMAGEMAGICK_CFLAGS)
AC_SUBST(IMAGEMAGICK_LIBS)

View file

@ -131,8 +131,10 @@ for this.
** ImageMagick support.
It is now possible to use the ImageMagick library to load many new
image formats in Emacs. By default, Emacs links with the ImageMagick
libraries if they are present at build time. To disable this, use
the configure option `--without-imagemagick'.
libraries if they are present at build time. This needs ImageMagick
6.2.8 or newer (versions newer than 6.0.7 _may_ work but have not been
tested). To disable ImageMagick support, use the configure option
`--without-imagemagick'.
The new function `imagemagick-types' returns a list of image file
extensions that your installation of ImageMagick supports. The