mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
m4: reposition USE_RUSTLS="yes" for pkg-config
It's necessary to set this var to "yes" _after_ AC_DEFINE and AC_SUBST in order for a later `test` to pass so that `check_for_ca_bundle=1` ends up being set. This is in turn required for the default CA certificate bundle to be set when building w/ rustls & pkg-config. Reported-by: Matt Jolly Fixes #13248 Closes #13251
This commit is contained in:
parent
5418812d34
commit
5a50cb5a18
@ -137,10 +137,10 @@ if test "x$OPT_RUSTLS" != xno; then
|
||||
dnl additional libs may be necessary. Hope that we
|
||||
dnl don't need any.
|
||||
LIBS="$SSL_LIBS $LIBS"
|
||||
USE_RUSTLS="yes"
|
||||
ssl_msg="rustls"
|
||||
AC_DEFINE(USE_RUSTLS, 1, [if rustls is enabled])
|
||||
AC_SUBST(USE_RUSTLS, [1])
|
||||
USE_RUSTLS="yes"
|
||||
RUSTLS_ENABLED=1
|
||||
test rustls != "$DEFAULT_SSL_BACKEND" || VALID_DEFAULT_SSL_BACKEND=yes
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user