forked from aniani/vim
updated for version 7.3.948
Problem: Cannot build with Python 2.2
Solution: Make Python interface work with Python 2.2
Make 2.2 the first supported version. (ZyX)
This commit is contained in:
6
src/auto/configure
vendored
6
src/auto/configure
vendored
@@ -5289,10 +5289,10 @@ fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_var_python_version" >&5
|
||||
$as_echo "$vi_cv_var_python_version" >&6; }
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Python is 1.4 or better" >&5
|
||||
$as_echo_n "checking Python is 1.4 or better... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Python is 2.2 or better" >&5
|
||||
$as_echo_n "checking Python is 2.2 or better... " >&6; }
|
||||
if ${vi_cv_path_python} -c \
|
||||
"import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
|
||||
"import sys; sys.exit(${vi_cv_var_python_version} < 2.2)"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yep" >&5
|
||||
$as_echo "yep" >&6; }
|
||||
|
||||
Reference in New Issue
Block a user