Merge branch 'tor-gitlab/mr/311'

This commit is contained in:
David Goulet 2021-02-17 13:22:36 -05:00
commit 2709828494
2 changed files with 4 additions and 1 deletions

3
changes/bug40298 Normal file
View File

@ -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.

View File

@ -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