|
Karsten Hopp |
33cb5f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
33cb5f |
Subject: Patch 7.3.755
|
|
Karsten Hopp |
33cb5f |
Fcc: outbox
|
|
Karsten Hopp |
33cb5f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
33cb5f |
Mime-Version: 1.0
|
|
Karsten Hopp |
33cb5f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
33cb5f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
33cb5f |
------------
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
Patch 7.3.755
|
|
Karsten Hopp |
33cb5f |
Problem: Autoconf doesn't find Python 3 if it's called "python".
|
|
Karsten Hopp |
33cb5f |
Solution: Search for "python2" and "python3" first, then "python".
|
|
Karsten Hopp |
33cb5f |
Files: src/configure.in, src/auto/configure
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
*** ../vim-7.3.754/src/configure.in 2012-11-23 21:54:43.000000000 +0100
|
|
Karsten Hopp |
33cb5f |
--- src/configure.in 2012-12-09 15:41:59.000000000 +0100
|
|
Karsten Hopp |
33cb5f |
***************
|
|
Karsten Hopp |
33cb5f |
*** 838,844 ****
|
|
Karsten Hopp |
33cb5f |
AC_MSG_RESULT($enable_pythoninterp)
|
|
Karsten Hopp |
33cb5f |
if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
dnl -- find the python executable
|
|
Karsten Hopp |
33cb5f |
! AC_PATH_PROG(vi_cv_path_python, python)
|
|
Karsten Hopp |
33cb5f |
if test "X$vi_cv_path_python" != "X"; then
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
dnl -- get its version number
|
|
Karsten Hopp |
33cb5f |
--- 838,844 ----
|
|
Karsten Hopp |
33cb5f |
AC_MSG_RESULT($enable_pythoninterp)
|
|
Karsten Hopp |
33cb5f |
if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
dnl -- find the python executable
|
|
Karsten Hopp |
33cb5f |
! AC_PATH_PROGS(vi_cv_path_python, python2 python)
|
|
Karsten Hopp |
33cb5f |
if test "X$vi_cv_path_python" != "X"; then
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
dnl -- get its version number
|
|
Karsten Hopp |
33cb5f |
***************
|
|
Karsten Hopp |
33cb5f |
*** 1028,1034 ****
|
|
Karsten Hopp |
33cb5f |
AC_MSG_RESULT($enable_python3interp)
|
|
Karsten Hopp |
33cb5f |
if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
dnl -- find the python3 executable
|
|
Karsten Hopp |
33cb5f |
! AC_PATH_PROG(vi_cv_path_python3, python3)
|
|
Karsten Hopp |
33cb5f |
if test "X$vi_cv_path_python3" != "X"; then
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
dnl -- get its version number
|
|
Karsten Hopp |
33cb5f |
--- 1028,1034 ----
|
|
Karsten Hopp |
33cb5f |
AC_MSG_RESULT($enable_python3interp)
|
|
Karsten Hopp |
33cb5f |
if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
dnl -- find the python3 executable
|
|
Karsten Hopp |
33cb5f |
! AC_PATH_PROGS(vi_cv_path_python3, python3 python)
|
|
Karsten Hopp |
33cb5f |
if test "X$vi_cv_path_python3" != "X"; then
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
dnl -- get its version number
|
|
Karsten Hopp |
33cb5f |
*** ../vim-7.3.754/src/auto/configure 2012-11-23 21:54:43.000000000 +0100
|
|
Karsten Hopp |
33cb5f |
--- src/auto/configure 2012-12-12 14:23:46.000000000 +0100
|
|
Karsten Hopp |
33cb5f |
***************
|
|
Karsten Hopp |
33cb5f |
*** 5214,5221 ****
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_pythoninterp" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo "$enable_pythoninterp" >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
! # Extract the first word of "python", so it can be a program name with args.
|
|
Karsten Hopp |
33cb5f |
! set dummy python; ac_word=$2
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "${ac_cv_path_vi_cv_path_python+set}" = set; then :
|
|
Karsten Hopp |
33cb5f |
--- 5214,5223 ----
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_pythoninterp" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo "$enable_pythoninterp" >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "$enable_pythoninterp" = "yes" -o "$enable_pythoninterp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
! for ac_prog in python2 python
|
|
Karsten Hopp |
33cb5f |
! do
|
|
Karsten Hopp |
33cb5f |
! # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
Karsten Hopp |
33cb5f |
! set dummy $ac_prog; ac_word=$2
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "${ac_cv_path_vi_cv_path_python+set}" = set; then :
|
|
Karsten Hopp |
33cb5f |
***************
|
|
Karsten Hopp |
33cb5f |
*** 5254,5259 ****
|
|
Karsten Hopp |
33cb5f |
--- 5256,5264 ----
|
|
Karsten Hopp |
33cb5f |
fi
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
+ test -n "$vi_cv_path_python" && break
|
|
Karsten Hopp |
33cb5f |
+ done
|
|
Karsten Hopp |
33cb5f |
+
|
|
Karsten Hopp |
33cb5f |
if test "X$vi_cv_path_python" != "X"; then
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5
|
|
Karsten Hopp |
33cb5f |
***************
|
|
Karsten Hopp |
33cb5f |
*** 5509,5516 ****
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python3interp" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo "$enable_python3interp" >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
! # Extract the first word of "python3", so it can be a program name with args.
|
|
Karsten Hopp |
33cb5f |
! set dummy python3; ac_word=$2
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "${ac_cv_path_vi_cv_path_python3+set}" = set; then :
|
|
Karsten Hopp |
33cb5f |
--- 5514,5523 ----
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_python3interp" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo "$enable_python3interp" >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
|
|
Karsten Hopp |
33cb5f |
! for ac_prog in python3 python
|
|
Karsten Hopp |
33cb5f |
! do
|
|
Karsten Hopp |
33cb5f |
! # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
Karsten Hopp |
33cb5f |
! set dummy $ac_prog; ac_word=$2
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
Karsten Hopp |
33cb5f |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
Karsten Hopp |
33cb5f |
if test "${ac_cv_path_vi_cv_path_python3+set}" = set; then :
|
|
Karsten Hopp |
33cb5f |
***************
|
|
Karsten Hopp |
33cb5f |
*** 5549,5554 ****
|
|
Karsten Hopp |
33cb5f |
--- 5556,5564 ----
|
|
Karsten Hopp |
33cb5f |
fi
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
+ test -n "$vi_cv_path_python3" && break
|
|
Karsten Hopp |
33cb5f |
+ done
|
|
Karsten Hopp |
33cb5f |
+
|
|
Karsten Hopp |
33cb5f |
if test "X$vi_cv_path_python3" != "X"; then
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Python version" >&5
|
|
Karsten Hopp |
33cb5f |
*** ../vim-7.3.754/src/version.c 2012-12-06 21:30:24.000000000 +0100
|
|
Karsten Hopp |
33cb5f |
--- src/version.c 2012-12-12 14:23:14.000000000 +0100
|
|
Karsten Hopp |
33cb5f |
***************
|
|
Karsten Hopp |
33cb5f |
*** 727,728 ****
|
|
Karsten Hopp |
33cb5f |
--- 727,730 ----
|
|
Karsten Hopp |
33cb5f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
33cb5f |
+ /**/
|
|
Karsten Hopp |
33cb5f |
+ 755,
|
|
Karsten Hopp |
33cb5f |
/**/
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
--
|
|
Karsten Hopp |
33cb5f |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
33cb5f |
145. You e-mail your boss, informing him you'll be late.
|
|
Karsten Hopp |
33cb5f |
|
|
Karsten Hopp |
33cb5f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
33cb5f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
33cb5f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
33cb5f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|