mirror of
https://github.com/curl/curl.git
synced 2026-07-17 11:47:19 +03:00
show POP3S, IMAPS and SMTPS as protocols if SSL is enabled
This commit is contained in:
parent
92b9b46831
commit
30eb452adf
1 changed files with 9 additions and 0 deletions
|
|
@ -2559,12 +2559,21 @@ if test "x$CURL_DISABLE_TFTP" != "x1"; then
|
|||
fi
|
||||
if test "x$CURL_DISABLE_POP3" != "x1"; then
|
||||
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3"
|
||||
if test "x$SSL_ENABLED" = "x1"; then
|
||||
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS POP3S"
|
||||
fi
|
||||
fi
|
||||
if test "x$CURL_DISABLE_IMAP" != "x1"; then
|
||||
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAP"
|
||||
if test "x$SSL_ENABLED" = "x1"; then
|
||||
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS IMAPS"
|
||||
fi
|
||||
fi
|
||||
if test "x$CURL_DISABLE_SMTP" != "x1"; then
|
||||
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTP"
|
||||
if test "x$SSL_ENABLED" = "x1"; then
|
||||
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SMTPS"
|
||||
fi
|
||||
fi
|
||||
if test "x$USE_LIBSSH2" = "x1"; then
|
||||
SUPPORT_PROTOCOLS="$SUPPORT_PROTOCOLS SCP"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue