comment "squid needs a toolchain w/ C++, gcc >= 4.8 not affected by bug 64735"
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_ATOMIC
	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || \
		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8

config BR2_PACKAGE_SQUID
	bool "squid"
	depends on BR2_TOOLCHAIN_HAS_ATOMIC
	depends on BR2_INSTALL_LIBSTDCPP
	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
	# needs fork()
	depends on BR2_USE_MMU
	select BR2_PACKAGE_LIBCAP
	select BR2_PACKAGE_LIBTOOL
	select BR2_PACKAGE_LIBXML2
	help
	  Caching proxy for the Web supporting HTTP, HTTPS, FTP, and
	  more.

	  http://www.squid-cache.org/
