bool "OpenSSL"
config ARIA2_GNUTLS
- bool "GNUTLS"
+ bool "GnuTLS"
config ARIA2_NOSSL
bool "No SSL Support"
endchoice
+choice
+ prompt "Crypto Library"
+ depends on !ARIA2_OPENSSL
+ default ARIA2_NOCRYPOTLIB
+
+config ARIA2_NETTLE
+ bool "Nettle"
+
+config ARIA2_LIBGCRYPT
+ bool "Libgcrypt"
+
+config ARIA2_NOCRYPTO
+ bool "No Crypto Library"
+
+endchoice
+
+choice
+ prompt "XML Library"
+ default ARIA2_NOXML
+
+config ARIA2_LIBXML2
+ bool "Libxml2"
+
+config ARIA2_EXPAT
+ bool "Expat"
+
+config ARIA2_NOXML
+ bool "No XML Library"
+
+endchoice
+
+config ARIA2_GMP
+ bool "GNU Multiple Precision Arithmetic Library"
+ depends on ARIA2_NETTLE
+ default n
+
config ARIA2_BITTORRENT
bool "Enable Bittorrent Support"
- depends on ARIA2_OPENSSL
+ depends on ARIA2_OPENSSL || ARIA2_LIBGCRYPT || \
+ (ARIA2_NETTLE && ARIA2_GMP)
+ default y
+
+config ARIA2_METALINK
+ bool "Enable Metalink Support"
+ depends on !ARIA2_NOXML
default n
config ARIA2_SFTP
- bool "Enable SFTP Support"
- default n
+ bool "Enable SFTP Support"
+ default n
config ARIA2_ASYNC_DNS
bool "Enable Async DNS Support"
bool "Enable Firefox3/Chromium Cookie Support"
default n
-config ARIA2_METALINK
- bool "Enable Metalink Support"
- default n
-
-choice
- prompt "XML Library"
- default ARIA2_LIBXML2
- depends on ARIA2_METALINK
-
-config ARIA2_LIBXML2
- bool "LIBXML2"
-
-config ARIA2_EXPAT
- bool "EXPAT"
-
-endchoice
+config ARIA2_WEBSOCKET
+ bool "Enable JSON-RPC over WebSocket Support"
+ depends on ARIA2_OPENSSL || ARIA2_LIBGCRYPT || ARIA2_NETTLE
+ default y
endmenu