[Python-checkins] bpo-46308: Fix unportable test(1) operator in configure script (GH-30490)
ned-deily
webhook-mailer at python.org
Sat Jan 8 19:54:26 EST 2022
https://github.com/python/cpython/commit/3d11c1b8b49800c5c4c295953cc3abf577f6065a
commit: 3d11c1b8b49800c5c4c295953cc3abf577f6065a
branch: main
author: Thomas Klausner <tk at giga.or.at>
committer: ned-deily <nad at python.org>
date: 2022-01-08T19:54:13-05:00
summary:
bpo-46308: Fix unportable test(1) operator in configure script (GH-30490)
files:
M configure
M configure.ac
diff --git a/configure b/configure
index 9e7090c7906dd..9712446d24c11 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 ff3163f921ae2..1720b9bfbee37 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
More information about the Python-checkins
mailing list