From 3d11c1b8b49800c5c4c295953cc3abf577f6065a Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Sun, 9 Jan 2022 01:54:13 +0100 Subject: [PATCH] bpo-46308: Fix unportable test(1) operator in configure script (GH-30490) --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 9e7090c7906..9712446d24c 100755 --- 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 diff --git a/configure.ac b/configure.ac index ff3163f921a..1720b9bfbee 100644 --- a/configure.ac +++ b/configure.ac @@ -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