- no longer warns for mbedtls
- warns for each item on individual lines
- no longer shows irrelevant TLS libraries when multiple are selected
- removes ech repetition
Closes #13941
Features: ${SUPPORT_FEATURES}
])
-non13=`echo "$TLSCHOICE" | $EGREP -i 'bearssl|secure-transport|mbedtls'`;
+non13=`echo "$TLSCHOICE" | $EGREP -io 'bearssl|secure-transport'`;
if test -n "$non13"; then
- cat >&2 << _EOF
- WARNING: A selected TLS library ($TLSCHOICE) does not support TLS 1.3!
-_EOF
+ for a in $non13; do
+ AC_MSG_WARN([$a is enabled for TLS but it does not support TLS 1.3])
+ done
fi
if test -n "$experimental"; then
- cat >&2 << _EOF
- WARNING: $experimental enabled but marked EXPERIMENTAL. Use with caution!
-_EOF
+ for a in $experimental; do
+ AC_MSG_WARN([$a is enabled but marked EXPERIMENTAL. Use with caution!])
+ done
fi
dnl --enable-httpsrr option used
want_httpsrr="yes"
curl_httpsrr_msg="enabled (--disable-httpsrr)"
- experimental="httpsrr"
AC_MSG_RESULT([yes])
;;
esac
dnl --enable-ech option used
want_ech="yes"
curl_ech_msg="enabled (--disable-ech)"
- experimental="ech"
AC_MSG_RESULT([yes])
;;
esac