Mercurial > vim
comparison src/configure.in @ 4833:70b1178dec79 v7.3.1163
updated for version 7.3.1163
Problem: Not easy to load Python modules.
Solution: Search "python2", "python3" and "pythonx" directories in
'runtimepath' for Python modules. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 10 Jun 2013 21:27:29 +0200 |
parents | 761e42cc79c2 |
children | 81dedcd64821 |
comparison
equal
deleted
inserted
replaced
4832:54430b55ceff | 4833:70b1178dec79 |
---|---|
861 AC_CACHE_CHECK(Python version,vi_cv_var_python_version, | 861 AC_CACHE_CHECK(Python version,vi_cv_var_python_version, |
862 [[vi_cv_var_python_version=` | 862 [[vi_cv_var_python_version=` |
863 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` | 863 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` |
864 ]]) | 864 ]]) |
865 | 865 |
866 dnl -- it must be at least version 2.2 | 866 dnl -- it must be at least version 2.3 |
867 AC_MSG_CHECKING(Python is 2.2 or better) | 867 AC_MSG_CHECKING(Python is 2.3 or better) |
868 if ${vi_cv_path_python} -c \ | 868 if ${vi_cv_path_python} -c \ |
869 "import sys; sys.exit(${vi_cv_var_python_version} < 2.2)" | 869 "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)" |
870 then | 870 then |
871 AC_MSG_RESULT(yep) | 871 AC_MSG_RESULT(yep) |
872 | 872 |
873 dnl -- find where python thinks it was installed | 873 dnl -- find where python thinks it was installed |
874 AC_CACHE_CHECK(Python's install prefix,vi_cv_path_python_pfx, | 874 AC_CACHE_CHECK(Python's install prefix,vi_cv_path_python_pfx, |