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
parent 6790c559af
commit 823a0454a6
3 changed files with 7 additions and 2 deletions

View File

@ -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

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

View File

@ -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