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/

if BR2_PACKAGE_LIBTIRPC

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

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

config BR2_PACKAGE_LIBTIRPC_RPCDB
	bool "rpcdb"
	help
	  Enable RPCDB support

endif

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