1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 11:35:07 -05:00

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

@ -6,6 +6,10 @@
Changelog
Dan F (1 Nov 2007)
- Fixed curl-config --features to not display libz when it wasn't used
due to a missing header file.
Dan F (31 October 2007)
- Fixed the output of curl-config --protocols which showed SCP and SFTP
always, except when --without-libssh2 was given

View File

@ -15,7 +15,7 @@ This release includes the following changes:
This release includes the following bugfixes:
o curl-config --features and --protocols show the correct output when built
with NSS, and also when SCP and SFTP are not available
with NSS, and also when SCP, SFTP and libz are not available
This release includes the following known bugs:

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!])