mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Make our configure.ac script use the portable =
comparison
Back in 0.4.5.1-alpha we added an `==` comparison, which isn't portable. Fixes bug #40298; bugfix on 0.4.5.1-alpha.
This commit is contained in:
parent
336c45f1a5
commit
aebd0a4080
3
changes/bug40298
Normal file
3
changes/bug40298
Normal 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.
|
@ -1144,7 +1144,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([AC_LANG_PROGRAM([[
|
|||||||
]])])], [openssl_ver_mismatch=no], [
|
]])])], [openssl_ver_mismatch=no], [
|
||||||
# This is a kludge to figure out whether compilation failed, or whether
|
# This is a kludge to figure out whether compilation failed, or whether
|
||||||
# running the program failed.
|
# running the program failed.
|
||||||
if test "$ac_retval" == "1"; then
|
if test "$ac_retval" = "1"; then
|
||||||
openssl_ver_mismatch=inconclusive
|
openssl_ver_mismatch=inconclusive
|
||||||
else
|
else
|
||||||
openssl_ver_mismatch=yes
|
openssl_ver_mismatch=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user