# HG changeset patch # User Christian Brabandt # Date 1694864706 -7200 # Node ID fda04a2e9dee373914f3934181846b52bd06c72d # Parent f20388fbebd804ad8ea28e0609a58cbc58d479cf patch 9.0.1900: Configure script uses non-portable == comparison Commit: https://github.com/vim/vim/commit/e7d79eb98a30c529cf53fb4852a71b9fd1336c41 Author: Yee Cheng Chin Date: Sat Sep 16 13:38:26 2023 +0200 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 diff --git a/src/auto/configure b/src/auto/configure --- 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 diff --git a/src/configure.ac b/src/configure.ac --- a/src/configure.ac +++ b/src/configure.ac @@ -1511,7 +1511,7 @@ if test "$enable_python3interp" = "yes" vi_cv_var_python3_stable_abi_hex=` ${vi_cv_path_python3} -c \ "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) ))"` ]) - if test "X$vi_cv_var_python3_stable_abi_hex" == "X"; then + if test "X$vi_cv_var_python3_stable_abi_hex" = "X"; then AC_MSG_ERROR([can't parse Python 3 stable ABI version. It should be "."]) fi fi diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1900, +/**/ 1899, /**/ 1898,