wrlib: changed the function used to detecting MagickWand
commit8e0ec489a80e341319e4dfc78874ec1f3deba40e
authorChristophe CURIS <christophe.curis@free.fr>
Thu, 8 May 2014 18:16:02 +0000 (8 20:16 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 8 May 2014 19:14:22 +0000 (8 20:14 +0100)
treeb00b6e04a9ffc5033f826b35c6f26894f7d41764
parent698cffacc5c3900ac6c6e5d4b0716235ac9b6d67
wrlib: changed the function used to detecting MagickWand

It looks like that the function 'MagickGetImagePixels' is part of
the "deprecate.h" header, at least in ImageMagick 6.8.8. As it is not
used in WRaster's code, it is safer to actually check for 'NewMagickWand'
that is being used and which is not yet deprecated.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
m4/wm_imgfmt_check.m4