James Vega wrote: > On Mon, Jul 19, 2010 at 3:17 PM, Bram Moolenaar <b...@moolenaar.net> wrote: > > If you can make this work with a configure argument, it's fine to > > include these changes and leave them disabled by default. For your > > distribution, with a known environment, you could enable them. > > Attached patch enables dynamic loading for Perl if > --enable-perlinterp=dynamic is used. I also moved the use of > PERL_CFLAGS in src/Makefile so they're only used when compiling > if_perl.c and if_perlsfio.c.
Looks good. I tried it and it works fine for me. I had to move some unused variables inside an #ifdef. I suppose it will now be easy to support --enable-pythoninterp=dynamic and --enable-python3interp=dynamic We could wait for people to test this, but on the other hand if we want to do the same for ruby/tcl/mzscheme we need to do it now, next week I won't include patches like this. -- TIM: That is not an ordinary rabbit ... 'tis the most foul cruel and bad-tempered thing you ever set eyes on. ROBIN: You tit. I soiled my armour I was so scared! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- 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