Changeset - r5505:d2063ca00441
[Not reviewed]
master
0 1 0
rubidium - 18 years ago 2007-01-03 16:36:36
rubidium@openttd.org
(svn r7799) -Fix (r7759): gracefully handle cases where the directory libz.a is in is given via --with-libz.
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -1672,7 +1672,12 @@ detect_zlib() {
 
		fi
 
	else
 
		# Make sure it exists
 
		if [ -f "$zlib" ]
 
		then
 
		zlib=`ls $with_zlib 2>/dev/null`
 
		else
 
			zlib=`ls $with_zlib/libz.a 2>/dev/null`
 
		fi
 
	fi
 

	
 
	if [ -z "$zlib" ]
0 comments (0 inline, 0 general)