summaryrefslogtreecommitdiff
path: root/package/lua/Config.in
blob: 0e318585cd8134aa63a755aea3eb51e685270aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
config BR2_PACKAGE_LUA
	bool "lua"
	select BR2_PACKAGE_HAS_LUAINTERPRETER
	help
	  Lua is a powerful, fast, light-weight, embeddable scripting language.

	  http://www.lua.org/

if BR2_PACKAGE_LUA

config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
	default "lua"

choice
	prompt "Lua Version"
	default BR2_PACKAGE_LUA_5_1
	help
	  Select the version of Lua API/ABI you wish to use.

	config BR2_PACKAGE_LUA_5_1
		bool "Lua 5.1.x"

	config BR2_PACKAGE_LUA_5_2
		bool "Lua 5.2.x"

endchoice

config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
	default "5.1"	if BR2_PACKAGE_LUA_5_1
	default "5.2"	if BR2_PACKAGE_LUA_5_2

choice
	prompt "Lua command-line editing"
	default BR2_PACKAGE_LUA_EDITING_NONE

config BR2_PACKAGE_LUA_EDITING_NONE
	bool "none"
	help
	  None.

config BR2_PACKAGE_LUA_READLINE
	bool "readline support"
	select BR2_PACKAGE_READLINE
	select BR2_PACKAGE_NCURSES
	help
	  Enables command-line editing in the Lua interpreter.

config BR2_PACKAGE_LUA_LINENOISE
	bool "linenoise support"
	select BR2_PACKAGE_LINENOISE
	help
	  Enables command-line editing in the Lua interpreter.

endchoice

endif