bpo-34602: Fix unportable test(1) operator in configure script (GH-30490) (GH-30491)
(cherry picked from commit 3d11c1b8b49800c5c4c295953cc3abf577f6065a)
Co-authored-by: Thomas Klausner <tk@giga.or.at>
diff --git a/configure b/configure
index 0e97c52..a7d2975 100755
--- a/configure
+++ b/configure
@@ -9895,7 +9895,7 @@
# 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 9151059..5aa91cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2816,7 +2816,7 @@
# 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