]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix use of non-portable == in configure.ac.
authorNick Mathewson <nickm@torproject.org>
Fri, 15 May 2020 13:58:49 +0000 (09:58 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 15 May 2020 13:58:49 +0000 (09:58 -0400)
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.)

configure.ac

index a441162f4c3d87a1bc46a518fd355f48cdbac9a9..5f66d8c37e006f5e04a948b87fb3d4c129fb28a8 100644 (file)
@@ -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