On Tuesday, June 11, 2013 11:43:30 AM UTC-5, Ben Fritz wrote:
>
> But the "sane" check still fails. I got a hint from here:
>
> http://mail.python.org/pipermail/distutils-sig/2002-January/002744.html
>
> The problem is in the escaping of the -DPYTHON_HOME flag. I had to REMOVE the
> extra \ as in the attached diff.
>
The diff I attached before allows "configure" to succeed but then the build
fails.
The new diff attached fixes both, using '' to surround the " in addition to
removing the backslash.
--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
*** ../orig/vim-7-3-969/vim-7-3-969/src/auto/configure Sat May 18 11:55:34 2013
--- src/auto/configure Tue Jun 11 11:56:50 2013
***************
*** 5405,5413 ****
fi
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"
--- 5405,5413 ----
fi
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"