Changeset - r23391:4ae1afb8cfb7
[Not reviewed]
master
0 1 0
Charles Pigott - 6 years ago 2019-03-03 16:54:04
charlespigott@googlemail.com
Fix: Wrong variable was used in zlib detection
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -817,13 +817,13 @@ check_params() {
 
		log 1 "checking assert... disabled"
 
	fi
 

	
 
	pre_detect_with_zlib=$with_zlib
 
	detect_zlib
 

	
 
	if [ "$with_zlib" = "0" ] || [ -z "$zlib-config" ]; then
 
	if [ "$with_zlib" = "0" ] || [ -z "$zlib_config" ]; then
 
		log 1 "WARNING: zlib was not detected or disabled"
 
		log 1 "WARNING: OpenTTD doesn't require zlib, but it does mean that many features"
 
		log 1 "WARNING: (like loading most old savegames/scenarios, loading heightmaps,"
 
		log 1 "WARNING: using PNG, or using fonts, ...) will be disabled."
 
		if [ "$pre_detect_with_zlib" = "0" ]; then
 
			log 1 "WARNING: We strongly suggest you to install zlib."
0 comments (0 inline, 0 general)