mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 12:11:34 +00:00
correct zlib search (#128670)
This commit is contained in:
parent
9bc040c14c
commit
4883085aff
1 changed files with 2 additions and 2 deletions
|
@ -1120,7 +1120,7 @@ zlib_paths="$withval", zlib_paths="")
|
||||||
if test "x$need_abs_libz" = "xyes"; then
|
if test "x$need_abs_libz" = "xyes"; then
|
||||||
AC_MSG_CHECKING(for location of libz.a or libz.so)
|
AC_MSG_CHECKING(for location of libz.a or libz.so)
|
||||||
zlib_location="unknown"
|
zlib_location="unknown"
|
||||||
for d in $zlib_paths /usr/local/lib /usr/lib; do
|
for d in $zlib_paths /usr/local/lib /usr/lib /lib; do
|
||||||
for f in libz.so libz.a; do
|
for f in libz.so libz.a; do
|
||||||
if test -f $d/$f; then
|
if test -f $d/$f; then
|
||||||
zlib_location=$d/$f
|
zlib_location=$d/$f
|
||||||
|
@ -1130,7 +1130,7 @@ if test "x$need_abs_libz" = "xyes"; then
|
||||||
done
|
done
|
||||||
AC_MSG_RESULT($zlib_location)
|
AC_MSG_RESULT($zlib_location)
|
||||||
if test "$zlib_location" = unknown; then
|
if test "$zlib_location" = unknown; then
|
||||||
echo need to specify zlib location with --with-zlib
|
echo need to specify zlib location with --with-libz
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
Z_LIBS="$zlib_location"
|
Z_LIBS="$zlib_location"
|
||||||
|
|
Loading…
Reference in a new issue