summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLeonardo Taccari <iamleot@gmail.com>2019-11-06 23:53:44 +0100
committerJay Satiro <raysatiro@yahoo.com>2019-11-06 19:41:38 -0500
commitbc1cd39a1d7fdd505dcfe6a4582e85631417d126 (patch)
tree54e008acef58bb5a378d4683067fca6e9e0eae28 /configure.ac
parent2e9b725f67d49a9d7a1f053fe52dd4920c9ab1ad (diff)
downloadcurl-bc1cd39a1d7fdd505dcfe6a4582e85631417d126.tar.gz
configure: avoid unportable `==' test(1) operator
Closes https://github.com/curl/curl/pull/4567
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index cb8f4943e..2139f55a8 100755
--- a/configure.ac
+++ b/configure.ac
@@ -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"