xref: /OK3568_Linux_fs/buildroot/package/postgis/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_POSTGIS
2	bool "postgis"
3	depends on BR2_PACKAGE_POSTGRESQL_FULL
4	depends on !BR2_microblazeel && !BR2_microblazebe # ICE
5	depends on BR2_INSTALL_LIBSTDCPP # proj
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj
7	depends on BR2_TOOLCHAIN_HAS_THREADS # proj
8	depends on BR2_USE_WCHAR # libgeos, proj
9	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 # libgeos
10	depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 # libgeos
11	select BR2_PACKAGE_LIBGEOS
12	select BR2_PACKAGE_PROJ
13	select BR2_PACKAGE_LIBXML2
14	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
15	help
16	  PostGIS is a spatial database extender for PostgreSQL
17	  object-relational database. It adds support for
18	  geographic objects allowing location queries
19	  to be run in SQL.
20
21	  https://postgis.net/
22
23comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.7, not binutils bug 21464, 27597"
24	depends on !BR2_microblazeel && !BR2_microblazebe # ICE
25	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \
26		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
27		BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \
28		BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
29