From: Daniel Stenberg Date: Sat, 12 Dec 2009 22:33:18 +0000 (+0000) Subject: show POP3S, IMAPS and SMTPS as protocols if SSL is enabled X-Git-Tag: curl-7_20_0~272 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30eb452adf0f4770ee3249c2b1e089fea973a806;p=thirdparty%2Fcurl.git show POP3S, IMAPS and SMTPS as protocols if SSL is enabled --- diff --git a/configure.ac b/configure.ac index f67ccb0680..8ae8077317 100644 --- a/configure.ac +++ b/configure.ac @@ -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"