mirror of
https://github.com/curl/curl.git
synced 2026-05-20 07:46:20 +03:00
configure: avoid unportable `==' test(1) operator
Closes https://github.com/curl/curl/pull/4567
This commit is contained in:
parent
2e9b725f67
commit
bc1cd39a1d
1 changed files with 2 additions and 2 deletions
|
|
@ -4449,7 +4449,7 @@ if test "x$want_esni" != "xno"; then
|
|||
|
||||
dnl OpenSSL with a chosen ESNI function should be enough
|
||||
dnl so more exhaustive checking seems unnecessary for now
|
||||
if test "x$OPENSSL_ENABLED" == "x1"; then
|
||||
if test "x$OPENSSL_ENABLED" = "x1"; then
|
||||
AC_CHECK_FUNCS(SSL_get_esni_status,
|
||||
ESNI_SUPPORT="ESNI support available (OpenSSL with SSL_get_esni_status)"
|
||||
ESNI_ENABLED=1)
|
||||
|
|
@ -4458,7 +4458,7 @@ if test "x$want_esni" != "xno"; then
|
|||
fi
|
||||
|
||||
dnl now deal with whatever we found
|
||||
if test "x$ESNI_ENABLED" == "x1"; then
|
||||
if test "x$ESNI_ENABLED" = "x1"; then
|
||||
AC_DEFINE(USE_ESNI, 1, [if ESNI support is available])
|
||||
AC_MSG_RESULT($ESNI_SUPPORT)
|
||||
experimental="$experimental ESNI"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue