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 08d507e40c
commit 357b527249
1 changed files with 1 additions and 1 deletions

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"