From e0beddbaf0e6566659ed9ea64f04e8b5f9938a8e Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Wed, 10 Jun 2009 02:13:24 +0000 Subject: [PATCH] Ensure the system 'convert' utility is actually from ImageMagick. Originally committed to SVN as r3037. --- aegisub/autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/autogen.sh b/aegisub/autogen.sh index d22c34655..572effc8e 100755 --- a/aegisub/autogen.sh +++ b/aegisub/autogen.sh @@ -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"