mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
GnuTLS
- Added GnuTLS discovery, linking. - Added '+/-tls' indicator to diagnostics command. - Added libgnutls version number to diagnostics command. - Renamed wcwidth6.c to wcwidth6.cpp, to eliminate a strange build error.
This commit is contained in:
parent
2f4c9b2653
commit
a736568e68
7 changed files with 34 additions and 3 deletions
|
@ -46,6 +46,10 @@ extern "C"
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBGNUTLS
|
||||
#include <gnutls/gnutls.h>
|
||||
#endif
|
||||
|
||||
#include <CmdDiagnostics.h>
|
||||
|
||||
extern Context context;
|
||||
|
@ -150,6 +154,14 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
<< "libuuid, no uuid_unparse_lower"
|
||||
#else
|
||||
<< "n/a"
|
||||
#endif
|
||||
<< "\n";
|
||||
|
||||
out << " libgnutls: "
|
||||
#ifdef HAVE_LIBGNUTLS
|
||||
<< GNUTLS_VERSION
|
||||
#else
|
||||
<< "n/a"
|
||||
#endif
|
||||
<< "\n\n";
|
||||
|
||||
|
@ -184,6 +196,12 @@ int CmdDiagnostics::execute (std::string& output)
|
|||
#else
|
||||
<< " -uuid"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBGNUTLS
|
||||
<< " +tls"
|
||||
#else
|
||||
<< " -tls"
|
||||
#endif
|
||||
<< "\n\n";
|
||||
|
||||
// Config: .taskrc found, readable, writable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue