[tor-commits] [tor/release-0.3.5] Fix use of non-portable == in configure.ac.

nickm at torproject.org nickm at torproject.org
Fri May 15 14:28:55 UTC 2020


commit a59d54756f9b369fefdc7ca84c432d8873264f42
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri May 15 09:58:49 2020 -0400

    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.)
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a441162f4..5f66d8c37 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
 





More information about the tor-commits mailing list