config BR2_PACKAGE_LIBGEOS
	bool "libgeos"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
	help
	  GEOS (Geometry Engine - Open Source) is a C++ port of the
	  JTS Topology Suite (JTS). It aims to contain the complete
	  functionality of JTS in C++. This includes all the OpenGIS
	  Simple Features for SQL spatial predicate functions and
	  spatial operators, as well as specific JTS enhanced functions.

	  https://trac.osgeo.org/geos

comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 21464, 27597"
	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \
		   !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
