aboutsummaryrefslogtreecommitdiff
path: root/utils/haserl/Config.in
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2014-06-14 09:34:22 +0300
committerMaxim Storchak <m.storchak@gmail.com>2014-06-14 09:34:22 +0300
commitd6a642393fafe29f60bef9ea342f9cf722595dd8 (patch)
tree18447ec46a765f0b0edc3c0303038d22af93f4df /utils/haserl/Config.in
parent13d6e6f3b40fa7b20108f9f36c7760f1780886b8 (diff)
haserl: import from packages, update to latest
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Diffstat (limited to 'utils/haserl/Config.in')
-rw-r--r--utils/haserl/Config.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/utils/haserl/Config.in b/utils/haserl/Config.in
new file mode 100644
index 000000000..e5fb90dba
--- /dev/null
+++ b/utils/haserl/Config.in
@@ -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