config BR2_PACKAGE_LIBPQXX
	bool "libpqxx"
	depends on BR2_PACKAGE_POSTGRESQL
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
	depends on BR2_INSTALL_LIBSTDCPP
	help
	  libpqxx is the official C++ client API for PostgreSQL, the
	  enterprise-strength open-source relational database.

	  http://pqxx.org/development/libpqxx/

comment "libpqxx needs toolchain w/ C++, gcc >= 4.8, threads"
	depends on BR2_PACKAGE_POSTGRESQL
	depends on !BR2_INSTALL_LIBSTDCPP || \
		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
		!BR2_TOOLCHAIN_HAS_THREADS
