]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) (GH-30491)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 9 Jan 2022 01:08:20 +0000 (17:08 -0800)
committerGitHub <noreply@github.com>
Sun, 9 Jan 2022 01:08:20 +0000 (20:08 -0500)
(cherry picked from commit 3d11c1b8b49800c5c4c295953cc3abf577f6065a)

Co-authored-by: Thomas Klausner <tk@giga.or.at>
configure
configure.ac

index 0e97c5228df105877f2d0b7dd1b22e8d891776ff..a7d2975f1f5e8113ac12fb6cde51bfb2e7494757 100755 (executable)
--- a/configure
+++ b/configure
@@ -9895,7 +9895,7 @@ then
                # small for the default recursion limit. Increase the stack size
                # to ensure that tests don't crash
     stack_size="1000000"  # 16 MB
-    if test "$with_ubsan" == "yes"
+    if test "$with_ubsan" = "yes"
     then
         # Undefined behavior sanitizer requires an even deeper stack
         stack_size="4000000"  # 64 MB
index 9151059f8946fa3a300443c221b47023793c6102..5aa91cbad355518b6cccf5da8c03bb4debc1af31 100644 (file)
@@ -2816,7 +2816,7 @@ then
                # small for the default recursion limit. Increase the stack size
                # to ensure that tests don't crash
     stack_size="1000000"  # 16 MB
-    if test "$with_ubsan" == "yes"
+    if test "$with_ubsan" = "yes"
     then
         # Undefined behavior sanitizer requires an even deeper stack
         stack_size="4000000"  # 64 MB