Patch 8.0.1683
Problem:    Python upgrade breaks Vim when defining PYTHON_HOME.
Solution:   Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki
            Inada, closes #2787)
Files:      src/configure.ac, src/auto/configure


*** ../vim-8.0.1682/src/configure.ac    2018-01-31 14:41:32.475620590 +0100
--- src/configure.ac    2018-04-10 13:20:18.362752799 +0200
***************
*** 1251,1259 ****
  
        PYTHON_LIBS="${vi_cv_path_python_plibs}"
        if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}
 -DPYTHON_HOME='\"${vi_cv_path_python_pfx}\"'"
        else
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}
 -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version} 
-DPYTHON_HOME='\"${vi_cv_path_python_pfx}\"'"
        fi
        PYTHON_SRC="if_python.c"
        PYTHON_OBJ="objects/if_python.o"
--- 1251,1259 ----
  
        PYTHON_LIBS="${vi_cv_path_python_plibs}"
        if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}"
        else
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}
 -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version}"
        fi
        PYTHON_SRC="if_python.c"
        PYTHON_OBJ="objects/if_python.o"
***************
*** 1460,1468 ****
  
          PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
          if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; 
then
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'"
          else
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 
-I${vi_cv_path_python3_epfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'"
          fi
          PYTHON3_SRC="if_python3.c"
          PYTHON3_OBJ="objects/if_python3.o"
--- 1460,1468 ----
  
          PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
          if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; 
then
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
          else
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 
-I${vi_cv_path_python3_epfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
          fi
          PYTHON3_SRC="if_python3.c"
          PYTHON3_OBJ="objects/if_python3.o"
*** ../vim-8.0.1682/src/auto/configure  2018-01-31 14:41:32.475620590 +0100
--- src/auto/configure  2018-04-10 13:22:12.705831975 +0200
***************
*** 6058,6066 ****
  
        PYTHON_LIBS="${vi_cv_path_python_plibs}"
        if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}
 -DPYTHON_HOME='\"${vi_cv_path_python_pfx}\"'"
        else
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}
 -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version} 
-DPYTHON_HOME='\"${vi_cv_path_python_pfx}\"'"
        fi
        PYTHON_SRC="if_python.c"
        PYTHON_OBJ="objects/if_python.o"
--- 6058,6066 ----
  
        PYTHON_LIBS="${vi_cv_path_python_plibs}"
        if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}"
        else
!         
PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}
 -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version}"
        fi
        PYTHON_SRC="if_python.c"
        PYTHON_OBJ="objects/if_python.o"
***************
*** 6390,6398 ****
  
          PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
          if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; 
then
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'"
          else
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 
-I${vi_cv_path_python3_epfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'"
          fi
          PYTHON3_SRC="if_python3.c"
          PYTHON3_OBJ="objects/if_python3.o"
--- 6390,6398 ----
  
          PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
          if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; 
then
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
          else
!           
PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}
 
-I${vi_cv_path_python3_epfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
          fi
          PYTHON3_SRC="if_python3.c"
          PYTHON3_OBJ="objects/if_python3.o"
*** ../vim-8.0.1682/src/version.c       2018-04-10 13:15:24.965054405 +0200
--- src/version.c       2018-04-10 13:22:07.297874973 +0200
***************
*** 764,765 ****
--- 764,767 ----
  {   /* Add new patch number below this line */
+ /**/
+     1683,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
141. You'd rather go to http://www.weather.com/ than look out your window.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui