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
Родитель 8be493296d
Коммит 48dd0c5673
3 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -6,6 +6,10 @@
Changelog 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) Dan F (31 October 2007)
- Fixed the output of curl-config --protocols which showed SCP and SFTP - Fixed the output of curl-config --protocols which showed SCP and SFTP
always, except when --without-libssh2 was given always, except when --without-libssh2 was given

Просмотреть файл

@ -15,7 +15,7 @@ This release includes the following changes:
This release includes the following bugfixes: This release includes the following bugfixes:
o curl-config --features and --protocols show the correct output when built 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: This release includes the following known bugs:

Просмотреть файл

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