I've updated the patch since the following issue is reported.

If lua executable is not exist in the PATH and configure cannot find liblua.so, 
strange library name `liblua.so.` (end with .) is used in the case of dynamic 
loading. It occurs even if I build Vim without luajit patch.

$ ./configure --with-features=huge --enable-luainterp=dynamic 
--with-lua-prefix=/usr/local
$ make
(snip)
gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX -no-cpp-precomp  -g -O2
 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
 -DDYNAMIC_LUA_DLL=\"liblua.so.\" -I/usr/local/include -o objects/if_lua.o 
if_lua.c


I added some fixes for the case where lua or luajit executable is not exist in 
the PATH.
configure can fail or use default name with dynamic if a valid library name 
cannot be found when static or dynamic linking.
I've added some document in Makefile.

Here is updated patch.
https://gist.github.com/shirosaki/5663617

-- 
-- 
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.


Raspunde prin e-mail lui