On Saturday, 6 August 2016 12:22:14 UTC+8, Ken Takata  wrote:
> Hi,
> 
> 2016/8/6 Sat 13:15:24 UTC+9 Marslo Jiao wrote:
> 
> The patch is not included, because no one tested it.
> (And I have totally forgotten about the patch.)
> 
> Regards,
> Ken Takata

Here what I did:

$ git diff *
diff --git a/src/configure.in b/src/configure.in
index 504aca6..2da7a6a 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1186,6 +1186,7 @@ __:
        @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
        @echo "python_DLLLIBRARY='$(DLLLIBRARY)'"
        @echo "python_INSTSONAME='$(INSTSONAME)'"
+  @echo "python_INCLUDEPY='$(INCLUDEPY)'"
        @echo "python_PYTHONFRAMEWORK='$(PYTHONFRAMEWORK)'"
        @echo "python_PYTHONFRAMEWORKPREFIX='$(PYTHONFRAMEWORKPREFIX)'"
        @echo "python_PYTHONFRAMEWORKINSTALLDIR='$(PYTHONFRAMEWORKINSTALLDIR)'"
@@ -1240,9 +1241,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${python_INCLUDEPY} 
-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}\"'"
+    PYTHON_CFLAGS="-I${python_INCLUDEPY} 
-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"


$ make autoconf
make: *** No rule to make target `autoconf'.  Stop.

$ cd src/

$ make autoconf
if test ! -f configure.save; then mv configure configure.save; fi
autoconf
sed -e 's+>config.log+>auto/config.log+' -e 's+\./config.log+auto/config.log+' 
configure > auto/configure
chmod 755 auto/configure
mv -f configure.save configure
rm -rf autom4te.cache
rm -f auto/config.status auto/config.cache

$ cd ..

$ ./configure --prefix=$HOME/.marslo/myprograms/vim74 --enable-pythoninterp=yes 
--with-python-config-dir=/usr/local/lib/python2.7/config  --with-features=huge 
--disable-smack --enable-fail-if-missing --with-compiledby=marslo@China
...
checking for python2... /usr/local/bin/python2
checking Python version... 2.7
checking Python is 2.3 or better... yep
checking Python's install prefix... /usr/local
checking Python's execution prefix... /usr/local
checking Python's configuration directory... (cached) 
/usr/local/lib/python2.7/config
/home/marslo/.vim/vimsrc/src/config-PyMake2206:1542: *** missing separator.  
Stop.
checking Python's dll name...
...

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui