From 4883085aff59f11a6259097eac63c6a9969bc8ab Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 14 Jan 2001 03:17:47 +0000 Subject: [PATCH] correct zlib search (#128670) --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index accd507..8e9e22a 100644 --- a/configure.in +++ b/configure.in @@ -1120,7 +1120,7 @@ zlib_paths="$withval", zlib_paths="") if test "x$need_abs_libz" = "xyes"; then AC_MSG_CHECKING(for location of libz.a or libz.so) 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 if test -f $d/$f; then zlib_location=$d/$f @@ -1130,7 +1130,7 @@ if test "x$need_abs_libz" = "xyes"; then done AC_MSG_RESULT($zlib_location) 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 fi Z_LIBS="$zlib_location"