1config BR2_PACKAGE_LIBGEOS
2	bool "libgeos"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_USE_WCHAR
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
7	help
8	  GEOS (Geometry Engine - Open Source) is a C++ port of the
9	  JTS Topology Suite (JTS). It aims to contain the complete
10	  functionality of JTS in C++. This includes all the OpenGIS
11	  Simple Features for SQL spatial predicate functions and
12	  spatial operators, as well as specific JTS enhanced functions.
13
14	  https://trac.osgeo.org/geos
15
16comment "libgeos needs a toolchain w/ C++, wchar, gcc >= 4.9, threads"
17	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
18		   !BR2_TOOLCHAIN_HAS_THREADS || \
19		   !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
20