Changeset - r19086:cf77bf636a75
[Not reviewed]
master
0 1 0
michi_cc - 12 years ago 2012-02-15 21:39:10
michi_cc@openttd.org
(svn r23954) -Fix (r23952): Update required grfcodec version.
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -3117,15 +3117,15 @@ detect_grfcodec() {
 
	version=`$grfcodec -v 2>/dev/null | $awk '{print $3}' | sed 's/[rM]//g;s/-/0/'`
 
	ret=$?
 
	log 2 "executing grfcodec -v"
 
	log 2 "  returned $version"
 
	log 2 "  exit code $ret"
 

	
 
	if [ -z "$version" ] || [ "$ret" != "0" ] || [ "$version" -lt "846" ]; then
 
		if [ -n "$version" ] && [ "$version" -lt "846" ]; then
 
			log 1 "checking grfcodec... needs at least version 5.1.3 (r846), disabled"
 
	if [ -z "$version" ] || [ "$ret" != "0" ] || [ "$version" -lt "897" ]; then
 
		if [ -n "$version" ] && [ "$version" -lt "897" ]; then
 
			log 1 "checking grfcodec... needs at least version 5.1.4 (r897), disabled"
 
		else
 
			log 1 "checking grfcodec... not found"
 
		fi
 

	
 
		# It was forced, so it should be found.
 
		if [ "$with_grfcodec" != "1" ]; then
0 comments (0 inline, 0 general)