
This patch updates haserl to version 0.9.32 and introduces optional lua support See http://haserl.sourceforge.net/manpage.html#lbAM Note: to implement lua support I had to change build process slightly to get rid of host precompilation of lua script. I decided to patch existing Makefile.in instead of patching Makefile.am and regenerating everything from scratch. If this approach is wrong and it's better to patch Makefile.am, please let me know. Signed-off-by: Maxim Storchak <m.storchak@gmail.com> [florian: fix missing quote after source] Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40702 3c298f89-4303-0410-b956-a3cf2f4a3e73
36 lines
880 B
Plaintext
36 lines
880 B
Plaintext
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
|