]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46308: Fix unportable test(1) operator in configure script (GH-30490)
authorThomas Klausner <tk@giga.or.at>
Sun, 9 Jan 2022 00:54:13 +0000 (01:54 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Jan 2022 00:54:13 +0000 (19:54 -0500)
configure
configure.ac

index 9e7090c7906dd77e4d13dddd009c58879749bb4a..9712446d24c11d7fc519054ab222423410998929 100755 (executable)
--- a/configure
+++ b/configure
@@ -10315,7 +10315,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 ff3163f921ae26448e99877e255d764941b6ca8c..1720b9bfbee379dce3231b1256c20282ed6ec5f5 100644 (file)
@@ -2861,7 +2861,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