Ensure the system 'convert' utility is actually from ImageMagick.

Originally committed to SVN as r3037.
This commit is contained in:
Amar Takhar 2009-06-10 02:13:24 +00:00
parent 3e0ef96103
commit e0beddbaf0

View file

@ -188,7 +188,7 @@ if test -z "$BIN_CONVERT"; then
fi
$ECHO_N "checking for ImageMagick 'convert' utility ... "
if test -x "$BIN_CONVERT"; then
if test -x "$BIN_CONVERT" && $BIN_CONVERT --version |grep -c ImageMagick > /dev/null; then
echo $BIN_CONVERT
else
echo "not found"