1comment "tcl needs a toolchain w/ threads, dynamic library"
2	depends on BR2_USE_MMU
3	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
4
5config BR2_PACKAGE_TCL
6	bool "tcl"
7	# fork()
8	depends on BR2_USE_MMU
9	depends on BR2_TOOLCHAIN_HAS_THREADS
10	# See this mailing list thread:
11	# http://lists.busybox.net/pipermail/buildroot/2015-March/121198.html
12	depends on !BR2_STATIC_LIBS
13	select BR2_PACKAGE_ZLIB
14	help
15	  TCL (Tool Command Language) is a simple textual language.
16
17	  http://www.tcl.tk
18
19if BR2_PACKAGE_TCL
20
21config BR2_PACKAGE_TCL_DEL_ENCODINGS
22	bool "delete encodings (saves 1.6Mb)"
23	default y
24	help
25	  Delete encoding files for TCL. If your programs do not use
26	  various tcl character recoding functions, you may safely
27	  choose Y here.
28
29	  It saves approx. 1.6 Mb of space.
30
31config BR2_PACKAGE_TCL_SHLIB_ONLY
32	bool "install only shared library"
33	default y
34	help
35	  Install only TCL shared library and not binary tcl
36	  interpreter (tclsh).
37
38	  Saves ~14kb.
39
40endif
41