Mercurial > vim
diff src/Makefile @ 5240:da95a7f1d5a8 v7.4a.045
updated for version 7.4a.045
Problem: Configure does not always find the right library for Lua. Missing
support for LuaJit.
Solution: Improve the configure detection of Lua. (Hiroshi Shirosaki)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 28 Jul 2013 13:32:15 +0200 |
parents | 4104bed69ea5 |
children | 09c88160095d |
line wrap: on
line diff
--- a/src/Makefile +++ b/src/Makefile @@ -381,8 +381,12 @@ CClink = $(CC) # LUA # Uncomment one of these when you want to include the Lua interface. # First one is for static linking, second one for dynamic loading. +# Use --with-luajit if you want to use LuaJIT instead of Lua. +# Set PATH environment variable to find lua or luajit executable. #CONF_OPT_LUA = --enable-luainterp #CONF_OPT_LUA = --enable-luainterp=dynamic +#CONF_OPT_LUA = --enable-luainterp --with-luajit +#CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit # Lua installation dir (when not set uses $LUA_PREFIX or defaults to /usr) #CONF_OPT_LUA_PREFIX = --with-lua-prefix=/usr/local