comment "squid needs a toolchain w/ C++, threads, gcc >= 8, host gcc >= 8"
	depends on BR2_USE_MMU
	depends on BR2_TOOLCHAIN_HAS_ATOMIC
	depends on !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \
		!BR2_HOST_GCC_AT_LEAST_8

config BR2_PACKAGE_SQUID
	bool "squid"
	depends on BR2_TOOLCHAIN_HAS_ATOMIC
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17
	depends on BR2_HOST_GCC_AT_LEAST_8 # C++17
	# needs fork()
	depends on BR2_USE_MMU
	select BR2_PACKAGE_LIBCAP
	select BR2_PACKAGE_LIBTOOL
	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
	select BR2_PACKAGE_LIBXML2
	help
	  Caching proxy for the Web supporting HTTP, HTTPS, FTP, and
	  more.

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