diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-10 13:29:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-10 13:29:34 +0200 |
commit | 0424958bde3d3e74c721ba39ab4d5a4744897393 (patch) | |
tree | 83227b7bad16e8f53f7c20091a6825be2d35e2d3 /src/configure.ac | |
parent | 8c87a2b1fec85e4aac33f71586ac1514536fc66b (diff) | |
download | vim-git-0424958bde3d3e74c721ba39ab4d5a4744897393.tar.gz |
patch 8.0.1683: Python upgrade breaks Vim when defining PYTHON_HOMEv8.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)
Diffstat (limited to 'src/configure.ac')
-rw-r--r-- | src/configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configure.ac b/src/configure.ac index 274ba5907..fd667f8e3 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -1251,9 +1251,9 @@ eof 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}\"'" + 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} -DPYTHON_HOME='\"${vi_cv_path_python_pfx}\"'" + 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,9 +1460,9 @@ eof 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}\"'" + 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} -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'" + 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" |