Fixed the output of curl-config --protocols which showed SCP and SFTP

always, except when --without-libssh2 was given
This commit is contained in:
Dan Fandrich 2007-10-31 23:33:58 +00:00
Родитель 6790c559af
Коммит 823a0454a6
3 изменённых файлов: 7 добавлений и 2 удалений

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

@ -6,6 +6,10 @@
Changelog
Dan F (31 October 2007)
- Fixed the output of curl-config --protocols which showed SCP and SFTP
always, except when --without-libssh2 was given
Dan F (30 October 2007)
- Fixed an OOM problem with file: URLs

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

@ -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
with NSS, and also when SCP and SFTP are not available
This release includes the following known bugs:

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

@ -1356,8 +1356,9 @@ if test X"$OPT_LIBSSH2" != Xno; then
AC_CHECK_HEADERS(libssh2.h,
curl_ssh_msg="enabled (libSSH2)"
LIBSSH2_ENABLED=1
AC_DEFINE(USE_LIBSSH2, 1, [if libSSH2 is in use]))
AC_DEFINE(USE_LIBSSH2, 1, [if libSSH2 is in use])
AC_SUBST(USE_LIBSSH2, [1])
)
if test X"$OPT_LIBSSH2" != Xoff &&
test "$LIBSSH2_ENABLED" != "1"; then