config BR2_PACKAGE_LIBTIRPC
	bool "libtirpc"
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  Libtirpc is a port of Sun's Transport-Independent RPC
	  library to Linux.

	  http://sourceforge.net/projects/libtirpc/

config BR2_PACKAGE_LIBTIRPC_GSS
	bool "gss"
	depends on BR2_USE_MMU # libkrb5
	depends on !BR2_STATIC_LIBS # libkrb5
	depends on BR2_PACKAGE_LIBTIRPC
	select BR2_PACKAGE_LIBKRB5
	help
	  Enable GSSAPI support

comment "libtirpc needs a toolchain w/ threads"
	depends on !BR2_TOOLCHAIN_HAS_THREADS

comment "libtirpc gss support needs a toolchain w/ dynamic library"
	depends on BR2_USE_MMU
	depends on BR2_STATIC_LIBS
	depends on BR2_PACKAGE_LIBTIRPC
