From e7d79eb98a30c529cf53fb4852a71b9fd1336c41 Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Sat, 16 Sep 2023 13:38:26 +0200 Subject: patch 9.0.1900: Configure script uses non-portable == comparison Problem: Configure script uses non-portable == comparison Solution: Use the standard and portable "=" instead closes: #13095 closes: #13099 Signed-off-by: Christian Brabandt Co-authored-by: Yee Cheng Chin --- src/auto/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/auto') diff --git a/src/auto/configure b/src/auto/configure index 8e665eb50b..34e9f449aa 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -7045,7 +7045,7 @@ else $as_nop "major_minor='${vi_cv_var_python3_stable_abi}'.split('.'); print('0x{0:X}'.format( (int(major_minor.__getitem__(0))<<24) + (int(major_minor.__getitem__(1))<<16) ))"` fi - if test "X$vi_cv_var_python3_stable_abi_hex" == "X"; then + if test "X$vi_cv_var_python3_stable_abi_hex" = "X"; then as_fn_error $? "can't parse Python 3 stable ABI version. It should be \".\"" "$LINENO" 5 fi fi -- cgit v1.2.3