(svn r7799) -Fix (r7759): gracefully handle cases where the directory libz.a is in is given via --with-libz.

This commit is contained in:
rubidium 2007-01-03 16:36:36 +00:00
parent eee7138b16
commit 1e89d6e432

View File

@ -1672,7 +1672,12 @@ detect_zlib() {
fi fi
else else
# Make sure it exists # Make sure it exists
if [ -f "$zlib" ]
then
zlib=`ls $with_zlib 2>/dev/null` zlib=`ls $with_zlib 2>/dev/null`
else
zlib=`ls $with_zlib/libz.a 2>/dev/null`
fi
fi fi
if [ -z "$zlib" ] if [ -z "$zlib" ]