> Don't you want to use this diff, so that for Python 3 we search for the
> 
> "python" binary if "python3" is not available:
> 
> 
> 
> *** ../vim-7.3.754/src/configure.in   2012-11-23 21:54:43.000000000 +0100
> 
> --- src/configure.in  2012-12-09 15:41:59.000000000 +0100
> 
> ***************
> 
> *** 838,844 ****
> 
>   AC_MSG_RESULT($enable_pythoninterp)
> 
>   if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = 
> "dynamic"; then
> 
>     dnl -- find the python executable
> 
> !   AC_PATH_PROG(vi_cv_path_python, python)
> 
>     if test "X$vi_cv_path_python" != "X"; then
> 
>   
> 
>       dnl -- get its version number
> 
> --- 838,844 ----
> 
>   AC_MSG_RESULT($enable_pythoninterp)
> 
>   if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = 
> "dynamic"; then
> 
>     dnl -- find the python executable
> 
> !   AC_PATH_PROGS(vi_cv_path_python, python2 python)
> 
>     if test "X$vi_cv_path_python" != "X"; then
> 
>   
> 
>       dnl -- get its version number
> 
> ***************
> 
> *** 1028,1034 ****
> 
>   AC_MSG_RESULT($enable_python3interp)
> 
>   if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = 
> "dynamic"; then
> 
>     dnl -- find the python3 executable
> 
> !   AC_PATH_PROG(vi_cv_path_python3, python3)
> 
>     if test "X$vi_cv_path_python3" != "X"; then
> 
>   
> 
>       dnl -- get its version number
> 
> --- 1028,1034 ----
> 
>   AC_MSG_RESULT($enable_python3interp)
> 
>   if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = 
> "dynamic"; then
> 
>     dnl -- find the python3 executable
> 
> !   AC_PATH_PROGS(vi_cv_path_python3, python3 python)
> 
>     if test "X$vi_cv_path_python3" != "X"; then
> 
>   
> 
>       dnl -- get its version number

Yes, I think that version is better.

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui