From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 9 Jan 2022 01:08:20 +0000 (-0800) Subject: bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) (GH-30491) X-Git-Tag: v3.10.2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b962544594c6a7c695330dd20fedffb3a1916ba6;p=thirdparty%2FPython%2Fcpython.git bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) (GH-30491) (cherry picked from commit 3d11c1b8b49800c5c4c295953cc3abf577f6065a) Co-authored-by: Thomas Klausner --- diff --git a/configure b/configure index 0e97c5228df1..a7d2975f1f5e 100755 --- 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 diff --git a/configure.ac b/configure.ac index 9151059f8946..5aa91cbad355 100644 --- a/configure.ac +++ b/configure.ac @@ -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