summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-02-17 13:22:36 -0500
committerDavid Goulet <dgoulet@torproject.org>2021-02-17 13:22:36 -0500
commit2709828494b961c92b9389bb2fd934f932fe54bc (patch)
tree8c1f33d12a364495a61c5abc5ba75351405765b1
parent1b74c4904857cd917a0e672eccb7794a3c77c258 (diff)
parentaebd0a4080559a5c24e580ddf50e5b5c8ff1cc29 (diff)
downloadtor-2709828494b961c92b9389bb2fd934f932fe54bc.tar.gz
tor-2709828494b961c92b9389bb2fd934f932fe54bc.zip
Merge branch 'tor-gitlab/mr/311'
-rw-r--r--changes/bug402983
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug40298 b/changes/bug40298
new file mode 100644
index 0000000000..8b8b0bbc12
--- /dev/null
+++ b/changes/bug40298
@@ -0,0 +1,3 @@
+ o Minor bugfixes (portability):
+ - Fix a non-portable usage of "==" with "test" in the configure script.
+ Fixes bug 40298; bugfix on 0.4.5.1-alpha.
diff --git a/configure.ac b/configure.ac
index 07cdb26442..f48e787c63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1157,7 +1157,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([AC_LANG_PROGRAM([[
]])])], [openssl_ver_mismatch=no], [
# This is a kludge to figure out whether compilation failed, or whether
# running the program failed.
- if test "$ac_retval" == "1"; then
+ if test "$ac_retval" = "1"; then
openssl_ver_mismatch=inconclusive
else
openssl_ver_mismatch=yes