1config BR2_PACKAGE_POSTGRESQL
2	bool "postgresql"
3	depends on BR2_USE_MMU # fork()
4	depends on BR2_USE_WCHAR
5	# fails to build in a pure static linking scenario, and
6	# postgresql is unlikely to be used in a pure statically
7	# linked environment.
8	depends on !BR2_STATIC_LIBS
9	depends on !BR2_OPTIMIZE_FAST
10	select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL
11	select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL
12	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
13	help
14	  PostgreSQL is a powerful, open source object-relational
15	  database system.
16
17	  Enable the readline package to gain readline support in
18	  psql (the command line interpreter), which offers
19	  command history and edit functions.
20
21	  Enable the zlib package to gain builtin compression for
22	  archives with pg_dump and pg_restore.
23
24	  http://www.postgresql.org
25
26if BR2_PACKAGE_POSTGRESQL
27
28config BR2_PACKAGE_POSTGRESQL_FULL
29	bool "postgresql-full"
30	help
31	  Build PostgreSQL, contrib, and documentation.
32
33endif
34
35comment "postgresql needs a toolchain w/ dynamic library, wchar"
36	depends on BR2_USE_MMU
37	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
38
39comment "postgresql can't be built with Optimize for fast"
40	depends on BR2_OPTIMIZE_FAST
41