[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/release-0.4.2] Fix use of non-portable == in configure.ac.
commit a59d54756f9b369fefdc7ca84c432d8873264f42
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits