config BR2_PACKAGE_GETTEXT
	bool "gettext"
	depends on BR2_USE_WCHAR
	help
	  The GNU `gettext' utilities are a set of tools that provide a
	  framework to help other GNU packages produce multi-lingual
	  messages.

	  Only the libintl library will be installed in the
	  target. The full gettext suite, including tools, will be
	  installed in the staging directory.

	  http://www.gnu.org/software/gettext/

if BR2_PACKAGE_GETTEXT

config BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL
	bool
	default y if BR2_SYSTEM_ENABLE_NLS
	depends on !BR2_TOOLCHAIN_HAS_FULL_GETTEXT

endif

comment "gettext needs a toolchain w/ wchar"
	depends on !BR2_USE_WCHAR
