updated for version 7.4.677
Problem: Configure fails when specifying a python-config-dir. (Lcd)
Solution: Check if PYTHONFRAMEWORKPREFIX is set.
diff --git a/src/configure.in b/src/configure.in
index 9d81215..be3c658 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1148,7 +1148,7 @@
dnl -- Check if the path contained in python_LINKFORSHARED is
dnl usable for vim build. If not, make and try other
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_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