Fixed curl-config --features to not display libz when it wasn't used

due to a missing header file.
This commit is contained in:
Dan Fandrich
2007-11-01 18:55:00 +00:00
parent 8be493296d
commit 48dd0c5673
3 changed files with 6 additions and 1 deletions

View File

@@ -1292,6 +1292,7 @@ else
if test "$HAVE_LIBZ" = "1" && test "$HAVE_ZLIB_H" != "1"
then
AC_MSG_WARN([configure found only the libz lib, not the header file!])
HAVE_LIBZ=""
elif test "$HAVE_LIBZ" != "1" && test "$HAVE_ZLIB_H" = "1"
then
AC_MSG_WARN([configure found only the libz header file, not the lib!])