package/aubio: add libsndfile optional dependency
[buildroot-gz.git] / package / lua / Config.in
blob711fa89163eefb09b4a6d6675c017fc0710ad814
1 config BR2_PACKAGE_LUA
2         bool "lua"
3         select BR2_PACKAGE_HAS_LUAINTERPRETER
4         help
5           Lua is a powerful, fast, light-weight, embeddable scripting language.
7           http://www.lua.org/
9 if BR2_PACKAGE_LUA
11 config BR2_PACKAGE_PROVIDES_LUAINTERPRETER
12         default "lua"
14 choice
15         prompt "Lua Version"
16         default BR2_PACKAGE_LUA_5_3
17         help
18           Select the version of Lua API/ABI you wish to use.
20         config BR2_PACKAGE_LUA_5_1
21                 bool "Lua 5.1.x"
23         config BR2_PACKAGE_LUA_5_2
24                 bool "Lua 5.2.x"
26         config BR2_PACKAGE_LUA_5_3
27                 bool "Lua 5.3.x"
29 endchoice
31 config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
32         default "5.1"   if BR2_PACKAGE_LUA_5_1
33         default "5.2"   if BR2_PACKAGE_LUA_5_2
34         default "5.3"   if BR2_PACKAGE_LUA_5_3
36 if BR2_PACKAGE_LUA_5_3
37 config BR2_PACKAGE_LUA_32BITS
38         bool "Use 32 bit numbers"
39         default y if !BR2_ARCH_IS_64
40         help
41           Use a 32 bit data type for numbers / integers instead of the
42           default 64 bit type. This option is particularly attractive
43           for small machines and embedded systems.
45 endif
47 choice
48         prompt "Lua command-line editing"
49         default BR2_PACKAGE_LUA_EDITING_NONE
51 config BR2_PACKAGE_LUA_EDITING_NONE
52         bool "none"
53         help
54           None.
56 config BR2_PACKAGE_LUA_READLINE
57         bool "readline support"
58         select BR2_PACKAGE_READLINE
59         select BR2_PACKAGE_NCURSES
60         help
61           Enables command-line editing in the Lua interpreter.
63 config BR2_PACKAGE_LUA_LINENOISE
64         bool "linenoise support"
65         select BR2_PACKAGE_LINENOISE
66         help
67           Enables command-line editing in the Lua interpreter.
69 endchoice
71 endif