diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-29 10:13:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-29 11:23:23 +0200 |
commit | cbe7fad20d969626a5c4eb0501a273dfe812bcd3 (patch) | |
tree | 2eab62b0d6d5bce37fdafc2e61935b1b658358cd /m4 | |
parent | 83c6493296a30a41138e2cb9a6a6d29fe9a7b5e8 (diff) | |
download | curl-cbe7fad20d969626a5c4eb0501a273dfe812bcd3.tar.gz |
ECH: renamed from ESNI in docs and configure
Encrypted Client Hello (ECH) is the current name.
Closes #6022
Diffstat (limited to 'm4')
-rw-r--r-- | m4/curl-confopts.m4 | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4 index eaae5b9c6..5f877133a 100644 --- a/m4/curl-confopts.m4 +++ b/m4/curl-confopts.m4 @@ -649,37 +649,37 @@ AC_DEFUN([CURL_CHECK_NTLM_WB], [ fi ]) -dnl CURL_CHECK_OPTION_ESNI +dnl CURL_CHECK_OPTION_ECH dnl ----------------------------------------------------- dnl Verify whether configure has been invoked with option -dnl --enable-esni or --disable-esni, and set -dnl shell variable want_esni as appropriate. - -AC_DEFUN([CURL_CHECK_OPTION_ESNI], [ - AC_MSG_CHECKING([whether to enable ESNI support]) - OPT_ESNI="default" - AC_ARG_ENABLE(esni, -AC_HELP_STRING([--enable-esni],[Enable ESNI support]) -AC_HELP_STRING([--disable-esni],[Disable ESNI support]), - OPT_ESNI=$enableval) - case "$OPT_ESNI" in +dnl --enable-ech or --disable-ech, and set +dnl shell variable want_ech as appropriate. + +AC_DEFUN([CURL_CHECK_OPTION_ECH], [ + AC_MSG_CHECKING([whether to enable ECH support]) + OPT_ECH="default" + AC_ARG_ENABLE(ech, +AC_HELP_STRING([--enable-ech],[Enable ECH support]) +AC_HELP_STRING([--disable-ech],[Disable ECH support]), + OPT_ECH=$enableval) + case "$OPT_ECH" in no) - dnl --disable-esni option used - want_esni="no" - curl_esni_msg="no (--enable-esni)" + dnl --disable-ech option used + want_ech="no" + curl_ech_msg="no (--enable-ech)" AC_MSG_RESULT([no]) ;; default) dnl configure option not specified - want_esni="no" - curl_esni_msg="no (--enable-esni)" + want_ech="no" + curl_ech_msg="no (--enable-ech)" AC_MSG_RESULT([no]) ;; *) - dnl --enable-esni option used - want_esni="yes" - curl_esni_msg="enabled (--disable-esni)" - experimental="esni" + dnl --enable-ech option used + want_ech="yes" + curl_ech_msg="enabled (--disable-ech)" + experimental="ech" AC_MSG_RESULT([yes]) ;; esac |