config BR2_PACKAGE_LUA_LGDBM
	bool "lua-lgdbm"
	depends on BR2_USE_MMU  # gdbm
	depends on BR2_USE_WCHAR  #gdbm
	depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4
	select BR2_PACKAGE_GDBM
	help
	  A database library for Lua using GDBM.

	  http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lgdbm

comment "lua-lgdbm needs needs a toolchain with wchar, Lua >= 5.3"
	depends on !BR2_USE_MMU
	depends on !(BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4) \
		|| !BR2_USE_WCHAR
