Configure has a lot, but really a lot, of possible arguments. To see them all, use
src/auto/configure --help |less For your usecase, I think the following might perhaps be relevant (but you might want to read it all): --enable-pythoninterp=OPTS Include Python interpreter. default=no OPTS=no/yes/dynamic --enable-python3interp=OPTS Include Python3 interpreter. default=no OPTS=no/yes/dynamic --with-plthome=PLTHOME Use PLTHOME. --with-python-config-dir=PATH Python's config directory --with-python3-config-dir=PATH Python's config directory Also, --disable-blablabla is equivalent to --enable-blablabla=no and --without-blablabla is equivalent to --with-blablabla=no for any value of blablabla. In any case, I recommend not to edit the makefile, and not to invoke configure directly yourself with arguments on the command-line, but instead to set the configure arguments by means of environments variables set by sourcing a script, so you can be sure to use the right arguments every time. For details, see the last two links above the bottom line of http://users.skynet.be/antoine.mechelynck/vim/ Best regards, Tony. On Sun, Apr 2, 2017 at 8:49 PM, Jacky Liu <bluegene8...@gmail.com> wrote: > I'm making a custom version of python with some self written C++ extensions, > I don't want to mess with the default installation on my Ubuntu so I > installed it to .local/ under my own home directory. > > Now I also like to make a custom version of vim to embed my own version of > python, is there any way to do this? As far as I know there are very limited > options to configure's arguments, like --enable-python3interp=yes but I'm > not aware of any method to specify which python to use. Thanks. > > -- > -- > You received this message from the "vim_use" 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_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vim_use+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message from the "vim_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.