config BR2_PACKAGE_PROJ
	bool "proj"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_USE_WCHAR
	select BR2_PACKAGE_SQLITE
	help
	  proj.4 is a standard UNIX filter function which converts
	  geographic longitude and latitude coordinates into cartesian
	  coordinates (and vice versa), and it is a C API for software
	  developers to include coordinate transformation in their own
	  software.

	  http://proj4.org/

comment "proj needs a toolchain w/ C++, gcc >= 4.7, threads, wchar"
	depends on !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
