summaryrefslogtreecommitdiffstats
path: root/rules/tntnet.in
blob: d6d54e5ee2c141081d46bd86a85961770eeb9903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
## SECTION=networking

menuconfig TNTNET
	tristate
	prompt "tntnet                        "
	select LIBC_PTHREAD
	select LIBC_DL
	select GCCLIBS_GCC_S
	select GCCLIBS_CXX
	select ZLIB
	select CXXTOOLS
	select OPENSSL if TNTNET_SSL_OPENSSL
	select GNUTLS if TNTNET_SSL_GNUTLS
	help
	  web application server for C++

if TNTNET

comment "build options  ---"

choice # SSL
	prompt "SSL support"
	default TNTNET_SSL_NONE

	config TNTNET_SSL_OPENSSL
		bool
		prompt "OpenSSL"
		help
		  Tntnet uses OpenSSL

	config TNTNET_SSL_GNUTLS
		bool
		prompt "GNU TLS"
		help
		  Tntnet uses GNU TLS

	config TNTNET_SSL_NONE
		bool
		prompt "none"
		help
		  No SSL support for tntnet

endchoice # SSL

config TNTNET_SERVER
	bool "Build server executable"
	depends on TNTNET
	help
	  Build and install the standalone server executable

endif # TNTNET