mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4.677
Problem: Configure fails when specifying a python-config-dir. (Lcd) Solution: Check if PYTHONFRAMEWORKPREFIX is set.
This commit is contained in:
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@@ -5906,7 +5906,7 @@ eof
|
|||||||
else
|
else
|
||||||
vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
|
vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
|
||||||
fi
|
fi
|
||||||
if test -n "${python_LINKFORSHARED}"; then
|
if test -n "${python_LINKFORSHARED}" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
|
||||||
python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t].*/\1/'`
|
python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t].*/\1/'`
|
||||||
python_link_path=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t][ \t]*\(.*\)/\2/'`
|
python_link_path=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t][ \t]*\(.*\)/\2/'`
|
||||||
if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
|
if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
|
||||||
|
@@ -1148,7 +1148,7 @@ eof
|
|||||||
dnl -- Check if the path contained in python_LINKFORSHARED is
|
dnl -- Check if the path contained in python_LINKFORSHARED is
|
||||||
dnl usable for vim build. If not, make and try other
|
dnl usable for vim build. If not, make and try other
|
||||||
dnl candidates.
|
dnl candidates.
|
||||||
if test -n "${python_LINKFORSHARED}"; then
|
if test -n "${python_LINKFORSHARED}" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
|
||||||
python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]].*/\1/'`
|
python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]].*/\1/'`
|
||||||
python_link_path=`echo ${python_LINKFORSHARED} | sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]][[ \t]]*\(.*\)/\2/'`
|
python_link_path=`echo ${python_LINKFORSHARED} | sed 's/\([[^ \t]][[^ \t]]*[[ \t]][[ \t]]*[[^ \t]][[^ \t]]*\)[[ \t]][[ \t]]*\(.*\)/\2/'`
|
||||||
if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
|
if test -n "${python_link_path}" && ! test -x "${python_link_path}"; then
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
677,
|
||||||
/**/
|
/**/
|
||||||
676,
|
676,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user