config BR2_PACKAGE_TCL
	bool "tcl"
	# fork()
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_THREADS
	# See this mailing list thread:
	# http://lists.busybox.net/pipermail/buildroot/2015-March/121198.html
	depends on !BR2_STATIC_LIBS
	help
	  TCL (Tool Command Language) is a simple textual language.

	  http://www.tcl.tk

comment "tcl needs a toolchain w/ threads, dynamic library"
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

if BR2_PACKAGE_TCL

config BR2_PACKAGE_TCL_DEL_ENCODINGS
	bool "delete encodings (saves 1.6Mb)"
	default y
	help
	  Delete encoding files for TCL. If your programs do not use
	  various tcl character recoding functions, you may safely
	  choose Y here.

	  It saves approx. 1.6 Mb of space.

config BR2_PACKAGE_TCL_SHLIB_ONLY
	bool "install only shared library"
	default y
	help
	  Install only TCL shared library and not binary tcl
	  interpreter (tclsh).

	  Saves ~14kb.

endif
