xref: /OK3568_Linux_fs/buildroot/package/osm2pgsql/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_OSM2PGSQL
2	bool "osm2pgsql"
3	depends on BR2_INSTALL_LIBSTDCPP # boost, fmt, libosmium, protozero
4	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
5	depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
6	depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
7	depends on BR2_USE_WCHAR # boost, fmt, libosmium
8	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
9	select BR2_PACKAGE_BOOST
10	select BR2_PACKAGE_BOOST_SYSTEM
11	select BR2_PACKAGE_BOOST_FILESYSTEM
12	select BR2_PACKAGE_BZIP2
13	select BR2_PACKAGE_EXPAT
14	select BR2_PACKAGE_FMT
15	select BR2_PACKAGE_LIBOSMIUM
16	select BR2_PACKAGE_PROTOZERO
17	select BR2_PACKAGE_ZLIB
18	help
19	  osm2pgsql is a tool for loading OpenStreetMap data into a
20	  PostgreSQL / PostGIS database suitable for applications like
21	  rendering into a map, geocoding with Nominatim,
22	  or general analysis.
23
24	  https://osm2pgsql.org
25
26comment "osm2pgsql needs a toolchain w/ C++,  wchar, threads, gcc >= 4.9"
27	depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
28	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
29		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS
30
31comment "osm2pgsql needs a toolchain not affected by GCC bug 64735"
32	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
33