mirror of
https://github.com/curl/curl.git
synced 2026-04-25 04:42:12 +03:00
autotools: detect wolfSSL_set_quic_use_legacy_code like cmake does
Cherry-picked from #17082 Closes #17172
This commit is contained in:
parent
4bfc379b90
commit
4a15cfc99f
2 changed files with 4 additions and 1 deletions
1
.github/scripts/cmp-config.pl
vendored
1
.github/scripts/cmp-config.pl
vendored
|
|
@ -76,6 +76,7 @@ my %remove = (
|
|||
'#define HAVE_SYS_XATTR_H 1' => 1,
|
||||
'#define HAVE_UNICODE_UIDNA_H 1' => 1,
|
||||
'#define HAVE_WOLFSSH_SSH_H 1' => 1,
|
||||
'#define HAVE_WOLFSSL_SET_QUIC_USE_LEGACY_CODEPOINT 1' => 1,
|
||||
'#define HAVE_ZSTD 1' => 1,
|
||||
'#define HAVE_ZSTD_H 1' => 1,
|
||||
'#define LT_OBJDIR ".libs/"' => 1,
|
||||
|
|
|
|||
|
|
@ -108,7 +108,6 @@ if test "x$OPT_WOLFSSL" != xno; then
|
|||
WOLFSSL_ENABLED=1
|
||||
USE_WOLFSSL="yes"
|
||||
ssl_msg="wolfSSL"
|
||||
QUIC_ENABLED=yes
|
||||
test wolfssl != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
|
||||
],
|
||||
[
|
||||
|
|
@ -130,6 +129,9 @@ if test "x$OPT_WOLFSSL" != xno; then
|
|||
|
||||
LIBS="$addlib -lm $LIBS"
|
||||
|
||||
dnl is this wolfSSL providing the original QUIC API?
|
||||
AC_CHECK_FUNCS([wolfSSL_set_quic_use_legacy_codepoint], [QUIC_ENABLED=yes])
|
||||
|
||||
dnl wolfSSL needs configure --enable-opensslextra to have *get_peer*
|
||||
dnl DES* is needed for NTLM support and lives in the OpenSSL compatibility
|
||||
dnl layer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue