You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

164 lines
3.1 KiB

  1. if PACKAGE_libcurl
  2. comment "SSL support"
  3. choice
  4. prompt "Selected SSL library"
  5. default LIBCURL_MBEDTLS
  6. config LIBCURL_MBEDTLS
  7. bool "mbed TLS"
  8. config LIBCURL_WOLFSSL
  9. bool "wolfSSL"
  10. config LIBCURL_OPENSSL
  11. bool "OpenSSL"
  12. config LIBCURL_GNUTLS
  13. bool "GNUTLS"
  14. config LIBCURL_NOSSL
  15. bool "No SSL support"
  16. endchoice
  17. comment "Supported protocols"
  18. config LIBCURL_DICT
  19. bool "DICT protocol"
  20. default n
  21. config LIBCURL_FILE
  22. bool "FILE protocol"
  23. default y
  24. config LIBCURL_FTP
  25. bool "FTP / FTPS protocol"
  26. default y
  27. config LIBCURL_GOPHER
  28. bool "Gopher protocol"
  29. default n
  30. config LIBCURL_HTTP
  31. bool "HTTP / HTTPS protocol"
  32. default y
  33. config LIBCURL_COOKIES
  34. bool "Enable Cookies support"
  35. depends on LIBCURL_HTTP
  36. default y
  37. config LIBCURL_IMAP
  38. bool "IMAP / IMAPS protocol"
  39. default n
  40. config LIBCURL_LDAP
  41. bool "LDAP protocol"
  42. default n
  43. config LIBCURL_LDAPS
  44. bool "Enable LDAPS support"
  45. depends on LIBCURL_LDAP && !LIBCURL_NOSSL
  46. default y
  47. config LIBCURL_POP3
  48. bool "POP3 / POP3S protocol"
  49. default n
  50. config LIBCURL_RTSP
  51. bool "RTSP protocol"
  52. depends on LIBCURL_HTTP
  53. default n
  54. config LIBCURL_NO_RTSP
  55. string "RTSP require HTTP protocol"
  56. depends on !LIBCURL_HTTP
  57. default "!"
  58. config LIBCURL_SSH2
  59. bool "SCP / SFTP protocol"
  60. default n
  61. config LIBCURL_SMB
  62. bool "SMB protocol (CIFS)"
  63. depends on LIBCURL_CRYPTO_AUTH && (LIBCURL_GNUTLS || LIBCURL_OPENSSL)
  64. default n
  65. config LIBCURL_NO_SMB
  66. string "SMB require 'cryptographic authentication' and either 'GnuTLS' or 'OpenSSL'"
  67. depends on !LIBCURL_CRYPTO_AUTH || (!LIBCURL_GNUTLS && !LIBCURL_OPENSSL)
  68. default "!"
  69. config LIBCURL_SMTP
  70. bool "SMTP / SMTPS protocol"
  71. default n
  72. config LIBCURL_TELNET
  73. bool "TELNET protocol"
  74. default n
  75. config LIBCURL_TFTP
  76. bool "TFTP protocol"
  77. default n
  78. config LIBCURL_NGHTTP2
  79. bool "HTTP2 protocol"
  80. default y
  81. comment "Miscellaneous"
  82. config LIBCURL_PROXY
  83. bool "Enable proxy support"
  84. default y
  85. config LIBCURL_CRYPTO_AUTH
  86. bool "Enable cryptographic authentication"
  87. default n
  88. config LIBCURL_TLS_SRP
  89. bool "Enable TLS-SRP authentication"
  90. default n
  91. config LIBCURL_LIBIDN2
  92. bool "Enable IDN2 support"
  93. default n
  94. config LIBCURL_THREADED_RESOLVER
  95. bool "Enable threaded DNS resolver"
  96. default n
  97. help
  98. Enable POSIX threaded asynchronous DNS resolution
  99. config LIBCURL_ZLIB
  100. bool "Enable zlib support"
  101. default n
  102. config LIBCURL_ZSTD
  103. bool "Enable zstd support"
  104. default n
  105. config LIBCURL_UNIX_SOCKETS
  106. bool "Enable unix domain socket support"
  107. default n
  108. help
  109. Enable HTTP over unix domain sockets.
  110. To use this with the curl command line, you specify the socket path to the new --unix-domain option.
  111. This feature is actually not limited to HTTP, you can do all the TCP-based protocols
  112. except FTP over the unix domain socket, but it is only HTTP that is regularly used this way.
  113. The reason FTP isn't supported is of course its use of two connections
  114. which would be even weirder to do like this.
  115. config LIBCURL_LIBCURL_OPTION
  116. bool "Enable generation of C code"
  117. default n
  118. config LIBCURL_VERBOSE
  119. bool "Enable verbose error strings"
  120. default n
  121. config LIBCURL_NTLM
  122. bool "Enable NTLM support"
  123. depends on LIBCURL_CRYPTO_AUTH && !LIBCURL_NOSSL
  124. default n
  125. endif