diff options
author | Haibo Huang <hhb@google.com> | 2019-11-06 02:28:57 -0800 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2019-11-07 14:50:14 -0800 |
commit | 31944078438ccd353d4f859b0edf13549632c8c5 (patch) | |
tree | d3ff51c6233550c6abf7dca37682528b8c4aa18f /m4 | |
parent | e2715bc33e581b1922afa44f33b1dc44853249ce (diff) | |
download | external_curl-31944078438ccd353d4f859b0edf13549632c8c5.tar.gz external_curl-31944078438ccd353d4f859b0edf13549632c8c5.tar.bz2 external_curl-31944078438ccd353d4f859b0edf13549632c8c5.zip |
Upgrade curl to curl-7_67_0
Test: None
Change-Id: Id1ea5cb5995ca5b40514cfeaf52941990302c927
Diffstat (limited to 'm4')
-rw-r--r-- | m4/curl-confopts.m4 | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/m4/curl-confopts.m4 b/m4/curl-confopts.m4 index 20fcc526..af15a85d 100644 --- a/m4/curl-confopts.m4 +++ b/m4/curl-confopts.m4 @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. +# Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -648,3 +648,39 @@ AC_DEFUN([CURL_CHECK_NTLM_WB], [ NTLM_WB_ENABLED=1 fi ]) + +dnl CURL_CHECK_OPTION_ESNI +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 + no) + dnl --disable-esni option used + want_esni="no" + curl_esni_msg="no (--enable-esni)" + AC_MSG_RESULT([no]) + ;; + default) + dnl configure option not specified + want_esni="no" + curl_esni_msg="no (--enable-esni)" + AC_MSG_RESULT([no]) + ;; + *) + dnl --enable-esni option used + want_esni="yes" + curl_esni_msg="enabled (--disable-esni)" + experimental="esni" + AC_MSG_RESULT([yes]) + ;; + esac +]) |