aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-05-15 09:58:49 -0400
committerNick Mathewson <nickm@torproject.org>2020-05-15 09:58:49 -0400
commita59d54756f9b369fefdc7ca84c432d8873264f42 (patch)
treede8688f7196a796328d448b3e00538bcbe2e1008
parente63bfca5f2d98788d11b9a0a82bf67277a228c71 (diff)
downloadtor-a59d54756f9b369fefdc7ca84c432d8873264f42.tar.gz
tor-a59d54756f9b369fefdc7ca84c432d8873264f42.zip
Fix use of non-portable == in configure.ac.
Fixes bug 34233. (This has bug has been backported to 0.3.5, but only released in 0.4.3, so it only needs a changes file there.)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a441162f4c..5f66d8c37e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -368,7 +368,7 @@ AC_CACHE_CHECK([for __attribute__((fallthrough))],
[tor_cv_c_attr_fallthrough=no] )])
CFLAGS="$saved_CFLAGS"
-if test "$tor_cv_c_attr_fallthrough" == "yes"; then
+if test "$tor_cv_c_attr_fallthrough" = "yes"; then
AC_DEFINE(HAVE_ATTR_FALLTHROUGH, [1], [defined if we have the fallthrough attribute.])
fi