(svn r23981) -Codechange: reduce GRF size by a few percent by letting GRFCodec determine the best compression

This commit is contained in:
rubidium
2012-02-24 22:19:45 +00:00
parent a77c72936d
commit a28614d6d1
6 changed files with 7 additions and 7 deletions

View File

@@ -3120,9 +3120,9 @@ detect_grfcodec() {
log 2 " returned $version"
log 2 " exit code $ret"
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"
if [ -z "$version" ] || [ "$ret" != "0" ] || [ "$version" -lt "904" ]; then
if [ -n "$version" ] && [ "$version" -lt "904" ]; then
log 1 "checking grfcodec... needs at least version 5.1.4 (r904), disabled"
else
log 1 "checking grfcodec... not found"
fi