haserl: import from packages, update to latest

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
Maxim Storchak
2014-06-14 09:34:22 +03:00
parent 13d6e6f3b4
commit d6a642393f
4 changed files with 176 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
if PACKAGE_haserl
config HASERL_with_lua
bool
default n
comment "Lua support"
config HASERL_shell_luac
bool
prompt "Support --shell=luac"
select HASERL_with_lua
default n
help
haserl(1):
The luac "shell" is a precompiled lua chunk, so interactive
editing and testing of scripts is not possible. However,
haserl can be compiled with luac support only, and this
allows lua support even in a small memory environment. All
haserl lua features listed above are still available. (If
luac is the only shell built into haserl, the
haserl.loadfile is disabled, as the haserl parser is not
compiled in.)
config HASERL_shell_lua
bool
prompt "Support --shell=lua"
select HASERL_with_lua
default n
help
haserl(1):
If compiled with lua support, --shell=lua will enable lua as the
script language instead of bash shell.
endif