Mercurial > vim
comparison src/auto/configure @ 33264:fda04a2e9dee v9.0.1900
patch 9.0.1900: Configure script uses non-portable == comparison
Commit: https://github.com/vim/vim/commit/e7d79eb98a30c529cf53fb4852a71b9fd1336c41
Author: Yee Cheng Chin <ychin.git@gmail.com>
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 <cb@256bit.org>
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Sep 2023 13:45:06 +0200 |
parents | 6028d7f701ce |
children | dcfbfe57141c |
comparison
equal
deleted
inserted
replaced
33263:f20388fbebd8 | 33264:fda04a2e9dee |
---|---|
7043 vi_cv_var_python3_stable_abi_hex=` | 7043 vi_cv_var_python3_stable_abi_hex=` |
7044 ${vi_cv_path_python3} -c \ | 7044 ${vi_cv_path_python3} -c \ |
7045 "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) ))"` | 7045 "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) ))"` |
7046 fi | 7046 fi |
7047 | 7047 |
7048 if test "X$vi_cv_var_python3_stable_abi_hex" == "X"; then | 7048 if test "X$vi_cv_var_python3_stable_abi_hex" = "X"; then |
7049 as_fn_error $? "can't parse Python 3 stable ABI version. It should be \"<major>.<minor>\"" "$LINENO" 5 | 7049 as_fn_error $? "can't parse Python 3 stable ABI version. It should be \"<major>.<minor>\"" "$LINENO" 5 |
7050 fi | 7050 fi |
7051 fi | 7051 fi |
7052 | 7052 |
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python's abiflags" >&5 | 7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking Python's abiflags" >&5 |